Wallet
Account Closure
API Documentation
- Getting Started
- Customer
- Product
- ProductLimit
- Wallet
- Wallet Overview
- POSTAdd Wallet
- POSTClose Wallet
- POSTWallet History
- POSTRetrieve transaction history for an account number
- GETClose Wallet by AccountID
- GETSearch Wallet by Email
- GETSearch Wallet by Mobile
- GETRetrieve Detail of a Specific Wallet
- GETRetrieve Wallet Detail
- GETAccount Closure
- GETRetrieve Wallet by ID
- PUTPost Wallet Transaction
- PUTComplete Wallet Transaction
- PUTReverse Transaction
- PUTRestrict Wallet
- PATCHRestrict by AccountID
- PATCHRestrict Wallet
- WalletGroup
- Payout
Wallet
Account Closure
The endpoint allows you to retrieves the reasons available for closing an account.
GET
/
wallets
/
account
/
closure
/
reasons
curl --request GET \
--url https://waas-staging.cafeone.ng/api/v1/wallets/account/closure/reasons \
--header 'x-api-key: <api-key>'
Response
✅ Success Response
Status Code: 200 OK
{
"code": "200",
"success": true,
"message": "Account closure reasons retrieved successfully.",
"data": [
{
"id": 1,
"reason": "No longer needed"
},
{
"id": 2,
"reason": "Moving to a different bank"
}
// Additional reasons may be listed
]
}
❌ Error Responses
Status Code: 400 Bad Request
{
"code": "400",
"success": false,
"message": "Invalid request data",
"data": null
}
Status Code: 500 Internal Server Error
{
"code": "500",
"success": false,
"message": "PROCEDURE bankify GET_ACCOUNT_CLOSURE_REASONS does not exist",
"data": null
}
curl --request GET \
--url https://waas-staging.cafeone.ng/api/v1/wallets/account/closure/reasons \
--header 'x-api-key: <api-key>'