cURL
curl --request GET \ --url https://api.leanrails.com/v1/customers/{id} \ --header 'Authorization: Basic <encoded-value>'
{ "id": "cus_xxx", "object": "customer", "livemode": false, "created": 1234567890, "merchant_id": "mer_xxx", "email": "jsmith@example.com", "name": "<string>", "phone": "<string>", "description": "<string>", "metadata": {} }
Use your secret API key as the username with an empty password.
Override the API version for this request.
The Customer ID.
The Customer.
"cus_xxx"
customer
false
1234567890
"mer_xxx"
Set of key-value pairs for storing additional information.
Show child attributes