The purchase object is created after a purchase is made.
The Object Attributes
{
"currency": "USD",
"price": "20.00",
"stripe_store_data": {
"subscription_id":"sub_1Ll43PL9K64fsdFsan251sN",
"product_id": "prod_VmF1230A"
},
"purchased": 1663909926
}
Field | Type | Description |
---|---|---|
user_id | string | The Qonversion User ID of the user the purchase belongs to. |
currency | string | Three-letter ISO currency code. |
price | string | example: 12.99 |
stripe_store_data | object | subscription_id - Stripe subscription ID that generated at stripe side. See additional info.product_id - Stripe product ID. Can be received at Product Center Page. |
purchased | timestamp | Time at which the purchase was made on a platform side. Measured in seconds since the Unix epoch. |