Get Deposit Transaction
The available versions for this api are v1.0 and v2.0.
POST
https://tokoapisnap-stg.netzme.com/api/
{version}
/deposit/transaction-history-list
Parameter | Data Type | Description |
---|---|---|
partnerReferenceNo | String | GUID |
fromDateTime | String | Start time range |
toDateTime | String | The end time range, cannot be the same day as the fromDateTime |
pageNumber | String | Page number |
additionalInfo | Object | |
custIdMerchant | String | Merchant ID |
Request Body
{
"partnerReferenceNo": "testing123412341234",
"fromDateTime": "2022-09-05T12:08:56+07:00",
"toDateTime": "2022-10-05T12:08:56+07:00",
"pageNumber": "1",
"additionalInfo": {
"custIdMerchant": "M_VWXPXk6t"
}
}
Parameter | Data Type | Description |
---|---|---|
responseCode | String | (HTTP status code + service code + case code) |
responseMessage | String | Description of responseCode |
referenceNo | String | API request identifier from the provider's system |
partnerReferenceNo | String | API request identifier from the user's system |
detailData | Array Object | List data transactions |
dateTime | String | Transactions time |
amount | Object | Transaction's amount |
value | String | Value of amount |
currency | String | Currency of amount |
feeAmount | Object | Transaction's fee |
value | String | Value of feeAmount |
currency | String | Currency of feeAmount |
additionalInfo | Object | |
type | String | Transaction's type |
referenceNo | Object | Invoice transaction's ID |
status | String | Transactions status |
statusMessage | String | status message |
transactionId | String | Transaction's ID |
tsLong | Long | Transactions time in long format, e.g: 1647835453894 |
additionalInfo | Object | |
hasNext | Bool | Is any next page |
pageSize | Number | Transaction's count in this page |
pageNumber | Number | Page number |
type | String | Request Type |
Response Body
{
"responseCode": "2001200",
"responseMessage": "Successful",
"referenceNo": "19f96b1c-5212-4589-87f0-1c96e9b59f11",
"partnerReferenceNo": "testing123412341234",
"detailData": [
{
"dateTime": "2022-10-05T09:55:53.426+07:00",
"amount": {
"value": "300000.00",
"currency": "IDR"
},
"feeAmount": {
"value": "0.00",
"currency": "IDR"
},
"additionalInfo": {
"type": "deduct",
"referenceNo": "6a4f5223-3b4e-478a-8655-dc39ac5d5bc6",
"status": "settled",
"statusMessage": "settled",
"transactionId": "6a4f5223-3b4e-478a-8655-dc39ac5d5bc6",
"tsLong": 1664938553426
}
},
{
"dateTime": "2022-10-05T09:55:08.014+07:00",
"amount": {
"value": "100000.00",
"currency": "IDR"
},
"feeAmount": {
"value": "5550.00",
"currency": "IDR"
},
"additionalInfo": {
"type": "topup",
"referenceNo": "d0ba5ed6-8c16-4be3-9d87-a4e1a54ab728",
"status": "paid",
"statusMessage": "paid",
"transactionId": "5d2a131a-50bb-4cc6-953e-60ade7cd5596",
"tsLong": 1664938508014
}
}
],
"additionalInfo": {
"hasNext": false,
"pageSize": 1,
"pageNumber": 0,
"type": "deposit_list_transaction"
}
}
Header | Value |
---|---|
Content-Type | application/json |
CHANNEL-ID | e.g 95221 |
X-EXTERNAL-ID | e.g 41807553358950093184162180797837 |
X-PARTNER-ID | Client id e.g TokoNetmeClientId |
X-SIGNATURE | Service’s signature (given at transactional signature) |
X-TIMESTAMP | Client's current local time in yyyy-MM-ddTHH:mm:ssTZD |
Authorization | Client`s access for protected resources (given at Authentication) |
curl --location -g --request POST 'https://tokoapisnap-stg.netzme.com/api/v1.0/deposit/transaction-history-list' \
--header 'X-TIMESTAMP: 2022-08-10T00:00:00+07:00' \
--header 'X-SIGNATURE: ed27f1ca95c9d5d4cb6e218f3dd343d09f639fa27ff6b50324b3771814e16f495379c4a972e93df554303bb3ab59c9dfa8cf72915517b0b0eeb29a00c4272be7' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NjkzOTgzNDAsImlhdCI6MTY2OTM0NDM0MCwiaXNzIjoiYmFua3N1bXBhaCJ9.jAZXvCRw9iOakJyfSG70vHVWNHWkaEd9coQsnxZ09EP3BXc836z73pjgqRmjClH34OZVo_B0sC8gIXbntXJP3Q' \
--header 'X-PARTNER-ID: TokoNetmeClientId' \
--header 'X-EXTERNAL-ID: 41807553358950093184162180797837' \
--header 'CHANNEL-ID: 95521' \
--data-raw '{
"partnerReferenceNo": "testing123412341234",
"fromDateTime": "2022-09-05T12:08:56+07:00",
"toDateTime": "2022-10-05T12:08:56+07:00",
"pageNumber": "1",
"additionalInfo": {
"custIdMerchant": "M_VWXPXk6ts"
}
}'
Last updated