Skip to content

[Refactor] Refactor PayoutService for Clarity #883

Description

@Eniola3321

Labels: refactor payout stellar api

Summary

Separate payout validation from payout processing.

Tasks
Create PayoutValidationService.
Create PayoutProcessingService.
Move validation logic.
Move transaction processing logic.
Keep payout status management centralized.
Update tests.
Swagger / API Integration
Document payout request DTO.
Document payout status response.
Document validation errors.
Document Stellar transaction states.
Update Swagger examples for payout endpoints.
Acceptance Criteria
Validation and processing responsibilities are separated.
Payout behavior remains unchanged.
API documentation accurately represents payout states.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions