Skip to content

JusPayExpressCheckoutResponse

Type: schema

TypeScript Definition

typescript
JusPayExpressCheckoutResponse: {{
            txn_id?: string;
            txn_uuid?: string;
            status?: string;
            order_id?: string;
            juspay?: {
                client_auth_token?: string;
                client_auth_token_expiry?: string;
            };
            offer_details?: {
                offers?: Record<string, never>[];
            };
            payment?: {
                sdk_params?: {
                    mam?: string;
                    tr?: string;
                    merchant_vpa?: string;
                    customer_first_name?: string;
                    customer_last_name?: string;
                    tn?: string;
                    mcc?: string;
                    merchant_name?: string;
                    currency?: string;
                    amount?: string;
                };
            } | null;
            /** Format: date-time */
            order_expiry?: string;
        };
        /** JusPayHyperCheckout */
}

OpenAPI Schema

json
{
  "title": "JusPayExpressCheckoutResponse",
  "type": "object",
  "externalDocs": {
    "url": "https://llm-docs.commercengine.io/storefront/schemas/JusPayExpressCheckoutResponse",
    "description": "API reference for the JusPayExpressCheckoutResponse schema"
  },
  "properties": {
    "txn_id": {
      "type": "string"
    },
    "txn_uuid": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "order_id": {
      "type": "string"
    },
    "juspay": {
      "type": "object",
      "properties": {
        "client_auth_token": {
          "type": "string"
        },
        "client_auth_token_expiry": {
          "type": "string"
        }
      }
    },
    "offer_details": {
      "type": "object",
      "properties": {
        "offers": {
          "type": "array",
          "items": {
            "type": "object"
          }
        }
      }
    },
    "payment": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "sdk_params": {
          "type": "object",
          "properties": {
            "mam": {
              "type": "string"
            },
            "tr": {
              "type": "string"
            },
            "merchant_vpa": {
              "type": "string"
            },
            "customer_first_name": {
              "type": "string"
            },
            "customer_last_name": {
              "type": "string"
            },
            "tn": {
              "type": "string"
            },
            "mcc": {
              "type": "string"
            },
            "merchant_name": {
              "type": "string"
            },
            "currency": {
              "type": "string"
            },
            "amount": {
              "type": "string"
            }
          }
        }
      }
    },
    "order_expiry": {
      "type": "string",
      "format": "date-time"
    }
  }
}

Auto-generated from OpenAPI spec and TypeScript definitions

Last updated: