V1PaymentSurcharge
V1 Payment Surcharge
Name | Type | Tags | Description |
---|---|---|---|
name |
string |
Optional | The name of the surcharge. |
applied_money |
V1 Money |
Optional | - |
rate |
string |
Optional | The amount of the surcharge as a percentage. The percentage is provided as a string representing the decimal equivalent of the percentage. For example, "0.7" corresponds to a 7% surcharge. Exactly one of rate or amount_money should be set. |
amount_money |
V1 Money |
Optional | - |
type |
str (V1 Payment Surcharge Type) |
Optional | - |
taxable |
bool |
Optional | Indicates whether the surcharge is taxable. |
taxes |
List of V1 Payment Tax |
Optional | The list of taxes that should be applied to the surcharge. |
surcharge_id |
string |
Optional | A Square-issued unique identifier associated with the surcharge. |
{
"name": "name0",
"applied_money": {
"amount": 196,
"currency_code": "LYD"
},
"rate": "rate0",
"amount_money": {
"amount": 186,
"currency_code": "KRW"
},
"type": "CUSTOM"
}