Freeze Customer Account

This endpoint is used to limit activity on a customer's account, such as debit and credit. 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.

Headers

Name
Value

Content-Type*

application/json

Authorization*

Bearer <token>

Request-Reference

{unique-reference}

Body

Name
Data Type (length)
Required
Description

accountNumber

string

Customer's account number

Here is an example request and response with a sample payload sent to the endpoint in Curl format.

Sample Request
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