Skip to content

Event types & payloads

Dates are local date-times without a time zone (CET), e.g. 2026-09-29T14:03:12.123. Fields without a value may be null.

Sent after every successful checkout of a subscription product, once the subscription is created. It’s sent even if the first charge was declined. Check the TRANSACTION event for the charge result. For delayed-charge products without pre-authorization it’s the only event at signup. One-time products don’t send CONVERSION, only TRANSACTION.

Field Type Description
customer_id integer Customer ID.
email string Buyer’s email.
name string First name.
last_name string Last name.
status string Subscription status.
product_id integer Product purchased.
subscription_timestamp datetime Signup date.
next_renewal_timestamp datetime | null Next scheduled charge.
last_time_billed datetime | null Last successful charge.
last_transaction_id_success integer | null ID of the last successful transaction.
unsubscription_timestamp datetime | null Always null for conversions.
transaction_id integer | null Internal ID of the signup transaction (first charge, or the last pre-authorization attempt). null when nothing was charged at signup.
mid_id integer | null Reserved. Currently always null.
additional_data object | null The additionalData you passed to the SDK.
{
"customer_id": 5812,
"email": "jane.doe@example.com",
"name": "Jane",
"last_name": "Doe",
"status": "ACTIVE",
"product_id": 12,
"subscription_timestamp": "2026-09-29T14:03:12.123",
"next_renewal_timestamp": "2026-10-29T14:03:12.123",
"last_time_billed": "2026-09-29T14:03:12.456",
"last_transaction_id_success": 99101,
"unsubscription_timestamp": null,
"transaction_id": 99101,
"mid_id": null,
"additional_data": { "clickId": "abc123", "campaignId": "77" }
}

Sent every time a charge is attempted, whether it succeeded or failed: the first payment (one-time or subscription start), the capture of a pre-authorization at signup, and every renewal.

Field Type Description
transaction_id integer Internal transaction ID. Use it with the transactions API.
customer_id integer Customer ID.
email string Buyer’s email.
account_id integer Your account ID.
product_id integer Product.
timestamp datetime When the charge was processed.
success boolean true if approved.
response_text string Gateway response, e.g. SUCCESS, DECLINED. See Decline codes.
amount number Amount charged.
currency_id integer Currency identifier.
mid_id integer Merchant account used.
cycle integer Billing cycle (1 = first payment).
attempts integer Attempts in the current cycle.
refund_status boolean true if this transaction is fully refunded. Always false for a new charge.
status_id integer Transaction status code, e.g. 100 = APPROVED. See Decline codes.
transaction_type_code integer Transaction type code, e.g. 101 = SUBSCRIPTION_START. See Transaction type.
json_response object Summary of the gateway response: type, amount, currency, response_text, processor_id and payment_details.card_bin.
{
"transaction_id": 99101,
"customer_id": 5812,
"email": "jane.doe@example.com",
"account_id": 40,
"product_id": 12,
"timestamp": "2026-09-29T14:03:12.456",
"success": true,
"response_text": "SUCCESS",
"amount": 9.99,
"currency_id": 2,
"mid_id": 7,
"cycle": 1,
"attempts": 1,
"refund_status": false,
"status_id": 100,
"transaction_type_code": 101,
"json_response": {
"type": "sale",
"amount": 9.99,
"currency": "EUR",
"response_text": "SUCCESS",
"payment_details": { "card_bin": "411111" }
}
}

Same payload as TRANSACTION, describing the new refund transaction: amount is negative and transaction_type_code is 122 (REFUNDED).

refund_status refers to the new refund transaction, so it’s always false. To know whether the original charge was fully or partially refunded, fetch it with the transactions API and check its refundStatus.

{
"transaction_id": 99187,
"customer_id": 5812,
"email": "jane.doe@example.com",
"account_id": 40,
"product_id": 12,
"timestamp": "2026-10-02T09:15:40.001",
"success": true,
"response_text": "SUCCESS",
"amount": -9.99,
"currency_id": 2,
"mid_id": 7,
"cycle": 1,
"attempts": 1,
"refund_status": false,
"status_id": 100,
"transaction_type_code": 122
}

Sent for each subscription cancelled through the unsubscribe endpoints. Same fields as CONVERSION, with status: "UNSUBSCRIBED" and unsubscription_timestamp set; transaction_id, mid_id and additional_data are null. It isn’t sent when billing stops automatically after a non-retryable decline (see Renewals & retries).

{
"customer_id": 5812,
"email": "jane.doe@example.com",
"name": "Jane",
"last_name": "Doe",
"status": "UNSUBSCRIBED",
"product_id": 12,
"subscription_timestamp": "2026-09-29T14:03:12.123",
"next_renewal_timestamp": "2026-10-29T14:03:12.123",
"last_time_billed": "2026-09-29T14:03:12.456",
"last_transaction_id_success": 99101,
"unsubscription_timestamp": "2026-10-05T18:22:03.310",
"transaction_id": null,
"mid_id": null,
"additional_data": null
}