CLI-first onboarding
Set provider credentials, test accounts, create payments, request refunds, and inspect status from the same command surface.
Open source payment router
Rute Bayar connects Indonesian payment gateways through one Go CLI and webhook daemon. It keeps provider logic modular, stores raw JSON for debugging, and gives product teams a clean path from invoice to webhook verification.
$ rutebayar pay create --provider xendit \ --method payment_link \ --reference agent-run-1001 \ --amount 25000 payment_url: https://checkout.example/... status: pending
$ rutebayar webhook serve --addr :8080 listening on /webhooks/xendit listening on /webhooks/midtrans forwarding enabled: orders-api
Payment rail clarity
Rute Bayar keeps your business logic away from provider-specific details. Create payments, check status, receive webhooks, replay events, and forward callbacks without scattering gateway code across every service.
Set provider credentials, test accounts, create payments, request refunds, and inspect status from the same command surface.
Receive provider callbacks, verify signatures where configured, persist raw payloads, and replay events for recovery.
Forward provider webhooks to your own service while keeping the original payload available for audit and debugging.
AI Agent billing
An AI Agent can call `rutebayar` to create a dynamic invoice, store its own run reference, check payment status, and react to verified webhooks. The CLI becomes a narrow, inspectable tool boundary between automation and money movement.
Open the skill guide$ rutebayar pay status --provider xendit --reference agent-run-1001 reference: agent-run-1001 provider: xendit status: paid $ rutebayar reconcile --provider xendit --reference agent-run-1001 local status is in sync
Install
The current release ships static binaries for Linux, macOS, and Windows.
$ brew tap pendig/tap $ brew install rutebayar $ rutebayar provider list $ rutebayar onboard xendit --environment sandbox