Skip to main content
GET
/
wallet
/
transactions
Get Wallet Transactions
curl --request GET \
  --url https://api.rolla.xyz/api/v1/external/wallet/transactions \
  --header 'X-API-Key: <api-key>'
{
  "success": true,
  "message": "Transactions retrieved successfully",
  "data": {
    "transactions": [
      {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "type": "deposit",
        "status": "pending",
        "amount": 123,
        "currency": "<string>",
        "description": "<string>",
        "created_at": "2023-11-07T05:31:56Z"
      }
    ],
    "pagination": {
      "page": 123,
      "pageSize": 123,
      "total": 123
    }
  }
}
Retrieve a paginated list of wallet transactions with optional filtering by currency, type, status, date range, and search term.

Example Request

curl -X GET "https://api.rolla.xyz/api/v1/external/wallet/transactions?currency=NGN&status=completed&page=1&pageSize=20" \
  -H "X-API-Key: your_api_key_here"

Query Parameters

ParameterTypeDescription
currencystringFilter by 3-letter currency code (e.g. NGN, USD)
transactionTypestringFilter by type: deposit, withdrawal, swap
statusstringFilter by status: pending, completed, failed, rejected, sent
pageintegerPage number (default: 1)
pageSizeintegerResults per page (default: 20, max: 100)
startDatestringStart date filter (YYYY-MM-DD)
endDatestringEnd date filter (YYYY-MM-DD)
searchstringSearch term to filter transactions

Example Response

{
  "success": true,
  "message": "Transactions retrieved successfully",
  "data": {
    "transactions": [
      {
        "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
        "type": "withdrawal",
        "status": "completed",
        "amount": 500000,
        "currency": "NGN",
        "description": "Vendor payment",
        "created_at": "2024-01-15T10:30:00.000Z"
      }
    ],
    "pagination": {
      "page": 1,
      "pageSize": 20,
      "total": 150
    }
  }
}
Use date range filters to export transaction data for specific periods. Combine with the status filter to find failed transactions that may need to be retried.

Authorizations

X-API-Key
string
header
required

Your Rolla API key

Query Parameters

currency
string

Filter by 3-letter currency code

Required string length: 3
transactionType
enum<string>

Filter by transaction type

Available options:
deposit,
withdrawal,
swap
status
enum<string>

Filter by status

Available options:
pending,
completed,
failed,
rejected,
sent
page
integer
default:1

Page number (default: 1)

Required range: x >= 1
pageSize
integer
default:20

Results per page (default: 20, max: 100)

Required range: 1 <= x <= 100
startDate
string<date>

Start date filter (YYYY-MM-DD)

endDate
string<date>

End date filter (YYYY-MM-DD)

Search term to filter transactions

Response

Transactions retrieved successfully

success
boolean
Example:

true

message
string
Example:

"Transactions retrieved successfully"

data
object