Records a purchase for a user. Stripe is the recommended path when calling this API directly; App Store and Play Store purchases normally flow through the Qonversion SDK and rarely need to be POSTed manually.
Provide exactly one of stripe_store_data, app_store_data, or play_store_data.
Documentation Index
Fetch the complete documentation index at: https://documentation.qonversion.io/llms.txt
Use this file to discover all available pages before exploring further.
app_store_data and play_store_data are accepted
for completeness but App Store and Play Store purchases are normally handled automatically
by the Qonversion SDK.Use your Project Key from the Qonversion dashboard (Project Settings -> Project Keys -> Project Key).
Production keys have no prefix; keys prefixed with test_ target the sandbox environment.
Example (sandbox): Bearer test_PV77YHL7qnGvsdmpTs7gimsxUvY-Znl2
Example (production): Bearer JFPATc4VaaWYsfurml3qZ4zsmNw0VfWH
Qonversion User ID
Three-letter ISO 4217 currency code (case-insensitive; normalised to uppercase server-side)
Monetary amount (decimal string, e.g. "12.99")
Unix epoch seconds of the transaction
App Store transaction data. Use only when posting App Store purchases manually instead of via the SDK.
Google Play transaction data. Use only when posting Play purchases manually instead of via the SDK.
Purchase created
The response echoes whichever store-data variant was provided in the request:
exactly one of stripe_store_data, app_store_data, or play_store_data will be present.
Qonversion User ID
"QON_7791a27fc4e747412381842b36a"
Three-letter ISO 4217 currency code (uppercase)
"USD"
Monetary amount (decimal string)
"12.99"
Unix epoch seconds of the transaction
1653458781
App Store transaction data. Echoed only when the purchase was created with app_store_data.
Google Play transaction data. Echoed only when the purchase was created with play_store_data.