POST
The upcoming authorization expiration webhook is triggered 30 days before authorization automatically expires. This webhook continues to notify the seller once a day at 0:00 until re-authorization is completed.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
type
required
The ID of the webhook type.
integer
shop_id
The identification of the shop
string
timestamp
The time when the notification is pushed, represented as a Unix timestamp (seconds).
integer format: int64
tts_notification_id
The ID of the notification.
string
data
The object contains business parameters related to the specific notification type.
object
message
string
expiration_time
string
Example
{ "type": 7, "tts_notification_id": "7327112393057371910", "shop_id": "7494049642642441621", "timestamp": 1644412885, "data": { "message": "Authorization of shop_id {xxx} is expiring in {x} days. Please direct the merchant to re-authorize.", "expiration_time": "1627587506" }}Responses
Section titled “Responses”Return HTTP 200 to acknowledge receipt.