Properties
| Name | Type | Description |
|---|---|---|
| Currency | string | |
| RequestedAmount | number | |
| CashBackAmount | number | |
| TipAmount | number | |
| PaidAmount | number | |
| MinimumAmountToDeliver | number | |
| MaximumCashBackAmount | number | |
| MinimumSplitAmount | number |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/AmountsReq",
"title": "AmountsReq",
"type": "object",
"description": "Amounts of a payment",
"properties": {
"Currency": {
"type": "string",
"pattern": "^[A-Z]{3,3}$"
},
"RequestedAmount": {
"type": "number",
"maximum": 99999999.999999,
"minimum": 0
},
"CashBackAmount": {
"type": "number",
"maximum": 99999999.999999,
"minimum": 0
},
"TipAmount": {
"type": "number",
"maximum": 99999999.999999,
"minimum": 0
},
"PaidAmount": {
"type": "number",
"maximum": 99999999.999999,
"minimum": 0
},
"MinimumAmountToDeliver": {
"type": "number",
"maximum": 99999999.999999,
"minimum": 0
},
"MaximumCashBackAmount": {
"type": "number",
"maximum": 99999999.999999,
"minimum": 0
},
"MinimumSplitAmount": {
"type": "number",
"maximum": 99999999.999999,
"minimum": 0
}
},
"required": [
"Currency",
"RequestedAmount"
]
}