Forward wallet token
Forward a request to a certified third-party provider with the wallet token’s card data injected server-side, so it never touches your systems. This mirrors Forward card data and Forward cryptogram.
The available placeholders depend on the token’s auth_method:
CRYPTOGRAM_3DS:{{ dpan }},{{ cryptogram }},{{ eci }},{{ expiry_month }},{{ expiry_year }}. The cryptogram is single-use — the token is consumed by the first successful forward.PAN_ONLY:{{ fpan }},{{ expiry_month }},{{ expiry_year }}. Forwardable repeatedly.
Using a placeholder the token’s auth_method does not carry returns 422 with the classifier DESTINATION_POLICY_VIOLATION; a declared placeholder without a value on this specific token returns 422 with PLACEHOLDER_VALUE_MISSING. Forwarding an already-consumed CRYPTOGRAM_3DS token returns 400 with CRYPTOGRAM_CONSUMED.
See Wallet Tokens for details.
Authorizations
Headers
Name of a header to set on the forwarded request. Guardian strips the credential your call authenticates with (for example x-api-key) before forwarding; use this pair to send the destination's own credential instead. Only takes effect together with x-own-header-value.
"x-api-key"
The destination's own idempotency key, relayed to the destination unchanged. A key of visible ASCII characters (! to ~) arrives as sent, whether or not idempotency is switched on for your instance. Guardian doesn't check the key and doesn't deduplicate forwards: whether a repeat is safe is up to the destination, and any idempotency header in the response comes from the destination. Must not contain card data. See Idempotency.
"payment-7f3c2a9e-0001"
Body
The payload to forward to the third-party provider.
Use placeholders to inject the wallet token's card data on the fly.
Append | unwrap to emit a value as its native type instead of a string, e.g. {{ expiry_month | unwrap }}.
Response
Success response
The response from the third-party provider.