Skip to main content
PUT
/
v1
/
customer
/
block
/
{customerId}
Block customer
curl --request PUT \
  --url https://staging.api.payluk.ng/v1/customer/block/{customerId} \
  --header 'Authorization: Bearer <token>'
{
  "status": 200,
  "message": "Customers status updated successfully",
  "data": {
    "id": "665f1b2c9a1e4d0012ab3c01",
    "status": "blocked"
  }
}

Authorizations

Authorization
string
header
required

Your secret key as a Bearer token. The key prefix selects the environment: sk_test_... (test) or sk_live_... (live).

Path Parameters

customerId
string
required

The merchant customer's unique identifier.

Response

200 - application/json

Customer blocked.

status
integer
Example:

200

message
string
Example:

"Customer fetched successfully"

data
object