diff --git a/README.md b/README.md index 7c6b6e1..9f5cb01 100644 --- a/README.md +++ b/README.md @@ -11,20 +11,20 @@ ## Introduction -The Node library provides easy access to Flutterwave for Business (F4B) v3 APIs for your Node apps. It abstracts the complexity involved in direct integration and allows you to make quick calls to the APIs. +The Node library provides easy access to Flutterwave's v3 APIs for developing your Node application. It abstracts the complexity involved in direct integration, enabling you to make quick calls to the APIs. Available features include: -- Collections: Card, Account, Mobile money, Bank Transfers, USSD, Apple Pay, Google Pay, Fawry Pay, eNaira. +- Collections: Card, Account, Mobile Money, Bank Transfers, USSD, Apple Pay, Google Pay, Fawry Pay, and eNaira. - Payouts and Beneficiaries. - Recurring payments: Tokenization and Subscriptions. -- Split payments -- Card issuing +- Split payments. +- Card issuing. - Transactions dispute management: Refunds and Chargebacks. -- Transaction reporting: Collections, Payouts, Settlements, Refunds, Chargebacks and Transaction timeline. +- Transaction reporting: Collections, Payouts, Settlements, Refunds, Chargebacks, and Transaction timeline. - Bill payments: Airtime, Data bundle, Cable, Power, Toll, E-bills, and Remitta. -- Identity verification: Resolve bank account, resolve BVN information and generate OTP. +- Identity verification: Bank Account Verification, BVN Verification, and OTP Generation. -## Table of Content +## Table of Contents 1. [Requirements](#requirements) 2. [Installation](#installation) @@ -39,12 +39,12 @@ Available features include: ## Requirements -1. Flutterwave for business (F4B) [API Keys](https://developer.flutterwave.com/docs/integration-guides/authentication) -2. Node 18 or higher. +1. Your Flutterwave [API Keys](https://developer.flutterwave.com/v3.0.0/docs/authentication#get-your-api-keys). +2. Node version 18 or higher. ## Installation -To install the package, run the following command in your Node terminal: +To install our package, run the following command in your Node terminal: ```sh npm install flutterwave-node-v3 @@ -52,7 +52,7 @@ npm install flutterwave-node-v3 ## Initialization -```javascript +```JavaScript const Flutterwave = require('flutterwave-node-v3'); const flw = new Flutterwave( process.env.FLW_PUBLIC_KEY, @@ -60,8 +60,7 @@ const flw = new Flutterwave( ); ``` -For staging (Test environment), use the TEST API Keys and for production (Live environment), use LIVE API KEYS. -You can get your process.env.FLW_PUBLIC_KEY and process.env.FLW_SECRET_KEY from the Flutterwave dashboard. Read the [requirement section](#requirements) for more information on how to get your API keys. +For the staging (test) environment, use your test API keys, and for the production (live) environment, use your live API keys. You can get your process.env.FLW_PUBLIC_KEY and process.env.FLW_SECRET_KEY from the Flutterwave dashboard. For more information on retrieving your API keys, visit the [requirement section](#requirements). ## Usage @@ -84,20 +83,22 @@ You can get your process.env.FLW_PUBLIC_KEY and process.env.FLW_SECRET_KEY from ## Testing -All of the libraries tests are run on Mocha. Available tests include `rave.bank.test`, `rave.beneficiaries.test`, `rave.bills.test`, `rave.charge.test`, `rave.ebills.test`, `rave.settlements.test`, `rave.subscriptions.test`. They can be run by running the test command in your terminal. +All of the library's tests are run on Mocha. Available tests include `rave.bank.test`, `rave.beneficiaries.test`, `rave.bills.test`, `rave.charge.test`, `rave.ebills.test`, `rave.settlements.test`, `rave.subscriptions.test`. You can run all tests by executing the test command in your terminal. ```sh -npm run test or npm test +npm run test +or +npm test ``` ## Debugging Errors -We understand that you may run into some errors while integrating our library. You can read more about our error messages [here](https://developer.flutterwave.com/docs/integration-guides/errors). -For `authorization` and `validation` error responses, double-check your API keys and request. If you get a `server` error, kindly engage the team for support. +We understand that you may encounter errors while integrating our library. You can read more about our error messages [here](https://developer.flutterwave.com/v3.0.0/docs/common-errors). +If you experience` authorization` or `validation` errors, double-check your API keys and request. For server errors, please contact our support team for assistance. ## Support -For additional assistance using this library, contact the developer experience (DX) team via [email](mailto:developers@flutterwavego.com) or on [slack](https://bit.ly/34Vkzcg). +For additional assistance using this library, contact the Developer Experience (DX) team via [email](mailto:developers@flutterwavego.com) or on [slack](https://bit.ly/34Vkzcg). You can also follow us [@FlutterwaveEng](https://twitter.com/FlutterwaveEng) and let us know what you think 😊. ## Contribution guidelines diff --git a/documentation/banks.md b/documentation/banks.md index e50d1fe..8406a28 100644 --- a/documentation/banks.md +++ b/documentation/banks.md @@ -4,7 +4,7 @@ # BANKS -We recommend reading the main readme first, to understand the requirements for using the library and how to initiate this in your apps. This guide assumes you've read that. +We recommend that you first review the [main README](../README.md) to understand the requirements for using our library and how to implement it in your applications. This guide assumes you have done that. Fetch Bank details via any of these methods: 1. [Fetch all Banks](#get-all-banks) @@ -12,9 +12,9 @@ Fetch Bank details via any of these methods: ## Get all banks -This describes how to get list of banks you can transfer to +This section describes how to get a list of banks you can make transfers to. -```javascript +```JavaScript const Flutterwave = require('flutterwave-node-v3'); const flw = new Flutterwave(process.env.FLW_PUBLIC_KEY, process.env.FLW_SECRET_KEY ); @@ -24,7 +24,7 @@ const getBanks = async () => { try { const payload = { - "country":"NG" //Pass either NG, GH, KE, UG, ZA or TZ to get list of banks in Nigeria, Ghana, Kenya, Uganda, South Africa or Tanzania respectively + "country": "NG" //Pass either NG, GH, KE, UG, ZA, or TZ to get a list of banks in Nigeria, Ghana, Kenya, Uganda, South Africa, or Tanzania, respectively. } const response = await flw.Bank.country(payload) @@ -40,7 +40,7 @@ getBanks(); ``` Sample Response -```javascript +```JavaScript { "status": "success", "message": "Banks fetched successfully", @@ -356,9 +356,9 @@ Sample Response ## Get bank branches -This describes how to get a list of bank branches +This section describes how to get a list of bank branches. -```javascript +```JavaScript const Flutterwave = require('flutterwave-node-v3'); const flw = new Flutterwave(process.env.FLW_PUBLIC_KEY, process.env.FLW_SECRET_KEY ); @@ -369,7 +369,7 @@ const getBranches = async () => { try { const payload = { - "id":280 //Unique bank ID, it is returned in the call to fetch banks GET /banks/:country + "id":280 //Unique bank ID, it is returned in the call to fetch banks GET /banks/:country. } const response = await flw.Bank.branches(payload) @@ -385,7 +385,7 @@ getBranches(); ``` Sample Response -```javascript +```JavaScript { "status": "success", "message": "Bank branches fetched successfully", @@ -425,7 +425,7 @@ Sample Response { "id": 996, "branch_code": "GH190105", - "branch_name": "STANBIC BANK GHANA -NORTH INDUSTIAL AREA", + "branch_name": "STANBIC BANK GHANA -NORTH INDUSTRIAL AREA", "swift_code": "SBICGHAC", "bic": "SBICGHACXXX", "bank_id": 280 diff --git a/documentation/beneficiary.md b/documentation/beneficiary.md index f6e996c..fc52415 100644 --- a/documentation/beneficiary.md +++ b/documentation/beneficiary.md @@ -4,7 +4,7 @@ # BENEFICIARIES -We recommend reading the main readme first, to understand the requirements for using the library and how to initiate this in your apps. This guide assumes you've read that. +We recommend that you first review the [main README](../README.md) to understand the requirements for using our library and how to implement it in your applications. This guide assumes you have done that. Manage transfer beneficiaries via any of these methods: 1. [Create a Beneficiary](#create-a-beneficiary) @@ -15,9 +15,9 @@ Manage transfer beneficiaries via any of these methods: ## Create a beneficiary -This describes how to create a transfer beneficiary +This section describes how to create a transfer beneficiary. -```javascript +```JavaScript const Flutterwave = require('flutterwave-node-v3'); @@ -28,7 +28,7 @@ const createBeneficiary = async () => { try { const payload = { "account_number": "0690000034", - "account_bank":"044" // This is the beneficiary’s bank code, you can use the List of Banks to retrieve a bank code. + "account_bank": "044" // This is the beneficiary’s bank code; you can use the List of Banks to retrieve a bank code. "beneficiary_name": 'Ade Bond' } const response = await flw.Beneficiary.create(payload) @@ -45,7 +45,7 @@ createBeneficiary(); Sample Response -```javascript +```JavaScript { "status": "success", "message": "Banks fetched successfully", @@ -62,9 +62,9 @@ Sample Response ## List all beneficiaries -This describes how to get all beneficiaries +This section describes how to get all beneficiaries. -```javascript +```JavaScript const Flutterwave = require('flutterwave-node-v3'); const flw = new Flutterwave(process.env.FLW_PUBLIC_KEY, process.env.FLW_SECRET_KEY ); @@ -88,7 +88,7 @@ fetchAllBeneficiary(); Sample Response -```javascript +```JavaScript { "status": "success", "message": "Payout beneficiaries fetched", @@ -188,9 +188,9 @@ Sample Response ## Fetch a beneficiary -This describes how to get a single transfer beneficiary details +This section describes how to get a single transfer beneficiary's details. -```javascript +```JavaScript const Flutterwave = require('flutterwave-node-v3'); const flw = new Flutterwave(process.env.FLW_PUBLIC_KEY, process.env.FLW_SECRET_KEY ); @@ -202,7 +202,7 @@ const fetchBeneficiary = async () => { try { const payload = { - "id":"2923" //This is the unique identifier for the beneficiary you intend to fetch. It is returned in the call to create a beneficiary as data.id + "id": "2923" //This is the unique identifier for the beneficiary you intend to fetch. It is returned in the call to create a beneficiary as data.id. } const response = await flw.Beneficiary.fetch(payload) @@ -219,7 +219,7 @@ fetchBeneficiary(); Sample Response -```javascript +```JavaScript { "status": "success", "message": "Payout beneficiary fetched", @@ -237,10 +237,10 @@ Sample Response ## Delete a beneficiary -This describes how to delete a transfer beneficiary +This section describes how to delete a transfer beneficiary. -```javascript +```JavaScript const Flutterwave = require('flutterwave-node-v3'); const flw = new Flutterwave(process.env.FLW_PUBLIC_KEY, process.env.FLW_SECRET_KEY ); @@ -251,7 +251,7 @@ const delBeneficiary = async () => { try { const payload = { - "id":"4150" //This is the unique identifier for the beneficiary you intend to fetch. It is returned in the call to create a beneficiary as data.id + "id": "4150" //This is the unique identifier for the beneficiary you intend to fetch. It is returned in the call to create a beneficiary as data.id. } const response = await flw.Beneficiary.delete(payload) @@ -268,7 +268,7 @@ delBeneficiary(); Sample Response -```javascript +```JavaScript { "status": "success", "message": "Beneficiary deleted", diff --git a/documentation/billPayments.md b/documentation/billPayments.md index 35a9898..ffef033 100644 --- a/documentation/billPayments.md +++ b/documentation/billPayments.md @@ -4,13 +4,13 @@ # BILLS -We recommend reading the main readme first, to understand the requirements for using the library and how to initiate this in your apps. This guide assumes you've read that. +We recommend that you first review the [main README](../README.md) to understand the requirements for using our library and how to implement it in your applications. This guide assumes you have done that. Make Bill payments via any of these methods: 1. [Create Bill Payment](#create-a-bill-payment) 2. [Create Bulk Bills](#create-bulk-bills) -3. [Get Bill Categories)](#get-bill-categories) -4. [Get amount to be paif for a product)](#get-amount-to-be-paid-for-a-product) +3. [Get Bill Categories](#get-bill-categories) +4. [Get the amount to be paid for a product](#get-amount-to-be-paid-for-a-product) 5. [Get Bill Payments](#get-bill-payments) 6. [Get Bill Categories](#get-bill-categories) 7. [Get Bill Payment Agencies](#get-bill-payment-agencies) @@ -22,9 +22,9 @@ Make Bill payments via any of these methods: ## Create a bill payment -This describes how to create bill payments +This section describes how to create bill payments. -```javascript +```JavaScript const Flutterwave = require('flutterwave-node-v3'); @@ -57,7 +57,7 @@ createBill(); Sample Response -```javascript +```JavaScript { "status": "success", "message": "Bill payment successful", @@ -74,9 +74,9 @@ Sample Response ## Create bulk bills -This describes how to create bulk bills payment +This section describes how to create a bulk bill payment. -```javascript +```JavaScript const Flutterwave = require('flutterwave-node-v3'); @@ -123,7 +123,7 @@ createBulkBill(); Sample Response -```javascript +```JavaScript { "status": "success", "message": "Bulk bill Payment was queued for processing", @@ -135,9 +135,9 @@ Sample Response ## Get status of a bill payment -This describes how to get the status of a bill purchase +This section describes how to get the status of a bill purchase. -```javascript +```JavaScript const Flutterwave = require('flutterwave-node-v3'); @@ -165,7 +165,7 @@ getStatus(); Sample Response -```javascript +```JavaScript { "status": "success", "message": "Bill status fetch successful", @@ -189,9 +189,9 @@ Sample Response ## Update bills order -This describes how to update bills order +This section describes how to update Bill's order. -```javascript +```JavaScript const Flutterwave = require('flutterwave-node-v3'); @@ -220,7 +220,7 @@ updateBills(); Sample Response -```javascript +```JavaScript { "status": "success", "message": "bills order updated successfully", @@ -240,9 +240,9 @@ Sample Response ## Validate bill service -This describes how to validate services like DSTV smartcard no, Meter number etc. +This section describes how to validate services like DSTV smartcard number, Meter number, etc. -```javascript +```JavaScript const Flutterwave = require('flutterwave-node-v3'); @@ -271,7 +271,7 @@ validateBill(); Sample Response -```javascript +```JavaScript { "status": "success", "message": "Item validated successfully", @@ -294,9 +294,9 @@ Sample Response ## Get bill categories -This describes how to fetch all bill categories on your account +This section describes how to fetch all supported bill payment categories. -```javascript +```JavaScript const Flutterwave = require('flutterwave-node-v3'); @@ -320,7 +320,7 @@ getBillsCategories(); Sample Response -```javascript +```JavaScript { "status": "success", "message": "bill categories retrieval successful", @@ -328,7 +328,7 @@ Sample Response { "id": 1, "biller_code": "BIL099", - "name": "MTN NIgeria", + "name": "MTN Nigeria", "default_commission": 0.02, "date_added": "2018-07-03T00:00:00Z", "country": "NG", @@ -604,9 +604,9 @@ Sample Response ## Get bill payment agencies -This describes how to get all government agencies you can pay into +This section describes how to get all the government agencies you can pay into. -```javascript +```JavaScript const Flutterwave = require('flutterwave-node-v3'); @@ -631,7 +631,7 @@ paymentAgencies(); Sample Response -```javascript +```JavaScript { "status": "success", "message": "billers retrieval successful", @@ -650,11 +650,11 @@ Sample Response -## Get amount to be paid for a product +## Get the amount to be paid for a product -This describes how to get amount to be paid for a product +This section describes how to get the amount to be paid for a product. -```javascript +```JavaScript const Flutterwave = require('flutterwave-node-v3'); @@ -685,7 +685,7 @@ amountToBePaid(); Sample Response -```javascript +```JavaScript { "status": "success", "message": "billers products item retrieval successful", @@ -721,9 +721,9 @@ Sample Response ## Get bill payments -This describes how to get bill payments +This section describes how to get bill payments. -```javascript +```JavaScript const Flutterwave = require('flutterwave-node-v3'); @@ -735,9 +735,9 @@ const getBillsPayment = async () => { try { const payload = { - "from": "2019-08-01", //This is the start date it can be in any of this formats: YYYY-MM-DDTHH:MM:SSZ or YYYY-MM-DD + "from": "2019-08-01", //This is the start date, it can be in any of these formats: YYYY-MM-DDTHH:MM: SSZ or YYYY-MM-DD "to": "2020-08-27", - "page":"1", //This is the page you want to start from. + "page": "1", //This is the page you want to start from. } const response = await flw.Bills.fetch_bills(payload) @@ -754,7 +754,7 @@ getBillsPayment(); Sample Response -```javascript +```JavaScript { "status": "success", "message": "bills retrieval successful", @@ -806,9 +806,9 @@ Sample Response ## Get products under an agency -This describes how to get all products under a government agency. +This section describes how to get all products under a government agency. -```javascript +```JavaScript const Flutterwave = require('flutterwave-node-v3'); @@ -837,7 +837,7 @@ productsUnderAgency(); Sample Response -```javascript +```JavaScript { "status": "success", "message": "billers products retrieval successful", @@ -849,8 +849,8 @@ Sample Response "amount": "0.0", "code": "OT150", "fee": "0.0", - "name": "GENESIS GROUP ACCOMODATION", - "description": "GENESIS GROUP ACCOMODATION PAYMENT" + "name": "GENESIS GROUP ACCOMMODATION", + "description": "GENESIS GROUP ACCOMMODATION PAYMENT" }, { "amount": "0.0", @@ -865,11 +865,11 @@ Sample Response ``` -## Create order using billing code and product id +## Create order using billing code and product ID -This describes how to create an order using the biller code and the product Id +This section describes how to create an order using the biller code and the product ID. -```javascript +```JavaScript const Flutterwave = require('flutterwave-node-v3'); @@ -885,7 +885,7 @@ const Createorder = async () => { "amount": "3500.00", "reference": "FLWTTOT1000000029", "customer": { - "name": "emmanuel", + "name": "Emmanuel", "email": "emmanuel@x.com", "phone_number": "08060811638" }, @@ -917,7 +917,7 @@ Createorder(); Sample Response -```javascript +```JavaScript { "status": "success", "message": "Order processed successfully", diff --git a/documentation/collections.md b/documentation/collections.md index d1c265e..662f829 100644 --- a/documentation/collections.md +++ b/documentation/collections.md @@ -4,14 +4,14 @@ # COLLECTIONS -We recommend reading the main readme first, to understand the requirements for using the library and how to initiate this in your apps. This guide assumes you've read that. +We recommend that you first review the [main README](../README.md) to understand the requirements for using our library and how to implement it in your applications. This guide assumes you have done that. Collect payments from your users via any of these methods: 1. [Cards](#card-collections) 2. [Bank transfers](#bank-transfers) 3. [Direct debit (Nigerian bank accounts)](#direct-debit-nigerian-bank-account) -4. [Direct debit (UK bank accounts)](#direct-debit-uk-bank-account) -5. [ACH payments](#ach-payement) +4. [Direct debit (UK and EU bank accounts)](#direct-debit-uk-eu-bank-account) +5. [ACH payments](#ach-payment) 6. [Mpesa](#mpesa) 7. [Ghana Mobile Money](#ghana-mobile-money) 8. [Uganda Mobile Money](#uganda-mobile-money) @@ -24,22 +24,22 @@ Collect payments from your users via any of these methods: 15. [ApplePay](#apple-pay) 16. [GooglePay](#google-pay) -There are three steps involved in collecting payments from your users: +There are three steps involved in collecting payments from your customers: -- Initating the transaction. +- Initiating the transaction. - Authorizing the transaction. - Verifying the transaction. -Read more about the steps [here](https://developer.flutterwave.com/docs/direct-charge/overview) +Read more about the steps [here](https://developer.flutterwave.com/v3.0.0/docs/paymentsintroduction) ## Card Collections -This section describes how you can collect card payments in the SDK. You can learn more about the payment method [here](https://developer.flutterwave.com/docs/direct-charge/card). +This section describes how to collect card payments. You can learn more about the payment method [here](https://developer.flutterwave.com/v3.0.0/docs/direct-card-charge). -> Kindly note that `enckey` is your encryption key. You can get this from your API setting in the dashboard. You can check [here](https://developer.flutterwave.com/docs/integration-guides/authentication) to get more information on how to get your encryption key. +> Kindly note that `enckey` is your encryption key. You can get this from the API setting in your dashboard. You can check [here](https://developer.flutterwave.com/v3.0.0/docs/authentication) to get more information on retrieving your encryption key. -```javascript +```JavaScript const Flutterwave = require('flutterwave-node-v3'); const open = require('open'); @@ -109,9 +109,9 @@ chargeCard(); ## Bank Transfers -This section covers how you can collect payments made via bank transfers. We go into more details on the payment flow itself [here](https://developer.flutterwave.com/docs/direct-charge/bank-transfer). +This section describes how to collect payments made via bank transfers. We go into more details on the payment flow itself [here](https://developer.flutterwave.com/v3.0.0/docs/bank-transfer-1). -```javascript +```JavaScript const Flutterwave = require('flutterwave-node-v3'); const flw = new Flutterwave(process.env.FLW_PUBLIC_KEY, process.env.FLW_SECRET_KEY); @@ -146,7 +146,7 @@ bank_trf(); ``` Sample Response -```javascript +```JavaScript { "status": "success", "message": "Charge initiated", @@ -167,9 +167,9 @@ Sample Response ## Direct debit (Nigerian bank account) -This section covers how you can collect payments made via your customers' bank accounts. The customer authorizes the payment with their bank, and the money is debited from their account. We go into more details on the payment flow itself [here](https://developer.flutterwave.com/docs/direct-charge/bank-account). +This section describes how to collect payments from your customer via their NGN bank accounts. The customer authorizes the payment with their bank, and the money is debited from their account. We go into more details on the payment flow itself [here](https://developer.flutterwave.com/v3.0.0/docs/nigeria). -```javascript +```JavaScript const Flutterwave = require('flutterwave-node-v3'); const flw = new Flutterwave(process.env.FLW_PUBLIC_KEY, process.env.FLW_SECRET_KEY); @@ -200,7 +200,7 @@ charge_ng_acct(); ``` Sample Response -```javascript +```JavaScript { "status": "success", "message": "Charge initiated", @@ -242,11 +242,11 @@ Sample Response } ``` -## Direct debit (UK & EU bank account) +## Direct debit (UK, EU bank account) -This section covers how you make EUR and GBP collections via your customers' bank accounts. The customer is redirected to an interface where they select their bank and authorize the payment via their bank apps. We go into more details on the payment flow itself [here](https://developer.flutterwave.com/docs/direct-charge/uk-bank-account). +This section covers how to collect payment from your customers via their EUR and GBP bank accounts. The customer is redirected to an interface where they select their bank and authorize the payment via their bank apps. We go into more details on the payment flow itself [here](https://developer.flutterwave.com/v3.0.0/docs/uk-and-eu). -```javascript +```JavaScript const Flutterwave = require('flutterwave-node-v3'); const flw = new Flutterwave(process.env.FLW_PUBLIC_KEY, process.env.FLW_SECRET_KEY); @@ -279,7 +279,7 @@ charge_uk_acct(); ``` Sample Response -```javascript +```JavaScript { "status": "success", "message": "Charge initiated", @@ -320,11 +320,11 @@ Sample Response } ``` -## ACH Payement +## ACH Payment -This shows you how to accept ZAR and USD ACH charges from your customers. We go into more details on the payment flow itself [here](https://developer.flutterwave.com/docs/direct-charge/ach-payment). +This section describes how to collect ZAR and USD ACH charges from your customers. We go into more details on the payment flow itself [here](https://developer.flutterwave.com/v3.0.0/docs/ach-payment). -```javascript +```JavaScript const Flutterwave = require('flutterwave-node-v3'); const flw = new Flutterwave(process.env.FLW_PUBLIC_KEY, process.env.FLW_SECRET_KEY); @@ -361,7 +361,7 @@ ach_payment(); ``` Sample Response -```javascript +```JavaScript { "status": "success", "message": "Charge initiated", @@ -400,9 +400,9 @@ Sample Response ## USSD -This shows you how to accept payments via Direct USSD charge. You call our API to create a charge, then your customer completes the payment by dialling their bank's USSD code on their mobile phone. We go into more details on the payment flow itself [here](https://developer.flutterwave.com/docs/direct-charge/ussd). +This section describes how to collect payments via a Direct USSD charge. You call our API to create a charge, then your customer completes the payment by dialling their bank's USSD code on their mobile phone. We go into more details on the payment flow itself [here](https://developer.flutterwave.com/v3.0.0/docs/ussd). -```javascript +```JavaScript const Flutterwave = require('flutterwave-node-v3'); const flw = new Flutterwave(process.env.FLW_PUBLIC_KEY, process.env.FLW_SECRET_KEY); @@ -432,7 +432,7 @@ ussd(); ``` Sample Response -```javascript +```JavaScript { "status": "success", @@ -478,7 +478,7 @@ Sample Response