Add Billing Details
POST
/v1/billing-details/add-or-update
Add or update Billing details
Endpoint
Request Body
Name | Type | Description |
---|---|---|
firstName | string | The first name of the user. |
lastName | string | The last name of the user. |
company | string | The company name of the user. |
addressLineOne | string | The primary address line of the user. |
addressLineTwo | string | The secondary address line of the user (optional). |
addressLineThree | string | Additional address details (optional). |
city | string | The city where the user is located. |
state | string | The state where the user is located. |
country | string | The country code of the user's location (ISO 3166-1 alpha-2). |
postalCode | string | The postal code of the user. |
phoneCc | string | The country code for the user's phone number. |
phone | string | The phone number of the user. |
workspaceId | string | The unique ID of the workspace the user belongs to. |
Example Request
{
"firstName": "Michael",
"lastName": "Johnson",
"company": "Tech Innovations",
"addressLineOne": "2207 Maple Avenue, Suite 500",
"addressLineTwo": "Building B",
"addressLineThree": null,
"city": "Dallas",
"state": "Texas",
"country": "US",
"postalCode": "75201",
"phoneCc": "1",
"phone": "2149876543",
"workspaceId": "44c5fd3a-d680-4808-8c6c-8d6c2043021b"
}
Request
Header Params
x-auth-zapmail
string
required
Example:
{{x-auth-zapmail}}
Body Params application/json