POST /api/v1/vendors/:vendor_api_token/users/:user_id/uploads/add_photo_id
VENDORS: Upload user photo ID, for KYC purposes

Accepts base64-encoded images. Don't forget to prefix the string with the Data URI Scheme format:

data:image/jpg;base64,

Examples

https://rebit.ph/api/v1/vendors/ZBK3rKuzfsyaQt9spJmEu4Vw7_sqbyzT/users/99

file: "data:image/jpg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4gxYSUNDX1BST0ZJTEUAAQEAAAxITGlubwIQAABtbnRyUkdCIFhZWiA"

Params

Param name Description
file
required

Validations:

  • Must be a String


POST /api/v1/vendors/:vendor_api_token/users/:user_id/uploads/add_proof_of_residence
VENDORS: Upload user photo ID, for KYC purposes

Accepts base64-encoded images. Don't forget to prefix the string with the Data URI Scheme format:

data:image/jpg;base64,

Examples

https://rebit.ph/api/v1/vendors/ZBK3rKuzfsyaQt9spJmEu4Vw7_sqbyzT/users/99

file: "data:image/jpg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4gxYSUNDX1BST0ZJTEUAAQEAAAxITGlubwIQAABtbnRyUkdCIFhZWiA"

Params

Param name Description
file
required

Validations:

  • Must be a String