CardPayment
Type: schema
Description
Payments using credit card, debit card
TypeScript Definition
typescript
CardPayment: {components["schemas"]["OrderPaymentInfo"] & {
/** @description masked card number
* e.g. ************1111 */
card_number?: string
}Component References
| Reference | Resolves To |
|---|---|
components["schemas"]["OrderPaymentInfo"] | OrderPaymentInfo |
OpenAPI Schema
json
{
"description": "Payments using credit card, debit card",
"allOf": [
{
"$ref": "#/components/schemas/OrderPaymentInfo"
},
{
"type": "object",
"properties": {
"card_number": {
"description": "masked card number\r\ne.g. ************1111",
"type": "string"
},
"card_type": {
"enum": [
"Visa",
"Master Card",
"Rupay"
]
}
}
}
],
"title": "CardPayment"
}Auto-generated from OpenAPI spec and TypeScript definitions