Skip to main content
GET
/
billing
/
merchant_accounts
/
{merchant_account_id}
Get Merchant Account
curl --request GET \
  --url https://api.decodahealth.com/billing/merchant_accounts/{merchant_account_id} \
  --header 'API-KEY: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'TENANT: <tenant>' \
  --data '
{
  "id": "<string>",
  "name": "<string>",
  "isDefault": true,
  "locationId": "<string>"
}
'
{
  "id": "<string>",
  "name": "<string>",
  "isDefault": true,
  "cardProcessingFee": 123,
  "perTransactionFee": 123,
  "inPersonCardProcessingFee": 123,
  "inPersonPerTransactionFee": 123,
  "createdDate": "2023-11-07T05:31:56Z",
  "updatedDate": "2023-11-07T05:31:56Z",
  "locations": [
    {
      "id": "<string>",
      "isVirtual": true,
      "name": "<string>",
      "addressLineOne": "<string>",
      "addressLineTwo": "<string>",
      "city": "<string>",
      "state": "<string>",
      "zipCode": "<string>",
      "country": "<string>",
      "createdDate": "2023-11-07T05:31:56Z",
      "spakinectLocationId": "<string>"
    }
  ]
}

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Body

application/json

Filters for merchant accounts.

id
string | null

The unique identifier for the merchant account

name
string | null

The name of the merchant account

isDefault
boolean | null

Whether the merchant account is the default

locationId
string | null

The location ID

Response

Successful Response

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> | null

The date and time the merchant account was last updated

locations
LocationSummary · object[] | null

The locations associated with the merchant account