> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rolla.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Account

> Retrieves an account with its full KYB/KYC application and uploaded documents.

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

```bash theme={null}
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

```json theme={null}
{
  "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"
      }
    ]
  }
}
```

<Tip>
  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.
</Tip>


## OpenAPI

````yaml GET /accounts/{accountId}
openapi: 3.1.0
info:
  title: Rolla Developer API
  description: >-
    API for programmatic transaction management on the Rolla platform. Monetary
    `amount` fields use the smallest unit of the referenced currency unless an
    endpoint says otherwise (e.g. NGN = kobo, USD = cents, where **100 cents =
    USD 1.00**).
  version: 1.0.0
servers:
  - url: https://api.rolla.xyz/api/v1/external
    description: Production server
security:
  - apiKeyAuth: []
paths:
  /accounts/{accountId}:
    get:
      summary: Get Account
      description: >-
        Retrieves an account with its full KYB/KYC application and uploaded
        documents.
      operationId: getAccount
      parameters:
        - name: accountId
          in: path
          required: true
          description: >-
            Identifier of an account owned by the same user as your API key's
            business
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Account retrieved successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Account retrieved successfully
                  data:
                    type: object
                    properties:
                      account:
                        $ref: '#/components/schemas/Account'
                      application:
                        $ref: '#/components/schemas/KybApplication'
                      documents:
                        type: array
                        items:
                          $ref: '#/components/schemas/KybDocument'
        '401':
          description: Invalid or missing API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Account not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Account:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
          example: Beta Logistics LLC
        email:
          type: string
          format: email
          description: Owner's email (shared across all of the owner's accounts)
        entityType:
          type: string
          enum:
            - business
            - individual
        applicationId:
          type: string
          format: uuid
        applicationStatus:
          type: string
          enum:
            - draft
            - submitted
            - approved
            - rejected
            - changes_requested
        currentStep:
          type: integer
          example: 1
        isComplete:
          type: boolean
        createdAt:
          type: string
          format: date-time
    KybApplication:
      type: object
      properties:
        id:
          type: string
          format: uuid
        status:
          type: string
          enum:
            - draft
            - submitted
            - approved
            - rejected
            - changes_requested
        current_step:
          type: integer
        is_complete:
          type: boolean
        business_info:
          $ref: '#/components/schemas/BusinessInfo'
        business_address:
          $ref: '#/components/schemas/BusinessAddress'
        contact_info:
          $ref: '#/components/schemas/ContactInfo'
        related_persons:
          type: array
          items:
            $ref: '#/components/schemas/RelatedPerson'
        banking_info:
          $ref: '#/components/schemas/BankingInfo'
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    KybDocument:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Document identifier
        applicationId:
          type: string
          description: Associated KYB application ID
        documentType:
          type: string
          description: Type of document
          enum:
            - certificate_of_incorporation
            - articles_of_association
            - proof_of_address
            - director_register
            - shareholder_register
        fileName:
          type: string
          description: Uploaded file name
        fileUrl:
          type: string
          format: uri
          description: Document download URL
        relatedPersonKey:
          type: string
          description: Associated related person
        created_at:
          type: string
          format: date-time
          description: Upload timestamp
    Error:
      type: object
      properties:
        success:
          type: boolean
          example: false
        message:
          type: string
    BusinessInfo:
      type: object
      properties:
        legalName:
          type: string
          example: Acme Corp Ltd
        tradingName:
          type: string
        businessType:
          type: string
          example: Limited Company
        incorporationDate:
          type: string
          example: '2020-01-15'
        incorporationCountry:
          type: string
          example: NG
        registrationNumber:
          type: string
          example: RC-1234567
        taxId:
          type: string
          example: 12345678-0001
        website:
          type: string
          format: uri
        description:
          type: string
        monthlyVolume:
          type: string
        annualRevenue:
          type: string
        primaryFundingSource:
          type: string
    BusinessAddress:
      type: object
      properties:
        street:
          type: string
          example: 123 Main Street
        city:
          type: string
          example: Lagos
        state:
          type: string
          example: Lagos
        postalCode:
          type: string
          example: '100001'
        country:
          type: string
          example: NG
    ContactInfo:
      type: object
      properties:
        email:
          type: string
          format: email
          example: contact@acmecorp.com
        phone:
          type: string
          example: '+2341234567890'
    RelatedPerson:
      type: object
      properties:
        id:
          type: string
        firstName:
          type: string
          example: John
        lastName:
          type: string
          example: Doe
        roles:
          type: array
          items:
            type: string
            enum:
              - Beneficial Owner
              - Director
        email:
          type: string
          format: email
        phone:
          type: string
        dateOfBirth:
          type: string
          example: '1990-01-15'
        ownershipPercentage:
          type: number
          minimum: 0
          maximum: 100
        currentAddress:
          $ref: '#/components/schemas/BusinessAddress'
        sourceOfWealthExplanation:
          type: string
        taxId:
          type: string
          description: >-
            The person's government identifier, in the format their country of
            residence issues — Mainland China: 18-character resident ID; Hong
            Kong: HKID; United States: SSN or ITIN; elsewhere: national ID or
            tax number as issued. Nigerian residents send `nin` instead.
            Required before the application can be submitted, and can be patched
            onto an existing person. The format is validated by the USD provider
            when the account is issued.
          example: '440301199209153216'
        bvn:
          type: string
          description: Bank Verification Number (11 digits). Nigerian residents only.
        nin:
          type: string
          description: >-
            National Identification Number (11 digits). Nigerian residents only;
            accepted in place of `taxId`.
    BankingInfo:
      type: object
      properties:
        bankName:
          type: string
        accountNumber:
          type: string
        routingNumber:
          type: string
        accountType:
          type: string
          enum:
            - checking
            - savings
        currency:
          type: string
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: Your Rolla API key

````