Terms of Service

You should make your customers accept BlindPay terms of service before initiating their KYC process.

What is the terms of service?

BlindPay's Terms of Service is a legal agreement that must be accepted by your customers before creating a receiver. This acceptance is required for regulatory compliance and allows BlindPay to legally provide services such as generating blockchain wallets and creating virtual accounts on behalf of your customers.

The terms can only be accepted by users accessing the BlindPay URL https://app.blindpay.com on the client side, so all requests from servers will be ignored.

Generating terms of service url

Before generating a terms of service url, you need to:

  1. Create an account on BlindPay
  2. Create a development instance
  3. Create your API key
cURL
curl --request POST \
  --url https://api.blindpay.com/v1/e/instances/in_000000000000/tos \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
    "idempotency_key": "<your_uuid>"
  }'

After you do this request, the API will return a url with the following query parameters:

URL Example
https://app.blindpay.com/e/terms-of-service?session_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZGVtcG90ZW5jeV9rZXkiOiI1ZDhiMTQ5ZS1hNTVkLTRiNWItYThmOC03YzRmYTMxNWY4NTQiLCJleHAiOjE3NDI3OTk5MjcsImlhdCI6MTc0Mjc5OTgwN30.gP5imRCt_Ws-SFD7Pc8HRiGooxGM8pd_hXWUEcwKE0I&idempotency_key=5d8b149e-a55d-4b5b-a8f8-7c4fa315f854&redirect_url=
ParamRequiredExample
session_tokenyeseyJ0eXAi...E0I (jwt)
idempotency_keyyes5d8b149e-a55d-4b5b-a8f8-7c4fa315f854 (uuid)
redirect_urlnohttps://blindpay.com/
receiver_idnore_000000000000 (mandatory for accepting a new TOS version)

Accepting terms of service

After the user accepts the terms of service, we will redirect them to the redirect_url and automatically add a query parameter tos_id.

You need to use this tos_id when creating a receiver.

Accepting a new version of terms of service

If BlindPay updates the terms of service, all requests to payout quote and payin quote endpoint will return an error with message please_accept_terms_of_service.

If you receive this, please generate a new terms of service and make sure to set the receiver_id parameter on the url returned.

After the customer accepts the new version of terms of service, all quotes endpoints won't return the error anymore.