Redeem Ticket
documentedRedeem a voucher or ticket using API.
Voucher/Ticketsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.txtlocal.com/scan_ticket/" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"apikey": "{{TEXTLOCAL_API_KEY}}", "seed": "{{$seed}}", "amount": "{{$amount}}", "direction": "{{$direction}}"}' \
# Sources: https://api.txtlocal.com/docs/vouchersticketing/redeemticket, https://api.textlocal.in/docs/