Crypto on-ramps
Static IP for Crypto On-Ramp APIs: Transak and MoonPay IP Allowlists
Transak asks for static egress IPs during onboarding. MoonPay lets you add an IP allowlist to your API keys. Use QuotaGuard Shield to give those requests two fixed source IPs and encrypt the connection from your backend to the proxy.

What Transak and MoonPay each ask for
Transak requires partners to register their API calls' source IPs during onboarding. MoonPay offers an optional IP allowlist. Their documentation, read on Dec 4, 2026, sets out the following rules. Transak takes your backend's static egress IPs for staging and production.
MoonPay Enterprise accepts up to 50 IPv4 or IPv6 addresses or CIDR ranges. A request that fails its IP check returns 403 with Request IP is not allowed for this partner.
| Transak | MoonPay Enterprise | |
|---|---|---|
| Required? | Yes, for all partners | No, optional |
| You register | Static egress IPs | Up to 50 IPs or CIDRs |
| Where | Partner checklist | API Keys page, IP Allowlist tab |
| Any other IP | Request rejected | 403 error |
Transak requires backend-only calls: "All Transak's APIs must be called exclusively from your backend. Share your backend's static egress IPs with Transak to be whitelisted across both staging and production environments." MoonPay's changelog, in its Oct 28 entry, says: "Add every address your servers call from before you save the list."
The traffic path
Transak or MoonPay checks the source address of connections your backend starts. Route those outbound calls through the proxy:
- Your backend makes the API call, from a server and never from a browser.
- The QuotaGuard proxy receives the call. Shield uses TLS between your backend and the proxy. Static uses an HTTP proxy connection for that hop.
- Transak or MoonPay sees the call arrive from one of your two static IPs, the pair you registered.
Your HTTPS session with the provider stays encrypted from end to end inside the tunnel on both Shield and Static.

