POST
/
organizations
/
{id}
/
billing-addresses
Add Organization Billing Address
curl --request POST \
  --url https://{deploymentHost}/organizations/{id}/billing-addresses \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "company": "<string>",
  "address_line_1": "<string>",
  "address_line_2": "<string>",
  "city": "<string>",
  "state": "<string>",
  "postal_code": "<string>",
  "country": "<string>",
  "is_default": true
}'
{
"status": 201,
"message": "",
"data": {
"billing_address": {
"id": "billing_123456789",
"name": "New Office Location",
"company": "Acme Corporation",
"address_line_1": "789 New Street",
"address_line_2": "Floor 3",
"city": "Los Angeles",
"state": "CA",
"postal_code": "90210",
"country": "US",
"is_default": false,
"created_at": "2024-01-15T19:30:00Z",
"updated_at": "2024-01-15T19:30:00Z"
}
},
"session": {
"signin_attempts": [],
"signins": [
{
"id": "signin_987654321",
"user_id": "user_456789123",
"created_at": "2024-01-01T12:00:00Z"
}
],
"signup_attempts": [],
"active_signin": {
"id": "signin_987654321",
"user_id": "user_456789123",
"created_at": "2024-01-01T12:00:00Z"
}
},
"errors": []
}

Authorizations

__session
string
cookie
required

Session cookie authentication for production deployments. The session token is automatically set as an HTTP-only, secure cookie.

Path Parameters

id
string
required

Organization ID

Body

application/json

Response

201
application/json

Billing address added successfully

The response is of type object.