Skip to content

@mbanq/core-sdk-js v0.50.0


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

Function: TerminateCard()

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

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

Terminate a card

Permanently terminates a card, making it unusable for any transactions. This action is irreversible and the card cannot be reactivated after termination. Use this when a card should be completely removed from service.

Parameters

cardId

number

The unique identifier of the card to terminate

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 termination details

Example

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

Released under the MIT License.