How to integrate B2Trader

This instruction describes how to create a platform, product group and product that are required for enabling B2Trader via the Back Office.

Important

It is assumed that a connection to B2Trader has already been configured by the admin who is assigned the permissions to manage external connections.

How to create a platform for B2Trader

  1. Navigate to Products > Platforms.

  2. Click Create in the upper-right corner of the screen, and then select B2Trader from the drop-down menu.

  3. In the Create platform window, fill in the following fields:

  • In the Name field, enter a name that you want to use for the platform.

  • In the Caption field, enter a caption that will be applied to the platform in the Back Office.

  • From the Available connection providers drop-down list, select B2Trader.

  • From the Connection drop-down list, select B2Trader.

  1. Click Save.

  2. On the Edit connection screen, specify the following settings:

  • In the Callback URL field, specify a URL to which the B2Core UI will send callback messages.

  • From the Client email, select Real or Fake.

  • In the FrontOffice Client ID and FrontOffice Client Secret fields, specify the client ID and secret key value to access the B2Core UI.

  • From the Auth type drop-down list, select either Cookie or Access Token.

  1. Click Test connection to validate the connection settings.

  2. Make sure that No is selected in the Demo drop-down list.

  3. From the Status drop-down list, select Enabled.

  4. Click Save to create the platform.

How to create a product group for B2Trader

  1. Navigate to Products > Groups, and then click Create in the upper-right corner of the screen.

  2. On the Edit group screen, fill in the following fields:

  • In the Caption field, enter a caption that you want to use for the group.

  • In the Description field, enter a group description.

  • From the Type drop-down list, select Default.

  1. Make sure that Enabled is selected in the Status drop-down list.

  2. Click Save to create the product group.

How to create a product for B2Trader

  1. Navigate to Products > Products.

  2. Click Create in the upper-right corner of the screen, and then select B2Trader from the drop-down menu.

  3. In the Create product window, fill in the following fields:

  • From the Platform Group drop-down list, select Bitcoin.

  • From the Currency drop-down list, select a currency for your product.

  • In the Name field, enter a name that you want to use for the product.

  • From the Group drop-down list, select the previously created product group.

  • From the Type drop-down list, select Personal.

  1. Click Save.

  2. On the Edit product screen, specify the appropriate settings for your product:

  • From the Rights and Default account rights drop-down lists, select the required permissions that will be applied to the product. (For example: Enabled, Deposit, Withdraw, Visible, Transfer deposit, Transfer withdraw and Exchange).

  • In the Max accounts field, enter an integer value to define the maximum number of accounts that clients can create when using this product. To set no limit on the number of accounts, specify -1. To forbid clients to create accounts, specify 0.

  • From the Auto creation on login drop-down list, select either of the two values:

    • Yes – to create the product automatically for all clients upon their first sing in to the B2Core UI.

    • No – to create the product manually.

  • From the Status drop-down list, select Enabled.

  • If you want to enable additional currencies for the product, add them on the Currencies tab.

You may also want to configure the other product settings available on the Edit product screen.

  1. Click Save to create the product.