GET
/
accounts
curl --request GET \
  --url https://api.useswift.dev/accounts \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "created_at": "2024-01-31T23:59:59Z",
      "id": "account_vjb43lkAdf934jb13Df93",
      "name": "Acme, Inc.",
      "status": "active"
    }
  ],
  "next_cursor": "Y3Vyc29y"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200
application/json
Accounts

A list of Account objects.

data
object[]
required

The contents of the list.

Accounts are held at a Swift-partnered financial institution. They are used to receive transfers and send payments.

next_cursor
string | null
required

A pointer to a place in the list.