Skip to content
myela

Fields are allow-listed: anything else you send is not stored.

Create address

POST/v1/addressesLink

Fields are allow-listed: anything else you send is not stored.

SandboxSecret keyaddresses.create

Request fields

Edit a field and the generated request updates immediately.

Request body
stringrequired

The customer that owns or receives this resource.

Optional fields6
stringoptional

The recipient’s first name.

stringoptional

The recipient’s last name.

stringoptional

The first street-address line.

stringoptional

The locality or city.

stringoptional

The postal or ZIP code.

stringoptional

A two-letter ISO 3166-1 country code.

ISO 3166-1 alpha-2

Response contract

The successful wire shape and errors an integration should branch on.

201

Address

application/json
idstringrequired
Unique address identifier.
object"address"required
Stable resource discriminator.
customerIdstringrequired
Customer that owns the address.
firstNamestring
Recipient first name.
lastNamestring
Recipient last name.
line1string
Street address.
citystring
City or locality.
postalCodestring
Postal code.
countrystring
Two-letter country code.
createdAtstringrequired
ISO 8601 creation timestamp.
Example response
{
  "id": "addr_01JEXAMPLE",
  "object": "address",
  "customerId": "cus_01JEXAMPLE",
  "firstName": "Ada",
  "lastName": "Lovelace",
  "line1": "12 Marylebone Road",
  "city": "London",
  "postalCode": "NW1 5JD",
  "country": "GB",
  "createdAt": "2026-08-10T20:49:51.653Z"
}
Error responses
401authentication_failed

The key is missing, malformed, revoked, or invalid for this environment.

403permission_denied

The key does not have addresses.create.

422invalid_request

One or more request fields are invalid.