Ukrgasbank
A universal bank with a focus on green finance
Supports in this guide: Payments, Payouts
Provider website: ukrgasbank.com
What you need to do for start processing transactions (brief summary)
- Choose account type
- Contact Ukrgasbank to register a terminal
- Get your credentials (from Ukrgasbank)
- Connect in Dashboard
- Send an API request
Choose account type
Ukrgasbank can be connected in different ways (depending on your needs):
- If you do direct card payments (H2H, no redirect, UAH only) -> choose H2H Merchant account
- If you do card payouts -> choose Provider account
If you're not sure which one to use, confirm with your Corefy account manager.
Prerequisites: get from Ukrgasbank
Before you can connect, Ukrgasbank itself needs to issue you a terminal and a key pair:
- Register and sign in to your Ukrgasbank account, then go to the AccountToCard section -> Terminals tab -> Add new terminal. !!! caution Specify your whitelist IP addresses for each terminal. Each terminal must be added separately.
- Once the bank verifies and activates the terminal, go to AccountToCard -> Key Generation and download the key generator for your OS.
- Unpack and run
KeyGen.bat/KeyGen.shon the device that will send transaction requests - this produces your Private Key ({terminal_id}_PrivateKey.key) and a Certificate Request file ({terminal_id}_Certificate.csr). - Once the terminal shows Key generation waiting, upload the
.csrfile to the bank. - Download the resulting archive containing your Public Key and SSL Certificate.
With the Private Key file in hand, get the following for Corefy:
- Merchant name -> Corefy field
merchant_name-> H2H Merchant account only, up to 24 characters. - Merchant ID -> Corefy field
merchant_id-> Provider account only, up to 24 characters. - Terminal ID -> Corefy field
terminal_id-> Provider account only, optional. - Private key -> Corefy field
private_key-> uploaded as a file, used by both account types (the{terminal_id}_PrivateKey.keyfrom step 3). - API type -> Corefy field
api_type-> H2H Merchant account only, choose Purchase or Card to account - this just selects which Ukrgasbank endpoint your transactions are routed to, it's not a separate flow.
UAH only.
Payments processing (connect H2H Merchant account, create payment-invoice)
Connect H2H Merchant account in Corefy Dashboard
Step 1 - Open connection form
Open Ukrgasbank in the provider directory and press Connect at Ukrgasbank Provider Overview page in the New connection section. Choose H2H Merchant account.
Step 2 - Fill in fields and select settings
- Merchant name
- Private key
- API type -> Purchase or Card to account
- Test Mode -> (enable if you are using sandbox credentials)
- Optionally, for Apple Pay / Google Pay: Apple merchant ID, Apple certificate, Apple certificate key, Apple certificate password, Google Pay MID
Success
You have connected Ukrgasbank 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. No customer data is used by this connector at all - only card details.
Payment - MIN
POST /api/payment-invoices
{
"data": {
"type": "payment-invoice",
"attributes": {
"reference_id": "6be05631-8710-4b14-a369-1928a2b70eda",
"service": "payment_card_uah_hpp",
"currency": "UAH",
"amount": 10
}
}
}
Important
No customer fields are sent to Ukrgasbank on Payments - only card data, so there is no MAX example with extended customer details for this flow.
Refunds
Ukrgasbank supports partial refunds, but only one refund per payment.
Important
A genuine refund is only sent to Ukrgasbank once the payment is at least 2 days old and the account's api_type is set to Purchase. In every other case (a younger payment, or an account set to Card to account) Corefy automatically falls back to a reversal request instead of a refund - this is handled transparently, but it means the two cases can behave slightly differently on Ukrgasbank's side.
Payouts processing (connect Provider account, create payout-invoice)
Connect Provider account in Corefy Dashboard
Step 1 - Open connection form
Open Ukrgasbank in the provider directory and press Connect at Ukrgasbank Provider Overview page in the New connection section. Choose Provider account.
Step 2 - Fill in fields and select settings
- Merchant ID
- Terminal ID -> optional
- Private key
- Test Mode -> (enable if you are using sandbox credentials)
Success
You have connected Ukrgasbank Provider account!
First request to Corefy API (MIN)
What it does: creates a payout-invoice for a card payout.
Payout - MIN
POST /api/payout-invoices
{
"data": {
"type": "payout-invoice",
"attributes": {
"reference_id": "efbf0a2b-5590-42b7-b10b-94d49452147d",
"service": "payment_card_uah",
"currency": "UAH",
"amount": 150,
"customer": {
"reference_id": "cus_123"
},
"fields": {
"card_number": "4111111111111111"
}
}
}
}
Important
fields.card_numberis required.- For payouts under 30,000 UAH, Corefy automatically attaches your own merchant profile details (company name, IBAN, EDRPOU) as the sender - you don't send these yourself.
- For payouts of 30,000 UAH and above, Corefy additionally attaches the receiver's first/last name, taken from the card's own embossed cardholder name if available, otherwise from
customer.name.
Refunds
Ukrgasbank does not support refunds on Payouts.
Additional info
- Active reconciliation only, no callback - Ukrgasbank does not send asynchronous callbacks on either flow; status is resolved via the payment's own completion step (for 3D Secure redirects) and active status requests.
- No recurring - this connector does not support saving/charging a token through Corefy.
- Apple Pay and Google Pay are supported on the H2H Merchant account, gated by the optional Apple/Google Pay credential fields above.
- No Options or Constants are configured for this connector.
FAQ / Troubleshooting
- Invalid credentials / auth error -> verify the Private Key file matches the terminal you registered with Ukrgasbank, and that the correct Merchant name/ID is used for the account type you connected
- "Transaction does not exist" / reconciliation fails -> confirm the payment's
order_idmatches what was sent to Ukrgasbank - Refund behaves like a reversal -> expected for payments younger than 2 days, or accounts set to Card to account - see the note under Refunds above
- Payout rejected for missing fields ->
fields.card_numberis required for every payout
Question
Still looking for help connecting your Ukrgasbank account? Please contact our support team!