GET
/
account
curl --request GET \
  --url https://staging-api.getpartna.com/v4/account \
  --header 'x-api-key: <api-key>' \
  --header 'x-api-user: <api-key>'
{
  "data": {
    "accounts": [
      {
        "BNB": {
          "accountName": "user1",
          "asset": [
            {
              "id": "0x20B3bE3a0629f30512E8bf6CcaCC1f2FC403b6AC",
              "meta": null,
              "type": "crypto"
            }
          ],
          "balance": 0,
          "pendingDebit": 0
        },
        "BTC": {
          "accountName": "user1",
          "asset": [
            {
              "id": "tb1q6zdd464wxlmd9glqefeeqsuxnemcyq73rhzn77",
              "meta": null,
              "type": "crypto"
            }
          ],
          "balance": 0,
          "pendingDebit": 0
        },
        "ETH": {
          "accountName": "user1",
          "asset": [
            {
              "id": "0x20B3bE3a0629f30512E8bf6CcaCC1f2FC403b6AC",
              "meta": null,
              "type": "crypto"
            }
          ],
          "balance": 0,
          "pendingDebit": 0
        },
        "GHS": {
          "accountName": "user1",
          "asset": [
            {
              "id": "",
              "meta": null,
              "type": "ghanaiancedis"
            }
          ],
          "balance": 0,
          "pendingDebit": 0
        },
        "NGN": {
          "accountName": "user1",
          "asset": [
            {
              "id": "",
              "meta": null,
              "type": "naira"
            }
          ],
          "balance": 0,
          "pendingDebit": 0
        },
        "USD": {
          "accountName": "user1",
          "asset": [
            {
              "id": "0x20B3bE3a0629f30512E8bf6CcaCC1f2FC403b6AC",
              "meta": null,
              "type": "crypto"
            },
            {
              "id": "TCx7wxwFVm9GwnEaKaNckzqRYxrUxgoJDD",
              "meta": null,
              "type": "crypto"
            },
            {
              "id": "EXq68wLDiXvPppv6VVJKyECcAC1oz25rHk8BgeorRvUe",
              "meta": null,
              "type": "crypto"
            }
          ],
          "balance": 0,
          "pendingDebit": 0
        }
      }
    ]
  },
  "message": "success"
}

Authorizations

x-api-key
string
header
required
x-api-user
string
header
required

Query Parameters

accountName
string
perPage
string
page
string

Response

200
application/json

get account ok

The response is of type object.