Get customer
Changed onRetrieve a single customer by its ID.
Request
- Base URLhttps://api.mollie.com
- URLhttps://api.mollie.com/v2/customers/{customerId}
- Auth
- HTTP bearer
- or HTTP bearer
- or OAuth 2Authorization code: https://my.mollie.com/oauth2/authorizeToken URL: https://api.mollie.com/oauth2/tokens scopes: customers.read
Query parameters
Most API credentials are specifically created for either live mode or test mode. In those cases the testmode query parameter must not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by setting the testmode query parameter to true.
Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
Headers
A unique key to ensure idempotent requests. This key should be a UUID v4 string.
Response
The customer object.
Example response
{
"resource": "customer",
"id": "cst_5B8cwPMGnU",
"mode": "live",
"name": "John Doe",
"email": "example@email.com",
"locale": "en_US",
"createdAt": "2024-03-20T09:13:37+00:00",
"_links": {
"self": {
"href": "https://...",
"type": "application/hal+json"
},
"dashboard": {
"href": "https://...",
"type": "application/hal+json"
},
"payments": {
"href": "https://...",
"type": "application/hal+json"
},
"mandates": {
"href": "https://...",
"type": "application/hal+json"
},
"subscriptions": {
"href": "https://...",
"type": "application/hal+json"
},
"documentation": {
"href": "https://...",
"type": "application/hal+json"
}
}
}Changes
- warning
added the new
el_GRenum value to the////response property for the response status - warning
added the new
sl_SIenum value to the////response property for the response status - warning
added the new
tr_TRenum value to the////response property for the response status
- warning
- warning
added the new
en_BEenum value to the////response property for the response status - warning
added the new
en_NLenum value to the////response property for the response status
- warning