Invoke Forward Proxy
Forwards your request to the destination in the yuno-proxy-destination-url header, replacing {{vaulted_token.<TOKEN>.<field>}} expressions inside WHITELABEL’s secure environment with the data stored under the vaulted token: the card (PAN, expiration, holder name), its network token (DPAN and its expiration), and its network transaction ID (NTID). For destinations that require HMAC-signed requests, send yuno-proxy-auth + yuno-proxy-auth-secret-key and the proxy signs the resolved body for you. See Signed destinations for details. See the Forward Proxy guide for a step-by-step integration.
Beta
The PCI Proxy is in beta and is enabled per organization. In production, requests return 403 PRODUCT_NOT_ENABLED until your organization is activated; contact your Key Account Manager (KAM). The sandbox is open for testing.
Server-side only
Proxy requests detokenize card data and must only be made from your backend. Never expose your private-secret-key in client-side code.
All of GET, POST, PUT, PATCH, and DELETE are supported: the destination receives the same method you used. Put the complete destination URL, including its path and any query string, in the yuno-proxy-destination-url header; a query string on the /pci-proxy/forward request itself is rejected. The destination host must be on your destination allowlist.
If you are a PCI-certified merchant and need the raw card data itself rather than a pass-through call, use Retrieve Enrolled Payment Method by ID PCI Data instead.
/pci-proxy/forwardForwards your request to the destination indicated in the yuno-proxy-destination-url header, replacing {{vaulted_token.<TOKEN>.<field>}} expressions in the body and header values with real card data inside WHITELABEL’s PCI DSS Level 1 environment. The destination’s status code, headers, and body are returned unchanged. GET, PUT, PATCH, and DELETE are also supported and forwarded verbatim. The full destination (including its path and query string) is specified in yuno-proxy-destination-url; a query string on the /pci-proxy/forward request itself is rejected. Every proxy response carries a yuno-proxy-request-id header; a 401 returned before the request reaches the proxy is the only exception.
Header Parameters
The complete destination URL, including its path and any query string (for example https://api.example-processor.com/charges/ch_123/capture?expand=true). Must be a public HTTPS hostname on port 443, and the host must be registered on your destination allowlist; IP addresses and internal networks are rejected. It must not contain {{vaulted_token...}} expressions (card data must never appear in a URL).
Destination timeout in seconds. Default 30, maximum 120.
Optional account scope. Narrows which allowlisted destinations are permitted for this request; it does not affect token resolution (vaulted tokens are always scoped to your organization). Like all yuno-* headers it is removed before forwarding and never reaches the destination.
Signing scheme for destinations that require HMAC request signing over the body. The proxy computes the signature over the resolved body (after expression substitution) and injects the destination’s auth headers; your signing secret is used in memory and discarded — nothing is stored. Supported: DLOCAL_HMAC (the proxy generates X-Date and computes Authorization: V2-HMAC-SHA256, Signature: <hex> over X-Login + X-Date + resolved body; you send X-Login, X-Trans-Key, and X-Version as normal destination headers). An unknown value — or a DLOCAL_HMAC request missing the X-Login or X-Trans-Key headers — is rejected with 400 INVALID_REQUEST before the destination is contacted.
Your signing secret for this request (required when yuno-proxy-auth is present). Like every yuno-* header it is stripped before forwarding and excluded from logs.
Response
Response from the destination, passed through unchanged (the actual status code is whatever the destination returned; check yuno-proxy-destination-status).
Proxy-originated request error (invalid destination URL, expression problems, invalid timeout, too many tokens, or an invalid signing setup — unknown yuno-proxy-auth, missing yuno-proxy-auth-secret-key, or DLOCAL_HMAC without the X-Login or X-Trans-Key headers). The yuno-proxy-destination-status header is absent because the destination was not called.
Machine-readable error code.
Authentication failed. Returned before the request reaches the proxy, so it carries no yuno-proxy-* headers.
Machine-readable error code.
The destination is not allowed, or the PCI Proxy is not activated for your organization (production only).
Machine-readable error code.
Request body over 1 MB.
Machine-readable error code.
Rate limit exceeded for the account (enforced at the WHITELABEL edge).
Machine-readable error code.
Unexpected proxy-side error.
Machine-readable error code.
The destination could not be reached, or (when WHITELABEL is configured service-wide to block rather than redact) its response contained card data.
Machine-readable error code.
The destination did not respond within the timeout.
Machine-readable error code.