Skip to content

Logo

Centpays

Fast. Secure. Efficient.

Website: centpays.com

Set up Account

Step 1: Create merchant account

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

  • API key
  • API secret

Connect H2H Merchant Account

Step 1. Connect H2H account at the Corefy Dashboard

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

Connect

Enter credentials:

  • API key → API key
  • API secret → Secret key
  • Currency → choose currency (You can set these parameters according to available currencies and features for your Centpays wallets and services, but it's necessary to check details of the connection with your Corefy account manager.)

Success

You have connected Centpays 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": "Hello World",
      "currency": "EUR",
      "amount": 10,
      "customer": {
        "reference_id": "123123ds21231d",
        "email": "[email protected]",
        "phone": 1234567891,
        "name": "John Doe"
      },
      "flow": "charge",
      "test_mode": false,
      "options": {
        "allow_partially": false
      },
      "reference_id": "27ad6d12-e6ca-4985-b316-3f6f02bf43c0"
    }
  }
}

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": "HELLO WORLD",
      "currency": "EUR",
      "amount": 10,
      "flow": "charge",
      "test_mode": false,
      "options": {
        "allow_partially": false
      },
      "customer": {
        "reference_id": "123123ds21231d",
        "name": "John Doe"
      },
      "reference_id": "27ad6d12-e6ca-4985-b316-3f6f02bf43c0"
    }
  }
}

Additional information

Constants

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:

  • order_number → order_number
  • phone → customer [phone]

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 [phone] → '9872211111'
  • order_number → '155'

Still looking for help connecting your Centpays account?

Please contact our support team!