Close Account
Use this endpoint for closing a customer's account by passing the accountNumber and closureReason in the request body.
POST /api/postings/v1/closeaccount
Headers
Content-Type*
application/json
Authorization*
Bearer <token>
Request-Reference
{unique_reference}
Body
accountNumber
string (150)
The account number that needs to be closed
closureReason
string (150)
The reason for closing the account. Suggested Options: i. Customer's request ii. Regulatory requirement iii. Fraud related concern iv. Court order v. Duplication vi. Management discretion
instrumentNumber
string (150)
Instrument number for tranasction status associated with the account closure If empty, a globally unique identifier (GUID) is generated by default
Here is an example request and response with a sample payload sent to the endpoint in Curl format.
Response
{
"status": true,
"message": "string",
"data": {
"statusCode": "string",
"referenceNumber": "string",
"instrumentNumber": "string",
"duration": "string"
}
}Last updated