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

# Check your API key

> Returns the organization and API key the request was made with. Useful to test your setup.



## OpenAPI

````yaml /api-reference/openapi.yaml get /whoami
openapi: 3.1.0
info:
  title: Artery Partner API
  version: 0.2.0-draft
  summary: Collect rand in South Africa through Easypay PINs and receive US dollars.
  description: >
    The Artery Partner API lets your platform collect rand from customers in
    South Africa through

    Easypay PINs, and receive the net amount in US dollars on your Artery
    balance. You fund and

    withdraw that balance in stablecoin.


    **Draft (1 Dec 2026).** Realigned by hand to the partner routes in
    `Nuage-Payments/jano-money`

    (`dev`): `artery/artery-b2b.controller.ts`,
    `custody/custody-withdrawals.controller.ts`,

    `artery/withdrawal-destinations.controller.ts`,
    `custody/funding.controller.ts`, with types from

    `packages/types/src/artery.ts` and `custody.ts`. The code also generates its
    own OpenAPI file

    (`@nestjs/swagger`, `/api/v1/docs-json`); once exported it should replace
    this file. Charges and

    transfers (the Flutterwave consumer rail) are left out: they're off on the
    standalone Artery API.
  contact:
    name: Artery support
    email: support@artery.money
    url: https://docs.artery.money
servers:
  - url: https://api.artery.money/api/v1/artery/b2b
    description: Live
  - url: https://uat-api.artery.money/api/v1/artery/b2b
    description: Test (UAT). The partner sandbox address is still to be confirmed.
security:
  - apiKey: []
tags:
  - name: Account
    description: Check which organization and key you're using.
  - name: PINs
    description: Easypay PINs your customers pay.
  - name: Balance
    description: Your balance in US dollars.
  - name: Funding
    description: Stablecoin deposit addresses and the deposits made to them.
  - name: Withdrawals
    description: Withdrawal wallets and withdrawals in stablecoin.
paths:
  /whoami:
    get:
      tags:
        - Account
      summary: Check your API key
      description: >-
        Returns the organization and API key the request was made with. Useful
        to test your setup.
      operationId: whoami
      responses:
        '200':
          description: Your organization and key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WhoAmI'
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  schemas:
    WhoAmI:
      type: object
      properties:
        organization:
          type: object
          properties:
            id:
              type: string
            name:
              type: string
            slug:
              type: string
            tier:
              type: string
              enum:
                - SANDBOX
                - STARTER
                - GROWTH
                - ENTERPRISE
            kybStatus:
              type: string
        apiKey:
          type: object
          properties:
            id:
              type: string
            name:
              type: string
            keyPrefix:
              type: string
            environment:
              type: string
              enum:
                - SANDBOX
                - LIVE
            scopes:
              type: array
              items:
                type: string
        orgTier:
          type: string
    Error:
      type: object
      required:
        - statusCode
        - message
      properties:
        statusCode:
          type: integer
        message:
          description: An error code such as `INVALID_AMOUNT`, or a short explanation.
          oneOf:
            - type: string
            - type: array
              items:
                type: string
        error:
          type: string
  responses:
    Unauthorized:
      description: >-
        The key is missing, malformed, unknown, expired, or for the other
        environment.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            statusCode: 401
            message: Invalid API key
            error: Unauthorized
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: >
        Send your key as `Authorization: Bearer <key>`. Sandbox keys start
        `art_test_ro_` (read) or

        `art_test_rw_` (write). A key only works in its own environment, and a
        key with an IP

        allowlist only works from those addresses.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.