Skip to main content

Inisiasi Kartu Tersimpan

Data 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 cardObjectM17Detail of Card
8 recurringObjectO111Detail of Recurring
9 sourceOfFundsObjectM111Detail of SourceOfFunds
10 deviceObjectO17Detail of Device

Sample Request

{
"customer": {
"id": "hajar.finnet@gmail.com",
"email": "hajar.finnet@gmail.com",
"firstName": "Hajar",
"lastName": "Ismail",
"mobilePhone": "+6281286288800"
},
"order": {
"id": "FINPAY123",
"amount": "1000",
"currency": "IDR",
"description": "Testing"
},
"url": {
"callbackUrl": "https://sandboxx.finpay.co.id/simdev/finpay/result/tangkapCurl.php"
},
"sourceOfFunds": {
"type": "cc"
},
"card": {
"storedOnFile": "TO_BE_STORED"
}
}

Data Response

NoNameTypeMandatoryMin LengthMax LengthDescription
1 responseCodeEnumM17Response Code
2 responseMessageStringM1500Response Message
3 paymentCodeStringO130Payment 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/pg/payment/card/access/748613210268bae3632b3f2a31ec180d1c8fcb6b22394cbe88386d2db7d6fa4b",
"expiryLink": "2023-05-31 14:26:00",
"processingTime": 0.1995699405670166
}