iOS Payment Links
Launch the Checkout
To launch the checkout, follow these steps:
-
From your server, call the Create Checkout Session API to create a checkout session.
Make this API call from your server to ensure session integrity and security. Never invoke this endpoint from your client-side code. -
After receiving the API response on your server, extract the relevant values and pass them to the
openCheckout
method on the client:Parameter Description checkoutSessionToken
A unique token to identify and validate the checkout session. purchaseId
ID to track the purchase. url
The base URL of the Appcharge checkout page. -
Configure how the checkout page is displayed to meet regional compliance requirements:
U.S. Compliance (External Browser)
Set
useExternalBrowser
totrue
orYES
for U.S. compliance when redirecting players to the web:European DMA (In-App Browser)
Set
useExternalBrowser
tofalse
orNO
for European in-app payment compliance under the DMA: