Skip to content

JusPayExpressCheckoutCommonField ​

Type: schema

TypeScript Definition ​

typescript
JusPayExpressCheckoutCommonField: {{
            /** @description The slug of the payment provider in Commerce Engine. */
            payment_provider_slug: string;
            /** @constant */
            integration_type: "express-checkout";
            /** @description The reference ID of the payment gateway. When provided, payments will always be routed through this gateway. */
            gateway_reference_id?: string;
            /**
             * Format: uri
             * @description Return URL using http, https, ftp or ftps. App-specific URI schemes are not accepted.
             */
            return_url: string;
            /** @default false */
            get_client_auth_token: boolean;
            /** @default true */
            redirect_after_payment: boolean;
            /** @default true */
            sdk_params: boolean;
            /** @default OTP */
            auth_type: string;
        };
        /** JusPayExpressCheckoutResponse */
}

OpenAPI Schema ​

json
{
  "title": "JusPayExpressCheckoutCommonField",
  "type": "object",
  "externalDocs": {
    "url": "https://llm-docs.commercengine.io/storefront/schemas/JusPayExpressCheckoutCommonField",
    "description": "API reference for the JusPayExpressCheckoutCommonField schema"
  },
  "required": [
    "payment_provider_slug",
    "integration_type",
    "return_url"
  ],
  "properties": {
    "payment_provider_slug": {
      "description": "The slug of the payment provider in Commerce Engine.",
      "type": "string"
    },
    "integration_type": {
      "type": "string",
      "const": "express-checkout"
    },
    "gateway_reference_id": {
      "description": "The reference ID of the payment gateway. When provided, payments will always be routed through this gateway.",
      "type": "string",
      "minLength": 1,
      "pattern": "\\S"
    },
    "return_url": {
      "description": "Return URL using http, https, ftp or ftps. App-specific URI schemes are not accepted.",
      "type": "string",
      "format": "uri",
      "pattern": "^(?:[hH][tT][tT][pP][sS]?|[fF][tT][pP][sS]?)://"
    },
    "get_client_auth_token": {
      "type": "boolean",
      "default": false
    },
    "redirect_after_payment": {
      "type": "boolean",
      "default": true
    },
    "sdk_params": {
      "type": "boolean",
      "default": true
    },
    "auth_type": {
      "type": "string",
      "default": "OTP"
    }
  }
}

Auto-generated from OpenAPI spec and TypeScript definitions

Last updated: