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>"
}
Create a new customer for a merchant organization. This endpoint is currently only used by the Paygentic platform as part of the subscription flow.
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>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Customer already exists
The response is of type object
.