curl --request POST \
  --url https://api.dots.dev/api/v2/payment-customers \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "country_code": "<string>",
  "created": "2023-11-07T05:31:56Z",
  "email": "jsmith@example.com",
  "first_name": "<string>",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "last_name": "<string>",
  "metadata": {},
  "middle_name": "<string>",
  "phone_number": "<string>",
  "updated": "2023-11-07T05:31:56Z",
  "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
{
  "country_code": "<string>",
  "email": "jsmith@example.com",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "phone_number": "<string>",
  "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

Authorization
string
headerrequired

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