Skip to content

JuspayCardPaymentMethod ​

Type: schema

TypeScript Definition ​

typescript
JuspayCardPaymentMethod: {{
            description: string;
            payment_method: string;
            /** @constant */
            payment_method_type: "CARD";
            pm_response_description: string;
            supported_reference_ids: string[];
            validations: {
                refund_support: boolean;
            };
            juspay_bank_code?: string;
            juspay_bank_code_id?: number;
        };
        /** JusPayExpressCheckout */
}

OpenAPI Schema ​

json
{
  "title": "JuspayCardPaymentMethod",
  "type": "object",
  "externalDocs": {
    "url": "https://llm-docs.commercengine.io/storefront/schemas/JuspayCardPaymentMethod",
    "description": "API reference for the JuspayCardPaymentMethod schema"
  },
  "required": [
    "description",
    "payment_method",
    "payment_method_type",
    "pm_response_description",
    "supported_reference_ids",
    "validations"
  ],
  "properties": {
    "description": {
      "type": "string"
    },
    "payment_method": {
      "type": "string"
    },
    "payment_method_type": {
      "type": "string",
      "const": "CARD"
    },
    "pm_response_description": {
      "type": "string"
    },
    "supported_reference_ids": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "validations": {
      "type": "object",
      "properties": {
        "refund_support": {
          "type": "boolean"
        }
      },
      "required": [
        "refund_support"
      ]
    },
    "juspay_bank_code": {
      "type": "string"
    },
    "juspay_bank_code_id": {
      "type": "integer"
    }
  }
}

Auto-generated from OpenAPI spec and TypeScript definitions

Last updated: