👨Create a customer
Last updated
Last updated
POST
https://api.krezypay.com/v1/sanbox/customer/create_customer
Headers
Name | Value |
---|---|
Body
Name | Type | Description |
---|---|---|
Response
See Examples Below
Don't forget to save your rating's customer_id
Content-Type
application/json
Authorization
Bearer <token>
firstname
string
Name of the user
lastname
string
Age of the user
gender
string
Customer gender 'M' or 'F'
string
Customer email
phone
string
Customer phone number
country
string
Customer's country. Please click here to see supported countries.
id_type
string
The type of customer's identity documents: ID_CARD or PASSPORT
id_number
string
The customer's ID number
face_id_image
string
The url of the selfie image of the customer's ID
front_id_image
string
The URL of the front image of the customer's ID document
back_id_image
string
The url of the image of the back of the customer's ID to send if the ID type is ID_CARD