Inisiasi Pembayaran
Environment | Method | URL |
---|---|---|
Development | POST | https://devo.finnet.co.id/sof/bp/paymentCard |
Production | POST | https://live.finnet.co.id/sof/bp/paymentCard |
Body Request
No | Name | Type | Mandatory | Min Length | Max Length | Description |
---|---|---|---|---|---|---|
1 | order | Object | M | 1 | 12 | Detail of Order |
2 | customer | Object | M | 1 | 8 | Detail of Customer |
3 | url | Object | M | 1 | 4 | Detail of Url |
4 | billing | Object | M | 1 | 1 | Detail of Billing |
5 | shipping | Object | O | 1 | 4 | Detail of Shipping |
6 | meta | Object | M | 1 | 1 | Detail of MetaData |
7 | card | Object | O | 1 | 7 | Detail of Card |
8 | recurring | Object | O | 1 | 11 | Detail of Recurring |
9 | sourceOfFunds | Object | M | 1 | 11 | Detail of SourceOfFunds |
10 | device | Object | O | 1 | 7 | Detail of Device |
Sample Request
{
"order": {
"id": "TRVIDN-DS000001",
"amount": "200000",
"description": "Package Trip Bali 5D4N",
"item": [
{
"name": "VOA",
"quantity": "1",
"unitPrice": "100000",
"subMerchantId": "MPN001"
},
{
"name": "Service Charge",
"quantity": "1",
"unitPrice": "100000",
"subMerchantId": "VFS001"
}
]
},
"customer": {
"email": "albert@gmail.com",
"firstName": "Albert",
"lastName": "Andreas",
"mobilePhone": "+6285108014914"
},
"url": {
"callbackUrl": "https://sandbox.finpay.co.id/simdev/finpay/result/tangkapCurl.php"
},
"billing": {
"billerServiceProvider": {
"customerId": "118120000441100",
"id": "050017",
"subId": "DP1002",
"type": "post"
}
},
"sourceOfFunds": {
"type": "cc"
}
}
Body Response
No | Name | Type | Mandatory | Min Length | Max Length | Description |
---|---|---|---|---|---|---|
1 | statusCode | Enum | O | 1 | 10 | Status Code |
2 | StatusDesc | String | O | 1 | 150 | Response Message |
3 | paymentCode | String | O | 1 | 30 | Payment Code |
4 | redirectUrl | String | O | 1 | 320 | Redirect URL |
Sample Response
{
"responseCode": "2000000",
"responseMessage": "Success",
"redirecturl": "https://devo.finpay.id/pg/payment/card/access/32067d326642e071a66eed548822f0ef0c00adea760b1204b89e1ee95e12bd24",
"expiryLink": "2022-09-06 17:02:18",
"processingTime": 0.6609270572662354
}