Customers
Retrieve a customer
Changed onRetrieves a saved customer using the customer_id you supplied when creating the customer.
get/v0.1/customers/{customer_id}
Request
- Base URLhttps://api.sumup.com
- URLhttps://api.sumup.com/v0.1/customers/{customer_id}
- Auth
- HTTP bearer
- or OAuth 2Authorization code: https://api.sumup.com/authorizeToken URL: https://api.sumup.com/token scopes: payment_instruments, customers.read
Response
Returns the customer resource.
Example response
{
"customer_id": "831ff8d4cd5958ab5670",
"personal_details": {
"first_name": "John",
"last_name": "Doe",
"email": "user@example.com",
"phone": "+491635559723",
"birth_date": "1993-12-31",
"tax_id": "423.378.593-47",
"address": {
"city": "Berlin",
"country": "DE",
"line_1": "Sample street",
"line_2": "ap. 5",
"postal_code": "10115",
"state": "Berlin"
}
}
}Changes
- info
the security scope
customers.readwas added to the endpoint's security schemeoauth2
- info
- warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the required property
to the response with the status
- warning