Skip to content

JusPayNewCard

Type: schema

TypeScript Definition

typescript
JusPayNewCard: {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": "JusPayNewCard",
  "externalDocs": {
    "url": "https://llm-docs.commercengine.io/storefront/schemas/JusPayNewCard",
    "description": "API reference for the JusPayNewCard 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"
        },
        "card_number": {
          "type": "string"
        },
        "card_exp_month": {
          "type": "string"
        },
        "card_exp_year": {
          "type": "string"
        },
        "name_on_card": {
          "type": "string"
        },
        "card_security_code": {
          "type": "string"
        }
      },
      "required": [
        "save_to_locker",
        "payment_method_type",
        "card_number",
        "card_exp_month",
        "card_exp_year",
        "name_on_card",
        "card_security_code"
      ]
    }
  ]
}

Auto-generated from OpenAPI spec and TypeScript definitions

Last updated: