Skip to content

@mbanq/core-sdk-js v0.50.0


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

Function: SuspendCard()

SuspendCard(cardId): Command<{ cardId: number; command: "TERMINATE" | "SUSPEND" | "REACTIVATE" | "ACTIVATE"; }, { cardToken: string; clientId: number; id: number; resourceId: number; }>

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

Suspend a card

Temporarily suspends a card, preventing it from being used for transactions. The card can be reactivated later using ReactivateCard or ActivateCard. Use this for temporary card holds or when investigating suspicious activity.

Parameters

cardId

number

The unique identifier of the card to suspend

Returns

Command<{ cardId: number; command: "TERMINATE" | "SUSPEND" | "REACTIVATE" | "ACTIVATE"; }, { cardToken: string; clientId: number; id: number; resourceId: number; }>

Command object that executes the API request and returns suspension details

Example

typescript
const command = SuspendCard(67890);
const result = await client.request(command);

Released under the MIT License.