Open jamesball27 opened 5 years ago
When making a request to https://private.api.hsbc.com/open-banking/v2.0/accounts/{account-id}/direct-debits
https://private.api.hsbc.com/open-banking/v2.0/accounts/{account-id}/direct-debits
HSBC are returning an invalid DirectDebit PreviousPaymentAmount:
"DirectDebit": [{ "PreviousPaymentAmount": { "Amount": ".64", "Currency": "GBP" }, // etc. }]
v2.0.0 of the spec states that the OBReadDirectDebit1/Data/DirectDebit/PreviousPaymentAmount must match the following regex: ^\d{1,13}\.\d{1,5}$. We would expect this amount to be returned as 0.64
OBReadDirectDebit1/Data/DirectDebit/PreviousPaymentAmount
^\d{1,13}\.\d{1,5}$
0.64
logged as OBSD-10505
When making a request to
https://private.api.hsbc.com/open-banking/v2.0/accounts/{account-id}/direct-debits
HSBC are returning an invalid DirectDebit PreviousPaymentAmount:
v2.0.0 of the spec states that the
OBReadDirectDebit1/Data/DirectDebit/PreviousPaymentAmount
must match the following regex:^\d{1,13}\.\d{1,5}$
. We would expect this amount to be returned as0.64
logged as OBSD-10505