@paciolan/cybersource-sdk
Version:
CyberSource REST API Typescript SDK
44 lines (43 loc) • 1.56 kB
TypeScript
/**
* CyberSource Merged Spec
* All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
*
* OpenAPI spec version: 0.0.1
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
import { Microformv2sessionsCheckoutApiInitialization } from './microformv2sessions-checkout-api-initialization';
/**
* This is a server-to-server API request to generate the capture context that can be used to initiate instance of microform on a acceptance page. The capture context is a digitally signed JWT that provides authentication, one-time keys, and the target origin to the Microform Integration application.
* @export
* @interface V2SessionsBody
*/
export interface V2SessionsBody {
/**
* The merchant origin domain (e.g. https://example.com) used to initiate microform Integration. Required to comply with CORS and CSP standards.
* @type {Array<string>}
* @memberof V2SessionsBody
*/
targetOrigins?: Array<string>;
/**
*
* @type {Array<string>}
* @memberof V2SessionsBody
*/
allowedCardNetworks?: Array<string>;
/**
*
* @type {string}
* @memberof V2SessionsBody
*/
clientVersion?: string;
/**
*
* @type {Microformv2sessionsCheckoutApiInitialization}
* @memberof V2SessionsBody
*/
checkoutApiInitialization?: Microformv2sessionsCheckoutApiInitialization;
}