Skip to main content
POST
Create a terms of service agreement for a user

Authorizations

Authorization
string
header
required

Basic Auth header with your app ID as the username and your app secret as the password.

Headers

privy-app-id
string
required

ID of your Privy app.

Path Parameters

user_id
string
required

The ID of the user to create a terms of service agreement for

Body

application/json
provider
enum<string>
required

Valid set of onramp providers

Available options:
bridge,
bridge-sandbox
Example:

"bridge"

Response

200 - application/json

Success message if the terms of service agreement was created successfully

status
enum<string>
required
Available options:
completed