JuspayCardPaymentMethod
Type: schema
TypeScript Definition
typescript
JuspayCardPaymentMethod: {{
description: string;
/** @enum {string} */
payment_method: "VISA" | "MASTER" | "RUPAY";
/**
* @description discriminator enum property added by openapi-typescript
* @enum {string}
*/
payment_method_type: "CARD";
pm_response_description: string;
supported_reference_ids: string[];
validations: {
refund_support: boolean;
};
};
/** JuspayCreateCustomerPayload */
}OpenAPI Schema
json
{
"title": "JuspayCardPaymentMethod",
"type": "object",
"externalDocs": {
"url": "https://llm-docs.commercengine.io/storefront/schemas/JuspayCardPaymentMethod",
"description": "API reference for the JuspayCardPaymentMethod schema"
},
"required": [
"description",
"payment_method",
"payment_method_type",
"pm_response_description",
"supported_reference_ids",
"validations"
],
"properties": {
"description": {
"type": "string"
},
"payment_method": {
"type": "string",
"enum": [
"VISA",
"MASTER",
"RUPAY"
]
},
"payment_method_type": {
"type": "string",
"const": "CARD"
},
"pm_response_description": {
"type": "string"
},
"supported_reference_ids": {
"type": "array",
"items": {
"type": "string"
}
},
"validations": {
"type": "object",
"properties": {
"refund_support": {
"type": "boolean"
}
},
"required": [
"refund_support"
]
}
}
}Auto-generated from OpenAPI spec and TypeScript definitions