Webhooks allow your server to automatically receive notifications about events in our system. Instead of periodically polling the API, you configure one endpoint and we send you an HTTP request for each important event.
To connect webhooks, you need:
frozen; in a separate table, subscription_planned_unfreeze, the planned unfreeze date and the reason for freezing are recorded.active; the endDate may change.charge_id is returned.suspended; auto-charge is turned off if it was enabled.suspended; auto-charge is turned off if it was enabled.disabled; auto-charge is turned off if it was enabled.disabled; auto-charge is turned off if it was enabled.disabled; auto-charge is turned off if it was enabled.disabled; auto-charge is turned off if it was enabled.blocked.blocked.charge_id is returned.charge_id is returned.charge_id is returned.charge_id is returned.expired.{
"type": "subscription",
"action": "subscription_manual_freeze",
"merchant": "valid_merchant",
"chargeId": "uuid",
"subscriptionData": {
"id": "uuid",
"status": "frozen",
"buyerId": "4dc68f5f-77bd-4d5f-b02b-2f518e757c19",
"buyerEmail":"buyer_email@mail.co"
"startDate": "2023-02-01 12:00:00",
"endDate": "2023-03-21 12:00:00",
"createdAt": "2023-02-01 12:00:00",
"updatedAt": "2023-02-01 12:00:00",
"isManual": true,
"autochargeStatus": false,
"product": {
"code": "MSF1F",
"name": "Product name",
"nameByLocale": "Product name by locale",
"productPrice": {
"amount": 123.12,
"currency": "USD"
}
}
}
}