Customize payment UI

How it works

There are two default themes available for the payment UI: light and dark. To switch between them without using the customizer, pass the theme ID in the settings.ui.theme parameter when getting the token:

  • for the light theme (default) — 6a54b1b3c01b9c25e567a065
  • for the dark theme — 6a54b174c01b9c25e5679fa2

To match the payment UI with the game design, you can create a custom theme and configure the following characteristics:

You can use a custom theme as the default one for all your projects in Publisher Account. If you want to specify different themes for individual games, pass these settings in the token.

Notice
Theme configurations passed in the token have priority over configurations specified in Publisher Account.

To match the payment UI with the game design, you can create a custom theme and configure the following characteristics:

You can use a custom theme as the default theme for all your projects in the account. If you want to specify different themes for individual games, pass these settings in the token.

Notice
Theme configurations passed in the token have priority over configurations specified in the account.
Note
For the Xsolla logo and buttons to display correctly when choosing a payment method, refer to the guidelines.

Configure customization in Publisher Account

Note
You can create a custom theme in one project and use it across all of your projects in this Publisher Account.

To create a customized theme:

  1. Open your project in Publisher Account and go to the Payments > Payment interface > Pay Station customization section.

Configure customization in account

Note
You can create a custom theme in one project and use it across all of your projects in this account.

To create a customized theme:

  1. Open your project in the account and go to the Payments > Payment interface > Pay Station customization section.

Configure customization in account

Note
You can create a custom theme in one project and use it across all of your projects in this account.

To create a customized theme:

  1. Open your project in the account and go to the Payments > Payment interface > Pay Station customization section.

Configure customization in account

Note
You can create a custom theme in one project and use it across all of your projects in this account.

To create a customized theme:

  1. Open your project in the account and go to the Payments > Payment interface > Pay Station customization section.

Configure customization in account

Note
You can create a custom theme in one project and use it across all of your projects in this account.

To create a customized theme:

  1. Open your project in the account and go to the Payments > Payment interface > Pay Station customization section.

Configure customization in account

Note
You can create a custom theme in one project and use it across all of your projects in this account.

To create a customized theme:

  1. Open your project in the account and go to the Payments > Payment interface > Pay Station customization section.
  1. Click Create new theme.
  1. Click the pencil icon to change the theme name.
  1. In the Preset drop-down list, you can select a base theme. If you updated it and didn’t publish the theme, your changes will be lost when switching between presets.
  1. To change the colors of UI elements, go to the Colors tab. You can change the color palette for surfaces, texts, and controls, as well as colors that appear in status notifications.
Note

When you change theme colors, the contrast is checked automatically. If the contrast is low, you will see a notification with the Check button. Click it to go to the Components section, where all UI elements are displayed. Review their appearance and change the colors of the elements with insufficient contrast.

  1. To set the font and its size, go to the Typography tab.

Use the corresponding fields to change the font size of the following UI elements:

FieldUI element
Title 1Heading on the payment status page.
Title 2Total amount value.
Title 3Section headings (e.g., Payment via card).
Body L
  • subsection headings
  • headings in instructions for cash payments
  • button copy
  • Total copy
Body M
  • project name (it is displayed when there is no project logo)
  • text in tooltips and descriptions
  • message on the payment status page
  • text in the list of payment methods (the drop-down list in the mobile version)
Minor text
  • user name
  • legal texts
  • information in the cart (e.g., an item name, VAT amount)
  1. To configure the border width and corner radius of UI elements, go to the Borders tab and make changes.

  2. To see how the game logo appears in the payment UI, in the Preview section, check the Show logo box. To set up the display of a game logo in the payment UI, pass the necessary parameters in the token.

  1. To see how a theme appears on mobile and desktop versions of the payment UI, switch between tabs in the Preview section.
Notice
Buttons and links don’t work in ‌preview mode.
  1. To see different states of the payment UI, switch between the Payment by card, Payment methods, Payment status: successful, and Payment status: failed tabs.
  1. To change the image on the payment status page, go to the Payment status: successful or Payment status: failed tab, click Upload, and select the required file from your device.
Note

Maximum file size: 5 MB.

Supported formats: JPG/JPEG, PNG, GIF, APNG.

Note

Xsolla images are used for payment statuses by default.

