Skip to content

docs+test: multi-destination payouts (#113) - #162

Open
xre217 wants to merge 1 commit into
dogecoinfoundation:mainfrom
xre217:feat/multi-payout-and-docs
Open

docs+test: multi-destination payouts (#113)#162
xre217 wants to merge 1 commit into
dogecoinfoundation:mainfrom
xre217:feat/multi-payout-and-docs

Conversation

@xre217

@xre217 xre217 commented Jul 11, 2026

Copy link
Copy Markdown

#113 — Multiple payout targets

The backend already supports multi-output payouts via:

POST /account/:foreignID/pay
{ "pay": [ { "amount":"9", "to":"D…", "deduct_fee_percent":"0" },
           { "amount":"1", "to":"D…", "deduct_fee_percent":"100" } ] }

(CreateTxn + deduct_fee_percent implement the processor-fee split.)

This PR makes that discoverable and tested:

  • New doc/multi-payout.md
  • README link
  • Route comments on /pay and /paytx
  • TestPayToAddressRequestMultiJSON
  • Annotate existing multi-output CreateTxn test

No behavior change beyond documentation/tests.

DOGE tips / contract

DTRJECKXfxgnSzGbt7TYRikLPDocqvdmo5 · trefongwork@gmail.com

…n#113)

POST /pay and /paytx already accept a pay[] array with optional
deduct_fee_percent (processor fee splits). Document the wire format,
link from README, tighten route comments, and add JSON + CreateTxn
regression coverage.

Tips DOGE: DTRJECKXfxgnSzGbt7TYRikLPDocqvdmo5
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.

1 participant