Skip to content

Logo

Paytend

Paytend is a comprehensive digital banking solution offering IBAN accounts to users in the European Economic Area (EEA). With Paytend, you can open accounts online, make payments both online and in-store, and track your funds via the user-friendly Paytend app. Enjoy seamless international payment transfers and manage your money directly from your mobile phone, making it a versatile and powerful banking tool for all your financial needs.

Website: www.paytend.com

Set up Account H2H merchant account

Step 1: Create Merchant Account

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

  • paytend__agent_rsa_pri_key → Partner private key
  • paytend__paytend_rsa_pub_key → Paytend public key
  • paytend__agent_id → Agent ID
  • paytend__merchant_id → Merchant ID
  • paytend__test_mode → Test mode
  • paytend__currency → Currency → choose currency (You can set these parameters according to available currencies and features for your Paytend 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 Paytend Provider Overview page in 'New connection' section and choose H2H Merchant account option to open Connection form.

Connect

Enter credentials:

  • Partner private key
  • Paytend public key
  • Agent ID
  • Merchant ID
  • Test mode → true/false
  • Currency

Success

You have connected Paytend 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.0
{
  "data":{
    "type":"payment-invoice",
    "attributes":{
      "service":"payment_card_eur_hpp",
      "commerce_account":"Hello World",
      "currency":"EUR",
      "amount":15,
      "flow":"charge",
      "gateway_options":{
        "cardgate":{
          "tokenize":""
        }
      },
      "customer":{
        "reference_id":"872f379e-e1c4-45db-8983-c4c1034ad61d",
        "name":"John Doe",
        "email":"[email protected]",
        "phone":"+448650405942"
      }
    },
    "test_mode":true,
    "options":{
      "allow_partially":false,
      "bypass_hpp":false,
      "send_operation_context_on_return":false
    },
    "reference_id":"cecba04c-3fc0-4646-b779-3a211dd2ae33",
    "service_fields":[
    ]
  }
}
}

Maximum data set to create a payment invoices for invoice service

SALE

POST /api/commerce/payment-invoices HTTP/1.0
{
  "data":{
    "type":"payment-invoice",
    "attributes":{
      "service":"payment_card_eur_hpp",
      "commerce_account":"Hello World",
      "currency":"EUR",
      "amount":15,
      "flow":"charge",
      "gateway_options":{
        "cardgate":{
          "tokenize":""
        }
      },
      "customer":{
        "reference_id":"872f379e-e1c4-45db-8983-c4c1034ad61d",
        "name":"John Doe",
        "email":"[email protected]",
        "phone":"+448650405942",
        "address":{
          "full_address":"Some street",
          "country":"AU",
          "city":"Sidney",
          "post_code":"777777"
        }
      },
      "test_mode":true,
      "options":{
        "allow_partially":false,
        "bypass_hpp":false,
        "send_operation_context_on_return":false
      },
      "reference_id":"cecba04c-3fc0-4646-b779-3a211dd2ae33",
      "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:

  • REFUND_REASONE → constant [refund_reasone]

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:

  • REFUND_REASONE → 'Refund operation';

Question

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