@mbanq/core-sdk-js / commands / SetPIN
Function: SetPIN()
SetPIN(
cardId):Command<{cardId:number; }, {clientId:number;data:string;id:number;resourceId:number; }>
Defined in: src/commands/rest/card.ts:594
Request PIN change URL
Generates a secure URL that allows the cardholder to change their card PIN. The cardholder will be redirected to a secure portal to set a new PIN.
Parameters
cardId
number
The unique identifier of the card
Returns
Command<{ cardId: number; }, { clientId: number; data: string; id: number; resourceId: number; }>
Command object that executes the API request and returns PIN change URL
Example
typescript
const command = SetPIN(67890);
const result = await client.request(command);