1app
Create Boldd AccountLogin
  • Introduction
  • Authentication
  • Balance
  • Get Exchange Rate
  • Response Code
  • RECEIVE PAYMENTS
    • Payments
      • Initialize Payment
      • Verify Payment
      • Payment List
      • Payment Details
    • Inline/Popup Checkout
    • Payouts / Settlements
      • Payouts List
      • Settlement Transactions
    • Dispute Management
      • Fetch Disputes
      • Accept a Dispute
      • Decline a Dispute
    • Customers List
    • Webhook Notifications
    • Repush Notification
  • Virtual Accounts
    • Get Available Banks
    • Setup Preferred Bank
    • Generate Account
    • Virtual Account List
    • Account Transactions
    • Virtual Account Webhook
      • Notifications history
  • MAKE PAYMENTS
    • Airtime Purchase
    • Send Money
      • Verify Account Number
      • Make Transfer
    • Data Purchase
      • Data Plans
      • Data Bundle
    • Electricity
      • Electricity Billers
      • Verify Meter Number
      • Vend Electricity
    • Cable TV
      • Cable TV List
      • Verify IUC
      • Vend CableTv
    • Bank List
    • Payment Status
  • CUSTOMERS
    • Create Customer
  • VIRTUAL CARDS
    • Create Card Account
    • Cards Issuance
    • Card Funding
    • Card Transactions
    • Get all Cards
    • Cards Details
    • Cards Pan
    • Freeze and Unfreeze Card
  • USD Account
    • Create USD Account
  • IDENTITY
    • BVN Check
    • NIN Checks
  • SUB-ACCOUNTS
    • Create a Sub-Account
    • Attach Bank to a Sub-Account
    • Attach Payout Account
    • Get All Sub-Accounts
    • Sub-Accounts History
    • Sub-Accounts Wallet
  • Miscellaneous
    • Create Wallet
    • Universal Blacklist
  • Contact
    • Contact Us
Powered by GitBook
On this page

Was this helpful?

  1. Virtual Accounts

Virtual Account List

This endpoint helps retrieve the list of your dedicated/virtual account number created.

GET https://api.oneappgo.com/v1/virtualaccounts

Headers

Name
Type
Description

authorization

String

SECRET_KEY

{
  "status": true,
  "message": "Virtual account list retrieved",
  "total_created": 3,
  "data": [
    {
      "bank_name": "KUDA MFB",
      "bank_code": "090267",
      "account_name": "(1app)-Olatunji Olajide ",
      "lastdate_used": "",
      "tracking_id": "0014",
      "account_status": "Active",
      "account_number": "2032843451",
      "date_created": "14 May 2022 08:39 am"
    },
    {
      "bank_name": "Fidelity",
      "bank_code": "070",
      "account_name": "Olajide Olatunji",
      "lastdate_used": "",
      "tracking_id": "00102",
      "account_status": "Active",
      "account_number": "4550589796",
      "date_created": "14 October 2022 11:31 am"
    },
    {
      "bank_name": "Fidelity",
      "bank_code": "070",
      "account_name": "1APPS - akinade johnson",
      "lastdate_used": "",
      "tracking_id": "001002",
      "account_status": "Active",
      "account_number": "4551550923",
      "date_created": "14 October 2022 11:37 am"
    }
  ]
}

Take a look at how you might do this:

curl --location 'https://api.oneappgo.com/v1/virtualaccounts'
var request = require('request');
var options = {
  'method': 'GET',
  'url': 'https://api.oneappgo.com/v1/virtualaccounts',
  'headers': {
  },
  formData: {

  }
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});
curl --location 'https://api.oneappgo.com/v1/virtualaccounts'curl --location 'https://api.oneappgo.com/v1/virtualaccounts'curl --location 'https://api.oneappgo.com/v1/virtualaccounts'curl --location 'https://api.oneappgo.com/v1/virtualaccounts'
$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://api.oneappgo.com/v1/virtualaccounts',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'GET',
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
var request = http.MultipartRequest('GET', Uri.parse('https://api.oneappgo.com/v1/virtualaccounts'));


http.StreamedResponse response = await request.send();

if (response.statusCode == 200) {
  print(await response.stream.bytesToString());
}
else {
  print(response.reasonPhrase);
}

Sample response

{
  "status": true,
  "message": "Virtual account list retrieved",
  "total_created": 3,
  "data": [
    {
      "bank_name": "KUDA MFB",
      "bank_code": "090267",
      "account_name": "(1app)-Olatunji Olajide ",
      "lastdate_used": "",
      "tracking_id": "0014",
      "account_status": "Active",
      "account_number": "2032843451",
      "date_created": "14 May 2022 08:39 am"
    },
    {
      "bank_name": "Fidelity",
      "bank_code": "070",
      "account_name": "Olajide Olatunji",
      "lastdate_used": "",
      "tracking_id": "00102",
      "account_status": "Active",
      "account_number": "4550589796",
      "date_created": "14 October 2022 11:31 am"
    },
    {
      "bank_name": "Fidelity",
      "bank_code": "070",
      "account_name": "1APPS - akinade johnson",
      "lastdate_used": "",
      "tracking_id": "001002",
      "account_status": "Active",
      "account_number": "4551550923",
      "date_created": "14 October 2022 11:37 am"
    }
  ]
}
PreviousGenerate AccountNextAccount Transactions

Last updated 1 year ago

Was this helpful?