Get Customer Wallets

//A code snippet of how to consume the API

var myHeaders = new Headers();
myHeaders.append("Accept", "application/json");
myHeaders.append("Authorization", "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL2RlbW8ubW9uaWNyZWRpdC5jb20vYXBpL3YxL2NvcmUvYXV0aC9sb2dpbiIsImlhdCI6MTY2ODk2NzQ0MywiZXhwIjoxNjY4OTcxMDQzLCJuYmYiOjE2Njg5Njc0NDMsImp0aSI6ImF0UE9GVHE4cU4yN2lBWlciLCJzdWIiOiJVU0FETUlOIiwicHJ2IjoiMjNiZDVjODk0OWY2MDBhZGIzOWU3MDFjNDAwODcyZGI3YTU5NzZmNyJ9.shrbQUV29vXRF30qMeBN3zxlc5JXd03QyMeD6ekzudU");

var requestOptions = {
  method: 'GET',
  headers: myHeaders,
  redirect: 'follow'
};

fetch("https://demo.backend.monicredit.com/api/v1/banking/wallet/account", requestOptions)
  .then(response => response.text())
  .then(result => console.log(result))
  .catch(error => console.log('error', error));

GET {{BaseURL}}/banking/wallet/account

Headers

NameTypeDescription

Authorization*

String

{{bearer_token}}

{
    "status": true,
    "data": [
        {
            "id": "W6283D966791B9",
            "name": "Opeoluwa",
            "description": "Testing Wallet creation",
            "status": "PENDING",
            "wallet_type": "MERCHANT",
            "settlement_bank_id": "SB6283c76a87e8f",
            "settlement_bank": {
                "id": "SB6283c76a87e8f",
                "account_no": "9223111",
                "bank_slug": "WEMA",
                "bank_code": null,
                "account_name": "Miss Delphine Ledner I"
            },
            "virtual_accounts": [
                {
                    "id": "VA6283d966f3f26",
                    "wallet_id": "W6283D966791B9",
                    "account_number": "7762907001",
                    "bank_name": "WEMA",
                    "account_type": "STANDARD",
                    "name": "MONI INVENTS Merchant"
                }
            ]
        }
    ]
}

Last updated