get http://api.pandascrow.io/sandbox/index/wallet/history
This endpoint would fetch you all your history from the inception of creating a Pandascrow account to date.
[GET] {{baseurl}}/sandbox/index/wallet/history
Pandascrow Wallet - History
To fetch wallet history, you'll need to pass the "limit" parameter, this is optional.
Param | Required? | Description | type |
---|---|---|---|
limit | No | Used to limit number of request to receive. | Integer |
API Object
{
"status": 200,
"data": {
"histories": [
{
"walletID": 61,
"userID": 1,
"businessID": 1,
"credit_balance": 0,
"debit_balance": 80,
"balance": 520,
"action": "API",
"description": "KYC Callback via API",
"sessionID": "2168179612472820",
"payref": "",
"is_approved": 1,
"is_bonus": 0,
"datePaid": "Sun, 15 Jan 2023 07:24:52 +0000",
"datePaid_alt": "2 days ago",
"dateCreated": "Sun, 15 Jan 2023 07:24:52 +0000",
"dateCreated_alt": "2 days ago"
},
{
"walletID": 60,
"userID": 1,
"businessID": 1,
"credit_balance": 0,
"debit_balance": 35,
"balance": 600,
"action": "API",
"description": "KYC Callback via API",
"sessionID": "8756982550827109",
"payref": "",
"is_approved": 1,
"is_bonus": 0,
"datePaid": "Sun, 15 Jan 2023 07:20:59 +0000",
"datePaid_alt": "2 days ago",
"dateCreated": "Sun, 15 Jan 2023 07:20:59 +0000",
"dateCreated_alt": "2 days ago"
},
{
"walletID": 59,
"userID": 1,
"businessID": 1,
"credit_balance": 0,
"debit_balance": 35,
"balance": 635,
"action": "API",
"description": "KYC Callback via API",
"sessionID": "8594251930109142",
"payref": "",
"is_approved": 1,
"is_bonus": 0,
"datePaid": "Sun, 15 Jan 2023 07:20:51 +0000",
"datePaid_alt": "2 days ago",
"dateCreated": "Sun, 15 Jan 2023 07:20:51 +0000",
"dateCreated_alt": "2 days ago"
},...
]
}
}
curl -L -X GET '{{baseurl}}/sandbox/index/wallet/history' \
-H 'Content-Type: application/json' \
-H 'Authorization: SECRET_KEY' \
-H 'Appid: appid'