List Opt Ins
π§ Work In Progress
Retrieve a list of all active and historical opt-in records for a given user, indicating whether the userβs balances are enrolled to earn yield.
Supports filtering by user ID, asset type, opt-in status, and creation date range.
Authorizations
B2Bβs White Label API uses OAuth2. Currently there is only one supported authentication flow:
- clientCredentials allows you to access your own B2B account (First-Party Integration) and performs transactions against the public API. This oauth2 flow is well suited for this API, as it allows machine-to-machine communication.
Every call to the API has to be authenticated with an OAuth2 Token. In order to request this token, you will need to have sandbox or production API Keys (client id and client secret) that will be needed to generate a credential in order to negotiate an ephemeral access token.
Every request must be accompianed by an Authorization
header with a value that follows the following schema: Bearer ACCESS_TOKEN
Query Parameters
Filter opt ins by end_user_id.
Filter opt ins by asset symbol.
Filter opt ins by is_active status.
Filter opt ins by create_date less than or equal to this date.
Filter opt ins by create_date greater than or equal to this date.
Was this page helpful?