DocsAPI Reference
Log In
API Reference

Create a crypto widget

Use this endpoint to create a crypto widget for a session to buy or sell crypto.

Body Params
boolean

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.

string

Meld generated unique identifier for your customer. This should be used to track customer activity.

string

Your unique identifier for your customer. If maintaining your own customer management system this can also be used for tracking customer activity.

string

Your reference id for your widget session, if you use this optional field you must pass in a unique value each time

sessionData
required

Data related to the session

string
enum
required

The type of widget session to create

Allowed:
Responses

400

Bad Request : check request values and format

401

Invalid credentials

403

Unauthenticated or authenticated with insufficient access

500

Server Error. This applies to all 5xx errors, including but not limited to 500, 501, 502, 503, and 504 errors. You should treat all of these errors the same.

Language
Credentials
Header
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
*/*