Skip to content

Commit

Permalink
Merge branch 'nl-add-wallet-address-to-requests' into integration
Browse files Browse the repository at this point in the history
  • Loading branch information
njlie committed Sep 26, 2023
2 parents 5900ff7 + a435253 commit 17abe09
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions openapi/resource-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ paths:
examples:
Create incoming payment for $25 to pay invoice INV2022-02-0137:
value:
walletAddress: 'https://openpayments.guide/alice/'
incomingAmount:
value: '2500'
assetCode: USD
Expand Down Expand Up @@ -332,6 +333,7 @@ paths:
examples:
Create an outgoing payment based on a quote:
value:
walletAddress: 'https://openpayments.guide/alice/'
quoteId: 'https://openpayments.guide/quotes/ab03296b-0c8b-4776-b94e-7ee27d868d4d'
metadata:
externalRef: INV2022-02-0137
Expand Down Expand Up @@ -678,6 +680,20 @@ paths:
$ref: '#/components/responses/403'
'404':
description: Incoming Payment Not Found
requestBody:
content:
application/json:
schema:
type: object
additionalProperties: false
properties:
walletAddress:
type: string
description: The URL of the wallet address that should receive the incoming payment.
examples:
Complete incoming payment for https://openpayments.guide/alice:
value:
walletAddress: 'https://openpayments.guide/alice/'
description: |-
A client with the appropriate permissions MAY mark a non-expired **incoming payment** as `completed` indicating that the client is not going to make any further payments toward this **incoming payment**, even though the full `incomingAmount` may not have been received.
Expand Down

0 comments on commit 17abe09

Please sign in to comment.