btGATE¶
Your pilot to internet payments solutions
Website: btgate.net
Set up Account¶
Step 1: Create merchant account¶
To create an account send connection request at the btgate.net 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:
- terminal_id
- secret_key
Connect H2H Merchant Account¶
Step 1. Connect H2H account at the Corefy Dashboard¶
Press Connect at btGATE Provider Overview page in 'New connection' section and choose H2H Merchant account option to open Connection form.
Enter credentials:
- terminal_id → TerminalID
- secret_key → Secret Key
- btgate_currency → choose currency (You can set these parameters according to available currencies and features for your btGATE wallets and services, but it's necessary to check details of the connection with your Corefy account manager.)
Success
You have connected btGATE H2H merchant account!
API examples:¶
Maximum data set to create a transaction¶
POST /api/commerce/payment-invoices HTTP/1.1
{
"data": {
"type": "payment-invoice",
"attributes": {
"service": "payment_card_eur_hpp",
"commerce_account": "lorem ipsum",
"currency": "EUR",
"amount": 1,
"reference_id": "47d47eb0-f519-47b2-9d20-57f5787ea640",
"flow": "charge"
},
"customer": {
"address": {
"city": "Odessa",
"country": "UA",
"full_address": "Pushkina 1",
"post_code": "65001", *
"region": "Odessa" *
},
"email": "[email protected]",
"reference_id": 122345,
"name": "Vlad Ivanov",
"phone": "+380632765386"
},
"test_mode": false,
"options": {
"allow_partially": false
}
}
}
Minimum data set to create a transaction¶
POST /api/commerce/payment-invoices HTTP/1.1
{
"data": {
"type": "payment-invoice",
"attributes": {
"service": "payment_card_eur_hpp",
"commerce_account": "lorem ipsum",
"currency": "EUR",
"amount": 1,
"reference_id": "47d47eb0-f519-47b2-9d20-57f5787ea640",
"flow": "charge"
},
"test_mode": false,
"options": {
"allow_partially": false
}
}
}
Additional information¶
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:
- FULL_ADDRESS → customer [address] [fullAddress]
- REGION → customer [address] [region]
- COUNTRY → customer [address] [country]
- CITY → customer [address] [city]
- POST_CODE → customer [address] [postCode]
- EMAIL → customer [email]
- NAME→ customer [name]
- PHONE → customer [phone]
- LANG → language
Default values¶
If some parameters are not passed in the request to create a transaction and the corresponding constants have no values, then default values will be passed instead.
Here is the list of default values with their corresponding parameters:
- customer [address] [fullAddress] → '36-38 Dean St'
- customer [address] [country] → 'GB'
- customer [address] [city] → 'London'
- customer [address] [postCode] → 'N5P 0A6'
- customer [address] [region] → 'Northeast'
- customer [email] → 'test@btgate.net'
- customer [name] → 'John Doe'
- customer [phone] → '+37254638273'
- lang → 'en'
Still looking for help connecting your btGATE account?