Skip to main content

Interface: TransactionOptions

Options for a transaction.

Hierarchy​

Properties​

apiToken​

• apiToken: string

The API token to be used.

Inherited from​

BaseOptions.apiToken

Defined in​

src/global/global.interface.ts:8


merchantCode​

• merchantCode: string

The merchant code for identification.

Defined in​

src/transaction/transaction.interface.ts:56


privateKey​

• privateKey: string

The private key for authentication.

Defined in​

src/transaction/transaction.interface.ts:51


sandbox​

• Optional sandbox: boolean

Specifies whether the sandbox mode should be enabled. If true, the API will run in sandbox mode. If false, the API will run in production mode. Defaults to false.

Inherited from​

BaseOptions.sandbox

Defined in​

src/global/global.interface.ts:16