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

Update AS spec to ensure correct limits during outgoing payment grant creation #3337

Open
1 task
mkurapov opened this issue Mar 7, 2025 · 0 comments
Open
1 task

Comments

@mkurapov
Copy link
Contributor

mkurapov commented Mar 7, 2025

Context

Currently, when we create an outgoing payment grant request, we can pass in a limits attribute with debitAmount and/or receiveAmount. For simplicity of the API as well as the simplicity of documenting how these amounts are used, we should update the spec to allow only setting limits.debitAmount OR limits.receiveAmount, not both.

When this change lands, we need to update the open-payments client in the AS to make sure we are correctly validating the incoming request.

Todos

  • Update open-payments client in AS after issue above is finished
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant