Skip to main content
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

string
required
The access token of the agreement payment contract, obtained via applyToken. No special characters (@, #, ?).Max length: 128 characters
string
required
The updated contract status. INVALID: the contract is no longer valid.
string
Unix timestamp (10 digits) of the status change. Example: 1749634508

Response Parameters

object
required
Standard result object with resultCode, resultStatus, resultMessage
Return resultStatus = S (SUCCESS) to acknowledge the notification.

Contract Cancellation Flows

  1. The user cancels the contract in the Rebell app’s contract management.
  2. Rebell cancels the token.
  3. Rebell sends this notification to the merchant backend, which marks the user’s agreement accessToken as invalid.
  4. The Rebell app confirms the cancellation, and Rebell sends the user a cancellation message.

Sample

Request

Response