Otter · Schema
PaymentDetailsCard
Details of a card payment method.
RestaurantOrder ManagementDeliveryOnline OrderingMenu ManagementAnalytics
Properties
| Name | Type | Description |
|---|---|---|
| brandType | object | |
| expiration | object | |
| fundingType | object | |
| walletType | object | |
| lastFour | string | The last four digits of the card. |
| walletLastFour | string | The last four digits of the wallet account. |
| authorizationCode | string | The authorization code for the card. |
| applicationPreferredName | string | The preferred name of the application. |
| fingerprint | string | The fingerprint of the card. |
| readMethod | string | The method used to read the card. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "PaymentDetailsCard",
"description": "Details of a card payment method.",
"$id": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-payment-details-card-schema.json",
"type": "object",
"properties": {
"brandType": {
"$ref": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-card-brand-type-schema.json"
},
"expiration": {
"type": "object",
"properties": {
"year": {
"type": "integer",
"description": "The expiration year of the card.",
"example": 2025
},
"month": {
"type": "integer",
"description": "The expiration month of the card.",
"example": 12
}
}
},
"fundingType": {
"$ref": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-card-funding-type-schema.json"
},
"walletType": {
"$ref": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-card-wallet-type-schema.json"
},
"lastFour": {
"type": "string",
"description": "The last four digits of the card.",
"example": "1234"
},
"walletLastFour": {
"type": "string",
"description": "The last four digits of the wallet account.",
"example": "5678"
},
"authorizationCode": {
"type": "string",
"description": "The authorization code for the card.",
"example": "auth_code_123"
},
"applicationPreferredName": {
"type": "string",
"description": "The preferred name of the application.",
"example": "MyApp"
},
"fingerprint": {
"type": "string",
"description": "The fingerprint of the card.",
"example": "fingerprint_abc123"
},
"readMethod": {
"type": "string",
"description": "The method used to read the card.",
"example": "chip"
}
}
}