You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem description
Within carrier_billing.yaml monetary amounts MUST be positive. Negative values do not make sense and also "zero" value is not indeed a payment.
Due to this, proposed solution considers to set minimum value for "amount" fields to 0.001. In the API Spec this would be:
... amount: type: number format: float **_minimum: 0.001_** multipleOf: 0.001 description: Amount to be charged or reserved. example: 100 ...
Problem description
Within carrier_billing.yaml monetary amounts MUST be positive. Negative values do not make sense and also "zero" value is not indeed a payment.
Due to this, proposed solution considers to set minimum value for "amount" fields to
0.001
. In the API Spec this would be:... amount: type: number format: float **_minimum: 0.001_** multipleOf: 0.001 description: Amount to be charged or reserved. example: 100 ...
NOTE:
Possible evolution
Taking advantage of Open #152, it is proposed to deal with this issue within Carrier Billing v0.3.0 and new Refund Interface.
Alternative solution
Include as a Fix for carrier_billing.yaml v0.2.1 separately
Additional context
N/A
The text was updated successfully, but these errors were encountered: