Customer Top Up
This API will be used to cash-in the amount value into customer e-money account balance, crediting the account balance.
Technical Specification
| Environment | Method | URL |
|---|---|---|
| Development | POST | https://snapstag.finnet.co.id/v1.0/emoney/topup |
| Production | POST | https://snap.finnet.co.id/v1.0/emoney/topup |
Body Request
| No | Name | Type | Mandatory | Min Length | Max Length | Description |
|---|---|---|---|---|---|---|
| 1 | partnerReferenceNo | String | M | 1 | 64 | Transaction identifier on service consumer system |
| 2 | customerNumber | String | M | 1 | 16 | Customer phone number with 08xx format |
| 3 | customerName | String | M | 1 | 255 | Customer name from inquiry response |
| 4 | amount | Object | M | 1 | 2 | Transaction Amount |
| 5 | feeAmount | Object | M | 1 | 2 | Fee amount object from inquiry response |
| 6 | transactionDate | String | M | 1 | 25 | YYYY-MM-DDThh:mm:ssZ format |
Sample Request
{
"partnerReferenceNo": "78912343452347893",
"customerNumber": "081977817902",
"customerName": "sa**",
"amount": {
"value": "10000.00",
"currency": "IDR"
},
"feeAmount": {
"value": "0.00",
"currency": "IDR"
},
"transactionDate": "2022-09-23T14:56:11+07:00"
}
Body Response
| No | Name | Type | Mandatory | Min Length | Max Length | Description |
|---|---|---|---|---|---|---|
| 1 | responseCode | Enum | M | 1 | 7 | BI SNAP Response Code. |
| 2 | responseMessage | String | M | 1 | 150 | BI SNAP Response Message. |
| 3 | referenceNo | String | O | 1 | 64 | Transaction identifier on service provider system |
| 4 | partnerReferenceNo | String | O | 1 | 64 | Transaction identifier on service consumer system |
| 5 | customerNumber | String | O | 1 | 64 | Masked customer phone number with 08xx format |
| 6 | customerName | String | M | 1 | 255 | Masked customer account name |
| 7 | amount | Object | O | 1 | 2 | Detail of amount transaction |
Sample Response
{
"responseCode": "2003800",
"responseMessage": "Request has been processed successfully",
"referenceNo": "2211150005490937",
"partnerReferenceNo": "78912343452347893",
"customerNumber": "081977817902",
"amount": {
"value": "10000.00",
"currency": "IDR"
}
}