Appearance
DoCurious API Reference / types / PaymentMethod
Interface: PaymentMethod
Defined in: types/payment.types.ts:28
Saved payment method
Extends
Properties
billingName?
optionalbillingName:string
Defined in: types/payment.types.ts:36
brand?
optionalbrand:string
Defined in: types/payment.types.ts:32
createdAt
createdAt:
string
Defined in: types/common.types.ts:154
ISO 8601 datetime when the entity was created
Inherited from
expiryMonth?
optionalexpiryMonth:number
Defined in: types/payment.types.ts:33
expiryYear?
optionalexpiryYear:number
Defined in: types/payment.types.ts:34
id
id:
string
Defined in: types/common.types.ts:167
Inherited from
isDefault
isDefault:
boolean
Defined in: types/payment.types.ts:35
last4?
optionallast4:string
Defined in: types/payment.types.ts:31
type
type:
PaymentMethodType
Defined in: types/payment.types.ts:30
updatedAt
updatedAt:
string
Defined in: types/common.types.ts:156
ISO 8601 datetime when the entity was last modified
Inherited from
userId
userId:
string
Defined in: types/payment.types.ts:29