Skip to content

@mbanq/core-sdk-js v0.50.0


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

Function: ActivatePhysicalCard()

ActivatePhysicalCard(cardId, expiryDate?): Command<{ cardId: number; }, { cardToken?: string; clientId?: number; id: number; resourceId?: number; }>

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

Activate a physical card

Activates a physical card that has been issued but not yet activated. This is typically required when a customer receives their physical card and needs to activate it.

Parameters

cardId

number

The unique identifier of the physical card to activate

expiryDate?

string

Returns

Command<{ cardId: number; }, { cardToken?: string; clientId?: number; id: number; resourceId?: number; }>

Command object that executes the API request and returns activation details

Example

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

Released under the MIT License.