Interface: ITransaction
Represents a transaction.
See
Properties
amount
• amount: number
The amount of the transaction.
Defined in
src/merchant/merchant.interface.ts:258
amount_received
• amount_received: number
The amount received for the transaction.
Defined in
src/merchant/merchant.interface.ts:278
callback_url
• callback_url: null
| string
The callback URL for the transaction.
Defined in
src/merchant/merchant.interface.ts:248
checkout_url
• checkout_url: string
The checkout URL.
Defined in
src/merchant/merchant.interface.ts:293
created_at
• created_at: number
The creation timestamp of the transaction.
Defined in
src/merchant/merchant.interface.ts:313
customer_email
• customer_email: string
The email of the customer.
Defined in
src/merchant/merchant.interface.ts:238
customer_name
• customer_name: string
The name of the customer.
Defined in
src/merchant/merchant.interface.ts:233
customer_phone
• customer_phone: null
| string
The phone number of the customer.
Defined in
src/merchant/merchant.interface.ts:243
expired_at
• expired_at: number
The expiration timestamp of the transaction.
Defined in
src/merchant/merchant.interface.ts:318
fee_customer
• fee_customer: number
The customer fee for the transaction.
Defined in
src/merchant/merchant.interface.ts:268
fee_merchant
• fee_merchant: number
The merchant fee for the transaction.
Defined in
src/merchant/merchant.interface.ts:263
merchant_ref
• merchant_ref: string
The reference of the merchant.
Defined in
src/merchant/merchant.interface.ts:213
note
• note: null
| string
Additional notes for the transaction.
Defined in
src/merchant/merchant.interface.ts:308
order_items
• order_items: Omit
<IOrderItem
, "product_url"
| "image_url"
>[]
The order items for the transaction.
Defined in
src/merchant/merchant.interface.ts:298
paid_at
• paid_at: null
| number
The timestamp when the transaction was paid.
Defined in
src/merchant/merchant.interface.ts:323
pay_code
• pay_code: null
| string
The payment code.
Defined in
src/merchant/merchant.interface.ts:283
pay_url
• pay_url: null
| string
The payment URL.
Defined in
src/merchant/merchant.interface.ts:288
payment_method
• payment_method: PaymentMethod
The payment method used.
Defined in
src/merchant/merchant.interface.ts:223
payment_name
• payment_name: string
The name of the payment.
Defined in
src/merchant/merchant.interface.ts:228
payment_selection_type
• payment_selection_type: string
The type of payment selection.
Defined in
src/merchant/merchant.interface.ts:218
reference
• reference: string
The reference of the transaction.
Defined in
src/merchant/merchant.interface.ts:208
return_url
• return_url: null
| string
The return URL for the transaction.
Defined in
src/merchant/merchant.interface.ts:253
status
• status: PaymentStatus
The status of the payment.
Defined in
src/merchant/merchant.interface.ts:303
total_fee
• total_fee: number
The total fee for the transaction.