AddStoredPaymentMethodInput
A model the API reference uses in a request or a response. The operation pages link every field typed as this model here.
Input DTO for adding a new stored payment method to a customer.
Values
Fields
| Field | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
paymentMethodType
required |
CustomerStoredPaymentMethodType CustomerStoredPaymentMethodType | Gets or sets the type of payment method (Card or Check).
Conditional: When IsReaderTokenBacked is true. Must equal Card.
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
cardData
required |
CardData CardData | Gets or sets the card data when `paymentMethodType` is Card.
Required: When PaymentMethodType == Card and IsReaderTokenBacked is false.
Conditional: When CardData is not null and PaymentMethodType == Card and IsReaderTokenBacked is false.
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Fields of CardData:
This body has no documented fields. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
checkData
required |
CheckData CheckData | Gets or sets the check data when `paymentMethodType` is Check.
Required: When PaymentMethodType == Check.
Conditional: When CheckData is not null and PaymentMethodType == Check.
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Fields of CheckData:
This body has no documented fields. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
isDefault
required |
boolean | Gets or sets whether this should be the customer's default payment method.
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
customName
required |
string | Gets or sets an optional user-defined display name (e.g., "Marriott Chase").
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
initialSchemeTransactionId
required |
string | Optional initial (first-in-series) network / scheme transaction id captured from the
authorization response of the cardholder-initiated transaction that stored this credential.
Populated only on the transaction-driven save-card path (the manual Customer admin add has no
authorization response); persisted onto the stored payment method so later charges can echo
it without a consent lookup. Non-sensitive card-network protocol metadata.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
schemeTransactionIdBrand
required |
string | Optional card brand at capture time (e.g. "Visa") tagged alongside
`initialSchemeTransactionId`. Ignored when the initial id is absent.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
schemeTransactionIdProcessor
required |
string | Optional originating processor ("tsys" / "fiserv") tagged alongside
`initialSchemeTransactionId`. Ignored when the initial id is absent.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
readerToken
required |
string | The processor reader token to store for a PAN-less card (a decrypt-and-forward processor such
as MagTek DAF, where the gateway never sees the PAN). When set, this input mints a reader-token
stored method: the token is written encrypted onto the backing vault token's
`ProcessorTokens` and there is no card data to vault. Set by the server only: a value
supplied over the API is not accepted. Never logged.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
readerTokenProcessorName
required |
string | The processor key ("magtekdaf") the `readerToken` belongs to, used as the
`ProcessorTokens` selection key. Required when `readerToken` is set.
Required: When IsReaderTokenBacked is true.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
readerTokenProcessorProfileId
required |
string (uuid) | The processor profile the `readerToken` was captured under, used as the second part
of the `ProcessorTokens` selection key. Optional.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
readerTokenRequestorId
required |
string | Optional token-requestor id captured alongside the `readerToken`. Stored on the
backing token's `ProcessorTokens` entry for lineage. Non-sensitive.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
readerTokenMaskedCardNumber
required |
string | The masked card number of the card the `readerToken` stands in for, in the
platform's masked shape (for example `411111******1111`), read off the approved
authorization. Optional: absent when the processor response carried no card identity.
Display only. It is never a charge credential and never a dedupe input (two distinct reader
tokens can share a last four; `ReaderTokenFingerprint` stays the only matching key).
The consuming services re-mask it before persisting, so a full PAN cannot travel through
this field. Ignored unless `readerToken` is set.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
readerTokenCardBrand
required |
string | The card brand ("Visa", "Mastercard", ...) resolved for the card behind the
`readerToken`, or `null` when neither the processor response nor
the BIN lookup produced one. Best-effort display metadata; ignored unless
`readerTokenMaskedCardNumber` is set.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
isReaderTokenBacked
required |
boolean | True when this input describes a reader-token (PAN-less) stored method rather than a
PAN- or account-backed one. In that case `cardData` is absent by design.
read only
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
This model has no documented fields.