Leikur¶
A corporate banking service for global internet and game-tech industries. Finally.
Website: leikur.com
Set up H2H merchant account¶
Step 1: Create Merchant Account¶
To create an account send connection request at the leikur.com/#six or contact manager directly. Submit the required documents to verify your account and gain access.
Step 2: Get required credentials¶
Credentials that have to be issued:
- leikur__merchant_id → Merchant ID
- leikur__api_key → API key
- leikur__secret_key → Secret key
- leikur__currency → choose currency (You can set these parameters according to available currencies and features for your Leikur wallets and services, but it's necessary to check details of the connection with your Corefy account manager.)
Connect Merchant Account¶
Step 1. Connect H2H account at the Corefy Dashboard¶
Press Connect at Leikur Provider Overview page in 'New connection' section and choose H2H Merchant account option to open Connection form.
Enter credentials:
- Merchant ID
- API key
- Secret key
- Currency
Success
You have connected Leikur H2H merchant account!
API examples:¶
Minimum data set to create a payment invoices for payment_card_eur_hpp service¶
SALE
POST /api/commerce/payment-invoices HTTP/1.0
{
"data":{
"type":"payment-invoice",
"attributes":{
"service":"payment_card_eur_hpp",
"commerce_account":"hello_world",
"currency":"EUR",
"amount":21,
"flow":"charge",
"gateway_options":{
"cardgate":{
"tokenize":""
}
},
"customer":{
"reference_id":"c4456386-ced2-4ba2-9a05-b55eab866567",
"name":"Jogn Doe",
"email":"[email protected]",
"address":{
"full_address":"Baker street 221B",
"country":"GB",
"region":"London",
"city":"London",
"street":"Baker",
"post_code":"12345"
}
},
"test_mode":false,
"options":{
"allow_partially":false,
"bypass_hpp":false,
"send_operation_context_on_return":false
},
"reference_id":"8049e075-464f-4df6-b03b-1df45713d599",
"service_fields":[
]
}
}
}
Constants¶
If some parameters are not sent in the transaction creation request, they will take the values from the set constants.
Here is a list of constants with their corresponding parameters:
- FIRST_NAME → customer [first_name]
- LAST_NAME → customer [last_name]
- DATE_OF_BIRTH → customer [date_of_birth]
- EMAIL → customer [email]
- FULL_ADDRESS → customer [address] [full_address]
- CITY → customer [address] [city]
- POST_CODE → customer [address] [post_code]
- COUNTRY → customer [address] [country]
Provider Options¶
- ignore_callback
- for cascading to work correctly, we exclude the possibility of finalizing payments using asynchronous callbacks, ignore the callback, do not change the status of the transaction on it in any way and rely only on the status request for finalization (Reconciliation)
Question
"Still looking for help connecting your Leikur account?" Please contact our support team!