Payments
To track an event using the payments package, you can use the corresponding method on the tracker instance. For example:
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);Methods
paymentIntentPaid()
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);PaymentsPaymentIntentPaidProperties
Property
Type
amount?
Number
amount_usd?
Number
currency?
String
intent_id?
String
paid_at?
String
paymentRefundRequested()
PaymentsPaymentRefundRequestedProperties
Property
Type
currency?
String
intent_id?
String
refund_amount?
Number
refund_amount_usd?
Number
refund_id?
String
Last updated
Was this helpful?

