v1

latestOpenAPI 3.0.02026-07-14866188.2 KB
Wallet

Get single wallet details.

post/v0.2.4/wallets/lookup

Request body

subAccountstring

Subaccount if any.

walletIDstring required

Id of wallet.

Example request

{
  "subAccount": "1234567",
  "walletID": "12"
}

Response

Success.

statusstring

Status of the response.

messagestring

Descriptive message.

Example response

{
  "status": "success",
  "message": "Wallet retrieved successfully",
  "data": {
    "id": "kb41D9JfAVL64RqRtUP7",
    "owner": "63576330-b5f6-4279-9324-80633ce14710",
    "balance": 1000,
    "type": "airtime",
    "transactions": [
      {
        "balanceBefore": 1000,
        "meta": {
          "date": {
            "_seconds": 1721543195,
            "_nanoseconds": 417000000
          }
        },
        "newBalance": 1000,
        "description": "new wallet creation transaction"
      }
    ]
  }
}