Create token
Create and provision a new network token with a card scheme. See Network Tokens overview for creation sources and supported schemes.
Promoting a wallet token that was already promoted returns 422 with the classifier WALLET_TOKEN_ALREADY_PROMOTED; promoting a token that carries no funding PAN (a CRYPTOGRAM_3DS token) returns 422 with UNSUPPORTED_WALLET_TYPE. See Promotion for eligibility.
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.
Body
Where the network token is provisioned from. type selects the variant.
- From Session
- From PAN
- From PCI Token
- From Wallet Token
Metadata consisting of key-value entries.
- Maximum 20 key-value pairs.
- Maximum 20 characters per key.
- Maximum 80 characters per value.
Response
Success response
- Session
- Network Token
- Wallet Token Promotion
Which variant you get follows the request's source.type, and the three carry no shared tag field — tell them apart by shape.
- A
sessionsource returns the Session object (session_idonly). - A
panorpci_tokensource returns the Network Token. - A
wallet_tokensource returns Wallet Token Promotion, which nests the creatednetwork_tokenalongside the originatingsource.
"0f2c8f7e-4d2a-4d1b-9a6e-1c9b2d3e4f50"