DotsDocs
Payment customers

Create a Payment Customer

Create a Payment Customer

POST
/v2/payment-customers

Create a Payment Customer

Authorization

api_key
headerAuthorizationBasic <token>

Request Body

application/json
  1. body
email?string
Formatemail
country_code?string
phone_number?string
first_name*string
middle_name?string
last_name*string
business_name?string
address?
metadata?unknown

Response Body

Created

application/json
  1. response
id?string
Formatuuid
user_id?string
Formatuuid
email?string
Formatemail
country_code?string
phone_number?string
first_name?string
middle_name?string
last_name?string
address?
metadata?
created?string
Formatdate-time
updated?string
Formatdate-time
Example Request
curl -X POST 'https://api.dots.dev/api/v2/payment-customers' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",  "email": "user@example.com",  "country_code": "string",  "phone_number": "string",  "first_name": "string",  "middle_name": "string",  "last_name": "string",  "address": {    "country": "string",    "city": "string",    "state": "string",    "postcode": "string",    "line_1": "string",    "line_2": "string"  },  "metadata": {},  "created": "2019-08-24T14:15:22Z",  "updated": "2019-08-24T14:15:22Z"}