One of the payment method offered by Faspay is Retail Payment. By using this payment method, customers will have the option to make a payment via retail payment and Faspay will send real time notification when the customer complete the payment.
At this moment, Faspay has integrated with the following retail payment methods:
Payment Point Indomaret
Basic integration process of retail payment will be explained below.
Post Data Transaction to Faspay
Display Payment Code
1. Post Data Transaction
Post data transaction should be done from merchant backend, the detail API reference can be find here
Every Retail Payment channel will use the same API request, the different is only on payment_channel value for each retail payment channel.
This is example of post data transaction for Retail Payment channel
Redirect to Faspay's page to display the payment code, expired time and how to pay instructions. Read the detail API reference here or just simply use redirect_url that retrieved from Post Data Transaction response (for JSON Format).
To display payment code at merchant's webpage use the trx_id respon from Post Data Transaction as Payment Code
Don't forget to display the expired time and how to pay instructions too.
3. Payment Notification
Payment notification from Faspay to Merchant backend will also be triggered on event of transacion status getting updated, to ensure merchant is securely informed. Please provide the URL and make sure it's already register on Faspay system