Skip to content

Logo

Bitandpay

International Transactions at the palm of your hand

Website: bitandpay.com

Set up Account Provider account

Step 1: Create Provider account

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

  • Merchant ID
  • Merchant site ID
  • Merchant token
  • Live URL

Connect Provider Account

Step 1. Connect Provider account at the Corefy Dashboard

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

Connect

Enter credentials:

  • Merchant ID → merchant_id
  • Merchant site ID → merchant_site_id
  • Merchant token → merchant_token
  • Live URL → live_url
  • Test mode → true/false

Success

You have connected Bitandpay Provider account!

API examples:

Data set to create a payment invoices for paybybank_eur_hpp service

PAYMENT
{
  "data":{
    "type":"payment-invoice",
    "attributes":{
      "service":"paybybank_eur_hpp",
      "commerce_account":"hello_world",
      "currency":"EUR",
      "amount":10,
      "flow":"charge",
      "gateway_options":{
        "cardgate":{
          "tokenize":""
        }
      },
      "customer":{
        "reference_id":"1eeb780a-7ff5-4bff-be75-181ca3f620f3"
      },
      "test_mode":true,
      "options":{
        "allow_partially":false,
        "bypass_hpp":false,
        "send_operation_context_on_return":false
      },
      "reference_id":"bf26b196-9230-49af-a781-a28981c39cea",
      "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]
  • FIRST_NAME → customer [first_name]
  • LAST_NAME → customer [last_name]
  • COUNTRY_CODE → customer [address] [country_code]
  • STATE → customer [address] [state]
  • CITY → customer [address] [city]
  • ADDRESS → customer [address] [address]
  • POST_CODE → customer[address][post_code]
  • USER_IP → customer

Question

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