PaymentMethod
PaymentMethod
PaymentMethod
Represents a payment method (source-agnostic)
Kind: Object
Fields
| Field | Type | Description |
|---|---|---|
cardBrand |
String |
Card brand (Visa, Mastercard, etc) if applicable |
cardLast4 |
String |
Last 4 digits of card if applicable |
createdAt |
DateTime! |
Timestamp when the payment method was created |
id |
ID! |
Unique identifier |
source |
PaymentMethodSource! |
Source of the payment method (stripe, internal, etc) |
type |
String! |
Type of payment method (card, cash, other) |
Definition
"""Represents a payment method (source-agnostic)"""
type PaymentMethod {
"""Card brand (Visa, Mastercard, etc) if applicable"""
cardBrand: String
"""Last 4 digits of card if applicable"""
cardLast4: String
"""Timestamp when the payment method was created"""
createdAt: DateTime!
"""Unique identifier"""
id: ID!
"""Source of the payment method (stripe, internal, etc)"""
source: PaymentMethodSource!
"""Type of payment method (card, cash, other)"""
type: String!
}