You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: support new subject field, grant spent amounts (#20)
* feat: support new subject field
* feat: support new outgoing payment grant spent amounts endpoint
* chore: add changeset
* Update .changeset/selfish-geese-beg.md
Co-authored-by: Max Kurapov <max@interledger.org>
* fix: grant types
* chore: update changeset with new type guards
* docs: update readme
---------
Co-authored-by: Max Kurapov <max@interledger.org>
- Adds support for new outgoing payment grant spent amounts (`client.outgoingPayment.getGrantSpentAmounts`)
7
+
- Deprecated `isFinalizedGrant` in favor of `isFinalizedGrantWithAccessToken` and `isFinalizedGrantWithSubject`, since grants finalized via `subject` may not include an `access_token`
Copy file name to clipboardExpand all lines: packages/open-payments/README.md
+16-2Lines changed: 16 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -291,7 +291,7 @@ Alice would be then redirected to her [Identity Provider](https://openpayments.d
291
291
Once Alice approves the grant request at Cloud Nine Wallet (or the Identity Provider that Cloud Nine Wallet has configured), she will be redirected to the URL specified in the original outgoing payment grant request, with an `interact_ref` in the URL. This `interact_ref` can be used to finalize the outgoing payment grant request:
Once the grant interaction flow has finished, and Alice has consented to the payment, Online Marketplace can create the `OutgoingPayment` on her account:
0 commit comments