This resource provides a unified representation of one-time order data across multiple sources, such as the Apple App Store and Google Play Store. It maps the underlying data one-to-one into Chargebee’s omnichannel format. Functioning as a middleware, this solution ensures the data is delivered in a consistent, standardized format as presented.
Note: This resource specifically represents in-app product purchases made via the Apple App Store and Google Play Store.
string, max chars=100 The identifier of the one_time_purchase in the source. For Apple App Store, it is the Transaction ID of the initial_purchase_transaction. For Google Play Store, it is the Order ID of the initial_purchase_transaction.
optional, long Version number of this resource. The resource_version is updated with a new timestamp in milliseconds for every change made to the resource. This attribute will be present only if the resource has been updated after 2016-09-28.
optional, long Version number of this resource. The resource_version is updated with a new timestamp in milliseconds for every change made to the resource. This attribute will be present only if the resource has been updated after 2016-09-28.
string, max chars=100 The identifier of the one time order in the source. For Apple App Store, it is the Transaction ID of the initial_purchase_transaction. For Google Play Store, it is the Order ID of the initial_purchase_transaction.
enumerated string The type of transaction that occurred in the source.
Possible values are
purchaseIndicates that the transaction occurred for a purchase.renewalIndicates that the transaction was initiated as part of a renewal for a previously completed purchase.
optional, long Version number of this resource. The resource_version is updated with a new timestamp in milliseconds for every change made to the resource. This attribute will be present only if the resource has been updated after 2016-09-28.
optional, list of linked_omnichannel_subscription A list of omnichannel_subscription objects linked to this transaction. Each entry represents a subscription associated with the transaction.
optional, list of linked_omnichannel_one_time_order A list of omnichannel_one_time_order objects linked to this transaction. Each entry represents a one-time order associated with the transaction.
This is a list of the event types we currently support. We will continue
to add more events moving forward. All events follow a uniform pattern -
<resource>_<event_name>. The resources that will be
present in the event content are provided beneath each event type's
description.
Note: If consolidated invoicing is enabled, the
attributes invoice.subscription_id and
credit_note.subscription_id should not be used
(as it will not be present if the invoice / credit note has lines from
multiple subscriptions). Instead to know the related subscriptions,
their line_items' subscription_id attribute should be referred.
string, max chars=100 The identifier of the one_time_purchase in the source. For Apple App Store, it is the Transaction ID of the initial_purchase_transaction. For Google Play Store, it is the Order ID of the initial_purchase_transaction.
optional, long Version number of this resource. The resource_version is updated with a new timestamp in milliseconds for every change made to the resource. This attribute will be present only if the resource has been updated after 2016-09-28.
optional, long Version number of this resource. The resource_version is updated with a new timestamp in milliseconds for every change made to the resource. This attribute will be present only if the resource has been updated after 2016-09-28.
optional, long Version number of this resource. The resource_version is updated with a new timestamp in milliseconds for every change made to the resource. This attribute will be present only if the resource has been updated after 2016-09-28.
Resource version attributes
created_at
timestamp(UTC) in seconds Indicates timestamp when the omnichannel_one_time_order_item created in Chargebee.
required, string, max chars=40 Uniquely identifies a omnichannel_one_time_order_item
Id attributes
Purchase Transaction attributes
resource_version
optional, long Version number of this resource. The resource_version is updated with a new timestamp in milliseconds for every change made to the resource. This attribute will be present only if the resource has been updated after 2016-09-28.
optional, long Version number of this resource. The resource_version is updated with a new timestamp in milliseconds for every change made to the resource. This attribute will be present only if the resource has been updated after 2016-09-28.
Resource version attributes
created_at
timestamp(UTC) in seconds Timestamp when the transaction was created.
optional, timestamp(UTC) in seconds Timestamp when the transaction occurred in the source.
Transacted at attributes
type
enumerated string The type of transaction that occurred in the source.
Possible values are
purchaseIndicates that the transaction occurred for a purchase.renewalIndicates that the transaction was initiated as part of a renewal for a previously completed purchase.
string, max chars=100 The identifier of the one time order in the source. For Apple App Store, it is the Transaction ID of the initial_purchase_transaction. For Google Play Store, it is the Order ID of the initial_purchase_transaction.
required, string, max chars=100 The identifier of the one time order in the source. For Apple App Store, it is the Transaction ID of the initial_purchase_transaction. For Google Play Store, it is the Order ID of the initial_purchase_transaction.
Id at source attributes
id
string, max chars=40 Unique identifier for the omnichannel_transaction.
required, string, max chars=40 Unique identifier for the omnichannel_transaction.
Id attributes
linked_omnichannel_subscriptions
optional, list of linked_omnichannel_subscription A list of omnichannel_subscription objects linked to this transaction. Each entry represents a subscription associated with the transaction.
optional, list of linked_omnichannel_subscription A list of omnichannel_subscription objects linked to this transaction. Each entry represents a subscription associated with the transaction.
optional, list of linked_omnichannel_one_time_order A list of omnichannel_one_time_order objects linked to this transaction. Each entry represents a one-time order associated with the transaction.
optional, list of linked_omnichannel_one_time_order A list of omnichannel_one_time_order objects linked to this transaction. Each entry represents a one-time order associated with the transaction.
Retrieves an omnichannel_one_time_order object using its omnichannel_one_time_order_id. You can obtain the omnichannel_one_time_order_id for any successfully recorded purchase in Chargebee by using the List Omnichannel One-Time Orders API.
This API is not enabled for live sites by default. Please contact
support to get this enabled.
optional, string, max chars=1000 Determines your position in the list for pagination. To ensure that the next page is retrieved correctly, always set 'offset' to the value of 'next_offset' obtained in the previous iteration of the API call.
optional, enumerated string filter To filter based on OmnichannelOneTimeOrder Source. Possible values are : apple_app_store, google_play_store Supported operators : is, is_not, in, not_in
Example →source[is] = "apple_app_store"
+
source
To filter based on OmnichannelOneTimeOrder Source. pass parameters as source[<param name>][<operator>]
source[is][operator]
source[is][operator]
optional, enumerated string filter Possible values are : apple_app_store, google_play_store Supported operators :
Example →
source[is_not][operator]
source[is_not][operator]
optional, enumerated string filter Possible values are : apple_app_store, google_play_store Supported operators :
Example →
source[in][operator]
source[in][operator]
optional, string filter Possible values are : Supported operators :
Example →
source[not_in][operator]
source[not_in][operator]
optional, string filter Possible values are : Supported operators :
Example →
customer_id[<operator>]
customer_id[<operator>]
optional, string filter Chargebee Customer External Identifier.Possible values are : Supported operators : is, is_not, starts_with
Example →customer_id[is] = "8gsnbYfsMLds"
+
customer_id
Chargebee Customer External Identifier. pass parameters as customer_id[<param name>][<operator>]
customer_id[is][operator]
customer_id[is][operator]
optional, string, min chars=1 filter Possible values are : Supported operators :
Example →
customer_id[is_not][operator]
customer_id[is_not][operator]
optional, string, min chars=1 filter Possible values are : Supported operators :
Example →
customer_id[starts_with][operator]
customer_id[starts_with][operator]
optional, string, min chars=1 filter Possible values are : Supported operators :
always returned optional, string, max chars=1000 This attribute is returned only if more resources are present. To fetch the next set of resources use this value for the input parameter `offset`.