Request cryptogram
Request a cryptogram (TAVV) for a network token. Supports ecom (e-commerce) and dauth (delegated authentication).
Set mode to control how the cryptogram is returned. inline returns the full cryptogram payload (SAQ-D / RoC only). reference returns a short-lived, single-use cryptogram_reference that you forward with Forward cryptogram. When omitted, mode defaults to inline on SAQ-D / RoC and is forced to reference on SAQ-A / SAQ-A EP. See Network Tokens overview.
Authorizations
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.
Path Parameters
The ID of the token for which to request a cryptogram.
Body
- ECOM Request
- DAuth Request
The amount given in minor units (e.g. use 700 for 7€). Some currencies do not support minor units (e.g. Japanese Yen). In this case send in the full value, i.e. 100 for 100 JPY.
700
The three letter ISO-4217 currency code.
"EUR"
"order-1234567890"
"ecom"
Controls whether the cryptogram is returned in the response or kept inside Guardian.
inlinereturns the full cryptogram payload. Only allowed when the instance compliance level is SAQ-D or RoC.referencereturns a short-lived, single-usecryptogram_referenceinstead. Forward it with Forward cryptogram.
When omitted, the mode defaults to inline on SAQ-D / RoC and is forced to reference on SAQ-A / SAQ-A EP.
inline, reference Metadata consisting of key-value entries.
- Maximum 20 key-value pairs.
- Maximum 20 characters per key.
- Maximum 80 characters per value.
Response
Success response with the requested cryptogram.
- TAVV
- Dynamic CVV
- Reference
The token authentication verification value (TAVV) for the network token.
The Electronic Commerce Indicator (ECI) from the issuer.
Metadata consisting of key-value entries.
- Maximum 20 key-value pairs.
- Maximum 20 characters per key.
- Maximum 80 characters per value.