> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.mangopay.com/sdks/checkout/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.mangopay.com/_mcp/server. # Checkout SDK ## Docs - [Checkout Web integration](https://docs.mangopay.com/sdks/checkout/web.md) > **Note:** This page contains both a page directory (above) and the landing page content (below). The page directory is generated for agent use and does not appear on the landing page. > For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.mangopay.com/sdks/checkout/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.mangopay.com/_mcp/server. # Checkout SDK overview The Mangopay Checkout SDK is a code-light, customizable solution to power the payment page of your website or app. It simplifies your implementation, improves security, and supports a variety of payment methods. ## Supported payment methods ### Card brands #### AMEX #### CB (France) #### Maestro #### Mastercard #### Visa ### APMs #### Apple Pay #### Google Pay #### PayPal > **Note** > > **Note – Currency coverage and usage** > > Checkout SDK supports all currencies available for all payment methods. > > You must use the same currency for a transaction between your app, Checkout SDK, and calls to the Mangopay API to avoid incompatibility errors. ## Features * Simplified card tokenization in full compliance with PCI-DSS * Integrated 3DS handling for secure and seamless payment authentication * Detection and presentation of user's [co-branded card](/guides/payment-methods/card/co-branded) choice, leveraging Mangopay's [BIN lookup endpoint](/api-reference/payment-method-metadata/lookup-payment-method-metadata) * Customizable design elements to match your branding * Localization support for your whole user community * Compliance with [privacy requirements](/guides/users/privacy) ## How it works 1. The user proceeds to payment on your app or website. 2. You configure and display your chosen payment methods to the user to collect payment information. 3. The user selects the payment method and provides the payment information when required (e.g. card details). 4. The Checkout SDK securely tokenizes the payment data: * For card payments, with the tokenization server via the Mangopay API to generate a `CardId` * For Google Pay and Apple Pay, with the payment methods API to generate tokenized payment data 5. You create a delegate function that gets called by the SDK to start payment processing. 6. Your server uses the `CardId` or tokenized payment data to create the transaction via the Mangopay API (pay-in, preauthorization, extended preauthorization, or card validation). 7. Your delegate function returns the outcome of the transaction. 8. If required, the SDK handles additional redirect actions: 3DS authorization or validation via payment method interface (e.g. PayPal). 9. You present the payment result to the user. ## Flow diagram The flow is described in the following diagram (numbered steps correspond to those above): ## Resources #### [Live demo](https://checkout-demo-mangopay.netlify.app/) Try out the Checkout SDK online #### [Web integration](/sdks/checkout/web) Integrate the Checkout SDK ## Version policy The Checkout SDK adheres to [semantic versioning](https://semver.org/) as the standard for versioning packages. To ensure a smooth integration experience while avoiding potentially breaking changes, we recommend configuring your dependency manager to automatically install only patch updates. For example, when using the web SDK, you can specify the desired patch version in your `package.json` file using the `~` operator: **`Specify patch version`** ```shell Specify patch version "dependencies": { "@mangopay/checkout-sdk": "~1.1.0" } ``` This configuration will allow your project to automatically receive patch updates (e.g., `2.0.1`, `2.0.2`, etc.) for bug fixes and minor improvements. However, it will prevent updates to new minor (`2.1.0`) or major (`3.0.0`) versions, which may introduce breaking changes.