-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Co-authored-by: Ömer Talha Özdemir <[email protected]> Co-authored-by: Blair Currey <[email protected]>
- Loading branch information
1 parent
ac288a6
commit 2bba62b
Showing
11 changed files
with
557 additions
and
320 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
openapi: 3.1.0 | ||
info: | ||
title: Open Payments Authorization Server | ||
version: '1.1' | ||
version: '1.2' | ||
license: | ||
name: Apache 2.0 | ||
identifier: Apache-2.0 | ||
|
@@ -10,7 +10,7 @@ info: | |
contact: | ||
email: [email protected] | ||
servers: | ||
- url: 'https://openpayments.guide/auth' | ||
- url: 'https://rafiki.money/auth' | ||
tags: | ||
- name: grant | ||
description: Grant operations | ||
|
@@ -49,29 +49,29 @@ paths: | |
Interaction instructions: | ||
value: | ||
interact: | ||
redirect: 'https://openpayments.guide/auth/4CF492MLVMSW9MKMXKHQ' | ||
redirect: 'https://rafiki.money/auth/4CF492MLVMSW9MKMXKHQ' | ||
finish: 4105340a-05eb-4290-8739-f9e2b463bfa7 | ||
continue: | ||
access_token: | ||
value: 33OMUKMKSKU80UPRY5NM | ||
uri: 'https://openpayments.guide/auth/continue/4CF492MLVMSW9MKMXKHQ' | ||
uri: 'https://rafiki.money/auth/continue/4CF492MLVMSW9MKMXKHQ' | ||
wait: 30 | ||
Grant: | ||
value: | ||
access_token: | ||
value: OS9M2PMHKUR64TB8N6BW7OZB8CDFONP219RP1LT0 | ||
manage: 'https://openpayments.guide/auth/token/dd17a202-9982-4ed9-ae31-564947fb6379' | ||
manage: 'https://rafiki.money/auth/token/dd17a202-9982-4ed9-ae31-564947fb6379' | ||
expires_in: 3600 | ||
access: | ||
- type: incoming-payment | ||
actions: | ||
- create | ||
- read | ||
identifier: 'https://openpayments.guide/bob' | ||
identifier: 'https://rafiki.money/bob' | ||
continue: | ||
access_token: | ||
value: 33OMUKMKSKU80UPRY5NM | ||
uri: 'https://openpayments.guide/auth/continue/4CF492MLVMSW9MKMXKHQ' | ||
uri: 'https://rafiki.money/auth/continue/4CF492MLVMSW9MKMXKHQ' | ||
'400': | ||
description: Bad Request | ||
'401': | ||
|
@@ -108,9 +108,9 @@ paths: | |
actions: | ||
- create | ||
- read | ||
identifier: 'https://openpayments.guide/alice' | ||
identifier: 'https://rafiki.money/alice' | ||
limits: | ||
receiver: 'https://openpayments.guide/connections/45a0d0ee-26dc-4c66-89e0-01fbf93156f7' | ||
receiver: 'https://rafiki.money/connections/45a0d0ee-26dc-4c66-89e0-01fbf93156f7' | ||
interval: 'R12/2019-08-24T14:15:22Z/P1M' | ||
debitAmount: | ||
value: '500' | ||
|
@@ -132,7 +132,7 @@ paths: | |
actions: | ||
- create | ||
- read | ||
identifier: 'http://openpayments.guide/bob' | ||
identifier: 'http://rafiki.money/bob' | ||
client: 'https://webmonize.com/.well-known/pay' | ||
description: '' | ||
description: Make a new grant request | ||
|
@@ -169,16 +169,16 @@ paths: | |
value: | ||
access_token: | ||
value: OS9M2PMHKUR64TB8N6BW7OZB8CDFONP219RP1LT0 | ||
manage: 'https://openpayments.guide/auth/token/dd17a202-9982-4ed9-ae31-564947fb6379' | ||
manage: 'https://rafiki.money/auth/token/dd17a202-9982-4ed9-ae31-564947fb6379' | ||
expires_in: 3600 | ||
access: | ||
- type: outgoing-payment | ||
actions: | ||
- create | ||
- read | ||
identifier: 'https://openpayments.guide/alice' | ||
identifier: 'https://rafiki.money/alice' | ||
limits: | ||
receiver: 'https://openpayments.guide/bob/incoming-payments/48884225-b393-4872-90de-1b737e2491c2' | ||
receiver: 'https://rafiki.money/bob/incoming-payments/48884225-b393-4872-90de-1b737e2491c2' | ||
interval: 'R12/2019-08-24T14:15:22Z/P1M' | ||
debitAmount: | ||
value: '500' | ||
|
@@ -187,14 +187,14 @@ paths: | |
continue: | ||
access_token: | ||
value: 33OMUKMKSKU80UPRY5NM | ||
uri: 'https://openpayments.guide/auth/continue/4CF492MLVMSW9MKMXKHQ' | ||
uri: 'https://rafiki.money/auth/continue/4CF492MLVMSW9MKMXKHQ' | ||
wait: 30 | ||
Continuing During Pending Interaction: | ||
value: | ||
continue: | ||
access_token: | ||
value: 33OMUKMKSKU80UPRY5NM | ||
uri: 'https://openpayments.guide/auth/continue/4CF492MLVMSW9MKMXKHQ' | ||
uri: 'https://rafiki.money/auth/continue/4CF492MLVMSW9MKMXKHQ' | ||
wait: 30 | ||
'400': | ||
description: Bad Request | ||
|
@@ -264,17 +264,17 @@ paths: | |
value: | ||
access_token: | ||
value: OZB8CDFONP219RP1LT0OS9M2PMHKUR64TB8N6BW7 | ||
manage: 'https://openpayments.guide/auth/token/8f69de01-5bf9-4603-91ed-eeca101081f1' | ||
manage: 'https://rafiki.money/auth/token/8f69de01-5bf9-4603-91ed-eeca101081f1' | ||
expires_in: 3600 | ||
access: | ||
- type: outgoing-payment | ||
actions: | ||
- create | ||
- read | ||
identifier: 'https://openpayments.guide/alice' | ||
identifier: 'https://rafiki.money/alice' | ||
limits: | ||
interval: 'R12/2019-08-24T14:15:22Z/P1M' | ||
receiver: 'https://openpayments.guide/bob/incoming-payments/48884225-b393-4872-90de-1b737e2491c2' | ||
receiver: 'https://rafiki.money/bob/incoming-payments/48884225-b393-4872-90de-1b737e2491c2' | ||
debitAmount: | ||
value: '500' | ||
assetCode: USD | ||
|
Oops, something went wrong.