PayuPaymentMethod
Type: schema
TypeScript Definition
typescript
PayuPaymentMethod: {{
id: string;
name: string;
payment_instructions?: string | null;
type: string;
payment_provider_slug: string;
details: {
code: string;
is_subscription_enabled: boolean;
options: {
bankcode: string;
icon_url: string;
is_subscription_enabled: boolean;
name: string;
pg: string;
}[];
payment_method: string;
}[];
order_params?: Record<string, never>;
};
/** PayWithCard */
}OpenAPI Schema
json
{
"title": "PayuPaymentMethod",
"type": "object",
"externalDocs": {
"url": "https://llm-docs.commercengine.io/storefront/schemas/PayuPaymentMethod",
"description": "API reference for the PayuPaymentMethod schema"
},
"required": [
"id",
"name",
"type",
"payment_provider_slug",
"details"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"payment_instructions": {
"type": [
"string",
"null"
]
},
"type": {
"type": "string"
},
"payment_provider_slug": {
"type": "string"
},
"details": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"is_subscription_enabled",
"options",
"payment_method"
],
"properties": {
"code": {
"type": "string"
},
"is_subscription_enabled": {
"type": "boolean"
},
"options": {
"type": "array",
"items": {
"type": "object",
"required": [
"bankcode",
"icon_url",
"is_subscription_enabled",
"name",
"pg"
],
"properties": {
"bankcode": {
"type": "string"
},
"icon_url": {
"type": "string"
},
"is_subscription_enabled": {
"type": "boolean"
},
"name": {
"type": "string"
},
"pg": {
"type": "string"
}
}
}
},
"payment_method": {
"type": "string"
}
}
}
},
"order_params": {
"type": "object"
}
}
}Auto-generated from OpenAPI spec and TypeScript definitions