---
title: "Get Merchant Account"
method: GET
path: "/billing/merchant_accounts/{merchant_account_id}"
tags: ["provider", "billing"]
---

# Get Merchant Account

`GET /billing/merchant_accounts/{merchant_account_id}`

## Request

- Base URL: `https://docs.decodahealth.com` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.decodahealth.com/billing/merchant_accounts/{merchant_account_id}`
- Auth: none declared. Required headers: `TENANT`, `API-KEY`
- TypeScript: <https://skmtc.dev/decodahealth/apis/decoda-api/docs/billing/merchant_accounts/:merchant_account_id/get.ts> (a function with typed inputs; its response is checked against the schema)

Get a specific merchant account by ID.

## Headers

- `TENANT` string, required
- `API-KEY` string, required

## Request body

- MerchantAccountFilters: Filters for merchant accounts.
  - `id` string, nullable: The unique identifier for the merchant account
  - `name` string, nullable: The name of the merchant account
  - `isDefault` boolean, nullable: Whether the merchant account is the default
  - `locationId` string, nullable: The location ID

## Response `200`

Successful Response

- MerchantAccount: Basic merchant account information.
  - `id` string, required: The rainforest merchant account ID
  - `name` string, required: Friendly name for the merchant account
  - `isDefault` boolean, required: Whether this is the default merchant account for the tenant
  - `cardProcessingFee` number, required: Card processing fee
  - `perTransactionFee` integer, required: Per transaction fee
  - `inPersonCardProcessingFee` number, required: In-person card processing fee
  - `inPersonPerTransactionFee` integer, required: In-person per transaction fee
  - `createdDate` string, date-time, required: The date and time the merchant account was created
  - `updatedDate` string, date-time, nullable: The date and time the merchant account was last updated
  - `locations` LocationSummary[], nullable: The locations associated with the merchant account
    - `id` string, required
    - `isVirtual` boolean, required
    - `name` string, required
    - `addressLineOne` string, nullable
    - `addressLineTwo` string, nullable
    - `city` string, nullable
    - `state` string, nullable
    - `zipCode` string, nullable
    - `country` string, nullable
    - `createdDate` string, date-time, nullable
    - `spakinectLocationId` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/decodahealth/apis/decoda-api.md) - [All operations](https://skmtc.dev/decodahealth/apis/decoda-api/llms.txt) - [OpenAPI document](https://skmtc.dev/decodahealth/apis/decoda-api/revisions/4ab18c80f9e9?raw)
