Mobile Top Up Statement
Mobile Top Up Statement
Retrieve all mobile top ups performed by associated wallet.
HTTP Request
GET
/wallets/topups
Request Headers{
"Authorization": "Bearer {{access_token}}"
}
Response
Content-Type: application/json{
"statusCode":200,
"errorMsg": "",
"statement": [
{
"idempotencyKey": "35bfc9c2-d7cd-11eb-b8bc-0242ac130003",
"amount": 20.00,
"currency": "MXN",
"transactionId": "7f8c6018-2258-11eb-adc1-0242ac120002",
"operatorId": "ATT",
"transferStatus": "SETTLED",
"transferErrorMsg": "",
"entryTime": "2020-10-01T00:01:16"
},
{
"idempotencyKey": "35bfc9c2-d7cd-11eb-b8bc-0242ac130004",
"amount": 50.00,
"currency": "MXN",
"transactionId": "7f8c6018-2258-11eb-adc1-0242ac120001",
"operatorId": "ATT",
"transferStatus": "SETTLED",
"transferErrorMsg": "",
"entryTime": "2020-10-21T00:21:16"
}
]
}
```json title="Request Body"
Response
Content-Type: application/json
Key |
Value |
Authorization |
"bearer"+ "" + {{access_token}} |
x-api-key |
{{api_key}} |
PATH and Query Parameters
Parameter |
Required |
Type |
Description |
startDate |
|
String |
Initial date for statement query, YYYY-MM-DD |
endDate |
|
String |
Final date for statement query, YYYY-MM-DD |
Response Body Details
Parameter |
Type |
Description |
statusCode |
int |
200 Success, 401 Access denied, 422 Required fields missing or invalid data, 500 internal error |
errorMsg |
String |
error message if failed |
statement |
JSON |
JSON Array for statement, please see below for detail |
JSON Field |
Type |
Description |
idempotencyKey |
String |
Unique key to ensure idempotent requests |
transactionId |
String |
Transaction ID |
amount |
String |
The transfer amount |
currency |
String |
The currency of the transferred fund |
operatorId |
String |
Identifier of an operator |
entryTime |
Time |
The transaction time |
transferStatus |
String |
Transfer status, settled, in progress or failed |
transferErrorMsg |
String |
Transfer error message if failed |