Skip to content

Logo

gate2way

Payments done right With the right network of payment providers, we facilitate a direct connection to the most popular processing products for your business; we are a guide and partner leading you to success. Your customers love to play, we help them pay.

Website: gate2way.com

Set up Account Provider account

Step 1: Create Provider account

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

  • website-id → Website ID
  • api_key → API Key
  • api_secret → API Secret

Connect Provider Account

Step 1. Connect Provider account at the Corefy Dashboard

Press Connect at Gate2way Provider Overview page in 'New connection' section and choose Provider account option to open Connection form.

Connect

Enter credentials:

  • Website ID
  • API Key
  • API Secret

Success

You have connected gate2way Provider account!

API examples:

Minimum data set to create a payment invoices for paysafecard_eur_hpp service

PAYMENT

POST /api/commerce/payment-invoices HTTP/1.0
{
  "data":{
    "type":"payment-invoice",
    "attributes":{
      "service":"paysafecard_eur_hpp",
      "commerce_account":"Hello World",
      "currency":"EUR",
      "amount":10,
      "flow":"charge",
      "gateway_options":{
        "cardgate":{
          "tokenize":""
        }
      },
      "test_mode":false,
      "options":{
        "allow_partially":false,
        "bypass_hpp":false,
        "send_operation_context_on_return":false
      },
      "reference_id":"ea76ffb1-17ad-4fd8-bb1b-1362ab791ed9",
      "service_fields":[
      ]
    }
  }
}

Maximum data set to create a payment invoices for ... service

PAYMENT

POST /api/commerce/payment-invoices HTTP/1.0
{
  "data":{
    "type":"payment-invoice",
    "attributes":{
      "service":"paysafecard_eur_hpp",
      "commerce_account":"Hello World",
      "currency":"EUR",
      "amount":10,
      "flow":"charge",
      "gateway_options":{
        "cardgate":{
          "tokenize":""
        }
      },
      "test_mode":false,
      "options":{
        "allow_partially":false,
        "bypass_hpp":false,
        "send_operation_context_on_return":false
      },
      "customer":{
        "firstName": "test", 
        "lastName": "tester", 
        "email": "[email protected]", 
        "phone": "+1111111111",
        "accountReference": "19303422",
      },
      "reference_id":"ea76ffb1-17ad-4fd8-bb1b-1362ab791ed9",
      "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:

  • FIRST_NAME → customer [first_name]
  • LAST_NAME → customer [last_name]
  • EMAIL → customer [email]
  • PHONE → customer [phone]
  • STREET → customer [address] [street]
  • CITY → customer [address] [city]
  • POST_CODE → customer [address] [post_code]
  • COUNTRY → customer [address] [country]
  • STATE → customer [address] [state]
  • IP → constant [ip]

Question

"Still looking for help connecting your gate2way account?" Please contact our support team!