curl --request POST \
--url https://app.sandbox.rio.trade/api/users \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"country": "MX",
"businessName": "My Business Inc.",
"firstName": "John",
"middleName": "Michael",
"lastName": "Doe",
"secondLastName": "Smith",
"email": "john.doe@example.com",
"phoneNumber": "+526589562354",
"userType": "individual",
"address": {
"street1": "123 Main St",
"street2": "Apt 4B",
"city": "Mexico City",
"state": "CDMX",
"postalCode": "12345",
"country": "MX"
},
"additionalInformation": {},
"brokerId": "655f4084b96e4fb76f5a0e6e"
}'
{
"userId": "66562bc04fe8bf83c577c178"
}
curl --request POST \
--url https://app.sandbox.rio.trade/api/users \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"country": "MX",
"businessName": "My Business Inc.",
"firstName": "John",
"middleName": "Michael",
"lastName": "Doe",
"secondLastName": "Smith",
"email": "john.doe@example.com",
"phoneNumber": "+526589562354",
"userType": "individual",
"address": {
"street1": "123 Main St",
"street2": "Apt 4B",
"city": "Mexico City",
"state": "CDMX",
"postalCode": "12345",
"country": "MX"
},
"additionalInformation": {},
"brokerId": "655f4084b96e4fb76f5a0e6e"
}'
{
"userId": "66562bc04fe8bf83c577c178"
}
OK
The response is of type object
.