Retrieve customer
The path takes the Myela cus_… id only — your own id here is not_found; look up by your id with ?externalId= on List customers. A customer id from another merchant is also not_found, never permission_denied — confirming existence would leak it.
Response contract
The successful wire shape and errors an integration should branch on.
Customer
application/jsonidstringrequired- Unique customer identifier.
object"customer"required- Stable resource discriminator.
emailstring- Customer email.
namestring- Customer name.
phonestring- Customer phone.
externalIdstring- Your own id for this customer. Write-once.
customFieldsobject[]- Your own typed fields, up to 20 rows of {name, type, value}. Omitted when none are set. Replace-on-write.
createdAtstringrequired- ISO 8601 creation timestamp.
Example response
{
"id": "cus_01JEXAMPLE",
"object": "customer",
"email": "ada@example.com",
"name": "Ada Lovelace",
"phone": "+15555550123",
"externalId": "acct-8812",
"customFields": [
{
"name": "Plan tier",
"type": "text",
"value": "gold"
},
{
"name": "Seats",
"type": "number",
"value": "12"
}
],
"createdAt": "2026-08-10T20:49:51.653Z"
}Error responses
authentication_failedThe key is missing, malformed, revoked, or invalid for this environment.
permission_deniedThe key does not have customers.retrieve.
not_foundThe resource does not exist for this merchant.
invalid_requestOne or more request fields are invalid.