cURL
curl --request POST \ --url https://api.pcxpay.com/v1/virtual-accounts/kyc \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "email": "jsmith@example.com", "customer_type": "individual" } '
{ "status": "success", "message": "Operation completed successfully", "data": { "customer_id": "<string>", "tos_link": "<string>" } }
Initiates the KYC process for a customer by email and customer type. Returns a customer_id and a link to the terms-of-service acceptance flow.
customer_id
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
individual
business
"individual"
KYC initiated
success
error
"success"
"Operation completed successfully"
Show child attributes