interledger / open-payments

Protocol to setup payments between entities on the Web based on GNAP
https://openpayments.dev
Apache License 2.0
175 stars 29 forks source link

Update `limits` of outgoing payment grant creation #471

Open mkurapov opened 4 months ago

mkurapov commented 4 months ago

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.

Todos