mmk-paymint-bulk-send

Send multiple payment invoices at once via Paymint. Triggers on "bulk send", "batch invoice", "send multiple invoices", "bulk invoice".

MMK Paymint — Bulk Send

Prerequisite: Read ../mmk-shared/SKILL.md for auth, global flags, and error handling. Parent: mmk-paymint — includes License Resolution and Error Patterns.

Always use -o json when parsing results or composing with other commands.


bulk-send — Send multiple payment invoices at once

mmk paymint bulk-send --data '[
  {"phone":"01012345678","amount":10000,"product":"Monthly","name":"Kim","message":"Due"},
  {"phone":"01087654321","amount":20000,"product":"Annual","name":"Lee","message":"Due"}
]' -o json

mmk paymint bulk-send --expire 2026-04-01 --callback-url https://example.com/hook --file invoices.json -o json

mmk paymint bulk-send --business-number 1234567890 --file invoices.json -o json

cat invoices.json | mmk paymint bulk-send -o json

Required: one of --data (inline JSON array), --file (path to JSON file), or piped stdin

Each record must include: phone, amount, product, name, message.

Optional:

FlagDefaultDescription
--business-numberBusiness registration number or member ID (required if multiple licenses)
--expire7 days from todayShared expiration date YYYY-MM-DD for all records
--callback-urlShared webhook callback URL for all invoices

Per-record expire in the JSON overrides the shared --expire flag.


See Also