Payment Token Request Payment Source
November 13, 2025 ยท View on GitHub
The payment method to vault with the instrument details.
Structure
PaymentTokenRequestPaymentSource
Fields
| Name | Type | Tags | Description | Getter | Setter |
|---|---|---|---|---|---|
Card | PaymentTokenRequestCard | Optional | A Resource representing a request to vault a Card. | PaymentTokenRequestCard getCard() | setCard(PaymentTokenRequestCard card) |
Token | VaultTokenRequest | Optional | The Tokenized Payment Source representing a Request to Vault a Token. | VaultTokenRequest getToken() | setToken(VaultTokenRequest token) |
Example (as JSON)
{
"card": {
"name": "name6",
"number": "number6",
"expiry": "expiry4",
"security_code": "security_code8",
"brand": "CB_NATIONALE"
},
"token": {
"id": "id6",
"type": "SETUP_TOKEN"
}
}