Skip to content

@mbanq/core-sdk-js v0.50.0


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

Function: GetCardImageUrl()

GetCardImageUrl(cardId): Command<{ cardId: number; }, { imageUrl: string; }>

Defined in: src/commands/rest/card.ts:226

Get card image URL

Retrieves the URL for the card's visual representation/image. Useful for displaying card images in user interfaces.

Parameters

cardId

number

The unique identifier of the card

Returns

Command<{ cardId: number; }, { imageUrl: string; }>

Command object that executes the API request and returns image URL

Example

typescript
const command = GetCardImageUrl(67890);
const response = await client.request(command);

Released under the MIT License.