POST
/
wallets
/
close
Close Wallet
curl --request POST \
  --url https://waas-staging.embedly.ng/api/v1/wallets/close \
  --header 'Content-Type: application/json' \
  --data '{
  "accountNumber": "<string>",
  "accountClosureReasonId": 123,
  "tellerId": 123,
  "closeOrDelete": true,
  "customerOrAccount": true
}'
{
	"code": "200",
	"success": true,
	"message": "You can close this account.",
	"data": {
		// Additional details if applicable
	}
}

Request Body

accountNumber
string
required
The account number to be closed or deleted. Example: “3023563113”
accountClosureReasonId
number
required
The ID representing the reason for account closure. Example: 0
tellerId
number
The ID of the teller processing the closure. Example: 0
closeOrDelete
boolean
required
Specifies whether to close or delete the account. - true: Delete the account
  • false: Close the account
customerOrAccount
boolean
required
Specifies whether the operation is for a customer or an account. - true: Customer - false: Account
{
	"code": "200",
	"success": true,
	"message": "You can close this account.",
	"data": {
		// Additional details if applicable
	}
}