Payment Token Request Payment Source

November 13, 2025 ยท View on GitHub

The payment method to vault with the instrument details.

Structure

PaymentTokenRequestPaymentSource

Fields

NameTypeTagsDescriptionGetterSetter
CardPaymentTokenRequestCardOptionalA Resource representing a request to vault a Card.PaymentTokenRequestCard getCard()setCard(PaymentTokenRequestCard card)
TokenVaultTokenRequestOptionalThe 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"
  }
}