Skip to content

[BE-552] Integrate Stellar Disbursement Platform (SDP) REST client - #663

Merged
ONEONUORA merged 1 commit into
Fracverse:masterfrom
Tboy123-emm:feature/sdp-rest-client-integration
Jul 28, 2026
Merged

[BE-552] Integrate Stellar Disbursement Platform (SDP) REST client#663
ONEONUORA merged 1 commit into
Fracverse:masterfrom
Tboy123-emm:feature/sdp-rest-client-integration

Conversation

@Tboy123-emm

@Tboy123-emm Tboy123-emm commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Closes #552

- Add SdpClient struct to stellar.rs with authentication support
- Implement submit_disbursement() with retry logic and idempotency
- Add get_disbursement_status() and list_disbursements() methods
- Create comprehensive request/response types for SDP API
- Implement error handling for transient vs permanent failures
- Add dry-run mode support when SDP_API_TOKEN is not configured
- Refactor disbursement_worker.rs to use centralized SdpClient
- Remove embedded HTTP logic from disbursement_worker
- Maintain all existing functionality while improving code organization

The SDP client wraps the Stellar Disbursement Platform REST APIs
for bulk payouts, formats requests with authentication headers,
and provides proper error handling.
@drips-wave

drips-wave Bot commented Jul 28, 2026

Copy link
Copy Markdown

@Tboy123-emm Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@ONEONUORA ONEONUORA left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job @Tboy123-emm

@ONEONUORA
ONEONUORA merged commit 69e4622 into Fracverse:master Jul 28, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[backend] Service: Integrate Stellar Disbursement Platform (SDP) REST client interface

2 participants