Payment Customers
Create a Payment Customer
Create a Payment Customer to save payment details for future use.
POST
/
v2
/
payment-customers
Authorization
Body
curl --request POST \
--url https://api.senddotssandbox.com/api/v2/payment-customers \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json'
{
"country_code": "string",
"email": "string",
"id": "string",
"phone_number": "string",
"user_id": "string"
}
Authorizations
Authorizationheaderrequired
string
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Body
application/json
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
Response
200 - application/json
country_code
string
email
string
id
string
phone_number
string
user_id
string
curl --request POST \
--url https://api.senddotssandbox.com/api/v2/payment-customers \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json'
{
"country_code": "string",
"email": "string",
"id": "string",
"phone_number": "string",
"user_id": "string"
}