openactive / open-booking-api

Repository for the Open Booking API specification
Other
2 stars 3 forks source link

Payment reconciliation detail validation: Ensure that "name" is not used as an ID #164

Open nickevansuk opened 3 years ago

nickevansuk commented 3 years ago

https://openactive.io/open-booking-api/EditorsDraft/#payment-reconciliation-detail-validation

This:

If the payment details supplied (e.g. accountId) are not considered valid for reconciliation by the Booking System then a InvalidPaymentDetailsError must be returned at C1 and C2.

Should read:

If the accountId and paymentProviderId supplied are not considered valid for reconciliation by the Booking System, or if the name is omitted where it is deemed as required by the Booking System, then a InvalidPaymentDetailsError must be returned at C1 and C2. Note that the value of the name property must not be validated, and is intended to be human-readable.