Paydia QRIS Integration Guide
Last updated
Last updated
Paydia QRIS is a payment method provided by Faspay Business for convenience in transactions. QRIS is a payment system utilizing a standardized QR code provided by Bank Indonesia, allowing users to make quick payments by scanning the displayed barcode with their smartphones.
POST Data
Display QR Code
Inquiry Status
Payment Notification
This process is used to view sending transaction data from merchants to Faspay. This POST data process is carried out when the merchant requests parameters and then Faspay will respond to the request.
Type | Development |
---|---|
POST data transactions should be done from the merchant backend, the detailed API reference can be found Here
This is an example of a POST data transaction for the Paydia QRIS channel:
A. Post Data Request
Response parameters are the parameters sent by the Faspay system in response to requests made by the merchant system. If any of these parameters do not match or contain incorrect values, the transaction will be rejected by Faspay's system. For the Paydia QRIS payment method, there are 2 types of transaction models:
Redirect.
Direct.
Here below are 2 different responses based on the transaction type model.
Here are two ways to display the QR Code:
Redirect Type: To display the QR Code on Faspay's page, simply redirect using the redirect_url obtained from the POST Data Transaction Response (in JSON format), or refer to the detailed API reference for more information Here
Direct Type: To display the QR Code on the merchant's page, if the frontend is HTML, you can use the web_url retrieved from the post data transaction within an image tag like this: Alternatively, you can display it on a similar component without downloading. However, if the front end does not support this scenario, you should download the QR code image from that URL and then display it on the front end.
Inquiry Payment Status is a process of checking the status of the payment of Faspay. Merchants previously would have had to post a URL redirect to Faspay.
The Detailed API reference of Request Inquiry Status can be found here.
You will get the response:
Payment notification from Faspay to the Merchant backend will also be triggered in event of transaction status getting updated, to ensure the merchant is securely informed. Please provide the URL and make sure it's already registered on the Faspay system The detailed API reference can be found here
Parameter | Data Type | M/O/C | Description |
---|---|---|---|
Type | Development |
---|---|
XML
https://debit-sandbox.faspay.co.id/pws/300011/183xx00010100000
JSON
https://debit-sandbox.faspay.co.id/cvr/300011/10
response
Alphanumeric (50)
Mandatory
Response Name
trx_id
Numeric (16)
Mandatory
Transaction ID (Issued/generated by Faspay (Media Indonusa)) Notes: Unique Transaction ID for 1 day or as long as it hasn’t been paid and hasn’t expired
merchant_id
Numeric (5)
Mandatory
Merchant Code
merchant
Alphanumeric (32)
Mandatory
Merchant Name
bill_no
Alphanumeric (32)
Mandatory
Order Number
bill_items
Array
id
Numeric
Optional
ID product
product
Alphanumeric
Optional
Product name
amount
Numeric
Optional
Nominal product price
merchant_id
Numeric (5)
Mandatory
Merchant Code
qty
Numeric
Optional
Quantity of item
payment_plan
Numeric
Optional
Payment code 1: Full Settlement 2: Installement
tenor
Numeric
Optional
Installment Tenor 00: Full Payment 03: 3 months 06: 6 months 12: 12 months
type
Alphanumeric
Optional
Item type
url
Alphanumeric
Optional
Item Link
image_url
Alfaumeric
Optional
Image item Link
response_code
Numeric (2)
Mandatory
Response Code 00 Success
response_desc
Alphanumeric (32)
Mandatory
Response Code Description
web_url
Alphanumeric
Conditional
Used if the transaction model uses direct type, displaying only QR code in the browser.
qr_content
Alphanumeric
Conditional
Data to be encoded in a QR code that will be generated or processed. Use this if the transaction is direct type.
redirect_url
Alphanumeric
Mandatory
Link to Faspay landing page containing QR image
XML
https://debit-sandbox.faspay.co.id/pws/100004/183xx00010100000
JSON
https://debit-sandbox.faspay.co.id/cvr/100004/10