Skip to main content
Coinbase-hosted Onramp is accessed by creating and directing users to a URL with query parameters specific to their request. In your backend, generate a JWT, following the CDP authentication steps In your backend, generate a One Click Buy URL by doing the following:
  1. Generate a JWT to authenticate your requests. Follow the instructions here to make authenticated requests.
  2. Generate a One Click Buy URL using the Create Onramp Session API
  3. Pass this URL to your frontend to load the Onramp experience for the client.

Onramp URL parameters:

For reference, here is what all the query parameters do to configure the Onramp experience.