Skip to main content
GET
/
v1
/
wallet
Get All Wallets
const url = 'https://sandboxapi.me-cash.com/v1/wallet';
const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}, body: undefined};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
{
  "status": "success",
  "message": "Wallets fetched successfully",
  "data": [
    {
      "id": "cfd2de64-a896-4405-8736-a1b2c3d4e5f6",
      "balance": 23094071,
      "currency": "NGN",
      "country": "NG"
    }
  ]
}

Authorizations

x-api-key
string
header
required

Response

A list of wallets was successfully retrieved.

status
string
Example:

"success"

message
string
Example:

"Wallets fetched successfully"

data
object[]
I