Skip to content

@mbanq/core-sdk-js v0.50.0


@mbanq/core-sdk-js / commands / GetCreditAccountPendingTransactions

Function: GetCreditAccountPendingTransactions() ​

GetCreditAccountPendingTransactions(creditAccountId): Command<{ creditAccountId: number; }, { pageItems: object[]; totalFilteredRecords: number; }>

Defined in: src/commands/rest/creditAccount.ts:93

Get pending transactions for a credit account

Retrieves all pending transactions for a specific credit account. Pending transactions are card authorizations that have been placed on hold but have not yet been cleared or posted. This includes card authorization details, merchant information, amounts, and hold status.

Parameters ​

creditAccountId ​

number

The unique identifier of the credit account

Returns ​

Command<{ creditAccountId: number; }, { pageItems: object[]; totalFilteredRecords: number; }>

Command object that executes the API request and returns pending transactions

Example ​

typescript
const command = GetCreditAccountPendingTransactions(388);
const pendingTransactions = await client.request(command);

Released under the MIT License.