Skip to content

@mbanq/core-sdk-js v0.50.0


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

Function: BlockAcquiredCardAddition()

BlockAcquiredCardAddition(clientId, params): Command<{ clientId: number; params: { reason: string; }; }, { clientId: number; data: { reason: string; }; id: number; resourceId: number; }>

Defined in: src/commands/rest/acquiredCard.ts:143

Blocks the addition of acquired cards from external sources for a client

Parameters

clientId

number

The unique identifier of the client

params

reason

string = ...

The reason for blocking card addition

Returns

Command<{ clientId: number; params: { reason: string; }; }, { clientId: number; data: { reason: string; }; id: number; resourceId: number; }>

Command object that executes the API request and returns the updated block status

Example

typescript
const command = BlockAcquiredCardAddition(12345, {reason: 'Fraud suspected'});
const result = await client.request(command);

Released under the MIT License.