Get Statement
curl --request GET \
--url https://api.rolla.xyz/api/v1/external/wallet/statement \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.rolla.xyz/api/v1/external/wallet/statement"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.rolla.xyz/api/v1/external/wallet/statement', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.rolla.xyz/api/v1/external/wallet/statement",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.rolla.xyz/api/v1/external/wallet/statement"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.rolla.xyz/api/v1/external/wallet/statement")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rolla.xyz/api/v1/external/wallet/statement")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"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,
"fee_transaction_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"fee_reference": "FEE-9J76UADV",
"related_transaction_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"related_reference": "<string>",
"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"
}
]
}
}{
"success": false,
"message": "<string>"
}Wallet
Get Statement
Retrieves wallet statement data for generating account statements.
GET
/
wallet
/
statement
Get Statement
curl --request GET \
--url https://api.rolla.xyz/api/v1/external/wallet/statement \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.rolla.xyz/api/v1/external/wallet/statement"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.rolla.xyz/api/v1/external/wallet/statement', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.rolla.xyz/api/v1/external/wallet/statement",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.rolla.xyz/api/v1/external/wallet/statement"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.rolla.xyz/api/v1/external/wallet/statement")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rolla.xyz/api/v1/external/wallet/statement")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"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,
"fee_transaction_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"fee_reference": "FEE-9J76UADV",
"related_transaction_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"related_reference": "<string>",
"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"
}
]
}
}{
"success": false,
"message": "<string>"
}Retrieve a wallet statement summary including opening/closing balances, totals, and a sanitized transaction list for a given period.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
currency | string | Yes | Wallet currency (e.g. NGN, USD) |
startDate | string | No | Start of period (YYYY-MM-DD). Defaults to 30 days ago. |
endDate | string | No | End of period (YYYY-MM-DD, inclusive). Defaults to today. |
accountType | string | No | wallet (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
Your Rolla API key
Query Parameters
Currency of the wallet to generate the statement for
Available options:
NGN, USD, XAF Example:
"NGN"
Start date in YYYY-MM-DD format. Defaults to 1 month ago.
Example:
"2026-01-01"
End date in YYYY-MM-DD format. Defaults to today.
Example:
"2026-02-26"
Filter by account type
⌘I