Wallet Features
Wallet Transactions
The Wallet transactions API allows you fetch all your wallet transaction history.
List Wallet Transactions
List all your business Wallet Transactions.
Endpoint: /wallet_transactions/{currency}
Method: GET
Header
Param | Type | Required? | Decription |
---|---|---|---|
authorization | string | Yes | Set value to Bearer SECRET_KEY |
Path Params
Param | Type | Required? | Decription |
---|---|---|---|
currency | string | Yes | wallet currency |
Sample Request
curl https://api.budpay.com/api/v2/wallet_transactions/{currency}
-H "Authorization: Bearer YOUR_SECRET_KEY"
-X GET
Sample Response
{
"status": true,
"message": "Transfers retrieved",
"data": {
"current_page": 1,
"data": [
{
"id": 44978,
"wallet_id": 58,
"type": "settlement",
"debit": "no",
"currency": "NGN",
"domain": "live",
"amount": "2200",
"note": "Daily settlement on 2023-01-20 with settlement batchID 51f0278755b91",
"bal_before": "15133.40555",
"bal_after": "17333.40555",
"status": "success",
"reference": "51f0278755b91",
"created_at": "2023-01-20T01:42:31.000000Z"
},
{
"id": 30295,
"wallet_id": 58,
"type": "payout",
"debit": "yes",
"currency": "NGN",
"domain": "live",
"amount": "1050",
"note": "Payout with BUD_trf_97e5b6140v4768",
"bal_before": "1203.30555",
"bal_after": "153.30555",
"status": "success",
"reference": "BUD_trf_97e5b6140v4768",
"created_at": "2023-01-11T08:44:31.000000Z"
},
{
"id": 30287,
"wallet_id": 58,
"type": "transfer",
"debit": "yes",
"currency": "NGN",
"domain": "live",
"amount": "19.9",
"note": "Transfer with BUD_trf_m341405537l0k7",
"bal_before": "1223.20555",
"bal_after": "1203.30555",
"status": "success",
"reference": "BUD_trf_m341405537l0k7",
"created_at": "2023-01-11T08:21:41.000000Z"
}
],
"first_page_url": "https://api.budpay.com/api/v2/wallet_transactions/NGN?page=1",
"from": 1,
"last_page": 23,
"last_page_url": "https://api.budpay.com/api/v2/wallet_transactions/NGN?page=23",
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "https://api.budpay.com/api/v2/wallet_transactions/NGN?page=1",
"label": "1",
"active": true
},
{
"url": "https://api.budpay.com/api/v2/wallet_transactions/NGN?page=2",
"label": "2",
"active": false
},
{
"url": "https://api.budpay.com/api/v2/wallet_transactions/NGN?page=3",
"label": "3",
"active": false
},
{
"url": "https://api.budpay.com/api/v2/wallet_transactions/NGN?page=4",
"label": "4",
"active": false
},
{
"url": "https://api.budpay.com/api/v2/wallet_transactions/NGN?page=5",
"label": "5",
"active": false
},
{
"url": "https://api.budpay.com/api/v2/wallet_transactions/NGN?page=6",
"label": "6",
"active": false
},
{
"url": "https://api.budpay.com/api/v2/wallet_transactions/NGN?page=7",
"label": "7",
"active": false
},
{
"url": "https://api.budpay.com/api/v2/wallet_transactions/NGN?page=8",
"label": "8",
"active": false
},
{
"url": "https://api.budpay.com/api/v2/wallet_transactions/NGN?page=9",
"label": "9",
"active": false
},
{
"url": "https://api.budpay.com/api/v2/wallet_transactions/NGN?page=10",
"label": "10",
"active": false
},
{
"url": null,
"label": "...",
"active": false
},
{
"url": "https://api.budpay.com/api/v2/wallet_transactions/NGN?page=22",
"label": "22",
"active": false
},
{
"url": "https://api.budpay.com/api/v2/wallet_transactions/NGN?page=23",
"label": "23",
"active": false
},
{
"url": "https://api.budpay.com/api/v2/wallet_transactions/NGN?page=2",
"label": "Next »",
"active": false
}
],
"next_page_url": "https://api.budpay.com/api/v2/wallet_transactions/NGN?page=2",
"path": "https://api.budpay.com/api/v2/wallet_transactions/NGN",
"per_page": 20,
"prev_page_url": null,
"to": 20,
"total": 449
}
}