Endpoint
Description
This endpoint provisions a customer in the system. The customer record is required to associate wallets, transactions, and payment methods. After creation, the customer typically starts in apending_kyc status until verification is completed.
Request Body
Request Fields
Billing Address Fields
Response
Success Response (201 Created)
Response Fields
Example cURL Request
Common Errors
Notes & Best Practices
- Ensure all mandatory fields are provided and formatted correctly.
- The
statusstarts aspending_kycif verification is required. - Store the returned
idas it is needed to create wallets and associate transactions. - Validate emails and phone numbers to prevent errors in subsequent wallet creation.
Typical Flow
- Create a customer via
POST /customers. - Verify customer if required (KYC).
- Create a wallet for the customer using
POST /wallets. - Add payment methods and perform transactions as needed.