Vault Token Request

May 27, 2025 ยท View on GitHub

The Tokenized Payment Source representing a Request to Vault a Token.

Structure

VaultTokenRequest

Fields

NameTypeTagsDescriptionGetterSetter
IdStringRequiredThe PayPal-generated ID for the token.

Constraints: Minimum Length: 1, Maximum Length: 255, Pattern: ^[0-9A-Za-z_-]+$
String getId()setId(String id)
TypeVaultTokenRequestTypeRequiredThe tokenization method that generated the ID.

Constraints: Minimum Length: 1, Maximum Length: 255, Pattern: ^[0-9A-Z_-]+$
VaultTokenRequestType getType()setType(VaultTokenRequestType type)

Example (as JSON)

{
  "id": "id8",
  "type": "SETUP_TOKEN"
}