POST /v1/authorizations/contractStatusNotify
A notification endpoint implemented by the merchant. Rebell sends a notification to the merchant backend when an agreement payment contract changes status (for example, when it is cancelled).
The URL is the contractStatusNotifyUrl provided by the merchant when the agreement payment contract is signed (see Prepare). If no URL is configured, Rebell does not send notifications.
Handle repeated notifications idempotently using
accessToken (see Idempotency).Request Parameters
The access token of the agreement payment contract, obtained via applyToken. No special characters (
@, #, ?).Max length: 128 charactersResponse Parameters
ReturnresultStatus = S (SUCCESS) to acknowledge the notification.
Contract Cancellation Flows
- Cancelled by the user
- Cancelled by the merchant
- The user cancels the contract in the Rebell app’s contract management.
- Rebell cancels the token.
- Rebell sends this notification to the merchant backend, which marks the user’s agreement
accessTokenas invalid. - The Rebell app confirms the cancellation, and Rebell sends the user a cancellation message.