Skip to main content
POST
/
customers
/
{id}
/
block
Block a customer
curl --request POST \
  --url https://api.notchpay.co/customers/{id}/block \
  --header 'Authorization: <api-key>'
{
  "code": 202,
  "status": "Accepted",
  "message": "Customer blocked successfully",
  "customer": "<unknown>"
}

Authorizations

Authorization
string
header
required

Path Parameters

id
string
required

Unique identifier of the customer

Response

Customer blocked

code
integer
required
Example:

202

status
string
required
Example:

"Accepted"

message
string
required
Example:

"Customer blocked successfully"

customer
any
required