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

67 lines (63 loc) 1.86 kB
/** * Shell Card Management APIsLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { number, object, optional, Schema, string } from '../schema.js'; export interface BudleDetailsRequest { /** * Collecting Company Id of the selected payer. * Optional if ColCoCode is passed else Mandatory. * Example: * 1 for Philippines * 5 for UK */ colCoId?: number; /** * 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 for Philippines * 5 for UK */ colCoCode?: number; /** * Payer Id of the selected payer. * Optional if PayerNumber is passed else Mandatory * Example: 123456 */ payerId?: number; /** * Payer Number of the selected payer. * Optional if PayerId is passed else Mandatory * Example: GB000000123 */ payerNumber?: string; /** * Account Id of the customer. * Optional if Account Number is passed else Mandatory * Example: 123456 */ accountId?: number; /** * Account Number of the customer. * Optional if Account Id is passed else Mandatory * Example: GB000000123 */ accountNumber?: string; /** * Bundle Id associated with account * Mandatory. * Example: 835662721 */ bundleId?: string; } export const budleDetailsRequestSchema: Schema<BudleDetailsRequest> = object({ colCoId: ['ColCoId', optional(number())], colCoCode: ['ColCoCode', optional(number())], payerId: ['PayerId', optional(number())], payerNumber: ['PayerNumber', optional(string())], accountId: ['AccountId', optional(number())], accountNumber: ['AccountNumber', optional(string())], bundleId: ['BundleId', optional(string())], });