Customer restriction update event
POST/customers/restrictions
When applying restrictions to a customer, the system has two distinct behaviours, depending on the type of restriction being placed:
- All regulatory restrictions are applied immediately, e.g. Sanctions; for these type of restrictions, the Merchant will receive just the one webhook with operationType == 'UPDATE'.
- Fraud related restrictions are synchronized between Paysafe and Merchant, as the customer could have pending operations on the Merchant's system. In this case:
- Paysafe will first send a webhook with
operationType == 'SYNC'
; the restriction is not yet applied on Paysafe's side - Merchant must confirm the restriction by calling the restriction confirmation API; if the restriction is not confirmed within a time frame (e.g. 60sec), the restriction will be applied automatically;
- When the restriction is applied on Paysafe side, a new webhook will be sent, where
operationType == 'UPDATE'
.
- Paysafe will first send a webhook with
- Webhooks with
operationType='NOTIFY'
can be sent to the Merchant with dueDate set to a date which defines when the restriction will be applied to the Merchant's customer. The Merchant needs to take the appropriate actions to prevent the restriction from applying to the customer until dueDate.
Request
Responses
- 200
- 202
- 400
OK
Accepted
Bad Request