Skip to main content

Finpay Payment Code

Kode Pembayaran Finpay, yang dihasilkan oleh Finpay Payment Gateway, adalah kode unik yang diberikan kepada pelanggan untuk melakukan pembayaran di berbagai channel modern (misalnya Indomaret, Alfamart, Pegadaian) dan channel partner (misalnya Bank, ATM, E-Wallet, M-Banking). Hal ini memberikan fleksibilitas bagi pelanggan untuk membayar dengan menggunakan Kode Pembayaran Finpay melalui berbagai channel yang tersedia.

Technical Specification

Body Request

NoNameTypeMandatoryMin LengthMax LengthDescription
1 orderObjectM112Detail of Order
2 customerObjectM18Detail of Customer
3 urlObjectM14Detail of Url
4 billingObjectO11Detail of Billing
5 shippingObjectO14Detail of Shipping
6 metaObjectO11Detail of MetaData
7 cardObjectO17Detail of Card
8 recurringObjectO111Detail of Recurring
9 sourceOfFundsObjectM111Detail of SourceOfFunds
10 deviceObjectO17Detail of Device

Sample Request

{
"customer": {
"email": "hajar.finnet@gmail.com",
"firstName": "Hajar",
"lastName": "Ismail",
"mobilePhone": "+6281286288844"
},
"order": {
"id": "1680576995412",
"amount": "1000",
"description": "Testing"
},
"url": {
"callbackUrl": "https://sandbox.finpay.co.id/simdev/finpay/result/resultfailed.php"
},
"sourceOfFunds": {
"type": "finpaycode"
}
}

Body Response

NoNameTypeMandatoryMin LengthMax LengthDescription
1 responseCodeEnumM17Response Code
2 responseMessageStringM1500Response Message
3 paymentCodeStringM130Payment Code
4 redirecturlStringM1320Redirect URL
5 expiryLinkStringM119Expiry Link
6 processingTimeNumberM120Processing Time
7 appurlStringO1320App URL
8 imageurlStringO1320Image URL
9 accountListArrayO14Account List

Sample Response

{
"responseCode": "2000000",
"responseMessage": "Success",
"redirecturl": "https://devo.finpay.id/widgetpg/pending/5613",
"expiryLink": "2023-04-05 09:56:35",
"paymentCode": "8802700000076850",
"processingTime": 0.9721949100494385
}