1
0
Files
PayPal-PHP-Server-SDK/doc/models/vault-token-request.md
Patrick Powers 504c367386 Release 0.7.0
Beta Release 0.7.0 including:

- Bug fixes
- Updated model/function names
- Updated models to reflect changes in APIs
2025-03-20 13:18:55 -05:00

824 B

Vault Token Request

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

Structure

VaultTokenRequest

Fields

Name Type Tags Description Getter Setter
id string Required The PayPal-generated ID for the token.
Constraints: Minimum Length: 1, Maximum Length: 255, Pattern: ^[0-9A-Za-z_-]+$
getId(): string setId(string id): void
type string(VaultTokenRequestType) Required The tokenization method that generated the ID.
Constraints: Minimum Length: 1, Maximum Length: 255, Pattern: ^[0-9A-Z_-]+$
getType(): string setType(string type): void

Example (as JSON)

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