Customers API
Get customer
Retrieve a single customer by its ID.
🔑 Access with
API key
Advanced access token with customers.read
OAuth access with customers.read
get/customers/{customerId}
Request
- Base URLhttps://api.mollie.com/v2
- 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
testmodeboolean
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.
Response
The customer object.
Example response
{
"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
No recorded changes to this operation across all 1 revision of this API.