Skip to content

PaymentMethod

A PaymentMethod says how a PayAction was paid, for display: at_type PaymentCard, PaymentService (a wallet or bank service) or PaymentMethod, the provider's paymentMethodType and a name such as "Visa ending 4242". There is no field for card numbers, expiry dates, security codes or provider tokens: a payment carrying them is refused.

Modeled on schema.org/PaymentMethod ยท JSON Schema

Example

{
  "at_type": "PaymentCard",
  "paymentMethodType": "card",
  "name": "Visa ending 4242"
}

Fields

Field Type Required Description
at_type one of PaymentMethod, PaymentCard, PaymentService JSON-LD @type, the object's type name.
paymentMethodType string The provider's name for the method, e.g. card, sepa_debit, paypal
name string A name to show, e.g. Visa ending 4242