CardPayment
Type: schema
Description
Payments using credit card, debit card
TypeScript Definition
typescript
CardPayment: {components["schemas"]["PaymentInfo"] & {
/**
* @description masked card number
* e.g. ************1111
*/
card_number?: string | null
}Component References
| Reference | Resolves To |
|---|---|
components["schemas"]["PaymentInfo"] | PaymentInfo |
OpenAPI Schema
json
{
"description": "Payments using credit card, debit card",
"allOf": [
{
"$ref": "#/components/schemas/PaymentInfo"
},
{
"type": "object",
"properties": {
"card_number": {
"description": "masked card number\r\ne.g. ************1111",
"type": [
"string",
"null"
]
},
"card_type": {
"description": "The card's type, as the store's payment methods name it, e.g. `Visa`, `Rupay`.",
"type": [
"string",
"null"
]
}
}
}
],
"externalDocs": {
"url": "https://llm-docs.commercengine.io/storefront/schemas/CardPayment",
"description": "API reference for the CardPayment schema"
},
"title": "CardPayment"
}Auto-generated from OpenAPI spec and TypeScript definitions