cURL
curl --request POST \ --url https://app.sandbox.rio.trade/api/users/{id}/terms/accept \ --header 'x-api-key: <api-key>'
{ "platformFeeRanges": { "MX": { "buy": [ {} ], "sell": [ {} ] }, "US": { "buy": [ {} ], "sell": [ {} ] }, "PE": { "buy": [ {} ], "sell": [ {} ] }, "CO": { "buy": [ {} ], "sell": [ {} ] } }, "createdAt": "2025-07-16T19:24:51.284Z", "type": "business", "phoneNumber": "+525561310992", "email": "email@testing.test", "attributes": [ "broker" ], "address": { "street1": "Amsterdam 76", "street2": null, "city": "Mexico City", "state": "CDMX", "country": "MX", "postalCode": "06100" }, "brokerId": "6757546b4c5d19bf3cd7b09c", "onboarding": { "country": "MX", "status": "review", "hasAcceptedTerms": true, "aipriseUserVerificationSessionUrl": "https://verify-sandbox.aiprise.com/verification_session_id=bb321d1a-8037-44bf-a520-c9e2995fbb4d" }, "businessData": { "businessName": "Company Name" }, "individualData": { "firstName": "Name", "middleName": "Middle Name", "lastName": "Name", "secondLastName": "Last Name" }, "id": "6877fc83509bb1423ee38202" }
ID of the user.
"66562bc04fe8bf83c577c178"
OK
The response is of type object.
object