---
updatedAt: 2025-09-08T22:30:57.000Z
agentTools:
  projectIndex: https://boomfi.readme.io/llms.txt
---

# Get Account by Reference

Retrieve details for a specific account using its reference. Fetch detailed information about an account, including its status and associated metadata, using the provided account reference. This endpoint is useful for verifying account existence and retrieving essential details.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "contact": {
      "email": "support@boomfi.xyz",
      "name": "API Support"
    },
    "description": "The BoomFi Partners API provides a set of endpoints for patners to manage their accounts, transactions, and more.",
    "title": "BoomFi Partners API",
    "version": "1.0"
  },
  "paths": {
    "/partners/accounts/{account_ref}": {
      "get": {
        "tags": [
          "Partners"
        ],
        "summary": "Get Account by Reference",
        "description": "Retrieve details for a specific account using its reference. Fetch detailed information about an account, including its status and associated metadata, using the provided account reference. This endpoint is useful for verifying account existence and retrieving essential details.",
        "operationId": "get-account-by-reference",
        "parameters": [
          {
            "description": "Your own account reference identifier.",
            "in": "path",
            "name": "account_ref",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/partners.GetAccountByReferenceSuccess"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/internal.ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/internal.ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/internal.ErrorResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "ApiSignature": []
          },
          {
            "ApiNonce": []
          }
        ]
      }
    }
  },
  "servers": [
    {
      "url": "//mapi.boomfi.xyz"
    }
  ],
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "in": "header",
        "name": "X-API-KEY",
        "type": "apiKey"
      },
      "ApiNonce": {
        "in": "header",
        "name": "X-API-Nonce",
        "type": "apiKey"
      },
      "ApiSignature": {
        "in": "header",
        "name": "X-API-Signature",
        "type": "apiKey"
      }
    },
    "schemas": {
      "internal.ErrorResponse": {
        "type": "object",
        "properties": {
          "error": {
            "$ref": "#/components/schemas/internal.ErrorStruct"
          }
        }
      },
      "internal.ErrorStruct": {
        "type": "object",
        "properties": {
          "code": {
            "description": "The error code returned by the server.\nExample: 400",
            "type": "integer",
            "example": 400
          },
          "errors": {
            "description": "A list of detailed error objects.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/internal.SingleError"
            }
          },
          "message": {
            "description": "A descriptive message explaining the error.\nExample: Insufficient quantity",
            "type": "string",
            "example": "Insufficient quantity"
          }
        }
      },
      "internal.SingleError": {
        "type": "object",
        "properties": {
          "domain": {
            "description": "The domain associated with the error.\nExample: orders",
            "type": "string",
            "example": "orders"
          },
          "reason": {
            "description": "The reason for the error.\nExample: InsufficientQuantity",
            "type": "string",
            "example": "InsufficientQuantity"
          }
        }
      },
      "partners.GetAccountByReferenceSuccess": {
        "description": "Successfully retrieved the account details.",
        "properties": {
          "id": {
            "type": "integer",
            "description": "Unique identifier for the account.",
            "example": 3758
          },
          "org_id": {
            "type": "string",
            "description": "Organization ID associated with the account.",
            "example": "2Tpmnmh6GHJXumKN1oBy2u56Ima"
          },
          "reference": {
            "type": "string",
            "description": "Reference identifier for the account.",
            "example": "operator-1"
          },
          "account_type": {
            "type": "string",
            "description": "Type of the account.",
            "example": "CryptoPayIn"
          },
          "name": {
            "type": "string",
            "description": "Name of the account.",
            "example": "operator-1"
          },
          "chain_id": {
            "type": "integer",
            "description": "Blockchain chain ID for the account.",
            "example": 0
          },
          "address": {
            "type": "string",
            "description": "Address associated with the account (if applicable).",
            "example": ""
          },
          "currencies": {
            "type": "array",
            "description": "List of supported currencies for the account.",
            "items": {
              "type": "string"
            },
            "example": [
              "USDC",
              "DAI",
              "USDT"
            ]
          },
          "account_number": {
            "type": "string",
            "description": "Account number (if applicable).",
            "example": ""
          },
          "sort_code": {
            "type": "string",
            "description": "Sort code (if applicable).",
            "example": ""
          },
          "enabled": {
            "type": "boolean",
            "description": "Indicates whether the account is active.",
            "example": true
          },
          "state": {
            "type": "string",
            "description": "Current state of the account.",
            "example": "Ready"
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "description": "Timestamp of when the account was created.",
            "example": "2024-12-27T10:28:18.599Z"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time",
            "description": "Timestamp of the last update to the account.",
            "example": "2024-12-27T10:28:18.599Z"
          },
          "provider": {
            "type": "string",
            "description": "Provider managing the account.",
            "example": "BoomFi"
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```