Dana
Environment | Method | URL |
---|---|---|
Development | POST | https://devo.finnet.co.id/pg/payment/card/initiate |
Production | POST | https://live.finnet.co.id/pg/payment/card/initiate |
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 | O | 1 | 1 | Detail of Billing |
5 | shipping | Object | O | 1 | 4 | Detail of Shipping |
6 | meta | Object | O | 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
{
"customer": {
"email": "hajar.finnet@gmail.com",
"firstName": "Hajar",
"lastName": "Ismail",
"mobilePhone": "+6281286288844"
},
"order": {
"id": "1680580078605",
"amount": "200",
"description": "Testing",
"item": [
{
"name": "name",
"quantity": "1",
"category": "apa",
"description": "apalah",
"unitPrice": "100"
},
{
"name": "name",
"quantity": "1",
"category": "apa",
"description": "apalah",
"unitPrice": "100"
}
]
},
"url": {
"callbackUrl": "https://sandbox.finpay.co.id/simdev/finpay/result/resultsuccess.php",
"successUrl": "https://sandbox.finpay.co.id/simdev/finpay/result/resultsuccess.php",
"failUrl": "https://sandbox.finpay.co.id/simdev/finpay/result/resultfailed.php"
},
"sourceOfFunds": {
"type": "dana"
}
}
Body Response
No | Name | Type | Mandatory | Min Length | Max Length | Description |
---|---|---|---|---|---|---|
1 | responseCode | Enum | M | 1 | 7 | Response Code |
2 | responseMessage | String | M | 1 | 500 | Response Message |
3 | paymentCode | String | C | 1 | 30 | Payment Code |
4 | redirecturl | String | C | 1 | 320 | Redirect URL |
5 | expiryLink | String | C | 1 | 19 | Expiry Link |
6 | processingTime | Number | C | 1 | 20 | Processing Time |
7 | appurl | String | C | 1 | 320 | App URL |
8 | imageurl | String | C | 1 | 320 | Image URL |
9 | accountList | Array | C | 1 | 4 | Account List |
Sample Response
{
"responseCode": "2000000",
"responseMessage": "Success",
"redirecturl": "https://m.sandbox.dana.id/m/portal/cashier/checkout?bizNo=20230404111212800110166465901021039×tamp=1680580079198&originSourcePlatform=IPG&mid=216620000000502985693&did=216650000001113332699&sign=QZrfZjoYkQJO8oBvmG%2BvCzQMPS3e7NjS2Bt77xqjbkxqgk7wD8CxI%2BBqcoRLAEkIjvykBt6EAt6JU%2Bk%2BFw%2FzRyTkhHG1cZtSAdeza5%2BzCLuvJ1jaanku%2FWemRaxgxLzkM5qD7X43ZU%2FHQ4YrDvMMIMFCdQ4f6SguSWdhCeKTNtrgc2NCKMWzWUEUSoOvS%2F31dSPq3HgOb2Q3vvarNIYa%2BOxhwm0SaypZPkSXlP40aGMOrcpLDqUubiv3EIJE5U2RwPXEv3wEMDb69s0PKk41CmvzoHrQXv9KDlQwQ9mINZ2JRxflA%2FAtM2%2BicS36IwW8J9mTpXwZkS24xAhYkcaVgw%3D%3D&forceToH5=false",
"expiryLink": "2023-04-04 11:02:58",
"paymentCode": null,
"processingTime": 0.32378101348876953
}