Skip to main content
GET
Get the terms

Authorizations

x-api-key
string
header
required

Path Parameters

id
string<mongoId>
required

ID of the user.

Example:

"66562bc04fe8bf83c577c178"

productCode
string
required

The product and country the onboarding is for, e.g. stablecoin-fx-pe (see GET /api/users/products).

Example:

"stablecoin-fx-pe"

Response

OK

productCode
string

The product in a country: product id, then country, lowercase.

Example:

"stablecoin-fx-pe"

required
boolean

False when the product asks for no terms; accepting is then optional.

version
string

Send it back when the user accepts. Changes when the terms change.

Example:

"6689343a7bf5dffb"

url
string

Page with the full terms, when there is one.

Example:

"https://rio.trade/terms"

label
string
Example:

"Stablecoin FX terms"

text
string

The terms text (Markdown) to show, when there is one.

accepted
boolean
acceptedAt
string<date-time>