Skip to main content

Interface: IClosedPaymentParams

Represents the parameters for a closed payment.

See

Create Closed Payment - Tripay

Remarks

This interface is used to define the parameters required to create a closed payment.

Properties

amount

amount: number

The payment amount.

Remarks

This property specifies the amount of the closed payment.

Defined in

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


callback_url

Optional callback_url: string

Optional callback URL.

Remarks

This property specifies an optional callback URL for the closed payment.

Defined in

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


customer_email

customer_email: string

The email of the customer.

Remarks

This property specifies the email of the customer for the closed payment.

Defined in

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


customer_name

customer_name: string

The name of the customer.

Remarks

This property specifies the name of the customer for the closed payment.

Defined in

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


customer_phone

customer_phone: string

The phone number of the customer.

Remarks

This property specifies the phone number of the customer for the closed payment.

Defined in

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


expired_time

Optional expired_time: number

Optional expiration time.

Remarks

This property specifies an optional expiration time for the closed payment.

Defined in

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


merchant_ref

merchant_ref: string

The merchant reference.

Remarks

This property specifies the merchant reference for the closed payment.

Defined in

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


method

method: PaymentMethod

The payment method.

Remarks

This property specifies the payment method for the closed payment.

Defined in

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


return_url

Optional return_url: string

Optional return URL.

Remarks

This property specifies an optional return URL for the closed payment.

Defined in

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