Account
Bank
Transfer
Discount
KYC
Supported
Account
Get Account
Get all accounts or filter using account name. The account name must be an alphanumeric lowercase hex string between 2 to 40 characters long
GET
/
account
Copy
curl --request GET \
--url https://staging-api.getpartna.com/v4/account \
--header 'x-api-key: <api-key>' \
--header 'x-api-user: <api-key>'
Copy
{
"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"
}
Response
200
application/json
get account ok
The response is of type object
.
Copy
curl --request GET \
--url https://staging-api.getpartna.com/v4/account \
--header 'x-api-key: <api-key>' \
--header 'x-api-user: <api-key>'
Copy
{
"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"
}
Assistant
Responses are generated using AI and may contain mistakes.