GET /accounts

This operation will list one or more Merchant Accounts you may have as a Merchant with 6DOT50.

Request

Ensure the bearer token is included in the Header of the GET operation:

Header
Mandatory
Description

Authorization

Yes

Response

If successful, the operation will return with an array of Merchant accounts:

[
  {
    "id": "string($guid)",
    "name": "string",
    "shortName": "string",
    "createdAt": "string($date-time)",
    "balance": "string",
    "availableBalance": "string",
    "currencyCode": "string",
    "settlementCurrencyCode": "string",
    "settlementFrequency": int
  }
]
Field
Response Type
Description

id

string($guid)

Unique ID of the account. This value is typically used when performing an Initiate Payment.

name

string

Friendly name of the account

shortName

string

Short name for the account, used to identify deposits

createdAt

string($date-time)

When the Merchant Account was created

balance

string

Balance of the account, in cents

availableBalance

string

Available balance of the account, in cents

currencyCode

string

The currency code of the account, e.g. DZAR

settlementCurrencyCode

string

This is the currency that you will be settled with to your nominated bank account, e.g. ZAR (South African Rands)

settlementFrequency

int

The frequency at which you will be settled to your bank account.

0: daily (for previous day’s transactions)

1: manual (settlement will only be paid upon request to 6DOT50)

Sample Response
[
  {
    "id": "00000000-0000-0000-0000-000000000000",
    "name": "AcmeCorp",
    "shortName": "ACME1",
    "createdAt": "2022-09-16T09:47:58.157",
    "balance": "62000",
    "availableBalance": "62000",
    "currencyCode": "DZAR",
    "settlementCurrencyCode": "ZAR",
    "settlementFrequency": 1
  }
]

Last updated