curl --request POST \
--url https://api.notchpay.co/customers/{id}/block \
--header 'Authorization: <api-key>'
{
"code": 202,
"status": "Accepted",
"message": "Customer blocked successfully",
"customer": {
"id": "cus_123456789",
"name": "John Doe",
"email": "john@example.com",
"phone": 237600000000,
"company_name": "ACME Inc",
"address": {
"country": "CM",
"city": "Douala",
"address_line1": "123 Main St"
},
"created_at": "2023-01-01T12:00:00.000Z",
"updated_at": "2023-01-02T12:00:00.000Z",
"blocked": false
}
}
Unique identifier of the customer
Customer blocked
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://api.notchpay.co/customers/{id}/block \
--header 'Authorization: <api-key>'
{
"code": 202,
"status": "Accepted",
"message": "Customer blocked successfully",
"customer": {
"id": "cus_123456789",
"name": "John Doe",
"email": "john@example.com",
"phone": 237600000000,
"company_name": "ACME Inc",
"address": {
"country": "CM",
"city": "Douala",
"address_line1": "123 Main St"
},
"created_at": "2023-01-01T12:00:00.000Z",
"updated_at": "2023-01-02T12:00:00.000Z",
"blocked": false
}
}
curl --request POST \
--url https://api.notchpay.co/customers/{id}/block \
--header 'Authorization: <api-key>'
{
"code": 202,
"status": "Accepted",
"message": "Customer blocked successfully",
"customer": {
"id": "cus_123456789",
"name": "John Doe",
"email": "john@example.com",
"phone": 237600000000,
"company_name": "ACME Inc",
"address": {
"country": "CM",
"city": "Douala",
"address_line1": "123 Main St"
},
"created_at": "2023-01-01T12:00:00.000Z",
"updated_at": "2023-01-02T12:00:00.000Z",
"blocked": false
}
}
Unique identifier of the customer
Customer blocked
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://api.notchpay.co/customers/{id}/block \
--header 'Authorization: <api-key>'
{
"code": 202,
"status": "Accepted",
"message": "Customer blocked successfully",
"customer": {
"id": "cus_123456789",
"name": "John Doe",
"email": "john@example.com",
"phone": 237600000000,
"company_name": "ACME Inc",
"address": {
"country": "CM",
"city": "Douala",
"address_line1": "123 Main St"
},
"created_at": "2023-01-01T12:00:00.000Z",
"updated_at": "2023-01-02T12:00:00.000Z",
"blocked": false
}
}