1
0
Files
PayPal-PHP-Server-SDK/doc/models/vault-token-request.md
Dani Kirby 6b43a4225b Beta Release 0.5.0 (#3)
* Automated commit message

* Automated commit message

* Automated commit message

* Automated commit message

---------

Co-authored-by: PayPalServerSDKs <server-sdks@paypal.com>
2024-09-09 12:10:34 -05:00

26 lines
813 B
Markdown

# 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.<br>**Constraints**: *Minimum Length*: `1`, *Maximum Length*: `255`, *Pattern*: `^[0-9A-Za-z_-]+$` | getId(): string | setId(string id): void |
| `type` | [`string(TokenRequestType)`](../../doc/models/token-request-type.md) | Required | The tokenization method that generated the ID.<br>**Constraints**: *Minimum Length*: `1`, *Maximum Length*: `255`, *Pattern*: `^[0-9A-Z_-]+$` | getType(): string | setType(string type): void |
## Example (as JSON)
```json
{
"id": "id8",
"type": "SETUP_TOKEN"
}
```