Skip to content

Files

Latest commit

 Cannot retrieve latest commit at this time.

History

History
15 lines (12 loc) · 11.6 KB

tracksalerequestbody.md

File metadata and controls

15 lines (12 loc) · 11.6 KB

TrackSaleRequestBody

Fields

Field Type Required Description Example
ExternalID *string This is the unique identifier for the customer in the client's app. This is used to track the customer's journey.
CustomerID *string : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This is the unique identifier for the customer in the client's app. This is used to track the customer's journey.
Amount int64 ✔️ The amount of the sale. Should be passed in cents.
PaymentProcessor operations.PaymentProcessor ✔️ The payment processor via which the sale was made.
EventName *string The name of the sale event. It can be used to track different types of event for example 'Purchase', 'Upgrade', 'Payment', etc. Purchase
InvoiceID *string The invoice ID of the sale.
Currency *string The currency of the sale. Accepts ISO 4217 currency codes.
Metadata map[string]any Additional metadata to be stored with the sale event.