Skip to main content
POST

Authorizations

Authorization
string
header
required

JWT bearer token obtained via the OAuth2 client-credentials grant from the platform Authentication API. The token's scopes gate the endpoints it may call, and its audience names the Guardian instance. This is the standard way to authenticate to Guardian.

Headers

x-destination-url
string<uri>
required

The target URL to which the request shall be forwarded. Guardian forwards calls only to whitelisted destination URLs (major payment providers are included by default). Contact support to whitelist a custom URL.

Example:

"https://api.psp.example.com/payments"

Path Parameters

id
string<uuid>
required

The ID of the wallet token to forward.

Body

application/json

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.