Yield Opt In
π§ Work In Progress
Register a user to participate in the yield-earning program. This enables daily interest accrual on supported assets held by the user. Opt-in applies to the full balance of eligible assets.
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
Body
End user's external ref.
Response
UUID used as opt in identifier.
UUID used as opt in's transaction identifier.
Unique identifier used as end user's external ref.
Asset symbol.
ISO format creation datetime
ISO format opt out datetime
Indicates if the opt in is active.
Was this page helpful?