curl --request GET \
--url https://api.paygentic.io/v0/customers/{id} \
--header 'Authorization: Bearer <token>'
{
"id": "<string>",
"object": "customer",
"consumerId": "<string>",
"merchantId": "<string>",
"paymentAuthorizationEnabled": true,
"authorizationToken": "<string>",
"authorizationExpiresAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"organization": {
"id": "<string>",
"name": "<string>",
"billingEmail": "jsmith@example.com",
"phone": "<string>",
"address": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"zipCode": "<string>"
}
}
}
curl --request GET \
--url https://api.paygentic.io/v0/customers/{id} \
--header 'Authorization: Bearer <token>'
{
"id": "<string>",
"object": "customer",
"consumerId": "<string>",
"merchantId": "<string>",
"paymentAuthorizationEnabled": true,
"authorizationToken": "<string>",
"authorizationExpiresAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"organization": {
"id": "<string>",
"name": "<string>",
"billingEmail": "jsmith@example.com",
"phone": "<string>",
"address": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"zipCode": "<string>"
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The unique identifier of the customer.
Customer details retrieved successfully
The response is of type object
.