@mbanq/core-sdk-js / commands / GetAcquiredCardPublicKey
Function: GetAcquiredCardPublicKey()
GetAcquiredCardPublicKey():
Command<undefined, {expiration:string;key:string;keyID:string; }>
Defined in: src/commands/rest/acquiredCard.ts:261
Gets the public key for acquired card encryption
Retrieves the public key used for encrypting acquired card data. This key is typically used to encrypt sensitive card information before adding it to the system, ensuring secure data transmission and storage.
Returns
Command<undefined, { expiration: string; key: string; keyID: string; }>
Command object that executes the API request and returns the public key
Example
typescript
const command = GetAcquiredCardPublicKey();
const publicKey = await client.request(command);