/**
 * PayPal Server SDKLib
 *
 * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
 */

import { object, optional, Schema, string } from '../schema';

/** Customizes the payer experience during the 3DS Approval for payment. */
export interface CardExperienceContext {
  /** Describes the URL. */
  returnUrl?: string;
  /** Describes the URL. */
  cancelUrl?: string;
}

export const cardExperienceContextSchema: Schema<CardExperienceContext> = object(
  {
    returnUrl: ['return_url', optional(string())],
    cancelUrl: ['cancel_url', optional(string())],
  }
);
