LogoLogo
Back to Dript
  • Welcome to Dript
  • Integration Requirements
  • Dript Flows
  • Quick Start Guide
  • Dript Buttons
  • Development (sandbox)
  • Direct URL Integration
  • FAQ
Powered by GitBook
On this page
  • Deposit Flow Direct URL
  • Withdraw Flow Direct URL (Coming Soon)
  • Iframe Events

Direct URL Integration

PreviousDevelopment (sandbox)NextFAQ

Last updated 9 days ago

Direct URL integration is ideal for those who prefer not to embed the Dript Widget and instead want to initiate the deposit flow through their own user interface. To use this method, you'll need to construct a URL with the required parameters for our deposit flow. Once triggered, your users will be directed to the Dript Deposit Flow, where they can complete the on-ramping process through our payment partners, with all necessary information pre-filled.

We offer two options for direct URL integration:

  • Redirect: Opens the deposit flow in a new browser tab or window.

  • iFrame: Embeds the deposit flow directly within your application.

Some payment providers — such as iDEAL and Apple Pay — do not support iframe embedding. For better compatibility, we recommend redirecting users to a new window.

Deposit Flow Direct URL

Example URL
https://app.dript.dev/deposit?partner=partner.xys&partnerLogo=https%3A%2F%2Fcryptologos.cc%2Flogos%2Fusd-coin-usdc-logo.png&walletAddress=0x131eEd5d3657eB07d7575e4da40A8280432E804B

Base URL

Sandbox: https://app.dript.dev/deposit Production: https://app.dript.money/deposit

Param
Description
Type
Required

partner

Your company/brand that is displayed to the user when depositing.

string

❌

partnerLogo

A publicly accessible logo in .png format. We recommend 50px x 50px icon.

string

❌

walletAddress

The address of the EVM wallet that will be recieving the final deposit amount (e.g. partner.xyz user wallet).

string

✅

fiatCurrency

The default currency the user will be depositing in.

enum['AED', 'AUD', 'BRL', 'CAD', 'CHF', 'CLP', 'COP', 'CZK', 'DKK', 'EUR', 'GBP', 'HKD', 'IDR', 'INR', 'JPY', 'KRW', 'MXN', 'NOK', 'NZD', 'PHP', 'PLN', 'QAR', 'RON', 'SAR', 'SEK', 'SGD', 'THB', 'TRY', 'TWD', 'USD', 'VND', 'ZAR', 'NGN']

defaults to USD

depositAmount

The amount to deposit

number

defaults to 100

Withdraw Flow Direct URL (Coming Soon)

coming soon

Iframe Events

When embedding into an iframe, our app will emit events for seamless experience. To consume these post messages please follow the information on MDM.

Height Resize Event

{
    type: "resize",
    height: 400,
    source: "dript-widget",
    pathname: "/deposit"
}

Close Window Event

{
 type: "close",
 source: "dript-widget"
}

https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage