@mbanq/core-sdk-js / commands / GetAcquiredCardById
Function: GetAcquiredCardById()
GetAcquiredCardById(
params):Command<{acquiredCardId:number;clientId:number; }, {avsVerified:boolean;cardType:string;countryCode:string;createdAt:string;currencyCode:string;deleted:boolean;expiryDate:string;externalId:string;financialInstitution:string;fullName:string;id:number;isRegulated:boolean;lastDigits:string;network:string;pullEnabled:boolean;pushEnabled:boolean;pushFundAvailability:string;referenceId:string;status:string;updatedAt:string; }>
Defined in: src/commands/rest/acquiredCard.ts:72
Get acquired card by ID
Retrieves detailed information for a specific acquired/external card using its unique identifier. This endpoint allows you to fetch specific information related to an acquired card based on the card ID, including all card details such as network, type, status, and configuration settings.
Parameters
params
acquiredCardId
number = ...
The unique identifier of the acquired card to retrieve
clientId
number = ...
The unique identifier of the client who owns the acquired card
Returns
Command<{ acquiredCardId: number; clientId: number; }, { avsVerified: boolean; cardType: string; countryCode: string; createdAt: string; currencyCode: string; deleted: boolean; expiryDate: string; externalId: string; financialInstitution: string; fullName: string; id: number; isRegulated: boolean; lastDigits: string; network: string; pullEnabled: boolean; pushEnabled: boolean; pushFundAvailability: string; referenceId: string; status: string; updatedAt: string; }>
Command object that executes the API request and returns acquired card details
Example
const command = GetAcquiredCardById({clientId: 12345, acquiredCardId: 12345});
const acquiredCard = await client.request(command);