TomPayment¶
Set up Account H2H merchant account¶
Step 1: Get required credentials¶
Credentials that have to be issued:
- tompayment__account_id → Account ID
- tompayment__password → Password
- tompayment__access_key → Access key
- tompayment__currency → choose currency (You can set these parameters according to available currencies and features for your TomPayment 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 TomPayment Provider Overview page in 'New connection' section and choose H2H Merchant account option to open Connection form.
Enter credentials:
- Account ID
- Password
- Access key
- Currency
Success
You have connected TomPayment 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.1
{
"data":{
"type":"payment-invoice",
"attributes":{
"service":"payment_card_eur_hpp",
"commerce_account":"hello_world",
"currency":"EUR",
"amount":1,
"flow":"charge",
"gateway_options":{
"cardgate":{
"tokenize":false
}
},
"customer":{
"reference_id":"test",
"name":"Test Test",
"email":"[email protected]"
},
"test_mode":false,
"options":{
"allow_partially":false,
"bypass_hpp":false,
"send_operation_context_on_return":false
},
"reference_id":"0a21ab74-0d33-4383-a927-edbba3951e4e",
"service_fields":[
]
}
}
}
Provider Options¶
- 3DS Type
- select the card type that should work with proper authentication
Question
"Still looking for help connecting your TomPayment account?" Please contact our support team!