Get Account
curl --request GET \
--url https://api.rolla.xyz/api/v1/external/accounts/{accountId} \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.rolla.xyz/api/v1/external/accounts/{accountId}"
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/accounts/{accountId}', 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/accounts/{accountId}",
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/accounts/{accountId}"
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/accounts/{accountId}")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rolla.xyz/api/v1/external/accounts/{accountId}")
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{
"status": 200,
"message": "Account retrieved successfully",
"success": true,
"data": {
"account": {
"id": "b6075be0-f1d0-451f-a468-3e94563101d2",
"name": "Jane Doe",
"email": "jane.doe@example.com",
"entityType": "individual",
"createdAt": "2026-06-12T23:30:43.040Z"
},
"application": {
"id": "f436daf8-146b-4949-bf28-9b36440085a4",
"invite_id": "b6075be0-f1d0-451f-a468-3e94563101d2",
"entity_type": "individual",
"status": "submitted",
"current_step": 3,
"is_complete": true,
"business_info": null,
"business_address": null,
"contact_info": null,
"banking_info": null,
"related_persons": null,
"individual_info": {
"firstName": "Jane",
"lastName": "Doe",
"phone": "+2348012345678",
"dateOfBirth": "1990-05-14",
"citizenship": "NG",
"countryOfResidence": "NG",
"nin": "12345678901",
"bvn": "22212345678",
"address": {
"street": "12 Marina Rd",
"line2": "Suite 4",
"city": "Lagos",
"state": "Lagos",
"postalCode": "101241",
"country": "NG"
},
"employment": {
"status": "self-employed",
"employerName": "Acme Trading Ltd",
"sourceOfWealth": "business_income",
"annualIncome": "50k-100k"
}
},
"change_request_note": null,
"flagged_fields": [],
"created_at": "2026-06-12T23:30:43.040Z",
"updated_at": "2026-06-13T09:14:02.117Z"
},
"documents": [
{
"id": "0c95b2a1-7a93-4a3a-9a52-2a1f0b9b3c11",
"kyb_application_id": "f436daf8-146b-4949-bf28-9b36440085a4",
"document_type": "proof_of_address",
"file_name": "bank_statement.pdf",
"file_path": "f436daf8-146b-4949-bf28-9b36440085a4/proof_of_address/bank_statement_1781304842117.pdf",
"file_size": 284119,
"mime_type": "application/pdf",
"is_required": true,
"uploaded_at": "2026-06-13T09:14:02.117Z"
}
]
}
}{
"status": 400,
"message": "Validation failed",
"code": "ACCOUNT_RESTRICTED",
"errors": [
{
"path": [
"amount"
],
"message": "amount must be a whole number of smallest currency units (e.g. cents)"
}
]
}{
"status": 404,
"message": "Account not found"
}Applications
Get Account
Retrieves an account with its full KYB/KYC application and uploaded documents.
GET
/
accounts
/
{accountId}
Get Account
curl --request GET \
--url https://api.rolla.xyz/api/v1/external/accounts/{accountId} \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.rolla.xyz/api/v1/external/accounts/{accountId}"
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/accounts/{accountId}', 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/accounts/{accountId}",
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/accounts/{accountId}"
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/accounts/{accountId}")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rolla.xyz/api/v1/external/accounts/{accountId}")
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{
"status": 200,
"message": "Account retrieved successfully",
"success": true,
"data": {
"account": {
"id": "b6075be0-f1d0-451f-a468-3e94563101d2",
"name": "Jane Doe",
"email": "jane.doe@example.com",
"entityType": "individual",
"createdAt": "2026-06-12T23:30:43.040Z"
},
"application": {
"id": "f436daf8-146b-4949-bf28-9b36440085a4",
"invite_id": "b6075be0-f1d0-451f-a468-3e94563101d2",
"entity_type": "individual",
"status": "submitted",
"current_step": 3,
"is_complete": true,
"business_info": null,
"business_address": null,
"contact_info": null,
"banking_info": null,
"related_persons": null,
"individual_info": {
"firstName": "Jane",
"lastName": "Doe",
"phone": "+2348012345678",
"dateOfBirth": "1990-05-14",
"citizenship": "NG",
"countryOfResidence": "NG",
"nin": "12345678901",
"bvn": "22212345678",
"address": {
"street": "12 Marina Rd",
"line2": "Suite 4",
"city": "Lagos",
"state": "Lagos",
"postalCode": "101241",
"country": "NG"
},
"employment": {
"status": "self-employed",
"employerName": "Acme Trading Ltd",
"sourceOfWealth": "business_income",
"annualIncome": "50k-100k"
}
},
"change_request_note": null,
"flagged_fields": [],
"created_at": "2026-06-12T23:30:43.040Z",
"updated_at": "2026-06-13T09:14:02.117Z"
},
"documents": [
{
"id": "0c95b2a1-7a93-4a3a-9a52-2a1f0b9b3c11",
"kyb_application_id": "f436daf8-146b-4949-bf28-9b36440085a4",
"document_type": "proof_of_address",
"file_name": "bank_statement.pdf",
"file_path": "f436daf8-146b-4949-bf28-9b36440085a4/proof_of_address/bank_statement_1781304842117.pdf",
"file_size": 284119,
"mime_type": "application/pdf",
"is_required": true,
"uploaded_at": "2026-06-13T09:14:02.117Z"
}
]
}
}{
"status": 400,
"message": "Validation failed",
"code": "ACCOUNT_RESTRICTED",
"errors": [
{
"path": [
"amount"
],
"message": "amount must be a whole number of smallest currency units (e.g. cents)"
}
]
}{
"status": 404,
"message": "Account not found"
}Retrieves a single account with its full KYB/KYC application and uploaded documents. Use this to track an application’s status after submission.
Example Request
curl -X GET "https://api.rolla.xyz/api/v1/external/accounts/b6075be0-f1d0-451f-a468-3e94563101d2" \
-H "X-API-Key: your_api_key_here"
Example Response
{
"status": 200,
"message": "Account retrieved successfully",
"success": true,
"data": {
"account": {
"id": "b6075be0-f1d0-451f-a468-3e94563101d2",
"name": "Jane Doe",
"email": "jane.doe@example.com",
"entityType": "individual",
"createdAt": "2026-06-12T23:30:43.040Z"
},
"application": {
"id": "f436daf8-146b-4949-bf28-9b36440085a4",
"invite_id": "b6075be0-f1d0-451f-a468-3e94563101d2",
"entity_type": "individual",
"status": "submitted",
"current_step": 3,
"is_complete": true,
"business_info": null,
"business_address": null,
"contact_info": null,
"banking_info": null,
"related_persons": null,
"individual_info": {
"firstName": "Jane",
"lastName": "Doe",
"phone": "+2348012345678",
"dateOfBirth": "1990-05-14",
"citizenship": "NG",
"countryOfResidence": "NG",
"nin": "12345678901",
"bvn": "22212345678",
"address": {
"street": "12 Marina Rd",
"line2": "Suite 4",
"city": "Lagos",
"state": "Lagos",
"postalCode": "101241",
"country": "NG"
},
"employment": {
"status": "self-employed",
"employerName": "Acme Trading Ltd",
"sourceOfWealth": "business_income",
"annualIncome": "50k-100k"
}
},
"change_request_note": null,
"flagged_fields": [],
"created_at": "2026-06-12T23:30:43.040Z",
"updated_at": "2026-06-13T09:14:02.117Z"
},
"documents": [
{
"id": "0c95b2a1-7a93-4a3a-9a52-2a1f0b9b3c11",
"kyb_application_id": "f436daf8-146b-4949-bf28-9b36440085a4",
"document_type": "proof_of_address",
"file_name": "bank_statement.pdf",
"file_path": "f436daf8-146b-4949-bf28-9b36440085a4/proof_of_address/bank_statement_1781304842117.pdf",
"file_size": 284119,
"mime_type": "application/pdf",
"is_required": true,
"uploaded_at": "2026-06-13T09:14:02.117Z"
}
]
}
}
application is the stored application row, so its keys are snake_case and the sections that
do not apply to the account’s entity_type come back as null — a business account carries
business_info, business_address, contact_info, banking_info and related_persons, an
individual account carries individual_info. Documents are listed for the whole application;
a related person’s documents carry their id in file_path.Application
status moves from draft → submitted → approved (or changes_requested / rejected). When changes are requested, the application becomes editable again and change_request_note explains what needs fixing.Authorizations
Your Rolla API key
Path Parameters
Identifier of an account owned by the same user as your API key's business