Skip to content

@mbanq/core-sdk-js v0.50.0


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

Function: ListCardProduct() ​

ListCardProduct(data?): Command<{ data: { limit?: number; offset?: number; }; }, { pageItems: object[]; totalFilteredRecords: number; }>

Defined in: src/commands/rest/cardProduct.ts:36

List all card products

Retrieves a paginated list of all card products available in the system. Card products define the configuration, features, and limits for different types of cards.

Parameters ​

data? ​

Optional query parameters for pagination

limit? ​

number = ...

Maximum number of results to return (default: 0 for all)

offset? ​

number = ...

Number of results to skip (default: 0)

Returns ​

Command<{ data: { limit?: number; offset?: number; }; }, { pageItems: object[]; totalFilteredRecords: number; }>

Command object that executes the API request and returns card products list

Example ​

typescript
// Get all card products
const command = ListCardProduct();
const result = await client.request(command);

// Get card products with pagination
const paginatedCommand = ListCardProduct({ limit: 10, offset: 0 });
const paginatedResult = await client.request(paginatedCommand);

Released under the MIT License.