The purchase object is created after a purchase is made. You can retrieve individual purchases. Purchases are identified by a unique, random ID.

Endpoints

The Purchase Object

Field

Type

Description

user

string

The ID of the user the purchase belongs to.

original_id

string

original_transaction_id for Apple, orderId for Google.

platform

string

app_store: Apple App Store
play_store: Google Play Store
stripe: Stripe
promo: for products granted from Qonversion.

platform_product_id

string

product

Product

The Product that was purchased.

currency

string

Three-letter ISO currency code.

amount

int

The cost of the item as a nonnegative integer in the currency unit.

For example 100 cents to charge $1.00, or 100 to charge ¥100, Japanese Yen being a zero-decimal currency.

purchased

timestamp

Time at which the purchase was made on a platform side. Measured in seconds since the Unix epoch.

created

timestamp

Time when a purchase was created. Measured in seconds since the Unix epoch.

device_id

string

The ID of the device with the app where purchase was made.

object

string

The value is purchase. String representing the object’s type.