open-payments
open-payments copied to clipboard
Protocol to setup payments between entities on the Web based on GNAP
On readme, we had the "try it out" functionality. While we don't need the button to actually try out a request, we want the query builder that builds up the...
or make `startCursor`/`endCursor` optional https://github.com/interledger/open-payments/blob/f1b51c3c051c9030cea1f3d2542cfb492c4330d3/openapi/resource-server.yaml#L1242-L1270 Open Payments list endpoints currently return ``` local-peer-backend-1 | { local-peer-backend-1 | status: 200, local-peer-backend-1 | message: 'OK', local-peer-backend-1 | header: [Object: null prototype] {...
To include: - https://github.com/drwpow/openapi-typescript/pull/968 ~Currently not released yet:~ Released in v6.0.0+ https://www.npmjs.com/package/openapi-typescript
Anytime we return an `access_token` in the `open-payments` client (grant creation, grant continuation, token rotation), the `access_token` format should always match the format: `${grant.authServer.url}/token/${grant.managementId}`. Related [thread](https://github.com/interledger/rafiki/pull/1028#discussion_r1087128244)
The grant used to create an outgoing payment should allow reading the quote corresponding to the outgoing payment's `quoteId`
The relay pagination spec supports both `after` and `before` being specified together: https://relay.dev/graphql/connections.htm#sec-Pagination-algorithm Rafiki currently ignores `before` if `after` is specified https://github.com/interledger/rafiki/blob/3d30ce755b4218a777ec77f408be5d15dfa0e687/packages/backend/src/shared/baseModel.ts#L64-L74
For Web Monetized website to be able to check the contents of `incomingPayment`, the endpoint should return a limited response for unauthorized requests. The current thinking is it should only...
- https://github.com/interledger/open-payments/pull/230#discussion_r1044542262
Move signature header parameters to shared `schemas.yaml` https://github.com/interledger/open-payments/blob/62c4b4a9875e3adaa21f89f597e88db43016fe0b/openapi/resource-server.yaml#L1324-L1339 Include header parameter in relevant grant request(s) https://github.com/interledger/open-payments/blob/62c4b4a9875e3adaa21f89f597e88db43016fe0b/openapi/resource-server.yaml#L221-L223 https://github.com/interledger/open-payments/blob/62c4b4a9875e3adaa21f89f597e88db43016fe0b/openapi/auth-server.yaml#L20-L22