Skip to content

Logo

LiqPay

Supports in this guide: Payments, Payouts

Provider website: liqpay.ua


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

  1. Choose account type
  2. Get your credentials (from LiqPay)
  3. Connect in Dashboard
  4. Send an API request

Choose account type

LiqPay can be connected in different ways (depending on your needs):

  • If you do card payments directly (Sale, Auth/Capture, Card verification, token Recurring, Refunds) -> choose H2H Merchant account
  • If you do card/wallet/Privat24/MasterPass/cash-terminal payments through a hosted checkout page, or card payouts -> choose Provider account

Both account types use the same LiqPay public/private key pair, but are separate connections with independent configuration. If you're not sure which one to use, confirm with your Corefy account manager.

Note

If you need to whitelist IPs on LiqPay's side, ask your account manager and provide Corefy's IP list from the integration docs.


Prerequisites: get from LiqPay

Open your LiqPay account's API section and generate a key pair to get the following credentials. H2H Merchant account and Provider account are separate connections with independent credentials.

For H2H Merchant account:

  • Public key -> Corefy field public_key.
  • Private key -> Corefy field private_key.
  • Account type -> Corefy field type -> Internet acquiring (standard card payment, default use case), Account to card, Card to account, or Card verification -> confirm with your LiqPay manager which one applies to your account.
  • Save instant token -> Corefy field save_instant_token -> enable if you want to save a card token for recurring charges.

For Provider account:

  • Public key -> Corefy field public_key.
  • Private key -> Corefy field private_key.
  • Currencies -> Corefy field currencies -> select which of UAH/EUR/USD/RUB your account supports.

UAH only on the H2H Merchant account; Payouts are UAH only on the Provider account as well.


Payments processing (connect H2H Merchant account, create payment-invoice)

Connect H2H Merchant account in Corefy Dashboard

Step 1 - Open connection form

Open LiqPay in the provider directory and press Connect at LiqPay Provider Overview page in the New connection section. Choose H2H Merchant account.

Step 2 - Fill in fields and select settings

  • Public key
  • Private key
  • Account type
  • Save instant token -> enable if you plan to use Recurring
  • Test Mode -> (enable if you are using sandbox credentials)

Success

You have connected LiqPay H2H Merchant account!


First request to Corefy API (MIN)

What it does: creates a payment-invoice; card data itself is collected and submitted separately by Corefy's checkout/SDK layer, not as part of this request.

Payment - MIN

POST /api/payment-invoices

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

Payment - MAX

POST /api/payment-invoices

{
  "data": {
    "type": "payment-invoice",
    "attributes": {
      "reference_id": "7a8b9c0d-1e2f-4a3b-8c24-7d8e9f0a1b2c",
      "service": "payment_card_uah",
      "currency": "UAH",
      "amount": 10,
      "description": "Order #123",
      "customer": {
        "reference_id": "cus_123",
        "phone": "+380991234567"
      }
    }
  }
}

Important

  • customer.phone is forwarded to LiqPay if present, otherwise it's simply not sent.
  • When Account type is Internet acquiring, payments use LiqPay's standard card-payment action; any other account type (Account to card/Card to account/Card verification) routes the same request through LiqPay's card-to-card action instead - this is an account-level setting, not something you choose per request.
  • LiqPay returns a 3D Secure challenge redirect for cards that require it; Corefy also supports a two-step Authorize+Capture flow and a zero-amount Card verification flow for this connector, both configured via Account type.

Extended request (MAX)

Why add extra fields (typical reasons): - Provide additional customer details for compliance/reconciliation - Positively influence conversion rate - Include optional fields required by your specific flow


Options

  • save_instant_token -> required for front, boolean - when enabled, LiqPay saves a card token on the first successful payment so later charges can be made with that token (Recurring).

Refunds

LiqPay supports partial refunds, but only one refund per payment (no multiple partial refunds against the same payment).


Payments processing (connect Provider account, create payment-invoice)

Connect Provider account in Corefy Dashboard

