Register a client and create their payment account (only for a standalone solution)
After using the method for seamless authorization and getting a URL that includes the token for accessing the B2COPY Web UI, register a client in a standalone B2COPY solution as follows:
Initialize the wizard using the following method:
GET
[host]/api/v1/standalone/auth/init
Register the client using the following method:
POST
[host]/api/v1/wizards/{uuid}
Upon registration in a standalone solution, a payment account is created for the client.
Step 1. Initialize the wizard
Use the method:
GET
[host]/api/v1/standalone/auth/init
Request
Response
The response includes the universally unique identifier (UUID) that is required for the next step.
Response example
Step 2. Register the client and create their payment account
Use the method:
POST
[host]/api/v1/wizards/{uuid}
Request
Path Parameters
uuid
Yes
The universally unique identifier (UUID) obtained at Step 1.
Body Parameters
side_login
string
Yes
The MT login (number) of a client account.
investment_platform_id
string
Yes
The identifier of the investment platform instance.
If only one MT server is connected to your B2COPY investment platform, specify 1.
If you have more than one MT server connected to your B2COPY investment platform, contact the Support team for assistance.
device_fingerprint
string
Yes
The string that uniquely identifies a client device.
Request example
Response
The response includes the object providing information about the client registered in a standalone B2COPY solution, including the client ID, as well as information about the payment account created for that client on the platform.
After registering and obtaining the client ID, you can create master and investment accounts for that client (for details, refer to Create a master or investment account using the existing MT account).
Last updated