Developers · Wallets

Wallets

Multi-currency balances backed by a double-entry ledger. Every movement is a balanced pair of ledger entries, so balances always reconcile.

Balances

Each wallet exposes an available balance (spendable now) and a pending balance (funds locked by in-flight payments). Funds are locked at authorization and only released on success or failure — the backend never lets a balance go negative.

Read a balance

curl https://sandbox.amnenpay.com/v1/wallets/wlt_1a2b3c/balance \
  -H "Authorization: Bearer sk_test_51H8xExampleSandboxKeyOnly"

Endpoints

EndpointDescription
GET /walletsList the wallets on your account.
POST /walletsCreate a wallet in a given currency.
GET /wallets/{walletId}/balanceRead available and pending balances.
GET /wallets/{walletId}/transactionsPaginated ledger of wallet movements.
POST /wallets/{walletId}/transferMove funds to another wallet. Requires Idempotency-Key.
POST /wallets/{walletId}/fundTop up a wallet. Requires Idempotency-Key.