Skip to main content

Interface: IClosedTransaction

Interface representing a closed transaction.

See

Create Closed Payment - Tripay

Hierarchy

Properties

amount

amount: number

The amount of the transaction.

Defined in

src/transaction/closed-transaction/closed-transaction.interface.ts:56


amount_received

amount_received: number

The amount received in the transaction.

Defined in

src/transaction/closed-transaction/closed-transaction.interface.ts:80


callback_url

callback_url: null | string

The URL to callback after the transaction, can be null.

Defined in

src/transaction/closed-transaction/closed-transaction.interface.ts:44


checkout_url

checkout_url: string

The URL for checkout.

Defined in

src/transaction/closed-transaction/closed-transaction.interface.ts:86


customer_email

customer_email: string

The email address of the customer.

Defined in

src/transaction/closed-transaction/closed-transaction.interface.ts:32


customer_name

customer_name: string

The name of the customer.

Inherited from

IBaseTransaction.customer_name

Defined in

src/transaction/transaction.interface.ts:16


customer_phone

customer_phone: null | string

The phone number of the customer, can be null.

Defined in

src/transaction/closed-transaction/closed-transaction.interface.ts:38


expired_time

expired_time: number

The time when the transaction expires.

Defined in

src/transaction/closed-transaction/closed-transaction.interface.ts:98


fee_customer

fee_customer: number

The fee charged to the customer.

Defined in

src/transaction/closed-transaction/closed-transaction.interface.ts:68


fee_merchant

fee_merchant: number

The fee charged to the merchant.

Defined in

src/transaction/closed-transaction/closed-transaction.interface.ts:62


instructions

instructions: IPaymentInstruction[]

The payment instructions.

Defined in

src/transaction/closed-transaction/closed-transaction.interface.ts:110


merchant_ref

merchant_ref: string

The reference number of the merchant.

Inherited from

IBaseTransaction.merchant_ref

Defined in

src/transaction/transaction.interface.ts:11


order_items

order_items: IOrderItem[]

The items in the order.

Defined in

src/transaction/closed-transaction/closed-transaction.interface.ts:104


pay_code

pay_code: string

The pay code.

Inherited from

IBaseTransaction.pay_code

Defined in

src/transaction/transaction.interface.ts:31


pay_url

pay_url: null | string

The URL for payment, can be null.

Defined in

src/transaction/closed-transaction/closed-transaction.interface.ts:116


payment_method

payment_method: PaymentMethod

The payment method used.

Inherited from

IBaseTransaction.payment_method

Defined in

src/transaction/transaction.interface.ts:26


payment_name

payment_name: string

The name of the payment.

Inherited from

IBaseTransaction.payment_name

Defined in

src/transaction/transaction.interface.ts:21


payment_selection_type

payment_selection_type: string

The type of payment selection.

Defined in

src/transaction/closed-transaction/closed-transaction.interface.ts:26


qr_string

Optional qr_string: null | string

The QR code string (optional).

Inherited from

IBaseTransaction.qr_string

Defined in

src/transaction/transaction.interface.ts:36


qr_url

Optional qr_url: null | string

The QR code URL (optional).

Inherited from

IBaseTransaction.qr_url

Defined in

src/transaction/transaction.interface.ts:41


reference

reference: string

The reference number of the transaction.

Defined in

src/transaction/closed-transaction/closed-transaction.interface.ts:20


return_url

return_url: null | string

The URL to return to after the transaction, can be null.

Defined in

src/transaction/closed-transaction/closed-transaction.interface.ts:50


status

status: PaymentStatus

The status of the payment.

Defined in

src/transaction/closed-transaction/closed-transaction.interface.ts:92


total_fee

total_fee: number

The total fee of the transaction.

Defined in

src/transaction/closed-transaction/closed-transaction.interface.ts:74