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{
"success": true,
"message": "Account retrieved successfully",
"data": {
"account": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "Beta Logistics LLC",
"email": "jsmith@example.com",
"entityType": "business",
"applicationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"applicationStatus": "draft",
"currentStep": 1,
"isComplete": true,
"createdAt": "2023-11-07T05:31:56Z"
},
"application": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "draft",
"current_step": 123,
"is_complete": true,
"business_info": {
"legalName": "Acme Corp Ltd",
"tradingName": "<string>",
"businessType": "Limited Company",
"incorporationDate": "2020-01-15",
"incorporationCountry": "NG",
"registrationNumber": "RC-1234567",
"taxId": "12345678-0001",
"website": "<string>",
"description": "<string>",
"monthlyVolume": "<string>",
"annualRevenue": "<string>",
"primaryFundingSource": "<string>"
},
"business_address": {
"street": "123 Main Street",
"city": "Lagos",
"state": "Lagos",
"postalCode": "100001",
"country": "NG"
},
"contact_info": {
"email": "contact@acmecorp.com",
"phone": "+2341234567890"
},
"related_persons": [
{
"id": "<string>",
"firstName": "John",
"lastName": "Doe",
"roles": [
"Beneficial Owner"
],
"email": "jsmith@example.com",
"phone": "<string>",
"dateOfBirth": "1990-01-15",
"ownershipPercentage": 50,
"currentAddress": {
"street": "123 Main Street",
"city": "Lagos",
"state": "Lagos",
"postalCode": "100001",
"country": "NG"
},
"sourceOfWealthExplanation": "<string>",
"taxId": "440301199209153216",
"bvn": "<string>",
"nin": "<string>"
}
],
"banking_info": {
"bankName": "<string>",
"accountNumber": "<string>",
"routingNumber": "<string>",
"accountType": "checking",
"currency": "<string>"
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
},
"documents": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"applicationId": "<string>",
"documentType": "certificate_of_incorporation",
"fileName": "<string>",
"fileUrl": "<string>",
"relatedPersonKey": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}
]
}
}{
"success": false,
"message": "<string>"
}{
"success": false,
"message": "<string>"
}Account Onboarding
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{
"success": true,
"message": "Account retrieved successfully",
"data": {
"account": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "Beta Logistics LLC",
"email": "jsmith@example.com",
"entityType": "business",
"applicationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"applicationStatus": "draft",
"currentStep": 1,
"isComplete": true,
"createdAt": "2023-11-07T05:31:56Z"
},
"application": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "draft",
"current_step": 123,
"is_complete": true,
"business_info": {
"legalName": "Acme Corp Ltd",
"tradingName": "<string>",
"businessType": "Limited Company",
"incorporationDate": "2020-01-15",
"incorporationCountry": "NG",
"registrationNumber": "RC-1234567",
"taxId": "12345678-0001",
"website": "<string>",
"description": "<string>",
"monthlyVolume": "<string>",
"annualRevenue": "<string>",
"primaryFundingSource": "<string>"
},
"business_address": {
"street": "123 Main Street",
"city": "Lagos",
"state": "Lagos",
"postalCode": "100001",
"country": "NG"
},
"contact_info": {
"email": "contact@acmecorp.com",
"phone": "+2341234567890"
},
"related_persons": [
{
"id": "<string>",
"firstName": "John",
"lastName": "Doe",
"roles": [
"Beneficial Owner"
],
"email": "jsmith@example.com",
"phone": "<string>",
"dateOfBirth": "1990-01-15",
"ownershipPercentage": 50,
"currentAddress": {
"street": "123 Main Street",
"city": "Lagos",
"state": "Lagos",
"postalCode": "100001",
"country": "NG"
},
"sourceOfWealthExplanation": "<string>",
"taxId": "440301199209153216",
"bvn": "<string>",
"nin": "<string>"
}
],
"banking_info": {
"bankName": "<string>",
"accountNumber": "<string>",
"routingNumber": "<string>",
"accountType": "checking",
"currency": "<string>"
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
},
"documents": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"applicationId": "<string>",
"documentType": "certificate_of_incorporation",
"fileName": "<string>",
"fileUrl": "<string>",
"relatedPersonKey": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}
]
}
}{
"success": false,
"message": "<string>"
}{
"success": false,
"message": "<string>"
}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
{
"success": true,
"message": "Account retrieved successfully",
"data": {
"account": {
"id": "b6075be0-f1d0-451f-a468-3e94563101d2",
"name": "Jane Doe",
"email": "owner@example.com",
"entityType": "individual",
"createdAt": "2026-06-12T23:30:43.040Z"
},
"application": {
"id": "f436daf8-146b-4949-bf28-9b36440085a4",
"status": "submitted",
"current_step": 3,
"is_complete": true,
"entity_type": "individual",
"individual_info": {
"firstName": "Jane",
"lastName": "Doe",
"phone": "+2348012345678",
"dateOfBirth": "1990-05-14",
"citizenship": "NG"
}
},
"documents": [
{
"id": "0c95b2a1-7a93-4a3a-9a52-2a1f0b9b3c11",
"document_type": "proof_of_address",
"file_name": "bank_statement.pdf",
"mime_type": "application/pdf"
}
]
}
}
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
⌘I