POST
/
customers
Create new customer
curl --request POST \
  --url https://api.paygentic.io/v0/customers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "consumerId": "<string>",
  "merchantId": "<string>"
}'
{
  "customerId": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

Customer already exists

The response is of type object.