GET
/
api
/
users
/
{id}
curl --request GET \
  --url https://app.sandbox.rio.trade/api/users/{id} \
  --header 'x-api-key: <api-key>'
{
  "invoicing": {
    "MX": {
      "fiscalRegimenCode": 601
    }
  },
  "individualData": {
    "firstName": "Name",
    "middleName": "Middle",
    "lastName": "Last",
    "birthday": "1988-06-06T00:00:00.000Z"
  },
  "createdAt": "2024-05-28T19:08:48.590Z",
  "type": "business",
  "phoneNumber": "+526589562354",
  "email": "testing@riotransfer.co",
  "attributes": [
    "disabled"
  ],
  "onboarding": {
    "MX": {
      "status": "approved",
      "onboardingId": "66562ae87f5e01543da3b784",
      "aiPriseId": "1c1bba7c-59e7-4e00-956e-0803ad6e259d",
      "address": {
        "street1": "Address 1",
        "street2": "Address 2",
        "city": "City",
        "state": "State",
        "country": "Country",
        "postalCode": "Postal Code"
      },
      "hasAcceptedTerms": true
    }
  },
  "id": "66562bc04fe8bf83c577c178"
}

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required

Id of the user to be obtained.

Response

200
application/json
OK
invoicing
object
individualData
object
createdAt
string
type
enum<string>
Available options:
business,
individual
phoneNumber
string
email
string
attributes
enum<string>[]
Available options:
disabled,
banned,
broker,
brokerCustomer,
summedVolumeFees,
noReissueQuoteAfterExpiration,
prepaidOrders,
hasTransfersEnabled,
noVolatilityError,
brokerFeesEnabled,
canUploadKYCReportFile,
shortQuote,
needsAddressApproval,
canPriceMatch,
doNotSendOrderConfirmationEmail,
doNotSendOnboardingEmails
onboarding
object
id
string