Skip to content

LeoGaming

PAYMENT AND REFILLING OF ONLINE GAMES

Supports in this guide: Payouts

Provider website: leogaming.net


What you need to do for start processing transactions (brief summary)

  1. Get your credentials (from LeoGaming)
  2. Connect in Dashboard
  3. Send an API request

Prerequisites: get from LeoGaming

Contact your LeoGaming support manager to get your account verified and receive the following credentials.

  • Point ID -> Corefy field point_id.
  • Service ID (optional) -> Corefy field service_id -> request it from your LeoGaming support manager for the currency/method you plan to use.
  • Private key -> Corefy field private_key -> uploaded as a file; generated in the LeoGaming dashboard.
  • Public key -> Corefy field public_key -> uploaded as a file; generated in the LeoGaming dashboard.

Note

In the LeoGaming dashboard's Points section, add Corefy's IP list from the integration docs to the point's White list before connecting.


Payouts processing (connect Provider account, create payout-invoice)

Connect Provider account in Corefy Dashboard

Step 1 - Open connection form

Open LeoGaming in the provider directory and press Connect at LeoGaming Provider Overview page in the New connection section.

Step 2 - Fill in fields and select settings

  • Point ID
  • Service ID (optional)
  • Private key
  • Public key
  • Currency (optional)
  • Card verification -> verify -> (enable to verify card requisites with LeoGaming before processing a payout)
  • Random Defaults -> random_defaults -> (fills missing payee data, such as full name or address, with randomly generated values when required)
  • Test Mode -> (enable if you are using sandbox credentials)

Success

You have connected LeoGaming Provider account!


First request to Corefy API (MIN)

What it does: creates a payout-invoice and sends funds to a card.

Payout - MIN (card)

POST /api/payout-invoices

{
  "data": {
    "type": "payout-invoice",
    "attributes": {
      "reference_id": "6f7a8b9c-0d1e-4f2a-8b13-6c7d8e9f0a1b",
      "service": "payment_card_uah",
      "currency": "UAH",
      "amount": 10,
      "fields": {
        "card_number": "4111111111111111"
      }
    }
  }
}

Important

fields.card_number is required for card payouts. payment_card_eur works the same way for EUR.

Payout - MIN (mobile top-up)

POST /api/payout-invoices

{
  "data": {
    "type": "payout-invoice",
    "attributes": {
      "reference_id": "7a8b9c0d-1e2f-4a3b-8c24-7d8e9f0a1b2c",
      "service": "mobile_uah",
      "currency": "UAH",
      "amount": 10,
      "fields": {
        "phone": "380671234567"
      }
    }
  }
}

Important

  • fields.phone is required - the mobile operator (Kyivstar, lifecell, or Vodafone) is detected automatically from the phone number prefix.
  • You can instead target a specific operator directly with the vodafone_phone_uah, lifecell_phone_uah, or kyivstar_phone_uah services and fields.phone_number (a leading + is stripped automatically); in that case the generic auto-detection isn't used.
  • customer is not used for Payouts - only fields data is sent to LeoGaming.

Options

  • verify -> optional, boolean - verifies the card requisites with LeoGaming before processing the payout.
  • random_defaults -> required, boolean - fills in missing payee data (such as full name or address) with randomly generated values when LeoGaming requires it and your request doesn't provide it.

Constants (fallback fields)

Constants are static values that Corefy can send to the provider instead of dynamic data from your API request, when those fields are missing in the request.

Currently available constants (for the mobile_uah service only)

  • kyivstar -> per-account service code override for Kyivstar top-ups routed through the generic mobile_uah service.
  • lifecell -> per-account service code override for lifecell top-ups routed through the generic mobile_uah service.
  • vodafone -> per-account service code override for Vodafone top-ups routed through the generic mobile_uah service.

Refunds

LeoGaming does not support refunds.


Additional info

  1. No recurring - this connector does not support saving/charging a token through Corefy.

FAQ / Troubleshooting

  • Invalid credentials / auth error -> verify the Point ID, Service ID, key pair and test_mode setting match the environment you're connecting to
  • Payout fails with missing payee data -> either send the payee's full details in your request, or enable random_defaults to let Corefy fill them in automatically
  • Currency or service is not supported -> confirm allowed currencies/services in your LeoGaming account and in Corefy - card payouts support UAH/EUR, mobile top-ups are UAH only

Question

Still looking for help connecting your LeoGaming account? Please contact our support team!