Step 1 - Open connection form

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

Step 2 - Fill in fields and select settings

  • Public key
  • Private key
  • Currencies
  • Test Mode -> (enable if you are using sandbox credentials)

Success

You have connected LiqPay Provider account!


First request to Corefy API (MIN)

What it does: creates a payment-invoice that redirects the customer to LiqPay's hosted checkout page, where they choose how to pay.

Payment - MIN

POST /api/payment-invoices

{
  "data": {
    "type": "payment-invoice",
    "attributes": {
      "reference_id": "8b9c0d1e-2f3a-4b4c-8d35-8e9f0a1b2c3d",
      "service": "liqpay_uah_hpp",
      "currency": "UAH",
      "amount": 10
    }
  }
}

Important

service selects which payment method the customer is routed to on LiqPay's checkout page - card, LiqPay wallet, Privat24, MasterPass, or a cash-at-terminal (PrivatBank) option - or you can use LiqPay's own aggregated method to let the customer pick from all of them on LiqPay's side.

Payment - MAX

No extra fields are supported beyond the MIN example - Corefy redirects the customer to LiqPay's own hosted page, which collects any further details LiqPay itself needs.


Options and Constants

No Options or Constants are configured for this connector on the Provider account.


Refunds

LiqPay does not support refunds on the Provider account (HPP) flow.


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

Connect Provider account in Corefy Dashboard

Uses the same Provider account connected above for Payments - no separate connection is needed for Payouts.


First request to Corefy API (MIN)

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

Payout - MIN

POST /api/payout-invoices

{
  "data": {
    "type": "payout-invoice",
    "attributes": {
      "reference_id": "9c0d1e2f-3a4b-4c5d-8e46-9f0a1b2c3d4e",
      "service": "payment_card_uah",
      "currency": "UAH",
      "amount": 10,
      "fields": {
        "card_number": "4111111111111111"
      }
    }
  }
}

Important

fields.card_number is required. The recipient's name is taken from fields.card_holder if provided, otherwise from your own account's user name, and forwarded to LiqPay split into first/last name parts.

Payout - MAX

POST /api/payout-invoices

{
  "data": {
    "type": "payout-invoice",
    "attributes": {
      "reference_id": "0d1e2f3a-4b5c-4d6e-8f57-0a1b2c3d4e5f",
      "service": "payment_card_uah",
      "currency": "UAH",
      "amount": 10,
      "fields": {
        "card_number": "4111111111111111",
        "card_holder": "Ivan Ivanov"
      }
    }
  }
}


Options and Constants

No Options or Constants are configured for this connector on Payouts.


Refunds

LiqPay does not support refunds for payouts.


Additional info

  1. Active reconciliation is available for Payouts - the Provider account supports an active status request for payouts, in addition to any asynchronous updates.
  2. Payments rely on callbacks and active status requests differently per account type - the H2H Merchant account processes LiqPay's callback and also supports active reconciliation; the Provider account (HPP) relies on the customer's return and LiqPay's callback to finalize the payment.
  3. No recurring on the Provider account or Payouts - Recurring (via save_instant_token) is only available on the H2H Merchant account.

FAQ / Troubleshooting

  • Invalid credentials / auth error -> verify the public/private key pair and test_mode setting for the selected account type - H2H Merchant account and Provider account use entirely different credential sets even though both use a LiqPay key pair
  • Refund fails with multiple attempts -> only one refund per payment is allowed, and only on the H2H Merchant account - Payments through the Provider account and all Payouts don't support refunds at all
  • Currency or service is not supported -> confirm allowed currencies/features in your LiqPay account and in Corefy - the H2H Merchant account and Payouts are UAH only, the Provider account also supports EUR/USD/RUB depending on your LiqPay account
  • Not sure which account type to use? -> H2H Merchant account is for direct card payments (Sale, Auth/Capture, Card verification, Recurring, Refunds); Provider account is for hosted-checkout payments (card, wallet, Privat24, MasterPass, cash terminal) and card Payouts

Question

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