Loading [Contrib]/a11y/accessibility-menu.js
Skip to content

Logo

Securepaycard

Your global-oriented platform for instant cashless payments

Website: securepaycard.com

Set up Account H2H merchant account

Step 1: Create Merchant Account

To create an account send connection request at the securepaycard.com → Contact Us 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:

  • securepaycard__public-key → Public key
  • securepaycard__secret_key → Secret key
  • securepaycard__test_mode → Test mode
  • securepaycard__test_mode → API type
  • securepaycard__test_mode → Terminal ID
  • securepaycard__test_mode → Save instant token
  • securepaycard__currency → choose currency (You can set these parameters according to available currencies and features for your Securepaycard 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 Securepaycard Provider Overview page in 'New connection' section and choose H2H Merchant account option to open Connection form.

Connect

Enter credentials:

  • Public key
  • Secret key
  • Test mode → true/false
  • API type
  • Terminal ID
  • Save instant token → true/false
  • Currency

Success

You have connected Securepaycard 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":6,
      "flow":"charge",
      "gateway_options":{
        "cardgate":{
          "tokenize":"1"
        }
      },
      "customer":{
        "reference_id":"test1"
      },
      "test_mode":true,
      "options":{
        "allow_partially":false,
        "bypass_hpp":false,
        "send_operation_context_on_return":false
      },
      "reference_id":"540a1dab-eb2f-491d-ab81-8dd020f36e2a",
      "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:

  • EMAIL → customer [email]
  • PHONE → customer [phone]
  • ADDRESS → customer [address] [address]
  • CITY → customer [address] [city]
  • COUNTRY → customer [address] [country]
  • STATE → customer [address] [state]
  • POST_CODE → customer [address] [post_code]

Provider Options

Provider_Options

  • Use default browser info
    • for using default browser info
  • Ignore callback
    • for cascading to work correctly, we exclude the possibility of finalizing payments using asynchronous callbacks, ignore the callback, do not change the status of the transaction on it in any way and rely only on the status request for finalization (Reconciliation)

Question

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