Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding a Receipt to a Transaction should fail if the Receipt total is greater than the Transaction total #10

Open
tmus opened this issue Jun 16, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@tmus
Copy link
Owner

tmus commented Jun 16, 2019

The Monzo API does not validate the receipt total against the transaction, meaning that the receipt total can be more or less than the transaction total.

A receipt should describe the transaction in full, so any receipts where the total does not equal the transaction total should return an error and not send a request to the Monzo API.

@tmus tmus added the enhancement New feature or request label Jun 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant