Last updated 6 months ago
Was this helpful?
To track an event using the payments package, you can use the corresponding method on the tracker instance. For example:
val properties = PaymentsPaymentIntentPaidProperties( amount = amount ) bird.tracker.payments.paymentIntentPaid(properties)
let properties = PaymentsPaymentIntentPaidProperties( amount: amount ) bird.tracker.payments.paymentIntentPaid(properties)
const properties: PaymentsPaymentIntentPaidProperties = { amount: amount }; Bird.tracker.payments.paymentIntentPaid(properties, event_opts);
amount?
Number
amount_usd?
currency?
String
intent_id?
paid_at?
val properties = PaymentsPaymentRefundRequestedProperties( currency = currency ) bird.tracker.payments.paymentRefundRequested(properties)
let properties = PaymentsPaymentRefundRequestedProperties( currency: currency ) bird.tracker.payments.paymentRefundRequested(properties)
const properties: PaymentsPaymentRefundRequestedProperties = { currency: currency }; Bird.tracker.payments.paymentRefundRequested(properties, event_opts);
refund_amount?
refund_amount_usd?
refund_id?