Skip to main content
Initiates a fiat-to-crypto purchase by creating an order with a selected quote. Returns a provider widget URL that you redirect the user to for completing payment.
  • provider: RampProvider;
  • fiatCurrency: string;
  • cryptoAmount: number;
  • destinationChain: string;
  • recipientAddress: string;
  • countryCode: string;
  • paymentChannelId?: string;
  • email?: string;
  • phoneNumber?: string;

Widget Integration

The widgetUrl returned is a fully-hosted checkout page. Redirect your users there: