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: {
authentication?: {
/** @constant */
method: "GET";
/** Format: uri */
url: string;
/** @description Available only when Direct OTP is enabled for the card; otherwise this object is absent. */
params?: {
card_issuer_bank_name?: string;
/** @description This field is used as txn_id in Verify Direct OTP and Resend Direct OTP endpoints payload. */
id?: string;
fallback_url?: string;
/** @description This field is required in Verify Direct OTP and Resend Direct OTP endpoints. */
challenge_id?: string;
/** @description This field is used to decide whether API request can be sent to Resend OTP API or not. */
resend_otp_allowed?: boolean;
auth_type?: string;
/** @description This field is used to decide whether OTP can be verified using Authenticate Direct OTP API or not. */
submit_otp_allowed?: boolean;
card_isin?: 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"
},
"required": [
"txn_id",
"txn_uuid",
"status",
"order_id",
"juspay",
"offer_details",
"payment"
],
"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"
}
}
},
"required": [
"offers"
]
},
"payment": {
"type": "object",
"properties": {
"authentication": {
"type": "object",
"properties": {
"method": {
"type": "string",
"const": "GET"
},
"url": {
"type": "string",
"format": "uri"
},
"params": {
"description": "Available only when Direct OTP is enabled for the card; otherwise this object is absent.",
"type": "object",
"properties": {
"card_issuer_bank_name": {
"type": "string"
},
"id": {
"description": "This field is used as txn_id in Verify Direct OTP and Resend Direct OTP endpoints payload.",
"type": "string"
},
"fallback_url": {
"type": "string"
},
"challenge_id": {
"description": "This field is required in Verify Direct OTP and Resend Direct OTP endpoints.",
"type": "string"
},
"resend_otp_allowed": {
"description": "This field is used to decide whether API request can be sent to Resend OTP API or not.",
"type": "boolean"
},
"auth_type": {
"type": "string"
},
"submit_otp_allowed": {
"description": "This field is used to decide whether OTP can be verified using Authenticate Direct OTP API or not.",
"type": "boolean"
},
"card_isin": {
"type": "string"
}
}
}
},
"required": [
"method",
"url"
]
}
}
}
}
}Auto-generated from OpenAPI spec and TypeScript definitions