Skip to content

JusPaySavedCardToken

Type: schema

TypeScript Definition

typescript
JusPaySavedCardToken: {components["schemas"]["JusPayExpressCheckoutCommonField"] & {
            /** @description Whether to save the card to the locker. If true, the card will be saved to the locker and can be used for future payments as per RBI regulations. */
            save_to_locker: boolean
}

Component References

ReferenceResolves To
components["schemas"]["JusPayExpressCheckoutCommonField"]JusPayExpressCheckoutCommonField

OpenAPI Schema

json
{
  "title": "JusPaySavedCardToken",
  "externalDocs": {
    "url": "https://llm-docs.commercengine.io/storefront/schemas/JusPaySavedCardToken",
    "description": "API reference for the JusPaySavedCardToken schema"
  },
  "allOf": [
    {
      "$ref": "#/components/schemas/JusPayExpressCheckoutCommonField"
    },
    {
      "type": "object",
      "properties": {
        "save_to_locker": {
          "description": "Whether to save the card to the locker. If true, the card will be saved to the locker and can be used for future payments as per RBI regulations.",
          "type": "boolean"
        },
        "payment_method_type": {
          "type": "string",
          "const": "CARD"
        },
        "payment_method": {
          "description": "Payment method of the card. Please check which payment method is supported by the gateway.",
          "type": "string",
          "enum": [
            "VISA",
            "MASTER",
            "RUPAY",
            "AMEX",
            "DINERS",
            "DISCOVER",
            "JCB",
            "MAESTRO"
          ]
        },
        "card_token": {
          "description": "Token of the card. This is the token that is used to identify the card in the gateway.",
          "type": "string"
        },
        "card_security_code": {
          "description": "Security code of the card. This is the security code that is used to identify the card in the gateway.",
          "type": "string"
        }
      },
      "required": [
        "save_to_locker",
        "payment_method_type",
        "payment_method",
        "card_token",
        "card_security_code"
      ]
    }
  ]
}

Auto-generated from OpenAPI spec and TypeScript definitions

Last updated: