GET
/
api
/
users
/
{id}
Get user
curl --request GET \
  --url https://app.sandbox.rio.trade/api/users/{id} \
  --header 'x-api-key: <api-key>'
{
  "invoicing": {
    "MX": {}
  },
  "individualData": {
    "firstName": "<string>",
    "middleName": "<string>",
    "lastName": "<string>",
    "birthday": "1988-06-06T00:00:00.000Z"
  },
  "businessData": {
    "businessName": "<string>"
  },
  "createdAt": "2024-05-28T19:08:48.590Z",
  "type": "business",
  "phoneNumber": "+526589562354",
  "email": "testing@riotransfer.co",
  "onboarding": {
    "status": "approved",
    "country": "MX",
    "hasAcceptedTerms": true
  },
  "address": {
    "street1": "Address 1",
    "street2": "Address 2",
    "city": "City",
    "state": "State",
    "country": "Country",
    "postalCode": "Postal Code"
  },
  "id": "66562bc04fe8bf83c577c178",
  "platformFeeRanges": {
    "MX": {
      "buy": [
        {
          "min": 123,
          "max": 123,
          "fee": 123,
          "nextDaySettlementFee": 123,
          "_id": "<string>"
        }
      ],
      "sell": [
        {
          "min": 123,
          "max": 123,
          "fee": 123,
          "nextDaySettlementFee": 123,
          "_id": "<string>"
        }
      ]
    },
    "US": {
      "buy": [
        {}
      ],
      "sell": [
        {}
      ]
    },
    "PE": {
      "buy": [
        {}
      ],
      "sell": [
        {}
      ]
    },
    "CO": {
      "buy": [
        {}
      ],
      "sell": [
        {}
      ]
    },
    "BR": {
      "buy": [
        {}
      ],
      "sell": [
        {}
      ]
    }
  },
  "accumulatedVolumeInUSD": {
    "MX": {
      "buy": 123,
      "sell": 123
    },
    "PE": {
      "buy": 123,
      "sell": 123
    },
    "US": {
      "buy": 123,
      "sell": 123
    }
  },
  "attributes": [
    "<string>"
  ],
  "serviceFee": {
    "MX": {
      "buy": 123,
      "sell": 123
    },
    "PE": {
      "buy": 123,
      "sell": 123
    }
  }
}

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required

Id of the user to be obtained.

Response

200 - application/json

OK

The response is of type object.