Payment History

get
Payment History

https://api-alpha.dev.bantupay.org/v2/users/{username}/payments
Request
Response
Request
Path Parameters
username
required
string
Headers
X-BANTUPAY-PUBLIC-KEY
required
string
your bantu blockchain public key
required
string
payload can be signed with https://request-signer.dev.bantu.network
Query Parameters
temp
optional
boolean
Returns payment history of payment account
Response
200: OK
{
"pageCursor": "8129621472055297",
"payments": [
{
"destinationUsername": "richard",
"destinationFirstName": "RICHA",
"destinationLastName": "RIC",
"destinationThumbnail": "",
"senderUsername": "richard",
"senderFirstName": "RICHA",
"senderLastName": "RIC",
"senderThumbnail": "",
"amount": "200.0000000",
"assetCode": "FEE",
"assetIssuer": "GDRK25QFQZBU3BONU4TAAPKWQQEERZB2POIPI2EM4GRTKCHXCQK27PY2",
"sourceAssetCode": "",
"sourceAssetIssuer": "",
"transactionID": "f8fdd49eaa392e7979b62b7416dd59ca8a339a3650e998c22b11e9a62a5a2774",
"transactionMemo": "claim-asset",
"transactionTime": "2021-02-06T19:10:58Z"
}
]
}
404: Not Found
{
"error": "string",
"data": "string",
"message": "string"
}