Skip to content

STORY: Implement internal transfer with account reservation and ledger posting #53

Closed
1 of 1 issue completed

Description

@ramioooz

Type: Story
Epic: Ledger and Financial Posting
Slice: Slice 5 - Internal Transfer
Service: transaction-service
Priority: P0

Implement internal transfer orchestration using account reservations and ledger-driven completion.

Scope:

  • Create transfers in a PENDING state.
  • Request Account Service to reserve available funds.
  • Request Ledger Service to create official immutable debit/credit postings after reservation succeeds.
  • Consume LedgerPostingCompleted and LedgerPostingFailed events.
  • Mark transfers COMPLETED, FAILED, or REVERSED according to saga outcome.
  • Trigger compensating reservation release when posting fails or expires.

Boundaries:

  • Transaction Service does not directly post final debit-credit effects in Account Service.
  • Account Service owns reservations and balance projection updates.
  • Ledger Service owns official financial postings.

Definition of Done:

  • Transfer saga states and transitions are explicit.
  • Reservation, ledger posting, completion, failure, and compensation paths are tested.
  • Idempotency and duplicate event handling are defined.
  • Verification steps are documented and repeatable.
  • API requests are added to the Insomnia collection when an API is introduced.

Activity

  1. added theissue type on Aug 2, 2026
  2. self-assigned this
    on Aug 30, 2026
  3. ramioooz commented on Sep 1, 2026

    @ramioooz
    MemberAuthor

    Completed by merged Transaction Service PRs #6, #7, #8, and #9. Transfer lifecycle, process-manager, internal HTTP acceptance, and authorization are implemented. Transport and event-contract follow-ups are tracked separately in Sprint 3.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions