ChargebeeAPI
Using AI coding agents like Claude Code or Cursor? Try the official Chargebee Agent Skills to speed up your development.Try now

One time purchase

Idempotency Supported
Try in API Explorer

This 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

receipt
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.

product
Parameters for product
pass parameters as product[<param name>]
customer
Parameters for customer
pass parameters as customer[<param name>]

Returns

non_subscriptionNon subscription object
Resource object representing non_subscription