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)

Methods

paymentIntentPaid()

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()

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

Last updated