This endpoint is used to limit activity on a customer's account, such as debit and credit. PUT /api/account/v1/freeze
PUT
/api/account/v1/freeze
To freeze a customer's account, you need to pass accountNumber in the request body to the freeze account endpoint.
accountNumber
Headers
Content-Type*
application/json
Authorization*
Bearer <token>
Request-Reference
{unique-reference}
Body
string (10)
Customer's account number
Here is an example request and response with a sample payload sent to the endpoint in Curl format.
curl --location -g --request PUT '{{baseurl}}/api/account/v1/freeze' \ --header 'Content-Type: application/json' \ --header 'Authorization: bearer ' \ --header 'request-reference;' \ --data '{ "accountNumber": "1000000730" }'
Response
//request successful
Last updated 1 year ago