Skip to main content
GET
/
billing
/
merchant_accounts
List Merchant Accounts
curl --request GET \
  --url https://api.decodahealth.com/billing/merchant_accounts \
  --header 'API-KEY: <api-key>' \
  --header 'TENANT: <tenant>'
[
  {
    "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

Response

200 - application/json

Successful Response

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