Docs

Get Payment Methods

GET /payment-methods

GET/payment-methods

Lists the organization's saved payment methods (cards and bank accounts) and which one is the default. Requires organization admin (* at the organization). The ids it returns are the payment method ids other operations take.

Response

Type: GetPaymentMethodResponse[]

GetPaymentMethodResponse

FieldTypeDescription
idstring| null
typestring| null
isDefaultboolean
cardGetPaymentMethodResponseCardInfo
bankAccountGetPaymentMethodResponseBankAccountInfo

GetPaymentMethodResponseCardInfo

FieldTypeDescription
brandstring| null
last4string| null
expMonthinteger
expYearinteger

GetPaymentMethodResponseBankAccountInfo

FieldTypeDescription
bankNamestring| null
last4string| null
accountTypestring| null