curl --request POST \
--url https://app.sandbox.rio.trade/api/users/link \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"country": "US",
"businessName": "My Business Inc.",
"firstName": "John",
"middleName": "Michael",
"lastName": "Doe",
"secondLastName": "Smith",
"email": "john.doe@example.com",
"userType": "individual",
"brokerId": "655f4084b96e4fb76f5a0e6e"
}'
{
"userId": "66562bc04fe8bf83c577c178",
"onboardingLink": "https://verification.example.com/session/123",
"termsLink": "https://terms.example.com/123"
}
curl --request POST \
--url https://app.sandbox.rio.trade/api/users/link \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"country": "US",
"businessName": "My Business Inc.",
"firstName": "John",
"middleName": "Michael",
"lastName": "Doe",
"secondLastName": "Smith",
"email": "john.doe@example.com",
"userType": "individual",
"brokerId": "655f4084b96e4fb76f5a0e6e"
}'
{
"userId": "66562bc04fe8bf83c577c178",
"onboardingLink": "https://verification.example.com/session/123",
"termsLink": "https://terms.example.com/123"
}
OK
The response is of type object
.