Skip to content

DoCurious API Reference / types / Transaction

Interface: Transaction ​

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

Transaction record

Extends ​

Properties ​

amount ​

amount: number

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


createdAt ​

createdAt: string

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

ISO 8601 datetime when the entity was created

Inherited from ​

BaseEntity.createdAt


currency ​

currency: string

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


description ​

description: string

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


failureReason? ​

optional failureReason: string

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


id ​

id: string

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

Inherited from ​

BaseEntity.id


items ​

items: CartItem[]

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


paymentMethodId? ​

optional paymentMethodId: string

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


receiptUrl? ​

optional receiptUrl: string

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


refundedAmount? ​

optional refundedAmount: number

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


status ​

status: TransactionStatus

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


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:95

DoCurious Platform Documentation