Payment code is what your end-customers give to the store cashier when making payment.
There are 2 ways to generate a payment code for Retail Outlet:
1. Using XenInvoice (Non Fixed Payment Code)
- When the end customer has received an Invoice and they choose to pay through Retail Outlet, a payment code will be generated automatically.
2. Using direct API (Fixed Payment Code)
a. For Indonesia
Send a POST request tohttps://api.xendit.co/fixed_payment_code
If you don’t set up a payment code, one will be automatically generated for you
For more information on our retail outlet API, please refer to api reference docs.
b. For Philippines
Send a POST request tohttps://api.xendit.co/payment_codes
If you don’t set up a payment code, one will be automatically generated for you
For more information on our retail outlet API, please refer to api reference docs.