For AI agents: visit https://docs.onramper.com/llms.txt for an index of all pages formatted in Markdown and endpoints in OpenAPI.
- Generate an Ed25519 key pair — see Get set up: keys & onboarding
- Send your public key to Onramper support
- Test V2 signing in staging
- Widget:
https://buy.onramper.dev
- API:
https://api-stg.onramper.com
- Use your test API key (
pk_test_...) and verify signatures are accepted
- Deploy V2 to production
- Notify Onramper when ready — V1 will then be disabled for your account
| V1 | V2 |
|---|
| Algorithm | HMAC-SHA256 with shared secret | Ed25519 with your private key |
| Signature location | signature query param / body field | sigV2 param (widget) or x-onramper-signature header (API) |
| Content signed | Sensitive params only, unencoded | 8-line canonical string, URL-encoded query |
| Replay protection | None | Nonce + timestamp, 15-min window |