Retrieve terms-of-service state
GET/merchants/:merchant_id/tos
Returns the merchant's terms-of-service state. When the merchant must accept terms (e.g. before a crypto wallet can be provisioned), terms_of_service_url is the hosted page to redirect them to and required is true. When no terms step applies, required is false and the URL is null.
Request
Path Parameters
Query Parameters
Optional absolute http(s) URL; the hosted flow redirects the customer back to it when finished (KYC links via Persona redirect-uri; TOS via Bridge redirect_uri, which appends signed_agreement_id).
Responses
- 200
- 401
- 403
- 404
- 500
Terms-of-service state
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [success]
data
object
Hosted page where the individual accepts the terms. Null when none applies.
Whether the terms have already been accepted.
Whether a terms-of-service step applies to this individual.
Possible values: [200]
Possible values: [Successful request]
{
"status": "success",
"data": {
"terms_of_service_url": "string",
"accepted": true,
"required": true
},
"code": 200,
"message": "Successful request"
}
Access token is missing or invalid
Access denied
Individual not found
Server error