Payment Response Parameter
(PG to Merchant)
Getting Payment Result
Payment results will be returned to the merchant system once payment is done or the user abandons the payment process. HTTP POST is the only method that payment gateway returns all parameters to a merchant's return URL for real-time status update, which the merchant can configure in merchant admin. Merchant system should block all other methods or parameters from an untrusted source.
Response Parameters
amount
2 decimal points numeric value
The total amount paid or to be paid in Fiuu Cash payment request.
orderid
alphanumeric, 32 characters
Invoice or order number from merchant system.
tranID
integer, 10 digits
Unique transaction ID for tracking purpose.
domain
alphanumeric, 32 chars
Merchant ID in PG system.
status
2-digit numeric value
00 for Successful payment, 11 for failed status, 22 if pending.
appcode
alphanumeric, 16 chars
Bank approval code. Mandatory for card payment. Certain channels return empty value.
error_code
alphanumeric
Refer to the Error Codes section.
error_desc
text
Error message or description.
skey
32 chars hexadecimal string
This is the data integrity protection hash string. Refer skey section for details.
currency
2 or 3 chars (ISO-4217) currency code
Default currency is IDR (indicating Indonesia Rupiah) for Indonesia channels.
channel
predefined string in PG system
Channel references for the merchant system. Refer to the below table.
paydate
Date/Time( YYYY-MM-DD HH:mm:ss)
Date/Time of the transaction.
extraP*
optional (on request)
JSON encoded string or array
token: 16-digit card token for merchant to store for recurring MIT (merchant initiated transaction)
fraudscreen: 1-digit integer, i.e. 1=Unknown, 2=Passed, 3=Alert, 4=Suspicious, 5=Fraud
buyer_name: buyer name (if any for non-FPX channel)
ccbrand: Visa, MasterCard, AMEX
bank_issuer: The issuing bank or institution
ccbin: Issuer/Bank identification number, first 6-digit
cclast4: Last 4-digit of card number
cctype: Credit, Debit, Prepaid
RRN: Retrieval Reference Number (if any from issuer)
Value of “channel” in return URL
Card / Wallet
Indonesia
CIMB_NIAGA
Visa/Mastercard/JCB
Indirect / Direct Internet Banking
CIMB OctoClicks
E2PAY_CIMBOCTOCLICKS_IB
e2Pay CIMBOctoClicks IB
DBank Pro
E2PAY_DBANKPRO_IB
e2Pay DBankPro IB
e-Wallets
CIMB QRIS
E2PAY_CIMB_QRIS
e2Pay CIMB QRIS
CIMB OctoPay
E2PAY_CIMB_OCTOPAY
e2Pay CIMB Rekening Ponsel
DANA
E2PAY_DANA
e2Pay DANA
LinkAja Applink
E2PAY_LINKAJA_APPLINK
e2Pay LinkAja Applink
LinkAja QRIS
E2PAY_LINKAJA_QRIS
e2Pay LinkAja QRIS
LinkAja Web Checkout
E2PAY_LINKAJA_WCO
e2Pay LinkAja Web Checkout
OVO
E2PAY_OVO
e2Pay OVO
ShopeePay JumpApp
E2PAY_SHOPEEPAY_JUMPAPP
e2Pay ShopeePay JumpApp
ShopeePay QRIS
E2PAY_SHOPEEPAY_QRIS
e2Pay ShopeePay QRIS
GOPAY
E2PAY_GOPAY
e2Pay GOPAY
MBayar QR
E2PAY_MBAYAR_QR
e2Pay MBayar QR
WeChatPay QR
E2PAY_WECHATPAY_QR
e2PAY WeChatPay QR
Kiosk / Over-the-Counter / Cash / Bill Payment
BNI Virtual Account
E2PAY_BNI_VA
e2Pay BNI Virtual Account (VA)
CIMB Virtual Account
E2PAY_CIMB_VA
e2Pay CIMB Virtual Account (VA)
Mandiri Virtual Account
E2PAY_MANDIRI_VA
e2Pay Mandiri Virtual Account (VA)
Permata Virtual Account
E2PAY_PERMATA_VA
e2Pay Permata Virtual Account (VA)
BCA Virtual Account
E2PAY_BCA_VA
e2Pay BCA Virtual Account (VA)
BRI Virtual Account
E2PAY_BRI_VA
e2Pay BRI Virtual Account (VA)
Alfamart
E2PAY_ALFAMART
e2Pay Alfamart
Indomaret
E2PAY_INDOMARET
e2Pay Indomaret
BSI Virutal Account
E2PAY_BSI_VA
e2Pay BSI Virtual Account
Buy Now Pay Later
Kredivo
E2PAY_KREDIVO_FN
e2Pay Kredivo Financing
Indodana
E2PAY_INDODANA_FN
e2Pay Indodana
*Channel in yellow text means obsoleted
Merchant is strongly recommended to implement IPN(instant payment notification) in order to acknowledge(ACK) on the receiving of payment status from the payment gateway. There are 2 ways to implement IPN. Please refer to the IPN section for details.
Examples of Payment Endpoint
You may use the sample for all 3 endpoints, i.e. Return URL, Notify URL, and Callback URL by making little modification based on your own requirements.
Sample return URL script for PHP
Sample return URL script for ASP/ASP.NET
Last updated