Lithic · Schema
Fleet Info
Optional Object containing information if the Card is a part of a Fleet managed program
FinTechBaaSCard IssuingPaymentsEmbedded Finance
Properties
| Name | Type | Description |
|---|---|---|
| driver_number | object | |
| vehicle_number | object | |
| fleet_restriction_code | string | Code indicating which restrictions, if any, there are on purchase. This is configured at a program level and is a static configuration, and does not change on a request to request basis |
| fleet_prompt_code | string | Code indicating what the driver was prompted to enter at time of purchase. This is configured at a program level and is a static configuration, and does not change on a request to request basis |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/asa_request_fleet_info",
"title": "Fleet Info",
"description": "Optional Object containing information if the Card is a part of a Fleet managed program",
"type": [
"object",
"null"
],
"properties": {
"driver_number": {
"oneOf": [
{
"type": "null",
"description": "Driver Number was not provided as part of the transaction "
},
{
"type": "string",
"description": "Number representing the driver"
}
]
},
"vehicle_number": {
"oneOf": [
{
"type": "null",
"description": "Vehicle Number was not provided as part of the transaction"
},
{
"type": "string",
"description": "Number associated with the vehicle"
}
]
},
"fleet_restriction_code": {
"type": "string",
"description": "Code indicating which restrictions, if any, there are on purchase. This is configured at a program level and is a static configuration, and does not change on a request to request basis",
"enum": [
"NO_RESTRICTIONS",
"FUEL_ONLY"
]
},
"fleet_prompt_code": {
"type": "string",
"description": "Code indicating what the driver was prompted to enter at time of purchase. This is configured at a program level and is a static configuration, and does not change on a request to request basis",
"enum": [
"NO_PROMPT",
"VEHICLE_NUMBER",
"DRIVER_NUMBER"
]
}
},
"required": [
"fleet_restriction_code",
"fleet_prompt_code"
]
}