Skip to content

Wallet & transactions ​

Use the wallet endpoints to check available UNITS and review transaction history.

GET/api/v1/wallet/balance ​

Returns the current wallet balance.

Example request ​

bash
curl "https://taura.xashpay.com/api/v1/wallet/balance" \
  --header "Accept: application/json" \
  --header "Authorization: Bearer TOKEN"

Response: 200 ​

json
{
  "currency": "UNITS",
  "balance": 225.0,
  "available_balance": 225.0,
  "pending_balance": 0.0,
  "on_hold_balance": 25.0,
  "last_updated": "2026-08-31T08:30:00+00:00"
}
FieldTypeNotes
currencystringWallet currency.
balancenumberCurrent spendable balance.
available_balancenumberAmount currently available.
pending_balancenumberAmount not yet available.
on_hold_balancenumberAmount temporarily unavailable.
last_updatedstringISO 8601 timestamp for the response.

GET/api/v1/wallet/transactions ​

Lists wallet transactions, newest first.

Query parameters ​

ParameterTypeRequiredNotes
per_pageintegerNo1 to 100, default 20.
pageintegerNoPage number, starting at 1.
typestringNovendor_funding or taura_topup.
statusstringNosuccess, on_hold, or canceled.

Example request ​

bash
curl "https://taura.xashpay.com/api/v1/wallet/transactions?per_page=20" \
  --header "Accept: application/json" \
  --header "Authorization: Bearer TOKEN"

Transaction fields ​

FieldTypeNotes
uuidstringTransaction identifier.
typestringTransaction category.
namestringDisplay name.
amountnumberTransaction amount.
receivednumberAmount applied to the wallet.
currencystringWallet currency.
statusstringCurrent transaction status.
metaobjectAdditional details. Keys vary by transaction type.
created_atstring|nullISO 8601 timestamp.

The response contains a transactions array and a meta object with current_page, total, per_page, and last_page.

Taura Xashpay vendor API documentation. Contact Xash support for access.