Skip to content

PayWithPaymentGateway

Type: schema

TypeScript Definition

typescript
PayWithPaymentGateway: {{
            /** @constant */
            payment_mode: "PG";
            payment_gateway: components["schemas"]["PaymentGateway"];
            payment_gateway_params: components["schemas"]["PaymentGatewayParams"];
        };
        /** PayWithUPI */
}

Component References

ReferenceResolves To
components["schemas"]["PaymentGateway"]PaymentGateway
components["schemas"]["PaymentGatewayParams"]PaymentGatewayParams

OpenAPI Schema

json
{
  "title": "PayWithPaymentGateway",
  "type": "object",
  "externalDocs": {
    "url": "https://llm-docs.commercengine.io/storefront/schemas/PayWithPaymentGateway",
    "description": "API reference for the PayWithPaymentGateway schema"
  },
  "required": [
    "payment_mode",
    "payment_gateway",
    "payment_gateway_params"
  ],
  "properties": {
    "payment_mode": {
      "type": "string",
      "const": "PG"
    },
    "payment_gateway": {
      "$ref": "#/components/schemas/PaymentGateway"
    },
    "payment_gateway_params": {
      "$ref": "#/components/schemas/PaymentGatewayParams"
    }
  }
}

Auto-generated from OpenAPI spec and TypeScript definitions

Last updated: