Customer UUID

Customer UUID Object

Fields
customer_idstring
The unique UnivaPay customer id reference for the same customer.

Request

POST https://api.univapay.com/stores/{id}/create_customer_id

Parameters:

Parameters
customer_idstring
The unique local customer id that your system uses.

Headers:

Authorization: Bearer {secret}.{jwt}

Body:

curl --request POST \
--url https://api.univapay.com/stores/5820d348-15d1-11e7-8e4b-27dd220b033f/create_customer_id \
--header 'Authorization: Bearer {secret}.{jwt}'
--data "{\"customer_id\": \"1234abcd\"}"

Response

Code: 200

Headers:

Content-Type: application/json

Body:

{
  "customer_id": "01dab0b6-5968-49fe-805d-379f68b69559"
}