BLACKLISTED
. This operation is critical for fraud prevention, compliance enforcement, and risk management. Blacklisted customers cannot make payments, receive invoices, or interact with your services until their status is restored. All blacklist operations are logged for audit and compliance purposes.
Endpoint Details
PATCH
/api/v0/customers/{id}
Idempotency: Supported (recommended for status changes)
Rate Limiting: Subject to standard API rate limits
Audit Logging: All blacklist operations are automatically logged
Authentication
All requests require API key authentication using the following headers:x-client-key
: Your application’s client keyx-client-secret
: Your application’s client secret
Idempotency
Include an idempotency key to ensure blacklist operations are safely retryable:idempotency-key
: Include a unique UUID v4 in the header- Subsequent requests with the same key return the original response
- Keys expire after 24 hours
Path Parameters
Customer’s unique identifier (UUID)
Format: UUID v4
Example:
Format: UUID v4
Example:
"550e8400-e29b-41d4-a716-446655440000"
Request Body
Set to
Value:
"BLACKLISTED"
to blacklist the customerValue:
"BLACKLISTED"
Optional reason for blacklisting (for internal tracking)
Example:
Note: This field is not stored in the customer record but can be logged separately
Example:
"Fraudulent activity detected"
Note: This field is not stored in the customer record but can be logged separately