MTB Bank¶
Website: mtb.ua
Set up Account¶
Step 1: Create merchant account¶
To create an account send connection request at the mtb.ua 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:
- Token
- Private Key
- Public Key
- Terminal ID
Connect Provider Account¶
Step 1. Connect Provider account at the Corefy Dashboard¶
Press Connect at MTB Bank Provider Overview page in 'New connection' section and choose Provider account option to open Connection form.
Enter credentials:
- Token → Token
- Private Key → Private Key
- Public Key → Public Key
- Terminal ID → Terminal ID
Success
You have connected MTB Bank Provider account!
API examples for payouts:¶
Min data set to create a payout invoices¶
POST /api/commerce/payout-invoices HTTP/1.1
{
"data": {
"type": "payout-invoice",
"attributes": {
"service": "payment_card_uah",
"commerce_account": "hello world",
"currency": "UAh",
"amount": 100,
"test_mode": false,
"reference_id": "f23ab13a-383b-4fd5-a973-41163ae14233",
"fields": [],
"options": {
"attempts_limit": 0,
"split_mode": false,
"allow_partially": false,
"auto_process": false
}
}
}
}
Max data set to create a payout invoices¶
POST /api/commerce/payout-invoices HTTP/1.1
{
"data": {
"type": "payout-invoice",
"attributes": {
"service": "payment_card_uah",
"commerce_account": "hello world",
"currency": "UAh",
"amount": 100,
"test_mode": false,
"reference_id": "f23ab13a-383b-4fd5-a973-41163ae14233",
"customer": {
"reference_id": "edwef2323dwd",
"name": "John Doe"
},
"fields": [],
"options": {
"attempts_limit": 0,
"split_mode": false,
"allow_partially": false,
"auto_process": false
}
}
}
}
Additional information¶
Constants for payouts¶
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:
- status_operation_type → For each type of operation, you should assign the codes provided by the provider to constant.
- payout_operation_typ → For each type of operation, you should assign the codes provided by the provider to constant.
Provider Options¶
- payout_purpose
- The option specifies the key from which we retrieve the value.
Still looking for help connecting your MTB Bank account?