Set it up with QuotaGuard Shield
Create your QuotaGuard Shield subscription before registering IPs with either provider. The Shield proxy URL starts with https:// and uses port 9294.
- Create a Shield subscription. Your dashboard shows your two static IPs and your connection URL.
- Store the whole URL in your backend's environment as
PROXY_URL. It already contains the username and password. - Use the proxy for backend API calls to both providers. The sample below shows read-only sandbox lookups; use the method, host, headers and body documented for each other endpoint.
- Register both IPs with each provider before making your API call. Follow the Transak and MoonPay steps below.
import axios from 'axios';
import { HttpsProxyAgent } from 'https-proxy-agent';
// The full Shield URL from your QuotaGuard dashboard, kept in an environment variable.
// Its shape: https://USERNAME:PASSWORD@PROXY_HOST:9294
const agent = new HttpsProxyAgent(process.env.PROXY_URL);
// Every on-ramp call goes through the same agent.
// proxy: false leaves the proxy to the agent, not to axios.
function viaQuotaGuard(config) {
return axios({ ...config, proxy: false, httpsAgent: agent });
}
// Transak Public API: read-only staging lookup.
export function transakStagingCountries() {
return viaQuotaGuard({
method: 'GET',
url: 'https://api-stg.transak.com/api/v2/countries',
headers: { 'x-api-key': process.env.TRANSAK_STAGING_API_KEY },
maxRedirects: 0,
});
}
// MoonPay Enterprise: read-only sandbox lookup.
export function moonpaySandboxFiatCurrencies() {
return viaQuotaGuard({
method: 'GET',
url: 'https://api.sandbox.iron.xyz/api/fiatcurrencies',
headers: { 'X-API-Key': process.env.MOONPAY_SANDBOX_API_KEY },
maxRedirects: 0,
});
}
Pass the agent on every axios call you want to proxy, and set proxy: false so axios leaves the proxy to the agent, as its request config describes. https-proxy-agent opens the tunnel with an HTTP CONNECT request. As of Dec 4, 2026, its current release (9.1.0) is an ES module for Node 20 or later, so the example uses import.
On a CommonJS project, version 7.0.6 is the last CommonJS release.
For client setup details, see the Node.js with Axios and Shield and Python with HTTPX and Shield developer guides.
Transak: register your static egress IPs
For Create Widget URL and Whitelabel calls, send x-user-ip and apply CORS protection to your own browser-facing endpoints that call those APIs. Send x-api-key on those calls and on Transak Public API calls. Register your backend's static egress IPs separately.
- Route the Transak calls through QuotaGuard. That covers the Create Widget URL API, the Whitelabel APIs and the Public APIs your backend calls.
- Submit both static IPs in the partner checklist. Staging and production are allowlisted separately. Report the pair each environment actually uses. If both backends use one QuotaGuard subscription, report that pair for both and confirm both registrations with Transak before going live.
- Keep
x-user-ipfor the end user on Create Widget URL and Whitelabel calls. Send the user's originating IP. Register your QuotaGuard source IPs on the backend allowlist separately. Apply CORS protection to your own browser-facing endpoints as Transak's security guide describes. - Keep
x-api-keyon every call. Check that the key is present and valid, and that the source IP is on your partner allowlist. Transak rejects requests that fail any of these checks.
MoonPay Enterprise: add both IPs to your partner account's API allowlist
MoonPay introduced its optional API key IP allowlist in the Oct 28, 2026 changelog entry.
- Route the MoonPay calls through QuotaGuard first. Your calls should already arrive from the two static IPs when you enable the list.
- Open the IP Allowlist tab on the API Keys page in the MoonPay dashboard.
- Add both static IPs and the public egress addresses of other servers that will keep calling MoonPay Enterprise with any API key on this partner account. The list applies to all its API keys, so inventory every caller before saving.
- Save the list. Once it has an entry, API calls with those keys from outside it return
403withRequest IP is not allowed for this partner.
The list accepts up to 50 entries: IPv4 or IPv6 addresses or CIDR ranges. Your two static IPs use two entries.
Shield or Static
Use QuotaGuard Shield for on-ramp calls. These calls carry your partner API key and, for Transak, your end users' IP addresses. Shield adds TLS between your backend and the proxy, alongside your own HTTPS session with the provider.
Static and Shield include the same request and bandwidth allowance at each plan level. On the Starter plan, Static is $19 a month and Shield is $29 a month. See pricing for every plan.
If you choose Static, register both IPs from that subscription with the providers before you switch. Set PROXY_URL to the full Static connection URL from the dashboard (http://, port 9293). Keep the provider URLs on HTTPS and keep the same Axios agent setup.
Give each provider both static IPs
Register both IPs from your subscription with Transak and add both to MoonPay. Traffic can use either address at any time, so leaving one off causes some requests to be rejected.
Troubleshoot rejected requests
- MoonPay Enterprise returns
403withRequest IP is not allowed for this partner. Check the failing client's agent andproxy: false, then compare its observed egress with the partner account's list. Include both assigned IPs and every other server that keeps using any of the account's API keys. - Transak rejects the request. Transak lists three causes: a missing
x-api-key, an unknown or invalid key, and a source IP that isn't in your partner allowlist. Check the key, then check that both IPs went in through the checklist. - Transak returns 400 for
x-user-ip. Transak's page says the value must be a valid IPv4 or IPv6 address. Send the end user's address, as your backend sees it. - The call comes from a browser. Transak's page says its APIs are called exclusively from your backend. Move the call to your server, then route it through the proxy.
An allowlist is one check among several. Keep your API keys and headers exactly as each provider describes them.
Related reading: static IPs for fintech APIs, bank API allowlisting, static IPs for crypto trading bots and why cloud hosting gives you a dynamic outbound IP. On Vercel, Netlify or Lambda, see the Vercel, Netlify and AWS Lambda guides.
FAQ
Does Transak or MoonPay Enterprise require a static IP to call the API?
Transak requires partners to register the static egress IPs their backends use in staging and production. Submit the addresses through the mandatory partner checklist. For the Whitelabel API, Transak also needs to enable your API key. An allowlisted IP doesn't grant that access on its own.
MoonPay Enterprise's IP allowlist is optional. An empty list leaves IP filtering off; a nonempty list restricts requests made with that partner account's API keys. Keep sending the API key in either case.
Which QuotaGuard IPs should I register for staging and production?
Register both outbound IPv4 addresses from the QuotaGuard subscription each backend uses. Copy the pair from Outbound Proxy connection details, not the hostname in the proxy URL. If a form calls for CIDR notation, enter each address as its own /32.
A new connection can use either address, even if your staging checks keep showing just one. If staging and production use different subscriptions, submit each environment's own pair. If they use the same subscription, report the same pair for both and confirm the registrations with Transak before switching to the production key.
Which Transak Widget calls go through the proxy, and which stay in the browser?
Generate the widget URL on your backend, through the registered egress route. Send POST /api/v2/auth/session with x-api-key, the Partner Access Token in access-token, and the user's originating address in x-user-ip. The JSON body needs widgetParams.apiKey and widgetParams.referrerDomain. Follow the Create Widget URL reference for the staging or production gateway.
Get the Partner Access Token from your backend via Refresh Access Token, not once per widget request. Keep the token and the API secret on the server.
Let the browser load the returned data.widgetUrl. The URL expires after five minutes and each session is single-use. Have your backend create a fresh URL for a new flow instead of reusing one from a previous checkout.
What goes in Transak's x-user-ip header if my backend is behind Cloudflare?
Send the user's originating IP, not your backend, CDN or QuotaGuard address. Transak requires one valid IPv4 or IPv6 address on Create Widget URL and Whitelabel calls. The outbound connection's source IP is a separate check against your partner allowlist.
On requests your origin knows came through Cloudflare, read CF-Connecting-IP. If you use Pseudo IPv4 in Overwrite Headers mode, read CF-Connecting-IPv6 for the original IPv6 address when present. Don't trust a forwarded header supplied by a caller that can reach your origin directly. See Transak's header rules and Cloudflare's header reference.
If Transak returns 400 saying x-user-ip must be a valid IPv4 or IPv6 address, check for an empty value, a comma-separated forwarding chain or an address with a port attached. Fix the value at your backend rather than changing the egress allowlist.
Does Transak's IP allowlist replace CORS or widget domain registration?
No. The IP allowlist checks your backend's outbound calls. Transak's CORS requirement applies to your own browser-facing endpoints that call Create Widget URL or Whitelabel APIs. Set Access-Control-Allow-Origin to an explicitly allowed frontend origin rather than *. Don't pass browser-supplied Origin or Referer straight through to Transak.
If the session call succeeds but the widget reports a domain error, check that widgetParams.referrerDomain exactly matches the domain registered with Transak. Adding a backend IP won't fix a widget domain mismatch.
Why does Transak reject my staging request when the API key looks right?
Check the host for that exact endpoint and the environment of the key. For example, Get Countries documents GET /api/v2/countries on api-stg.transak.com with x-api-key. Create Widget URL uses api-gateway-stg.transak.com. Don't assume one staging base URL serves both.
If the host and key match, check that the deployed caller is using your proxied client and that Transak registered both addresses for staging. The mandatory security guide lists missing or invalid keys and unregistered source IPs as rejection causes. For Whitelabel, also confirm Transak enabled that key for the API.
How do I enable MoonPay Enterprise's IP allowlist without blocking another service?
In the correct Partner Dashboard, go to Developer → API Keys → IP Allowlist. Add one public IPv4 address, IPv6 address or CIDR range per line, up to 50 entries. A QuotaGuard pair takes two entries when entered as individual addresses. A saved list with at least one entry enables filtering.
The list covers every API key on that partner account and doesn't restrict dashboard sign-in. Before saving, inventory the public egress addresses of every caller that will keep using those keys, including workers that don't share your web app's route. See API Access and the rollout note.
How can I check MoonPay Enterprise sandbox access without creating an on-ramp transaction?
From your deployed backend, use the same proxied client as the integration to call the fiat currencies lookup. Send GET /api/fiatcurrencies to api.sandbox.iron.xyz with a sandbox X-API-Key. The documented success response is 200 with a JSON array of currencies. This lookup doesn't create a customer or transaction.
Keep the sandbox and production keys and hosts paired in server-side config. Production uses api.iron.xyz. Both base URLs already end in /api, so append /fiatcurrencies if you're using the full base URL. A sandbox success doesn't establish that production has the right key or allowlist.
How do I tell a MoonPay Enterprise IP allowlist error from a permissions error?
Read the response body as well as the status. For these access errors, MoonPay Enterprise documents a JSON string, not an object with a message field.
403withRequest IP is not allowed for this partner: check the egress of the failing process and compare it with the entries in that partner account's IP Allowlist.403withYou don't have permission to perform this action: check whether the request is a write made with a Read Only key. A separate403message identifies an inactive partner account.401withMissing or invalid authentication. Please provide X-API-Key: check that the process sent the key for that environment and the key hasn't been revoked.
How do I make Axios use Shield for my server-side on-ramp requests?
Create a dedicated Axios instance with an HttpsProxyAgent in httpsAgent and proxy: false so Axios leaves proxying to the agent. Keep the complete Shield URL in a server-side secret called PROXY_URL. This ES module example uses https-proxy-agent 9.1.0, which declares Node.js 20 or later.
import axios from 'axios';
import { HttpsProxyAgent } from 'https-proxy-agent';
const proxyUrl = process.env.PROXY_URL;
if (!proxyUrl) throw new Error('Missing PROXY_URL');
export const onrampHttp = axios.create({
adapter: 'http',
httpsAgent: new HttpsProxyAgent(proxyUrl),
proxy: false,
maxRedirects: 0,
});
Call this instance with HTTPS URLs from your server's provider configuration and attach the appropriate API headers per call. maxRedirects: 0 keeps the client from following redirects with those headers. A separate SDK or fetch() call doesn't inherit the instance's agent. Log status and operation names instead of dumping request config, keys, or the proxy URL.
Does Shield decrypt Transak or MoonPay Enterprise HTTPS requests?
The outbound HTTPS request stays encrypted between your app and the provider with either Shield or Static. The proxy opens a CONNECT tunnel to the provider's host and port, and the app negotiates a separate TLS session with the provider through that tunnel. The proxy doesn't decrypt the API headers or payload inside it.
Shield also encrypts the app-to-proxy connection that carries proxy authentication. Use the dashboard's https:// proxy URL on port 9294 for Shield. Static uses an http:// proxy URL on port 9293. Those schemes and ports describe the proxy hop. Keep the provider URL https:// with either product.
How do I verify the egress IP of a deployed on-ramp worker without sending it an API key?
From the deployed worker, make an HTTPS request to https://ip.quotaguard.com through the same client and proxy settings the worker uses for on-ramp traffic. Use no Transak or MoonPay headers. Read the JSON ip field and check that it equals either address from the worker's assigned QuotaGuard pair.
One matching address is enough for this check. Connections choose an IP, not individual requests, so a reused tunnel may keep showing the same address. If the IP is outside the expected pair, check the deployed secret and whether that call site actually uses the configured client. A passing IP check proves the route, not the provider's allowlist.
Does MoonPay Enterprise's API key allowlist also cover incoming webhooks?
No. The API key allowlist controls calls your servers make to MoonPay Enterprise. Webhooks go the other direction: MoonPay Enterprise sends a signed request to the public HTTPS endpoint you registered. Changing the egress allowlist won't repair an inbound delivery failure.
In Developer → Webhooks, check Webhook Logs for the receiver's status and timing. For a connection error or timeout without a row, check the endpoint's warning icon under Manage Webhooks. Make sure the receiver can verify webhook-signature-v2 against the raw body, ID and timestamp, and acknowledge valid deliveries with a 2xx within five seconds.
How do I switch an allowlisted on-ramp backend from Static to Shield?
Treat it as an IP change as well as a proxy URL change. Shield is a separate subscription with its own pair. Before switching the backend, submit the Shield pair for the affected Transak environments and add it to the affected MoonPay Enterprise allowlists. Leave the old entries in place for callers still using Static.
Confirm the new entries are active before deploying the Shield URL. Check each deployed caller's egress against the new pair, then verify the provider accepts the new route before removing entries that nothing still uses. For MoonPay Enterprise, count both pairs against the 50-entry limit while they overlap.
What this page is based on
The provider requirements and client configuration above draw on these Transak, MoonPay, axios and https-proxy-agent references, read on Dec 4, 2026. Confirm the current rules in your dashboard before registering IPs.
- Transak: Integration Update, Mandatory Security Changes
- MoonPay: MoonPay Enterprise API changelog, entry dated 2026-10-28
- axios: Request config
- npm: https-proxy-agent
Give your on-ramp backend a fixed IP to register
Set up Shield, register both static IPs with Transak and MoonPay, then verify the route from your deployed backend.