Skip to content

VoltaxProvider

Defined in: packages/node/src/core/interfaces.ts:18

Interface that all Voltax Gateways must implement.

getPaymentStatus(reference): Promise<PaymentStatus>

Defined in: packages/node/src/core/interfaces.ts:43

Gets the status of a payment. In many cases aliases to verifyTransaction, but explicit for clarity.

string

The transaction reference

Promise<PaymentStatus>


initializePayment(payload): Promise<VoltaxPaymentResponse>

Defined in: packages/node/src/core/interfaces.ts:28

Initiates a payment transaction.

The payment details

number = ...

string = ...

Currency = ...

string = ...

string = ...

Record<string, any> = ...

string = ...

{ flutterwave?: { customerName?: string; linkExpiration?: Date; logoUrl?: string; maxRetryAttempts?: number; pageTitle?: string; paymentOptions?: string; paymentPlan?: number; sessionDuration?: number; subaccounts?: object[]; }; hubtel?: { cancellationUrl?: string; returnUrl?: string; }; paystack?: { bearer?: "subaccount" | "account"; channels?: PaystackChannel[]; invoiceLimit?: number; plan?: string; splitCode?: string; subaccount?: string; transactionCharge?: number; }; } | null = ...

string = ...

Promise<VoltaxPaymentResponse>


verifyTransaction(reference): Promise<VoltaxPaymentResponse>

Defined in: packages/node/src/core/interfaces.ts:36

Verifies a transaction by its reference.

string

The transaction reference

Promise<VoltaxPaymentResponse>