Customers
Get Customer
GET
/
api
/
customers
/
{customerId}
curl --request GET \
--url https://api.atoa.me/api/customers/{customerId} \
--header 'Authorization: Bearer <token>'
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"fullName": "John Doe",
"email": "john.doe@example.com",
"type": "INDIVIDUAL",
"phoneCountryCode": "44",
"phoneNumber": "7911123456",
"address": "123 High Street",
"city": "London",
"postcode": "SW1A 1AA",
"createdAt": "2025-06-15T10:30:00.000Z"
}
Get a customer by ID.
Authorization
Bearer <accessSecret>
Path Parameters
customerId
string
requiredThe customer’s unique identifier (UUID).
Response
id
string
Customer UUID.
fullName
string
Customer’s full name.
email
string
Customer’s email address.
type
string
INDIVIDUAL or BUSINESS.
phoneCountryCode
string
Phone country code.
phoneNumber
string
Phone number.
address
string
Customer’s address.
city
string
Customer’s city.
postcode
string
Customer’s postcode.
createdAt
string
ISO 8601 creation timestamp.
curl --request GET \
--url https://api.atoa.me/api/customers/{customerId} \
--header 'Authorization: Bearer <token>'
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"fullName": "John Doe",
"email": "john.doe@example.com",
"type": "INDIVIDUAL",
"phoneCountryCode": "44",
"phoneNumber": "7911123456",
"address": "123 High Street",
"city": "London",
"postcode": "SW1A 1AA",
"createdAt": "2025-06-15T10:30:00.000Z"
}