DotsDocs
Payment customers

Retrieve a Payment Customer

Get a payment customer by ID.

GET
/v2/payment-customers/{payment_customer_id}

Get a payment customer by ID.

Authorization

api_key
headerAuthorizationBasic <token>

Path Parameters

payment_customer_id*string

The ID of the payment customer

Response Body

OK

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 GET 'https://api.dots.dev/api/v2/payment-customers/string'
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"}