Skip to content

Implement POST /donations record donation endpoint #259

@ayshadogo

Description

@ayshadogo

User Story:
As a donor, I want my donation recorded on the backend after a successful blockchain transaction so that it appears in campaign stats.
Acceptance Criteria:

  • Accepts: campaignId, txHash, amount, assetCode, assetIssuer, isAnonymous
  • Verifies transaction on Stellar Horizon before recording
  • Prevents duplicate recording (idempotent on txHash)
  • Returns created donation record
  • Triggers campaign stats recalculation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions