Using AI coding agents like Claude Code or Cursor? Try the official Chargebee Agent Skills to speed up your development.Try now
Idempotency Supported
Try in API ExplorerThis API is used to sync consumable, non-consumable, and non-renewing product payments in Chargebee.
URL Format
POST https://[site].chargebee.com/api/v2/non_subscriptions/{non-subscription-app-id}/one_time_purchase
Input Parameters
required, string, max chars=65k
Google Play Store:
The purchase token
taken from the Android device after successful creation of the in-app purchase.
Apple App Store: The Base64 encoded App Store in-app purchase receipt taken from the Apple device after successful creation of the in-app purchase.
Returns
non_subscriptionNon subscription object
Resource object representing non_subscription