Mastercard · Schema
TravelDetails
Travel Information, Applicable only if the client has a prepaid card.
Credit CardsDigital IdentityFinancial ServicesFraud DetectionOpen BankingPaymentsFortune 500
Properties
| Name | Type | Description |
|---|---|---|
| type | string | Indicates the purpose of travel for which the client will be using the card. For example, medical reasons, cultural trip, and business trip and so on. Valid values are as configured on portal in |
| startDate | string | Start date of the planned travel. **Conditional Mandatory*** field - Required if travel type is provided. Format - It is expressed in ISO 8601 - `YYYY-MM-DD` |
| endDate | string | End date of the planned travel. **Conditional Mandatory*** field - Required if travel type is provided. Format - It is expressed in ISO 8601 - `YYYY-MM-DD` |
| country | string | Country Code where client is traveling to. Expressed as a 2-letter (Alpha-2) country code as defined in ISO 3166. **Conditional Mandatory*** field - Required if t |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "TravelDetails",
"type": "object",
"description": "Travel Information, Applicable only if the client has a prepaid card.",
"properties": {
"type": {
"type": "string",
"description": "Indicates the purpose of travel for which the client will be using the card. For example, medical reasons, cultural trip, and business trip and so on. <BR/> Valid values are as configured on portal in Card Management > Program Setup >Travel Type Configuration section. <BR/> This field is required if configured as **Business Mandatory**<font color='red'>* </font>."
},
"startDate": {
"type": "string",
"description": "Start date of the planned travel. <BR/> **Conditional Mandatory**<font color='red'>* </font> field - Required if travel type is provided. <br/> Format - It is expressed in ISO 8601 - `YYYY-MM-DD`"
},
"endDate": {
"type": "string",
"description": "End date of the planned travel. <BR/> **Conditional Mandatory**<font color='red'>* </font> field - Required if travel type is provided. <br/> Format - It is expressed in ISO 8601 - `YYYY-MM-DD`"
},
"country": {
"type": "string",
"description": "Country Code where client is traveling to. <BR/> Expressed as a 2-letter (Alpha-2) country code as defined in ISO 3166. <BR/> **Conditional Mandatory**<font color='red'>* </font> field - Required if travel type is provided."
}
}
}