When a subscription is canceled for any reason, we send a notification to your payment notification script.
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_create": "string",
- "date_end": "string"
}
}
{- "error": {
- "code": "INVALID_USER",
- "message": "Invalid user"
}
}