UNPKG

@paciolan/cybersource-sdk

Version:
75 lines (74 loc) 6.19 kB
/** * 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 { AxiosResponse, AxiosInstance, AxiosRequestConfig } from 'axios'; import { Configuration } from '../configuration'; import { RequestArgs, BaseAPI } from '../base'; import { V2SessionsBody } from '../models'; /** * MicroformIntegrationApi - axios parameter creator * @export */ export declare const MicroformIntegrationApiAxiosParamCreator: (configuration?: Configuration) => { /** * This API is used to generate the Capture Context data structure for the Microform Integration. Microform is a browser-based acceptance solution that allows a seller to capture payment information is a secure manner from their website. For more information about Flex Microform transactions, see the [Flex Developer Guides Page](https://developer.cybersource.com/api/developer-guides/dita-flex/SAFlexibleToken.html). For examples on how to integrate Flex Microform within your webpage please see our [GitHub Flex Samples](https://github.com/CyberSource?q=flex&type=&language=) This API is a server-to-server API 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. * @summary Generate Capture Context * @param {V2SessionsBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ generateCaptureContext: (body: V2SessionsBody, options?: AxiosRequestConfig & Configuration) => Promise<RequestArgs>; }; /** * MicroformIntegrationApi - functional programming interface * @export */ export declare const MicroformIntegrationApiFp: (configuration?: Configuration) => { /** * This API is used to generate the Capture Context data structure for the Microform Integration. Microform is a browser-based acceptance solution that allows a seller to capture payment information is a secure manner from their website. For more information about Flex Microform transactions, see the [Flex Developer Guides Page](https://developer.cybersource.com/api/developer-guides/dita-flex/SAFlexibleToken.html). For examples on how to integrate Flex Microform within your webpage please see our [GitHub Flex Samples](https://github.com/CyberSource?q=flex&type=&language=) This API is a server-to-server API 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. * @summary Generate Capture Context * @param {V2SessionsBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ generateCaptureContext(body: V2SessionsBody, options?: AxiosRequestConfig & Configuration): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<string>>>; }; /** * MicroformIntegrationApi - factory interface * @export */ export declare const MicroformIntegrationApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * This API is used to generate the Capture Context data structure for the Microform Integration. Microform is a browser-based acceptance solution that allows a seller to capture payment information is a secure manner from their website. For more information about Flex Microform transactions, see the [Flex Developer Guides Page](https://developer.cybersource.com/api/developer-guides/dita-flex/SAFlexibleToken.html). For examples on how to integrate Flex Microform within your webpage please see our [GitHub Flex Samples](https://github.com/CyberSource?q=flex&type=&language=) This API is a server-to-server API 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. * @summary Generate Capture Context * @param {V2SessionsBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ generateCaptureContext(body: V2SessionsBody, options?: AxiosRequestConfig & Configuration): Promise<AxiosResponse<string>>; }; /** * MicroformIntegrationApi - object-oriented interface * @export * @class MicroformIntegrationApi * @extends {BaseAPI} */ export declare class MicroformIntegrationApi extends BaseAPI { /** * This API is used to generate the Capture Context data structure for the Microform Integration. Microform is a browser-based acceptance solution that allows a seller to capture payment information is a secure manner from their website. For more information about Flex Microform transactions, see the [Flex Developer Guides Page](https://developer.cybersource.com/api/developer-guides/dita-flex/SAFlexibleToken.html). For examples on how to integrate Flex Microform within your webpage please see our [GitHub Flex Samples](https://github.com/CyberSource?q=flex&type=&language=) This API is a server-to-server API 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. * @summary Generate Capture Context * @param {V2SessionsBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof MicroformIntegrationApi */ generateCaptureContext(body: V2SessionsBody, options?: AxiosRequestConfig & Configuration): Promise<AxiosResponse<string>>; }