Rewrd API
  1. Customers
Rewrd API
  • Customers
    • Create or Update a Customer
      POST
    • List Customers
      GET
    • Get a Customer
      GET
    • Update a Customer
      PUT
    • Restrict a Customer
      PATCH
    • Unrestrict a Customer
      PATCH
  • Merchant
    • Get Merchant Configuration
      GET
    • Update Merchant Configuration
      PATCH
    • List Earning Rules
      GET
    • Get Earning Rule Details
      GET
    • Get IP Whitelist
      GET
    • Update IP Whitelist
      PUT
    • Get Merchant Analytics
      GET
  • Points
    • Credit Points to a Customer
      POST
    • Redeem Points
      POST
    • Get Customer Transaction History
      GET
  1. Customers

Restrict a Customer

PATCH
/customers/{uid}/restrict
Restricts a customer, preventing them from earning or redeeming points. The customer's existing points balance is preserved but frozen.
Use this for fraud prevention or when a customer account needs to be temporarily suspended. Only active customers can be restricted.

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or
Path Params

Responses

🟢200OK
application/json
Customer restricted successfully.
Body

🟠401Unauthorized
🟠403Forbidden
🟠404Record Not Found
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH '/customers/cust_abc123def456/restrict' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - Example 1
{
    "status": true,
    "message": "Customer restricted successfully"
}
Modified at 2026-02-25 12:17:15
Previous
Update a Customer
Next
Unrestrict a Customer
Built with