List all Payment Customers
/api/v2/payment-customers
curl --request GET \
--url https://api.senddotssandbox.com/api/v2/payment-customers \
--header 'Authorization: <authorization>'
{
"data": [
{
"country_code": "string",
"created": "string",
"email": "string",
"first_name": "string",
"id": "string",
"last_name": "string",
"metadata": "object",
"middle_name": "string",
"phone_number": "string",
"updated": "string",
"user_id": "string"
}
],
"has_more": "boolean"
}
Authorizations
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Query Parameters
A limit on the number of objects to be returned, between 1 and 100.
A cursor for use in pagination. starting_after
is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with aaa
, your subsequent call can include starting_after
=aaa
in order to fetch the next page of the list.
A cursor for use in pagination. ending_before
is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with aaa
, your subsequent call can include ending_before
=aaa
in order to fetch the previous page of the list.
Response
true
if there are more objects.
curl --request GET \
--url https://api.senddotssandbox.com/api/v2/payment-customers \
--header 'Authorization: <authorization>'
{
"data": [
{
"country_code": "string",
"created": "string",
"email": "string",
"first_name": "string",
"id": "string",
"last_name": "string",
"metadata": "object",
"middle_name": "string",
"phone_number": "string",
"updated": "string",
"user_id": "string"
}
],
"has_more": "boolean"
}