Skip to main content
GET
List your accounts

Authorizations

Authorization
string
header
required

Authorization: Bearer <key>. Sandbox keys start with mgw_test_ and live keys start with mgw_live_. Each key works only in its own environment, and a live key works only from the IP addresses or ranges registered for it.

Scopes

read

Query Parameters

limit
integer
default:25

The number of items to return.

Required range: 1 <= x <= 100
cursor
string

The next_cursor from the previous page, unchanged.

Minimum string length: 1

Response

Your accounts.

A page of your accounts, in order of account code.

object
string
required
Allowed value: "list"
has_more
boolean
required

Whether more accounts follow this page.

next_cursor
string | null
required

Pass this as cursor to get the next page. Null on the last page.

data
object[]
required

The accounts on this page.