-
Notifications
You must be signed in to change notification settings - Fork 234
SDP-1928: Update SDP API reference #2150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
Preview is available here: |
ae76be4 to
a478427
Compare
|
Preview is available here: |
a478427 to
dc3dccd
Compare
|
Preview is available here: |
dc3dccd to
e8582f4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR updates the Stellar Disbursement Platform's API reference documentation to match the current implementation in the main branch. The changes include new endpoints for enhanced receiver wallet and payment management, standardized SEP-10 and SEP-24 endpoint paths, updated default sorting behavior, and improved API documentation consistency.
Key Changes:
- Added new receiver wallet management endpoints (
/receivers/{receiver_id}/wallets/{receiver_wallet_id},/receivers/wallets/{receiver_wallet_id}/status) - Added payment management endpoints (
/payments/retry,/payments/{id}/status) - Renamed SEP-24 registration endpoints from
/wallet-registration/*to/sep24-interactive-deposit/* - Renamed authentication endpoint from
/WEB_AUTH_ENDPOINTto/sep10/auth - Changed default sort direction from
asctodescand default sort field fromcreated_attoupdated_atacross multiple list endpoints - Standardized content types from
*/*toapplication/jsonin responses - Removed redundant example data from error response schemas
- Added new security schemes for SEP-10 and SEP-24 authentication
Reviewed changes
Copilot reviewed 78 out of 78 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| openapi/stellar-disbursement-platform/main.yaml | Main OpenAPI specification with all endpoint and schema updates |
| openapi/stellar-disbursement-platform/bundled.yaml | Bundled version of the OpenAPI spec with identical changes to main.yaml |
| docs/.../verify-receiver-registration.api.mdx | Updated endpoint path and removed Authorization header parameter |
| docs/.../upload-disbursement-instructions.api.mdx | Updated example data in error responses |
| docs/.../update-wallet.api.mdx | Changed response schema and added missing error responses |
| docs/.../update-user-*.api.mdx | Removed password field from profile update, standardized responses |
| docs/.../update-receiver.api.mdx | Added new wallet fields to response schema |
| docs/.../update-receiver-wallet*.api.mdx | New documentation files for receiver wallet management endpoints |
| docs/.../update-payment-status.api.mdx | New documentation for payment status update endpoint |
| docs/.../sidebar.ts | Added new endpoint entries to the API reference sidebar |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
e8582f4 to
84fe6bf
Compare
|
Warning This change removes routes. The diff of routes is below. Please verify that these changes to the routes are intentional and that redirects are in place if needed. Redirects can be added to diff --git a/routes.txt b/routes.txt
index 1e45f02b..15b1fe9f 100644
--- a/routes.txt
+++ b/routes.txt
@@ -635,6 +635,7 @@
/docs/platforms/stellar-disbursement-platform/api-reference/delete-a-disbursement
/docs/platforms/stellar-disbursement-platform/api-reference/delete-api-key
/docs/platforms/stellar-disbursement-platform/api-reference/delete-asset
+/docs/platforms/stellar-disbursement-platform/api-reference/delete-wallet
/docs/platforms/stellar-disbursement-platform/api-reference/disbursements
/docs/platforms/stellar-disbursement-platform/api-reference/download-disbursement-instructions
/docs/platforms/stellar-disbursement-platform/api-reference/export-disbursements
@@ -652,11 +653,16 @@
/docs/platforms/stellar-disbursement-platform/api-reference/get-organization-info
/docs/platforms/stellar-disbursement-platform/api-reference/get-organization-logo
/docs/platforms/stellar-disbursement-platform/api-reference/get-profile
+/docs/platforms/stellar-disbursement-platform/api-reference/get-receiver-registration-info
+/docs/platforms/stellar-disbursement-platform/api-reference/get-sep-24-info
+/docs/platforms/stellar-disbursement-platform/api-reference/get-sep-24-transaction
/docs/platforms/stellar-disbursement-platform/api-reference/list-all-disbursement-receivers
/docs/platforms/stellar-disbursement-platform/api-reference/list-all-disbursements
/docs/platforms/stellar-disbursement-platform/api-reference/list-all-payments
/docs/platforms/stellar-disbursement-platform/api-reference/list-all-receivers
/docs/platforms/stellar-disbursement-platform/api-reference/list-api-keys
+/docs/platforms/stellar-disbursement-platform/api-reference/list-receiver-verification-types
+/docs/platforms/stellar-disbursement-platform/api-reference/list-registration-contact-types
/docs/platforms/stellar-disbursement-platform/api-reference/log-in
/docs/platforms/stellar-disbursement-platform/api-reference/organization
/docs/platforms/stellar-disbursement-platform/api-reference/patch-organization-circle
@@ -669,6 +675,7 @@
/docs/platforms/stellar-disbursement-platform/api-reference/request-challenge-transaction
/docs/platforms/stellar-disbursement-platform/api-reference/request-registration-url
/docs/platforms/stellar-disbursement-platform/api-reference/reset-password
+/docs/platforms/stellar-disbursement-platform/api-reference/reset-user-password
/docs/platforms/stellar-disbursement-platform/api-reference/retrieve-a-disbursement
/docs/platforms/stellar-disbursement-platform/api-reference/retrieve-a-payment
/docs/platforms/stellar-disbursement-platform/api-reference/retrieve-a-receiver
@@ -676,16 +683,21 @@
/docs/platforms/stellar-disbursement-platform/api-reference/retrieve-all-statistics
/docs/platforms/stellar-disbursement-platform/api-reference/retrieve-disbursement-statistics
/docs/platforms/stellar-disbursement-platform/api-reference/retrieve-stellar-info-file
+/docs/platforms/stellar-disbursement-platform/api-reference/retry-payments
+/docs/platforms/stellar-disbursement-platform/api-reference/retry-receiver-invitation
/docs/platforms/stellar-disbursement-platform/api-reference/send-one-time-passcode
/docs/platforms/stellar-disbursement-platform/api-reference/soft-delete-a-tenant
-/docs/platforms/stellar-disbursement-platform/api-reference/start-wallet-registration
/docs/platforms/stellar-disbursement-platform/api-reference/statistics
+/docs/platforms/stellar-disbursement-platform/api-reference/stellar-disbursement-platform-api
/docs/platforms/stellar-disbursement-platform/api-reference/update-a-disbursement-status
/docs/platforms/stellar-disbursement-platform/api-reference/update-a-tenant
/docs/platforms/stellar-disbursement-platform/api-reference/update-api-key
/docs/platforms/stellar-disbursement-platform/api-reference/update-bridge-integration
/docs/platforms/stellar-disbursement-platform/api-reference/update-organization-profile
+/docs/platforms/stellar-disbursement-platform/api-reference/update-payment-status
/docs/platforms/stellar-disbursement-platform/api-reference/update-receiver
+/docs/platforms/stellar-disbursement-platform/api-reference/update-receiver-wallet
+/docs/platforms/stellar-disbursement-platform/api-reference/update-receiver-wallet-status
/docs/platforms/stellar-disbursement-platform/api-reference/update-user-activation-status
/docs/platforms/stellar-disbursement-platform/api-reference/update-user-profile
/docs/platforms/stellar-disbursement-platform/api-reference/update-user-role
|
|
Preview is available here: |
1 similar comment
|
Preview is available here: |
84fe6bf to
6b26524
Compare
|
Warning This change removes routes. The diff of routes is below. Please verify that these changes to the routes are intentional and that redirects are in place if needed. Redirects can be added to diff --git a/routes.txt b/routes.txt
index 1e45f02b..15b1fe9f 100644
--- a/routes.txt
+++ b/routes.txt
@@ -635,6 +635,7 @@
/docs/platforms/stellar-disbursement-platform/api-reference/delete-a-disbursement
/docs/platforms/stellar-disbursement-platform/api-reference/delete-api-key
/docs/platforms/stellar-disbursement-platform/api-reference/delete-asset
+/docs/platforms/stellar-disbursement-platform/api-reference/delete-wallet
/docs/platforms/stellar-disbursement-platform/api-reference/disbursements
/docs/platforms/stellar-disbursement-platform/api-reference/download-disbursement-instructions
/docs/platforms/stellar-disbursement-platform/api-reference/export-disbursements
@@ -652,11 +653,16 @@
/docs/platforms/stellar-disbursement-platform/api-reference/get-organization-info
/docs/platforms/stellar-disbursement-platform/api-reference/get-organization-logo
/docs/platforms/stellar-disbursement-platform/api-reference/get-profile
+/docs/platforms/stellar-disbursement-platform/api-reference/get-receiver-registration-info
+/docs/platforms/stellar-disbursement-platform/api-reference/get-sep-24-info
+/docs/platforms/stellar-disbursement-platform/api-reference/get-sep-24-transaction
/docs/platforms/stellar-disbursement-platform/api-reference/list-all-disbursement-receivers
/docs/platforms/stellar-disbursement-platform/api-reference/list-all-disbursements
/docs/platforms/stellar-disbursement-platform/api-reference/list-all-payments
/docs/platforms/stellar-disbursement-platform/api-reference/list-all-receivers
/docs/platforms/stellar-disbursement-platform/api-reference/list-api-keys
+/docs/platforms/stellar-disbursement-platform/api-reference/list-receiver-verification-types
+/docs/platforms/stellar-disbursement-platform/api-reference/list-registration-contact-types
/docs/platforms/stellar-disbursement-platform/api-reference/log-in
/docs/platforms/stellar-disbursement-platform/api-reference/organization
/docs/platforms/stellar-disbursement-platform/api-reference/patch-organization-circle
@@ -669,6 +675,7 @@
/docs/platforms/stellar-disbursement-platform/api-reference/request-challenge-transaction
/docs/platforms/stellar-disbursement-platform/api-reference/request-registration-url
/docs/platforms/stellar-disbursement-platform/api-reference/reset-password
+/docs/platforms/stellar-disbursement-platform/api-reference/reset-user-password
/docs/platforms/stellar-disbursement-platform/api-reference/retrieve-a-disbursement
/docs/platforms/stellar-disbursement-platform/api-reference/retrieve-a-payment
/docs/platforms/stellar-disbursement-platform/api-reference/retrieve-a-receiver
@@ -676,16 +683,21 @@
/docs/platforms/stellar-disbursement-platform/api-reference/retrieve-all-statistics
/docs/platforms/stellar-disbursement-platform/api-reference/retrieve-disbursement-statistics
/docs/platforms/stellar-disbursement-platform/api-reference/retrieve-stellar-info-file
+/docs/platforms/stellar-disbursement-platform/api-reference/retry-payments
+/docs/platforms/stellar-disbursement-platform/api-reference/retry-receiver-invitation
/docs/platforms/stellar-disbursement-platform/api-reference/send-one-time-passcode
/docs/platforms/stellar-disbursement-platform/api-reference/soft-delete-a-tenant
-/docs/platforms/stellar-disbursement-platform/api-reference/start-wallet-registration
/docs/platforms/stellar-disbursement-platform/api-reference/statistics
+/docs/platforms/stellar-disbursement-platform/api-reference/stellar-disbursement-platform-api
/docs/platforms/stellar-disbursement-platform/api-reference/update-a-disbursement-status
/docs/platforms/stellar-disbursement-platform/api-reference/update-a-tenant
/docs/platforms/stellar-disbursement-platform/api-reference/update-api-key
/docs/platforms/stellar-disbursement-platform/api-reference/update-bridge-integration
/docs/platforms/stellar-disbursement-platform/api-reference/update-organization-profile
+/docs/platforms/stellar-disbursement-platform/api-reference/update-payment-status
/docs/platforms/stellar-disbursement-platform/api-reference/update-receiver
+/docs/platforms/stellar-disbursement-platform/api-reference/update-receiver-wallet
+/docs/platforms/stellar-disbursement-platform/api-reference/update-receiver-wallet-status
/docs/platforms/stellar-disbursement-platform/api-reference/update-user-activation-status
/docs/platforms/stellar-disbursement-platform/api-reference/update-user-profile
/docs/platforms/stellar-disbursement-platform/api-reference/update-user-role
|
|
Warning This change removes routes. The diff of routes is below. Please verify that these changes to the routes are intentional and that redirects are in place if needed. Redirects can be added to diff --git a/routes.txt b/routes.txt
index 1e45f02b..cc36aafe 100644
--- a/routes.txt
+++ b/routes.txt
@@ -635,6 +635,7 @@
/docs/platforms/stellar-disbursement-platform/api-reference/delete-a-disbursement
/docs/platforms/stellar-disbursement-platform/api-reference/delete-api-key
/docs/platforms/stellar-disbursement-platform/api-reference/delete-asset
+/docs/platforms/stellar-disbursement-platform/api-reference/delete-wallet
/docs/platforms/stellar-disbursement-platform/api-reference/disbursements
/docs/platforms/stellar-disbursement-platform/api-reference/download-disbursement-instructions
/docs/platforms/stellar-disbursement-platform/api-reference/export-disbursements
@@ -652,11 +653,17 @@
/docs/platforms/stellar-disbursement-platform/api-reference/get-organization-info
/docs/platforms/stellar-disbursement-platform/api-reference/get-organization-logo
/docs/platforms/stellar-disbursement-platform/api-reference/get-profile
+/docs/platforms/stellar-disbursement-platform/api-reference/get-receiver-registration-info
+/docs/platforms/stellar-disbursement-platform/api-reference/get-sep-24-info
+/docs/platforms/stellar-disbursement-platform/api-reference/get-sep-24-transaction
/docs/platforms/stellar-disbursement-platform/api-reference/list-all-disbursement-receivers
/docs/platforms/stellar-disbursement-platform/api-reference/list-all-disbursements
/docs/platforms/stellar-disbursement-platform/api-reference/list-all-payments
/docs/platforms/stellar-disbursement-platform/api-reference/list-all-receivers
/docs/platforms/stellar-disbursement-platform/api-reference/list-api-keys
+/docs/platforms/stellar-disbursement-platform/api-reference/list-receiver-verification-types
+/docs/platforms/stellar-disbursement-platform/api-reference/list-registration-contact-types
+/docs/platforms/stellar-disbursement-platform/api-reference/load-wallet-registration-webview
/docs/platforms/stellar-disbursement-platform/api-reference/log-in
/docs/platforms/stellar-disbursement-platform/api-reference/organization
/docs/platforms/stellar-disbursement-platform/api-reference/patch-organization-circle
@@ -669,6 +676,7 @@
/docs/platforms/stellar-disbursement-platform/api-reference/request-challenge-transaction
/docs/platforms/stellar-disbursement-platform/api-reference/request-registration-url
/docs/platforms/stellar-disbursement-platform/api-reference/reset-password
+/docs/platforms/stellar-disbursement-platform/api-reference/reset-user-password
/docs/platforms/stellar-disbursement-platform/api-reference/retrieve-a-disbursement
/docs/platforms/stellar-disbursement-platform/api-reference/retrieve-a-payment
/docs/platforms/stellar-disbursement-platform/api-reference/retrieve-a-receiver
@@ -676,16 +684,20 @@
/docs/platforms/stellar-disbursement-platform/api-reference/retrieve-all-statistics
/docs/platforms/stellar-disbursement-platform/api-reference/retrieve-disbursement-statistics
/docs/platforms/stellar-disbursement-platform/api-reference/retrieve-stellar-info-file
+/docs/platforms/stellar-disbursement-platform/api-reference/retry-payments
+/docs/platforms/stellar-disbursement-platform/api-reference/retry-receiver-invitation
/docs/platforms/stellar-disbursement-platform/api-reference/send-one-time-passcode
/docs/platforms/stellar-disbursement-platform/api-reference/soft-delete-a-tenant
-/docs/platforms/stellar-disbursement-platform/api-reference/start-wallet-registration
/docs/platforms/stellar-disbursement-platform/api-reference/statistics
/docs/platforms/stellar-disbursement-platform/api-reference/update-a-disbursement-status
/docs/platforms/stellar-disbursement-platform/api-reference/update-a-tenant
/docs/platforms/stellar-disbursement-platform/api-reference/update-api-key
/docs/platforms/stellar-disbursement-platform/api-reference/update-bridge-integration
/docs/platforms/stellar-disbursement-platform/api-reference/update-organization-profile
+/docs/platforms/stellar-disbursement-platform/api-reference/update-payment-status
/docs/platforms/stellar-disbursement-platform/api-reference/update-receiver
+/docs/platforms/stellar-disbursement-platform/api-reference/update-receiver-wallet
+/docs/platforms/stellar-disbursement-platform/api-reference/update-receiver-wallet-status
/docs/platforms/stellar-disbursement-platform/api-reference/update-user-activation-status
/docs/platforms/stellar-disbursement-platform/api-reference/update-user-profile
/docs/platforms/stellar-disbursement-platform/api-reference/update-user-role
|
|
Preview is available here: |
|
Preview is available here: |
5a6b7cd to
a0cd034
Compare
|
Preview is available here: |
1 similar comment
|
Preview is available here: |
a324db0 to
6423567
Compare
|
Preview is available here: |
6423567 to
f22d97b
Compare
|
Preview is available here: |
This updates SDP's API reference to match the code in the
mainbranch. Most of the change was generated by pointing Codex at both the backend codebase and API references and diffing them. I mostly just manually verified the changes and made some tweaks for wording.