Skip to content

Logo

Betterbro

PAYMENT SOLUTION FOR ONLINE-BUSINESS

Website: betterbro.com

Set up Account Provider account

Step 1: Create Provider account

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

  • Point ID
  • Account ID
  • API key
  • Currency
  • Test mode

Connect Provider Account

Step 1. Connect Provider account at the Corefy Dashboard

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

Connect

Enter credentials:

  • Point ID -> betterbro_point_id
  • Account ID -> betterbro_account_id
  • API key -> betterbro_api_key
  • Currency -> currency
  • Test mode -> true/false

Success

You have connected betterbro Provider account!

API examples:

Minimum data set to create a payment invoices for binancepay_usd_hpp service

PAYMENT
{
  "data":{
    "type":"payment-invoice",
    "attributes":{
      "service":"binancepay_usd_hpp",
      "commerce_account":"hello_world",
      "currency":"USD",
      "amount":1,
      "reference_id":"2310eb5e-e3f0-4940-b9b4-437d79339543",
      "flow":"charge",
      "gateway_options":{
        "cardgate":{
          "tokenize":""
        }
      },
      "callback_url":"http:\/\/9649-3-65-180-235.ngrok-free.app",
      "test_mode":false,
      "options":{
        "allow_partially":false,
        "bypass_hpp":false,
        "send_operation_context_on_return":false
      },
      "service_fields":[
      ]
    }
  }
}

Maximum data set to create a payment invoices for binancepay_usd_hpp service

PAYMENT
{
  "data":{
    "type":"payment-invoice",
    "attributes":{
      "service":"binancepay_usd_hpp",
      "commerce_account":"hello_world",
      "currency":"USD",
      "amount":1,
      "reference_id":"13f8b264-fa44-4925-8bde-4932f9b490a1",
      "flow":"charge",
      "gateway_options":{
        "cardgate":{
          "tokenize":""
        }
      },
      "metadata":{
        "product_name":"123",
        "product_type":"123"
      },
      "customer":{
        "reference_id":"test"
      },
      "callback_url":"http:\/\/9649-3-65-180-235.ngrok-free.app",
      "test_mode":false,
      "options":{
        "allow_partially":false,
        "bypass_hpp":false,
        "send_operation_context_on_return":false
      },
      "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:

  • productName → metadata [product_name]
  • ProductType → metadata [product_type]

Question

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