Skip to content

DoCurious API Reference / types / PaymentMethod

Interface: PaymentMethod

Defined in: types/payment.types.ts:28

Saved payment method

Extends

Properties

billingName?

optional billingName: string

Defined in: types/payment.types.ts:36


brand?

optional brand: 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

BaseEntity.createdAt


expiryMonth?

optional expiryMonth: number

Defined in: types/payment.types.ts:33


expiryYear?

optional expiryYear: number

Defined in: types/payment.types.ts:34


id

id: string

Defined in: types/common.types.ts:167

Inherited from

BaseEntity.id


isDefault

isDefault: boolean

Defined in: types/payment.types.ts:35


last4?

optional last4: 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

BaseEntity.updatedAt


userId

userId: string

Defined in: types/payment.types.ts:29

DoCurious Platform Documentation