This webhook service keeps you informed about any successful payment transaction including one-time and subscription based payments.
Webhook events are serialized in JSON. The body of a POST
request to your server will contain the serialized event.
{
"queue": {
"type": "TransactionInsert",
"eventType": "transaction",
"requestID": "4fee-9169-a6b45555f89b",
"createDate": {
"date": "2024-06-15 11:51:35.807000",
"timezone_type": 3,
"timezone": "UTC"
},
"appId": 1
},
"parameters": {
"id": "38359",
"payment_type": "subscription",
"original_transaction_id": "6kab56hfs773-a25f3ebf8e2f",
"transaction_id": "ba3325ge3ad6791-49f4-9693-a25f3ebf8e2f",
"package_id": "weekly_",
"team_id": 22,
"app_id": 1,
"status": "trial",
"create_date": "2024-06-15 11:51:35",
"purchase_date": "2024-06-15 11:51:35",
"original_purchase_date": "2024-06-15 11:51:35",
"price": "0.00",
"currency": "TRY",
"country": "TR",
"expire_date": "2024-06-22 11:51:35",
"subscriber_id": "test@zotlo.com",
"credit_card": "41111111****1111",
"refund_price": null,
"refund_date": null,
"refund_reason": null,
"is_refund": "0",
"provider_id": 2222263,
"provider_transaction_id": "417705901",
"provider_status": "mastercard",
"provider_name": "Credit Card",
"comment": null,
"quantity": 1,
"package_price": 0,
"subscription_id": "9292132",
"custom_parameters": {
"clientUuid": "0bb45b80-1ff5-42ee-a382-a5ee06e641c9",
"dataWarehouse": {
"paymentModule": "generate",
"siteId": 38,
"flowId": 600,
"appId": 7,
"teamId": 7,
"acceptPolicy": true,
"fullName": "test"
},
"utm": {
"source": null,
"medium": null,
"campaign": null,
"term": null,
"content": null
},
"cardBrand": "mastercard",
"threeds": "1",
"installment": "1",
"bank": "lidio3p"
},
"paymentMethod": "creditCard",
"installment": 1,
"exchange": {
"status": false,
"detail": []
},
"coupon_campaign": {
"isUsedCouponCode": false,
"code": null,
"discountType": null,
"discountValue": null
},
"language": "en"
}
}