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": [
    {
      "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": {},
            "type": "ghanaiancedis"
          }
        ],
        "balance": 0,
        "pendingDebit": 0
      },
      "NGN": {
        "accountName": "user1",
        "asset": [
          {
            "id": "",
            "meta": {},
            "type": "naira"
          }
        ],
        "balance": 0,
        "pendingDebit": 0
      },
      "USD": {
        "accountName": "user1",
        "asset": [
          {
            "id": "0x20B3bE3a0629f30512E8bf6CcaCC1f2FC403b6AC",
            "meta": {},
            "type": "crypto"
          },
          {
            "id": "TCx7wxwFVm9GwnEaKaNckzqRYxrUxgoJDD",
            "meta": {},
            "type": "crypto"
          },
          {
            "id": "EXq68wLDiXvPppv6VVJKyECcAC1oz25rHk8BgeorRvUe",
            "meta": {},
            "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

Accountname of the user

perPage
string

Number of accounts per page

page
string

Page number

Response

200
application/json
Get account success
data
object[]
message
string