API Documentation
- Getting Started
- Customer
- Product
- ProductLimit
- Wallet
- WalletGroup
- Payout
- Webhook
Utils
Account Closure
The endpoint allows you to retrieves the reasons available for closing an account.
GET
/
wallets
/
account
/
closure
/
reasons
Copy
curl --request GET \
--url https://waas-staging.embedly.ng/api/v1/wallets/account/closure/reasons \
--header 'x-api-key: <api-key>'
Copy
{
"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
]
}
Copy
{
"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
]
}
Copy
curl --request GET \
--url https://waas-staging.embedly.ng/api/v1/wallets/account/closure/reasons \
--header 'x-api-key: <api-key>'
Copy
{
"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
]
}
Assistant
Responses are generated using AI and may contain mistakes.