This endpoint would fetch you all your history from the inception of creating a Pandascrow account to date.

[GET] {{baseurl}}/v1/index/wallet/history

Pandascrow Wallet - History

To fetch wallet history, you'll need to pass parameters such as userID, businessID, and limit (optional).

ParamRequired?Descriptiontype
userIDYesProvide userID a unique id issue to each registered userInteger
businessIDYesProvide businessID a unique id associated to each registered setup under any userInteger
limitNoUsed to limit number of request to receive.Integer

API Object

{
    "status": 200,
    "data": {
        "histories": [
            {
                "walletID": 6,
                "userID": 1,
                "businessID": 1,
                "credit_balance": 0,
                "debit_balance": 50,
                "balance": 4730,
                "action": "Transfer",
                "description": "Your airtime of 50 was successfully sent.",
                "sessionID": "4488794109114924",
                "payref": "",
                "is_approved": 1,
                "is_bonus": 0,
                "datePaid": "Sat, 03 Sep 2022 18:06:35 +0000",
                "datePaid_alt": "1 week ago",
                "dateCreated": "Sat, 03 Sep 2022 18:06:35 +0000",
                "dateCreated_alt": "1 week ago"
            },
            {
                "walletID": 5,
                "userID": 1,
                "businessID": 1,
                "credit_balance": 5000,
                "debit_balance": 0,
                "balance": 9780,
                "action": "Deposit",
                "description": "Your wallet was funded successfully.",
                "sessionID": "2439834482651652",
                "payref": "",
                "is_approved": 1,
                "is_bonus": 0,
                "datePaid": "Sat, 03 Sep 2022 18:06:35 +0000",
                "datePaid_alt": "1 week ago",
                "dateCreated": "Sat, 03 Sep 2022 18:06:35 +0000",
                "dateCreated_alt": "1 week ago"
            },...
        ]
    }
}
curl -L -X GET '{{baseurl}}/v1/index/wallet/history' \
-H 'Content-Type: application/json' \
-H 'Authorization: SECRET_KEY' \
-H 'Appid: appid'
Language
Click Try It! to start a request and see the response here!