Skip to content

E-PRO

Welcome to EPRO!

Website: www.empcorp.com

Set up Account H2H merchant account

Step 1: Create Merchant Account

To create an account send connection request at the www.empcorp.com 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:

  • epro__api_key → API key
  • epro__currency → choose currency (You can set these parameters according to available currencies and features for your E-PRO 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 E-PRO Provider Overview page in 'New connection' section and choose H2H Merchant account option to open Connection form.

Connect

Enter credentials:

  • API key
  • Test Mode → True/False
  • Currency

Success

You have connected E-PRO H2H merchant account!

API examples:

Minimum data set to create a payment invoices for payment_card_usd_hpp service

SALE

POST /api/commerce/payment-invoices HTTP/1.0
{
  "data":{
    "type":"payment-invoice",
    "attributes":{
      "service":"payment_card_usd_hpp",
      "commerce_account":"Hello_world",
      "currency":"USD",
      "amount":1,
      "flow":"charge",
      "gateway_options":{
        "cardgate":{
          "tokenize":""
        }
      },
      "customer":{
        "reference_id":"123",
        "name":"John Wick",
        "email":"[email protected]",
        "date_of_birth":"2024-07-23",
        "address":{
          "country":"AO",
          "post_code":"123123"
        }
      },
      "test_mode":true,
      "options":{
        "allow_partially":false,
        "bypass_hpp":false,
        "send_operation_context_on_return":false
      },
      "reference_id":"3fda3ea3-7353-4e43-b734-94818eb9a3ea",
      "service_fields":[
      ]
    }
  }
}

Maximum data set to create a payment invoices for payment_card_usd_hpp service

SALE

POST /api/commerce/payment-invoices HTTP/1.0
{
  "data":{
    "type":"payment-invoice",
    "attributes":{
      "service":"payment_card_usd_hpp",
      "commerce_account":"hello_world",
      "currency":"USD",
      "amount":1,
      "flow":"charge",
      "gateway_options":{
        "cardgate":{
          "tokenize":""
        }
      },
      "customer":{
        "reference_id":"123",
        "name":"John Doe",
        "email":"[email protected]",
        "phone":"380999999999",
        "date_of_birth":"2024-09-03",
        "individual_tax_id":"1231312312",
        "address":{
          "full_address":"test",
          "country":"DE",
          "region":"test",
          "city":"Berlin",
          "street":"test",
          "post_code":"1233321"
        }
      },
      "test_mode":true,
      "options":{
        "allow_partially":false,
        "bypass_hpp":false,
        "send_operation_context_on_return":false
      },
      "reference_id":"3c6ecb04-7623-43b7-88c9-99e656fbec7a",
      "service_fields":[
      ]
    }
  }
}

Constants

Сonstants

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] [full_address]
  • EMAIL → customer [email]
  • DATE_OF_BIRTH → customer [birth_date]
  • COUNTRY → customer [address] [country]
  • CITY → customer [address] [city]
  • POST_CODE → customer [address] [post_code]

Question

"Still looking for help connecting your E-PRO account?" Please contact our support team!