Retail Payment Integration Guide
One of the payment methods 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 notifications when the customer completes the payment.
At this moment, Faspay has integrated the following retail payment methods:
Payment Point Indomaret
Alfagroup
Basic integration process of retail payment will be explained below.
Integration Step
Post Data Transaction to Faspay
Display Payment Code
Payment Notification
1. Post Data Transaction
Post data transaction should be done from merchant backend, the detailed API reference can be found here
Every Retail Payment channel will use the same API request, the difference is only on payment_channel
value for each retail payment channel.
This is an example of post data transaction for the Retail Payment channel
Post Data Transaction response
You will get the post data response like the following
2. Displaying Payment Code
there areTo display the payment code there are two option:
Displaying payment code on merchant's web page
Redirect to Faspay's page to display the payment code, expired time, and how to pay instructions. Read the detailed API reference here or just simply use
redirect_url
that retrieved from Post Data Transaction Response (for JSON Format).
To display payment code on merchant's webpage use the trx_id
response from Post Data Transaction as Payment Code
Don't forget to display the expiration 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
The detailed API reference can be found here
Last updated