Skip to main content
The onramp widget lets you send users to a Partna-managed checkout where they can pay in local currency and receive crypto in their wallet. Use this flow when you want a faster integration without building your own payment UI.

Base URLs

Required query parameters

Registration modes

The widget supports two merchant-controlled registration modes: You can manage this setting through Update Settings and inspect the current value with Get Settings. If your registration mode is open, you can use Register Account to create a pending registration. If your registration mode is closed, create the user up front with Create Account.

How it works

1

Generate the redirect URL

Build a URL using the correct environment URL and the required query parameters.
2

Redirect the user

Send the user to the hosted Partna checkout from your app or website.
3

User completes payment

The user follows the payment instructions in the hosted flow and pays the local currency amount.
4

Receive webhook updates

Partna sends Onramp webhook events as the transaction moves through each state. See Webhooks for signature verification and endpoint setup.
5

Handle completion

Once the transaction reaches completed, the crypto has been sent to the destination wallet address.

Build the redirect URL

Example redirect URL

For staging, use https://staging-pay.getpartna.com/v4/pay/onramp instead.

Transaction lifecycle

Partna emits Onramp webhooks with these statuses:

Sample webhook payloads

pending

received

processing

completed

When to use the hosted widget

Use the hosted widget when you want:
  • A faster integration with less frontend work
  • Partna to handle the payment instructions UI
  • A simple redirect-based flow from your product
Use the API-based Onramp Guide when you need full control over the user experience and payment orchestration.