Create a crypto widget
Use this endpoint to create a crypto widget for a session to buy or sell crypto.
Authorizations
Body
Data related to the session
- Buy Crypto
- Sell Crypto
- Transfer Crypto
The type of widget session to create
BUY, SELL, TRANSFER When true, the system will automatically look up the customer's KYC status and generate a share token if KYC is approved. Requires a valid customerId or externalCustomerId.
Meld generated unique identifier for your customer. This should be used to track customer activity.
Your unique identifier for your customer. If maintaining your own customer management system this can also be used for tracking customer activity.
Your reference id for your widget session, if you use this optional field you must pass in a unique value each time
Optional external identifier for the sub-account customer this transaction belongs to. Used for tracking when multiple businesses operate under one Meld account. A sub-account customer must be created first before it can be referenced.
Optional Meld customer id used to track the business sub-account this transaction belongs to when multiple businesses operate under one Meld account.
Response
Widget created
Meld generated unique identifier for your customer. This should be used to track customer activity.
Your unique identifier for your customer. If maintaining your own customer management system this can also be used for tracking customer activity.
Your reference Id for your widget session
Unique identifier for this session
The service provider's widget URL
The session token
The crypto widget URL