Skip to main content
GET
/
wallet
/
statement
Get Statement
curl --request GET \
  --url https://api.rolla.xyz/api/v1/external/wallet/statement \
  --header 'X-API-Key: <api-key>'
{
  "success": true,
  "message": "Statement data retrieved successfully",
  "data": {
    "businessName": "Acme Corp Ltd",
    "currency": "NGN",
    "openingBalance": 500000,
    "closingBalance": 1000000,
    "totalCredits": 750000,
    "totalDebits": 250000,
    "transactions": [
      {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "transaction_type": "deposit",
        "status": "pending",
        "description": "<string>",
        "external_reference": "<string>",
        "fee_amount": 123,
        "source_amount": 123,
        "destination_amount": 123,
        "source_currency": "<string>",
        "destination_currency": "<string>",
        "created_at": "2023-11-07T05:31:56Z",
        "updated_at": "2023-11-07T05:31:56Z"
      }
    ]
  }
}
Retrieve a wallet statement summary including opening/closing balances, totals, and a sanitized transaction list for a given period.

Query Parameters

ParameterTypeRequiredDescription
currencystringYesWallet currency (e.g. NGN, USD)
startDatestringNoStart of period (YYYY-MM-DD). Defaults to 30 days ago.
endDatestringNoEnd of period (YYYY-MM-DD, inclusive). Defaults to today.
accountTypestringNowallet (default) or loan

Example Request

curl -X GET "https://api.rolla.xyz/api/v1/external/wallet/statement?currency=NGN&startDate=2026-01-01&endDate=2026-01-31&accountType=wallet" \
  -H "X-API-Key: your_api_key_here"

Example Response

{
  "success": true,
  "message": "Statement data retrieved successfully",
  "data": {
    "businessName": "Acme Corp Ltd",
    "currency": "NGN",
    "openingBalance": 500000,
    "closingBalance": 1000000,
    "totalCredits": 750000,
    "totalDebits": 250000,
    "transactions": [
      {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "transaction_type": "deposit",
        "status": "completed",
        "description": "Wallet funding",
        "external_reference": "ref_abc123",
        "fee_amount": 0,
        "source_amount": 750000,
        "destination_amount": 750000,
        "source_currency": "NGN",
        "destination_currency": "NGN",
        "created_at": "2026-01-10T09:15:00.000Z",
        "updated_at": "2026-01-10T09:15:30.000Z"
      }
    ]
  }
}
Use this endpoint to generate periodic account statements for your records or for compliance reporting.
accountType accepts two values: wallet (default, for your main wallet) and loan (for loan accounts).

Authorizations

X-API-Key
string
header
required

Your Rolla API key

Query Parameters

currency
enum<string>
required

Currency of the wallet to generate the statement for

Available options:
NGN,
USD,
XAF
Example:

"NGN"

startDate
string<date>

Start date in YYYY-MM-DD format. Defaults to 1 month ago.

Example:

"2026-01-01"

endDate
string<date>

End date in YYYY-MM-DD format. Defaults to today.

Example:

"2026-02-26"

accountType
string

Filter by account type

Response

Statement data retrieved successfully

success
boolean
Example:

true

message
string
Example:

"Statement data retrieved successfully"

data
object