Digital wallets, peer-to-peer transfers, payment holds, pending transfers, and transaction history. Add payments to any app in minutes.
All requests require your Developer API key in the Authorization header. User-scoped endpoints also need a session token obtained from the Rails Auth API.
Rails Pay provides multi-currency wallets with instant P2P transfers. Authenticate users via the Auth API, then use Pay for all financial operations.
POST /transfers/estimate before sending
/wallets
List all wallets with balances
/wallets/{currency}
Get wallet by currency (USD, ZIG)
/wallets/{currency}/balance
Get balance only (lightweight)
/transfers/estimate
Estimate fees before sending
/transfers
Send money to another user
/transactions
List transactions (filterable, paginated)
/transactions/{id}
Get transaction details
/pending-transfers
Send to unregistered user
/pending-transfers
List sent pending transfers
/pending-transfers/claimable
Get incoming money to claim
/pending-transfers/claim
Claim a pending transfer
/pending-transfers/{id}
Get pending transfer details
/pending-transfers/{id}/cancel
Cancel and refund a pending transfer
Pending transfers hold funds in the sender's wallet. If unclaimed, they expire and refund automatically.
All errors follow a standard format.
400
Insufficient funds or self-transfer attempted
401
Invalid or missing API key / session token
404
Wallet or transaction not found
409
Pending transfer already claimed
410
Pending transfer expired and refunded
429
Rate limit exceeded