UNPKG

card-management-sdk

Version:

The Shell Card Management API is REST-based and employs OAUTH 2.0,Basic and ApiKey authentication. The API endpoints accept JSON-encoded request bodies, return JSON-encoded responses and use standard HTTP response codes. All resources are located in the S

56 lines (55 loc) 2.09 kB
/** * Shell Card Management APIsLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { Schema } from '../schema'; import { CreateCardGroupRequestCardsItems } from './createCardGroupRequestCardsItems'; export interface CreateCardGroupRequest { /** * Collecting Company Code (Shell Code) of the selected payer. * Mandatory for serviced OUs such as Romania, Latvia, Lithuania, Estonia, Ukraine etc. It is optional for other countries if ColCoID is provided. * Example: * 86-Philippines * 5-UK */ colCoCode?: number; /** * Collecting Company Id of the selected payer. * Optional if ColCoCode is passed else Mandatory. * Example: * 1-Philippines * 5-UK */ colCoId?: number; /** * Payer Number of the selected payer. * Optional if PayerId is passed else Mandatory */ payerNumber?: string; /** * Payer Id (i.e., Customer Id of the Payment Customer in H3 Cards Platform) of the selected payer. * Optional if PayerNumber is passed else Mandatory */ payerId?: number; /** * Account ID of the customer. * Optional if AccountNumber is passed else Mandatory. */ accountId?: number; /** * Account Number of the customer. * Optional if AccountId is passed else Mandatory. */ accountNumber?: string; /** Whether card group name to be embossed on the cards or not. */ printOnCard?: boolean; cardGroupName?: string | null; /** * List of cards to be moved to the new card group. This list is optional – no card will be moved to the new card group when the list is empty. * The fields of Card entity are described in the below rows. * The maximum number of cards allowed to be moved in a request is 500 (configurable). The whole request including the card group creation will be rejected when the limit is exceeded. */ cards?: CreateCardGroupRequestCardsItems[]; } export declare const createCardGroupRequestSchema: Schema<CreateCardGroupRequest>;