Global Cards Processing

XGateway offers deposits with the preliminary creation of invoices at a fixed exchange rate. This is the recommended integration method, as it provides merchants with a ready-made UI for accepting deposits in EUR and USD.

Creating an invoice

triangle-exclamation

In order to create a Fixed Rate Invoice in the payment processing system, you need to make a POST request to the Invoice API endpoint. Find examples of request bodies below. Use Demo environment for tests.

chevron-rightURLshashtag

Payment methods with cards

When creating an invoice for Global Cards Processing one is required to specify a payment method.

A payment method defines:

  1. Which card can be used by a customer

  2. Which code will be used for the tx

  3. Which geo locations can be served

  4. Which type of traffic can be served

Below is a breakdown of the supported payment methods. Consult with the CS team about the payment methods available for you.

VisaMastercardTradingEU

  1. Type of card: Visa and Mastercard

  2. Code: 6211 (subject to change)

  3. Geo: European Union

  4. Traffic: Trading/Forex

VisaMastercardTradingNonEU

  1. Type of card: Visa and Mastercard

  2. Code: 6211 (subject to change)

  3. Geo: Non European Union (see the list below)

  4. Traffic: Trading/Forex

VisaMastercardIGaming

  1. Type of card: Visa and Mastercard

  2. Code: 6211 (subject to change)

  3. Geo: Requires review on a per-merchant basis

  4. Traffic: iGaming casino, sports betting

AmexIGaming

  1. Type of card: American Express

  2. Code: 8999 (subject to change)

  3. Geo: Global except the blocked countries (see the list)

  4. Traffic: iGaming casino, sports betting

AmexTrading

  1. Type of card: American Express

  2. Code: 8999 (subject to change)

  3. Geo: Global except the blocked countries (see the list)

  4. Traffic: Trading/Forex

Invoice options

The following examples of a request body will automatically activate the invoice with the pre-defined cards payment method.

circle-exclamation
chevron-rightEUR invoice - Forex Visa or Mastercard, Europehashtag
chevron-rightEUR invoice - Forex Visa or Mastercard, Globalhashtag
chevron-rightEUR invoice - iGamin Visa or Mastercardhashtag
chevron-rightEUR invoice - iGaming American Expresshashtag
chevron-rightEUR invoice - Forex American Expresshashtag

chevron-rightUSD invoice - Forex Visa or Mastercard, Europehashtag
chevron-rightUSD invoice - Forex Visa or Mastercard, Globalhashtag
chevron-rightUSD invoice - iGamin Visa or Mastercardhashtag
chevron-rightUSD invoice - iGaming American Expresshashtag
chevron-rightUSD invoice - Forex American Expresshashtag
circle-exclamation

The request returns a link to a correspondingly configured Checkout page.

The Checkout page will lead the customer through the deposit flow.

Remember to authorise the request with your key using x-api-key header.

The default lifetime of an invoice is 15 minutes.

iFrame or redirect

The URL returned by the invoice creation API can be used in two ways: as a redirect or within an iFrame.

In case of a redirect, the user is sent to a new page, where they complete the payment. This can be done using a new tab too. A redirect is an option with less effort. When the deposit is done, the user is redirected back to your app: either to the dynamic URL specified in the redirectUrl parameter or to a pre-set static URL.

The invoice URL may also be used in an iFrame. Please check this page for detailed instructions on the iFrame setup.

Limits

The invoice creation API validates the amount value.

triangle-exclamation
chevron-rightInvoice limitshashtag
Currency
Min value
Max value

Trading Visa / MC

10$

$15000

Amex

10$

$15000

igaming Visa / MC

10$

$€5,000

Processing a callback

When a customer makes a deposit, XGateway detects the transaction and sends a deposit callback to the merchant. Please visit this page for further information about the callbacks.

In case of Global Card Rail chargebacks are possible. XGateway also relays this information to the merchant using a special callback type.

circle-exclamation

Confirming a transaction

triangle-exclamation

To confirm the callback is valid, please use the API endpoint.

Testing on Demo environment

One may use the following data to simulate successful deposits on the Demo Environment.

chevron-rightTest cards datahashtag
Card number
Test scenario

4000 0000 0000 0002

3DS, successful authorisation

4242 4242 4242 4242

3DS, declined authorisation

4000 0000 0000 0408

Not enrolled for 3DS, successful authorisation

4000 0000 0000 0416

Not enrolled for 3DS, declined authorisation

Request example

chevron-rightInvoice creation with curl hashtag

Last updated