LegacyRetryPaymentParams
Type: schema
Description
Deprecated payment gateway parameters. Prefer payment_method.
TypeScript Definition
typescript
LegacyRetryPaymentParams: {{
/** @constant */
payment_gateway: "PAYU";
/**
* Format: uri
* @description Return URL using http, https, ftp or ftps. App-specific URI schemes are not accepted.
*/
furl: string;
/**
* Format: uri
* @description Return URL using http, https, ftp or ftps. App-specific URI schemes are not accepted.
*/
surl: string;
} | {
/** @constant */
payment_gateway: "JUSPAY";
/** @enum {string} */
action: "paymentPage" | "paymentManagement";
/** @enum {string} */
integration_type: "hyper-checkout" | "express-checkout";
gateway_reference_id: string;
/**
* Format: uri
* @description Return URL using http, https, ftp or ftps. App-specific URI schemes are not accepted.
*/
return_url: string;
};
/** ListAttribute */
}OpenAPI Schema
json
{
"description": "Deprecated payment gateway parameters. Prefer payment_method.",
"externalDocs": {
"url": "https://llm-docs.commercengine.io/admin-pos/schemas/LegacyRetryPaymentParams"
},
"oneOf": [
{
"type": "object",
"properties": {
"payment_gateway": {
"type": "string",
"const": "PAYU"
},
"furl": {
"description": "Return URL using http, https, ftp or ftps. App-specific URI schemes are not accepted.",
"type": "string",
"format": "uri",
"pattern": "^(?:[hH][tT][tT][pP][sS]?|[fF][tT][pP][sS]?)://"
},
"surl": {
"description": "Return URL using http, https, ftp or ftps. App-specific URI schemes are not accepted.",
"type": "string",
"format": "uri",
"pattern": "^(?:[hH][tT][tT][pP][sS]?|[fF][tT][pP][sS]?)://"
}
},
"required": [
"payment_gateway",
"furl",
"surl"
]
},
{
"type": "object",
"properties": {
"payment_gateway": {
"type": "string",
"const": "JUSPAY"
},
"action": {
"type": "string",
"enum": [
"paymentPage",
"paymentManagement"
]
},
"integration_type": {
"type": "string",
"enum": [
"hyper-checkout",
"express-checkout"
]
},
"gateway_reference_id": {
"type": "string",
"minLength": 1,
"pattern": "\\S"
},
"return_url": {
"description": "Return URL using http, https, ftp or ftps. App-specific URI schemes are not accepted.",
"type": "string",
"format": "uri",
"pattern": "^(?:[hH][tT][tT][pP][sS]?|[fF][tT][pP][sS]?)://"
}
},
"required": [
"payment_gateway",
"action",
"integration_type",
"gateway_reference_id",
"return_url"
]
}
],
"title": "LegacyRetryPaymentParams"
}Auto-generated from OpenAPI spec and TypeScript definitions