Appearance
API overview
Use this base URL for every request:
text
https://taura.xashpay.com/api/v1The examples use TOKEN as a placeholder for your API key.
Authentication
Send a Bearer token with every request:
http
Accept: application/json
Content-Type: application/json
Authorization: Bearer TOKENContent-Type is only needed when the request has a JSON body. Create and revoke tokens under Profile & API Keys in the panel. Contact Xash support if you need access.
Endpoints
| Method | Path | Purpose |
|---|---|---|
GET | /me | Check the account linked to the token |
GET | /wallet/balance | Check the current wallet balance |
GET | /wallet/transactions | List wallet activity |
GET | /vendor/fundings | List funding history |
GET | /taura/topups | List Taura top-ups |
POST | /taura/topups | Create a Taura top-up |
GET | /reports/summary | Read wallet and top-up totals |
Response format
Responses are JSON objects. A single record uses a singular key, such as topup. A list uses a plural key, such as topups.
json
{
"topup": {
"uuid": "2236170a-85fb-4354-ab0b-941871ecfab0",
"status": "completed"
}
}Identifiers are UUID strings and timestamps use ISO 8601. See Errors for unsuccessful requests.
Amounts
Wallet balances and Taura top-ups use UNITS. Send top-up amounts as positive numbers.
Rate limiting
POST /taura/topups accepts up to 30 requests per minute. A request over the limit returns HTTP 429. Wait for the Retry-After period, then retry with the same ref.
Pagination
List endpoints accept page and per_page and return the newest records first.
- Wallet transactions accept
per_pagefrom 1 to 100 and return pagination details inmeta. - Top-ups and fundings use a default
per_pagevalue of 20. An empty list means there are no more records on that page.
Check your token
GET/api/v1/me
Use /me to confirm which account is linked to the token.
bash
curl "https://taura.xashpay.com/api/v1/me" \
--header "Accept: application/json" \
--header "Authorization: Bearer TOKEN"Typical integration
- Check
GET /wallet/balance. - Create a top-up with a unique
ref. - Read the returned
statusbefore updating the customer order. - Store the top-up
uuidand yourref. - Use the list and report endpoints when you need to review activity.