Complete guide to integrating ZBD Onramp into your application
Initialize Session
/v1/ramp-widget
endpoint from your backendLoad Widget
Handle Events
Parameter | Type | Required | Description |
---|---|---|---|
email | string | Yes | Email address of the user launching the Ramp |
webhook_url | string | Yes | URL to receive webhook notifications |
quote_currency | string | No | Currency to convert from (e.g., USD) |
base_currency | string | No | Currency to convert to (e.g., BTC) |
destination | string | No | Destination address for the funds (Lightning Address, onchain address, or USDC address) |
reference_id | string | No | Your internal reference ID for this transaction |
metadata | object | No | Additional metadata for the transaction |
access_token | string | No | Existing user session token |