If some parameters in subscription (plan_id
, date_next_charge
) were changed and in case of every subscription renewal, we send the notification update_subscription
on your webhook URL.
notification_type required | string Type of notification. | ||||||||||
object Custom project settings (object). | |||||||||||
object User details (object). | |||||||||||
object Subscription details (object). | |||||||||||
|
Return to indicate successful processing.
Return in case of an error in the provided information (e.g., a required parameter missing, failed authorization, etc.).
Return to indicate temporary errors with your servers.
{- "notification_type": "string",
- "settings": {
- "project_id": 0,
- "merchant_id": 0
}, - "user": {
- "id": "string",
- "name": "string"
}, - "subscription": {
- "plan_id": "string",
- "tags": [
- "string"
], - "subscription_id": 0,
- "product_id": "string",
- "date_next_charge": "string"
}
}
{- "error": {
- "code": "INVALID_USER",
- "message": "Invalid user"
}
}