v8

latestOpenAPI 3.0.3raw.githubusercontent.com2025-06-1934175.5 KB
Ramp Widget

Create Ramp Widget Session

Generate a session token and widget URL for the ZBD Ramp widget.

post/v1/ramp-widget

Headers

Content-Typestring

Content Type

Request body

emailstring

Email address of the user launching the Ramp

webhook_urlstring

URL to receive webhook notifications

quote_currencystring

Currency to convert from (e.g., USD)

base_currencystring

Currency to convert to (e.g., BTC)

destinationstring

Destination address for the funds (Lightning Address, onchain address, or USDC address)

reference_idstring

Your internal reference ID for this transaction

metadataobject

Additional metadata for the transaction

Response

Successful response