Get User Information

get
Get User Information

https://api-alpha.dev.bantupay.org/v2/user/{username}
Request
Response
Request
Path Parameters
username
required
string
Headers
X-BANTUPAY-PUBLIC-KEY
required
string
your Bantu blockchain public key
X-BANTUPAY-SIGNATURE
required
string
payload can be signed with https://request-signer.dev.bantu.network
Response
200: OK
{
"username": "richard",
"email": "[email protected]",
"lastName": "RIC",
"firstName": "RICHA",
"middleName": "",
"gender": "",
"mobile": "",
"telegram": "",
"instagram": "",
"twitter": "",
"imageThumbnail": "",
"balances": {
"claimed": [
{
"assetIssuer": "GDRK25QFQZBU3BONU4TAAPKWQQEERZB2POIPI2EM4GRTKCHXCQK27PY2",
"assetCode": "FEE",
"amount": "200"
},
{
"assetIssuer": "GDRK25QFQZBU3BONU4TAAPKWQQEERZB2POIPI2EM4GRTKCHXCQK27PY2",
"assetCode": "PAY",
"amount": "100.1"
},
{
"assetIssuer": "",
"assetCode": "",
"amount": "48.2233367"
}
],
"unclaimed": null
}
}
404: Not Found
{
"error": "string",
"data": "string",
"message": "string"
}