Remove outgoing payment authorization. All created outgoing payments are authorized.
Instead, add quotes as an Open Payments account sub-resource.
After a quote is completed, it may be included in the parameters for creating an outgoing payment.
A quote is complete after:
An ILP rate probe quote is performed
The wallet optionally modifies the quote amounts
The wallet confirms quoted send amount is available (but not reserved) in the sender's balance
A completed quote expires if it is not used for an outgoing payment before its Rafiki defined expiresAt (Outgoing payments no longer expire)
An outgoing payment can alternatively be created without a quote but the client/user will be unable to prevent the payment based on the details of the subsequently performed quote.
https://github.com/interledger/open-payments/pull/97
Remove outgoing payment authorization. All created outgoing payments are authorized. Instead, add quotes as an Open Payments account sub-resource. After a quote is completed, it may be included in the parameters for creating an outgoing payment. A quote is complete after:
A completed quote expires if it is not used for an outgoing payment before its Rafiki defined expiresAt (Outgoing payments no longer expire) An outgoing payment can alternatively be created without a quote but the client/user will be unable to prevent the payment based on the details of the subsequently performed quote.