Skip to main content

Interface: Transaction

Defined in: type/Transaction.ts:6

Object class for Transaction

Properties

amount

amount: number

Defined in: type/Transaction.ts:16

Transaction amount


currency

currency: string

Defined in: type/Transaction.ts:18

Transaction currency - ISO 4217 currency code => https://www.xe.com/iso4217.php


description?

optional description?: string

Defined in: type/Transaction.ts:20

Description


id

id: string | number

Defined in: type/Transaction.ts:8

Transaction primary identifier


orderId

orderId: number

Defined in: type/Transaction.ts:14

Unique orderId reference for the Payment


paymentId?

optional paymentId?: string

Defined in: type/Transaction.ts:12

Payment ID - usually provided by the PSP


provider?

optional provider?: string

Defined in: type/Transaction.ts:26

PSP Provider Name


status

status: TransactionStatuses

Defined in: type/Transaction.ts:28

Transaction status


timestamp?

optional timestamp?: string

Defined in: type/Transaction.ts:22

Transaction timestamp


transactionId

transactionId: string

Defined in: type/Transaction.ts:10

Transaction ID - usually provided by the PSP [if not available please provide paymentId or other unique identifier]


type

type: TransactionTypes

Defined in: type/Transaction.ts:24

Transaction type