Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce Intraledger Batched Payouts using a CSV file #148

Open
sandipndev opened this issue Jun 8, 2023 · 0 comments
Open

Introduce Intraledger Batched Payouts using a CSV file #148

sandipndev opened this issue Jun 8, 2023 · 0 comments
Assignees

Comments

@sandipndev
Copy link
Member

sandipndev commented Jun 8, 2023

galoy-cli pay batch --csv input.csv

  • check if account has enough balance in "cents" or "sats" whichever is used in the CSV header.
  • for {} loop for each of the payouts and submit.
  • after each execution, show the user that that specific payout has been made

The CSV file should contain only three columns:
username, (cents or sats) and memo

Example:

username cents memo
test_user_a 1 happy easter
test_user_b 2 happy easter

OR:

username sats memo
test_user_a 100 happy new year
test_user_b 200
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

No branches or pull requests

2 participants