{
"id": "<string>",
"object": "event",
"created": 1750062041000,
"type": "session.complete",
"data": {
"object": {
"sessionId": "<string>",
"token": "<string>",
"status": "<string>",
"paymentStatus": "<string>",
"amountSubtotal": 0,
"amountTotal": 0,
"originalCurrency": "<string>",
"paymentCurrency": "<string>",
"subscriptionId": "<string>",
"invoiceId": "<string>",
"orderId": "<string>",
"price": {
"priceId": "<string>",
"priceList": [
{
"amount": 0,
"currency": "<string>",
"exchangeRate": 0
}
],
"recurring": {
"freeTrialDays": 0,
"interval": "<string>"
}
},
"merchantReferenceId": "<string>",
"customer": {
"customerId": "<string>",
"email": "<string>"
},
"locale": "<string>",
"uiMode": "<string>",
"returnUrl": "<string>",
"cancelUrl": "<string>",
"successUrl": "<string>",
"created": "2026-07-30 12:00:00",
"expire": "2026-07-30 12:00:00",
"product": {
"productId": "<string>",
"productName": "<string>"
},
"priceDataList": [
{
"name": "<string>",
"quantity": 0,
"unitAmount": 0,
"currency": "<string>",
"imageUrl": "<string>"
}
]
}
}
}Webhooks
session
Webhook notification triggered when session is completed or expired
WEBHOOK
session
{
"id": "<string>",
"object": "event",
"created": 1750062041000,
"type": "session.complete",
"data": {
"object": {
"sessionId": "<string>",
"token": "<string>",
"status": "<string>",
"paymentStatus": "<string>",
"amountSubtotal": 0,
"amountTotal": 0,
"originalCurrency": "<string>",
"paymentCurrency": "<string>",
"subscriptionId": "<string>",
"invoiceId": "<string>",
"orderId": "<string>",
"price": {
"priceId": "<string>",
"priceList": [
{
"amount": 0,
"currency": "<string>",
"exchangeRate": 0
}
],
"recurring": {
"freeTrialDays": 0,
"interval": "<string>"
}
},
"merchantReferenceId": "<string>",
"customer": {
"customerId": "<string>",
"email": "<string>"
},
"locale": "<string>",
"uiMode": "<string>",
"returnUrl": "<string>",
"cancelUrl": "<string>",
"successUrl": "<string>",
"created": "2026-07-30 12:00:00",
"expire": "2026-07-30 12:00:00",
"product": {
"productId": "<string>",
"productName": "<string>"
},
"priceDataList": [
{
"name": "<string>",
"quantity": 0,
"unitAmount": 0,
"currency": "<string>",
"imageUrl": "<string>"
}
]
}
}
}Headers
Body
application/json
Session event payload in json
Response
200
Return a 200 status to indicate that the data was received successfully