Skip to main content

Subscription callback notification

Webhook 

After subscription-related events are triggered, the system sends a callback notification to the merchant. The merchant should distinguish the callback type using the subscriptionType field and handle it accordingly.

info

Merchants can set the callback address when creating a subscription order.

The callback will be sent up to 6 times, respectively at 0 seconds, 15 seconds, 30 seconds, 3 minutes, 5 minutes, and 10 minutes after the event is confirmed.

When the merchant returns success normally, the system will consider the callback successful and will not send subsequent callbacks.

Note: The merchant needs to verify the signature of the callback notification to ensure the security of the notification. The signing method of the callback is consistent with the normal request.

Callback type descriptions (distinguished by subscriptionType):

subscriptionTypeDescription
SubscriptionRegisterUser contract signing result
SubscriptionApproveUser authorization for deduction allowance result
SubscriptionCancelUser unsubscription result
SubscriptionBillingRecurring billing result

Request​

Responses​

OK