How to integrate Sticpay

Learn how to integrate Sticpay with B2CORE via PSS, including API setup, connection settings, and adding deposit and withdrawal methods

Sticpay can be connected to B2CORE through PSS, with support for deposits and withdrawals.

Follow the instructions below to configure the Sticpay connection and set up the deposit and withdrawal methods in the B2CORE Back Office. These instructions correspond to the General procedure for adding methods for PSS-supported payment systems, but include details specific to Sticpay.

Before proceeding with the instructions, you must have signed up for Sticpay and have an active account.

Deposits and withdrawals are processed through wallets in specific currencies created in your Sticpay account. To support a particular currency, you must create a wallet in that currency in your Sticpay account.

Configure API settings in your Sticpay account

To enable integration between Sticpay and B2CORE, you need to configure specific API settings in your Sticpay account.

To configure API settings:

1

Sign in to your Sticpay account and navigate to the Sticpay API section.

2

Configure the following settings, which are required for deposit and withdrawal methods to function correctly with B2CORE:

  • Select the Enable checkbox to activate API-based payments.

  • Select the Unique order-no checkbox to ensure that each transaction has a unique order number, preventing duplicates.

  • In the Success URL field, specify the URL to which clients will be redirected after a successful deposit, using the format:

    https://{your-Front-Office-URL}/en/payment/success

  • In the Failure URL field, specify the URL to which clients will be redirected after a failed deposit, using the format:

    https://{your-Front-Office-URL}/en/payment/failed

  • In the Referrer URL field, specify the URL to which clients will be redirected after canceling a deposit (for example, the Funds > Deposit page of your B2CORE UI), using the format:

    https://{your-Front-Office-URL}/en/funds/deposit

Make sure to replace {your-Front-Office-URL} with the domain of your B2CORE UI.

  • In the Callback URL field, enter the webhook URL generated on the Webhooks tab of the deposit method settings after configuring the method in the B2CORE Back Office (for details, refer to Set up a webhook in your Sticpay account).

  • Select the Plain JSON Callback checkbox to ensure callback responses are formatted as plain JSON.

  • In the Whitelist IPs field, enter the comma-separated IP addresses from which requests to your API will be accepted.

  • In the Encryption type dropdown, select SHA256 to use this encryption method for request signing and validation. Only SHA256 is supported for integration with B2CORE.

Sticpay API settings
Sticpay API settings
3

Click Save to apply your changes.

Configure connections to Sticpay

If you plan to use Sticpay for both deposits and withdrawals, you must configure two separate connections: one for deposits and another for withdrawals.

To configure a connection to Sticpay:

1

In the B2CORE Back Office, navigate to System > External connections.

2

Click +Create in the upper-right page corner.

3

On the Create connection page, fill in the following fields:

  • In the Name field, enter a name for the connection. The name must be unique and may only contain Latin letters, numbers, dashes, and underscores (for example, Deposits_Sticpay or Withdrawals_Sticpay).

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

  • In the Provider dropdown, select:

    • PaymentSystemDeposit — to add a connection that will be used for a deposit method.

    • PaymentSystemWithdrawal — to add a connection that will be used for a withdrawal method.

4

In the Driver dropdown that appears, select Sticpay.

5

In the Credentials section that appears, configure the Sticpay-specific settings:

  • In the Interface version dropdown, select Live or Sandbox, depending on whether you're setting up a production or test integration.

  • In the API base URL field, specify https://api.sticpay.com, which is used for both production and sandbox environments.

  • In the Merchant email field, enter the email address associated with your Sticpay merchant account. The email can be found in the Account section.

  • In the API key field, enter the API key generated in the Sticpay API section of your account.

6

Click Save to create the connection.

The Sticpay connection will appear in the list of external connections.

7

Check the connection status.

If the connection is inactive (No is displayed in the Enabled column), click the Edit button to open the connection details and set the Enabled dropdown to Yes.

8

Click Save to apply the changes.

If you need to support both deposits and withdrawals via Sticpay, follow the same instruction to create a new connection for the other operation.

Add a deposit method through Sticpay

To add and set up a method for making deposits through Sticpay:

1

In the B2CORE Back Office, navigate to System > Deposit system > Deposit methods.

2

Click +Create in the upper-right page corner.

3

On the Create a deposit method page, fill in the following fields:

  • In the Name field, enter a name for the method. The name must be unique and may only contain Latin letters, numbers, dashes, and underscores.

  • In the Caption field, enter a caption for the method. This caption will be assigned to the method in the Back Office and will be visible to clients in the B2CORE UI.

  • In the Provider dropdown, select PaymentSystemDeposit.

