Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 10.1 KB

File metadata and controls

26 lines (22 loc) · 10.1 KB

PaymentSource

The payment source associated with this subscription.

Fields

Field Type Required Description
object SchemasCommerceSubscriptionItemPaymentSourceObject ✔️ String representing the object's type. Objects of the same type share the same value.
id String ✔️ Unique identifier for the payment source.
payerId String ✔️ Unique identifier for the payer.
paymentMethod PaymentMethod ✔️ The payment method type.
isDefault JsonNullable<Boolean> Whether this is the default payment source for the payer.
gateway String ✔️ The payment gateway.
gatewayExternalId String ✔️ External ID in the payment gateway.
gatewayExternalAccountId JsonNullable<String> External account ID in the payment gateway.
last4 String ✔️ Last 4 digits of the card (for card payment sources).
status SchemasCommerceSubscriptionItemPaymentSourceStatus ✔️ Status of the payment source.
walletType String ✔️ Type of wallet (if applicable).
cardType String ✔️ Type of card (if applicable).
expiryYear Optional<Long> Card expiration year (for card payment sources).
expiryMonth Optional<Long> Card expiration month (for card payment sources).
createdAt long ✔️ Unix timestamp (in milliseconds) when the payment source was created.
updatedAt long ✔️ Unix timestamp (in milliseconds) when the payment source was last updated.
isRemovable JsonNullable<Boolean> Whether this payment source can be removed.