Creates a checkout session.
Your checkout token that will be presented at Appcharge's dashboard under Admin section -> Integration tab -> Publisher token
List of items in the offer.
Two-letter country code of the player in ISO-3166 alpha-2 format. If not provided, Appcharge determines the customer's country from the player's IP address.
Note: Setting a country manually will affect the applicable tax jurisdiction and rates. It's your responsibility to ensure that any country values provided via the API align with your regulatory and business requirements.
"US"
Metadata for the receipt.
Note: If you want the receipt to be sent in a specific language, first configure your translations in the Publisher Dashboard or via the Translations API service, and then include the desired locale here.
This entity serves as a versatile container for storing any pertinent information related to the player's session. You can add any additional data you wish to pass as a payload.
A set of custom key-value pairs that you can define to tag players for segmentation and A/B testing. These attributes can then be used to filter players in the Publisher Dashboard.
Example: { "BF_test": "test", "monetization_persona": "non_payer" }
A deeplink URL for redirecting the player to your domain, bringing them back to the game. For more information, see Link Out Without SDK.
Note: This property is not relevant if you're using the Payment Links SDK.