4

After selecting PaymentSystemDeposit, the following fields appear:

  • In the Available account currencies dropdown, select one or more currencies. Deposits through Sticpay will be available to accounts denominated in the selected currencies.

  • In the Driver dropdown, select Sticpay.

  • In the Connection dropdown, select the previously configured Sticpay connection for deposits.

5

Skip the Configuration section, as no settings are required for the Sticpay deposit method.

6

Click Save to create the deposit method.

The Sticpay deposit method will appear in the list of deposit methods.

7

Click Edit to enter the method details and complete the following fields:

  • On the Settings tab, use the Group dropdown to select one or more groups where the method should be included.

  • In the Icon field, specify paymethod-sticpay to display the predefined icon for the Sticpay deposit method in the B2CORE UI. To use a custom icon, specify the URL of the image to be displayed.

  • Check the method status.

    If the method is inactive (No is displayed in the Enabled field), activate it by setting the Enabled dropdown to Yes.

  • On the PS Currencies tab, add the needed currencies. To enable the method to process deposits in a specific currency, ensure it is added on this tab.

  • If needed, configure commissions for the method on the Commissions tab (for details, refer to How to configure commissions for deposit and withdrawal methods).

Sticpay deposit method — Settings tab
Sticpay deposit method — Settings tab
8

Click Test configuration to validate the connection settings of the deposit method.

The test result will be displayed on the page.

9

After successfully validating the configuration, click Save.

The Sticpay deposit method is now configured in the B2CORE Back Office.

Set up a webhook in your Sticpay account

To receive status updates for initiated deposits in B2CORE, you need to set up a notification webhook in your Sticpay account.

Copy the webhook URL from the B2CORE Back Office

1

In the B2CORE Back Office, navigate to System > Deposit system > Deposit methods.

2

Find the configured Sticpay deposit method and click Edit to enter the method details.

3

Go to the Webhooks tab.

4

Copy the URL displayed in the Notification URL field.

Add the webhook URL to your Sticpay account

1

In your Sticpay account, navigate to the Sticpay API section.

2

Paste the copied webhook URL into the Callback URL field.

3

Click Save to apply the changes.

Add a withdrawal method through Sticpay

To add and set up a method for making withdrawals through Sticpay:

1

In the B2CORE Back Office, navigate to System > Payout system > Payout methods.

2

Click +Create in the upper-right page corner.

3

On the Create a payout method page, fill in the following fields:

  • In the Name field, enter a name for the method. The name must be unique and may only contain Latin letters, numbers, dashes, and underscores.

  • In the Caption field, enter a caption for the method. This caption will be assigned to the method in the Back Office and will be visible to clients in the B2CORE UI.

  • In the Provider dropdown, select PaymentSystemWithdrawal.

4

After selecting PaymentSystemWithdrawal, the following fields appear:

  • In the Available account currencies dropdown, select one or more currencies. Withdrawals through Sticpay will be available from accounts denominated in the selected currencies.

  • In the Driver dropdown, select Sticpay.

  • In the Connection dropdown, select the previously configured Sticpay connection for withdrawals.

5

Skip the Configuration section, as no settings are required for the Sticpay withdrawal method.

6

Click Save to create the withdrawal method.

The Sticpay withdrawal method will appear in the list of withdrawal methods.

7

Click Edit to enter the method details and complete the following fields:

  • On the Settings tab, use the Group dropdown to select one or more groups where the method should be included.

  • In the Icon field, specify paymethod-sticpay to display the predefined icon for the Sticpay withdrawal method in the B2CORE UI. To use a custom icon, specify the URL of the image to be displayed.

    If the method is inactive (No is displayed in the Enabled field), activate it by setting the Enabled dropdown to Yes.

  • On the PS Currencies tab, add the needed currencies. To enable the method to process withdrawals in a specific currency, ensure it is added on this tab.

  • If needed, configure commissions for the method on the Commissions tab (for details, refer to How to configure commissions for deposit and withdrawal methods).

Sticpay withdrawal method — Settings tab
Sticpay withdrawal method — Settings tab
8

Click Test configuration to validate the connection settings of the withdrawal method.

The test result will be displayed on the page.

9

After successfully validating the configuration, click Save.

The Sticpay withdrawal method is now configured in the B2CORE Back Office.

Last updated

Was this helpful?