Example:

  1. Click Publish.
  1. To apply this theme to all your projects in Publisher Account, turn on the Set as default toggle in the modal window that opens. It will not affect projects where the theme is passed in the token.
  1. To apply this theme to all your projects in the account, turn on the Set as default toggle in the modal window that opens. It will not affect projects where the theme is passed in the token.
  1. To apply this theme to all your projects in the account, turn on the Set as default toggle in the modal window that opens. It will not affect projects where the theme is passed in the token.
  1. To apply this theme to all your projects in the account, turn on the Set as default toggle in the modal window that opens. It will not affect projects where the theme is passed in the token.
  1. To apply this theme to all your projects in the account, turn on the Set as default toggle in the modal window that opens. It will not affect projects where the theme is passed in the token.
  1. To apply this theme to all your projects in the account, turn on the Set as default toggle in the modal window that opens. It will not affect projects where the theme is passed in the token.
  1. Click Publish.
Notice
After the theme is published, you can edit it at any time. The theme is not applied to the payment UI unless you set it as the default theme or enable it using the token settings.

On the UI theme tab, when you click ••• in the block of a particular theme, the following quick actions are available:

  • Customize — open the customizer to make changes.
  • Edit — change a theme name and turn on the Set as default toggle.
  • Duplicate — copy a theme to create a new one based on it.
  • Delete theme.

Configure customization via API

Configure displaying of payment methods

To configure how payment methods are displayed when opening the payment UI, you can pass the following parameters in the token:

  • is_payment_methods_list_mode allows you to display the list of payment methods available in the user’s country when opening the payment UI.
  • settings.ui.gp_quick_payment_button allows you to configure display of the Google Pay payment method in the payment UI. This parameter can have the following values:

    • true — in this case, the button for quick payment via Google Pay is displayed at the top of the payment UI, regardless of the user’s device and browser.
Note
If the parameter is not passed, Google Pay is displayed at the top of the payment UI on any user’s devices and browsers, except Safari. On Safari, it is displayed in the list of payment methods.
    • false — in this case, Google Pay is displayed in the list of payment methods according to the PayRank algorithm.
  • settings.​ui.​alternative_first_screen allows you to configure an alternative view of the payment UI screen when opened. This parameter can have the following values:

    • apple-pay — in this case, the user sees the Apple Pay button as the primary payment option along with a link to the list of other payment methods. This logic doesn’t apply to Android devices.
    • compact_list — in this case, the user sees the All methods button along with the top payment methods. When clicking it, the user sees a tiled list of all available payment methods. If fewer than 4 methods are available, the button is hidden.

Pass custom UI theme settings in token

To apply custom settings to a particular game, pass the ID of the published custom theme in the settings.ui.theme parameter when creating the token.

You can find the theme ID:

  • In the list of all themes on the UI theme tab.
  • In the customizer, under the theme name.
Notice
Theme configurations passed in the token have priority over configurations specified in Publisher Account.
Notice
Theme configurations passed in the token have priority over configurations specified in the account.

To display your game’s logo in the payment UI:

  1. Open your project in Publisher Account and upload an image in the Payments > Payment interface > General settings section.

To display your game’s logo in the payment UI:

  1. Open your project in the account and upload an image in the Payments > Payment interface > General settings section.

To display your game’s logo in the payment UI:

  1. Open your project in the account and upload an image in the Payments > Payment interface > General settings section.

To display your game’s logo in the payment UI:

  1. Open your project in the account and upload an image in the Payments > Payment interface > General settings section.

To display your game’s logo in the payment UI:

  1. Open your project in the account and upload an image in the Payments > Payment interface > General settings section.

To display your game’s logo in the payment UI:

  1. Open your project in the account and upload an image in the Payments > Payment interface > General settings section.
Note
Maximum file size: 1 MB.
Supported formats: JPEG, PNG, SVG.

  1. In the request to create a token, pass true in the settings.ui.desktop.header.is_visible and settings.ui.desktop.header.visible_logo parameters. Depending on your integration scenario, you can call the server-side or client-side method for creating a token.

Example of displaying a game logo in the payment UI:

Was this article helpful?
Thank you!
Is there anything we can improve? Message
We’re sorry to hear that
Please explain why this article wasn’t helpful to you. Message
Thank you for your feedback!
We’ll review your message and use it to help us improve your experience.
Last updated: November 24, 2026

Found a typo or other text error? Select the text and press Ctrl+Enter.

Report a problem
We always review our content. Your feedback helps us improve it.
Provide an email so we can follow up
Thank you for your feedback!
We couldn't send your feedback
Try again later or contact us at [email protected].