AdminOrderPayment
Type: schema
Description
Order payment. Each array entry matches one method-specific shape; only fields for that method are present (for example card_number on card payments, bank_name on bank transfer).
TypeScript Definition
typescript
AdminOrderPayment: components["schemas"]["AdminCardPayment"] | components["schemas"]["AdminBankTransfer"] | components["schemas"]["AdminNetbankingPayment"] | components["schemas"]["AdminUpiPayment"] | components["schemas"]["AdminWalletPayment"] | components["schemas"]["LoyaltyPointPayment"] | components["schemas"]["OrderPaymentCommonOnly"]Component References
| Reference | Resolves To |
|---|---|
components["schemas"]["AdminCardPayment"] | AdminCardPayment |
components["schemas"]["AdminBankTransfer"] | AdminBankTransfer |
components["schemas"]["AdminNetbankingPayment"] | AdminNetbankingPayment |
components["schemas"]["AdminUpiPayment"] | AdminUpiPayment |
components["schemas"]["AdminWalletPayment"] | AdminWalletPayment |
components["schemas"]["LoyaltyPointPayment"] | LoyaltyPointPayment |
components["schemas"]["OrderPaymentCommonOnly"] | OrderPaymentCommonOnly |
OpenAPI Schema
json
{
"description": "Order payment. Each array entry matches one method-specific shape; only fields for that method are present (for example `card_number` on card payments, `bank_name` on bank transfer).",
"oneOf": [
{
"$ref": "#/components/schemas/AdminCardPayment"
},
{
"$ref": "#/components/schemas/AdminBankTransfer"
},
{
"$ref": "#/components/schemas/AdminNetbankingPayment"
},
{
"$ref": "#/components/schemas/AdminUpiPayment"
},
{
"$ref": "#/components/schemas/AdminWalletPayment"
},
{
"$ref": "#/components/schemas/LoyaltyPointPayment"
},
{
"$ref": "#/components/schemas/OrderPaymentCommonOnly"
}
],
"title": "OrderPayment",
"x-tags": [
"Orders"
]
}Auto-generated from OpenAPI spec and TypeScript definitions