Sign inGet started

Payments

To track an event using the payments package, you can use the corresponding method on the tracker instance. For example:

Example

Codebeispiel
val properties = PaymentsPaymentIntentPaidProperties(
    amount = amount
)
bird.tracker.payments.paymentIntentPaid(properties)

Methods

paymentIntentPaid()

Codebeispiel
val properties = PaymentsPaymentIntentPaidProperties(
    amount = amount
)
bird.tracker.payments.paymentIntentPaid(properties)

PaymentsPaymentIntentPaidProperties

PropertyType
amount?Number
amount_usd?Number
currency?String
intent_id?String
paid_at?String

paymentRefundRequested()

Codebeispiel
val properties = PaymentsPaymentRefundRequestedProperties(
    currency = currency
)
bird.tracker.payments.paymentRefundRequested(properties)

PaymentsPaymentRefundRequestedProperties

PropertyType
currency?String
intent_id?String
refund_amount?Number
refund_amount_usd?Number
refund_id?String