Banks & Card Bins

Good to know: The Quaapay Wallet APIs are currently in version 1.0. If any upgrades are made in the future, we will create a new documentation webpage. To stay updated, subscribe to our news feed for daily alerts regarding upgrades or new releases of the Quaapay APIs. Please understand that upgrades, even for version 1.0, may occur to enhance and advance our data structures, not just for arbitrary reasons.
Getting your Product key
The product key is a legitimate key provided to you by Quaapay Wallet. It serves as the official access key that allows you to interact with and use our APIs. Without this key, you won't be able to integrate our APIs into your products.
Public Product Key -> The public key is provided to all business account owners on Quaapay Wallet. It is primarily used to access our public APIs, which can be integrated into your third-party products.
Private Product Key -> This is a private key provided to trusted entities, such as established companies and high-trust business owners, by Quaapay Wallet. It grants access to the private sections of our APIs.
Making your first "Request"
"All of our APIs are consolidated under a single URL, 'https://api.quaapay.ng,' and their datasets are housed at this location, specifically 'https://apis.quaapay.ng/v1/'."
Here's the equivalent cURL command to make an HTTP GET request to https://api.quaapay.ng:
Explanation of the command:
curl: The command-line tool for making HTTP requests.-X GET: Specifies the HTTP method as GET.https://api.quaapay.ng: The URL you want to send the GET request to.
This cURL command will send a GET request to the specified URL and display the response in the terminal.
Making an XMLHTTPREQUEST to the desired endpoint's url and receiving a response allow you to trace your request and response within your application or website using the Quaapay API. Contact our developers at developer.quaapay@gmail.com for further information.
API ENDPOINT URL
How it work
Certainly! The provided PHP code is an example of how to make an HTTP GET request using the cURL library. Let's break down each part:
<?phpand?>: These tags indicate the beginning and end of PHP code blocks.$curl = curl_init();: This line initializes a cURL session. Thecurl_init()function returns a cURL handle that is used to configure and execute cURL requests.curl_setopt($curl, CURLOPT_URL, "https://apis.quaapay.ng");: This line sets options for the cURL session. In this case, it's setting the URL to"https://apis.quaapay.ng", the endpoint you want to make a request to.curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);: This line sets theCURLOPT_RETURNTRANSFERoption totrue. This option instructs cURL to return the response from the request as a string instead of outputting it directly. The response will be stored in the$responsevariable.$response = curl_exec($curl);: This line actually executes the cURL request and stores the response in the$responsevariable. Thecurl_exec()function sends the HTTP request and returns the response data.echo $response;: This line outputs (echos) the response data to the browser or wherever the PHP script is being executed.curl_close($curl);: This line closes the cURL session, releasing any resources associated with it.
Certainly! The provided code is an example of using JavaScript's fetch() API to make an HTTP request to a specified URL (https://apis.quaapay.ng). The response from the API is then processed and logged in the browser's console.
Let's break down the code step by step:
HTML Structure:
The code is embedded in an HTML document using the
<script>tag, which allows you to include JavaScript code within an HTML page.
Fetch API:
The
fetch()function is used to make an HTTP GET request to the specified URL (https://apis.quaapay.ng).It returns a Promise that resolves to the Response to that request.
.then()Method:The
.then()method is called on the Promise returned byfetch().Inside the
.then()method, we specify what to do with the response after it's received.
response.text():Inside the first
.then()method,response.text()is used to read the response body as plain text. This is suitable if you're expecting a plain text response from the server.
Second
.then()Method:The next
.then()method is chained to the previous one.Inside this method, the resolved plain text response is passed as the
dataparameter.The
console.log()function is used to display the response data in the browser's console.
.catch()Method:The
.catch()method is used to handle any errors that might occur during the fetch operation.If there's an error, the error message is displayed using
console.error().Here's the equivalent cURL command to make an HTTP GET request tohttps://apis.quaapay.ng:Here's the equivalent cURL command to make an HTTP GET request tohttps://apis.quaapay.ng:Here's the equivalent cURL command to make an HTTP GET request tohttps://apis.quaapay.ng:
Certainly! The jQuery code provided performs an HTTP GET request using the $.ajax() function, which is a versatile method for making asynchronous HTTP requests in jQuery. Here's a breakdown of each part of the code:
Document Ready: The code is wrapped inside the
$(document).ready(function() { ... })block. This ensures that the code executes when the DOM (Document Object Model) is fully loaded and ready to be manipulated.Ajax Request: The
$.ajax()function is used to initiate the HTTP request. It takes an object as its argument, containing various options to configure the request.URL and Method: The
urloption specifies the URL of the API endpoint you want to make a request to. In this case, it's"https://apis.quaapay.ng". Themethodoption is set to"GET"to indicate that this is a GET request.Data Type: The
dataTypeoption specifies the expected data type of the response. In this case,"json"is specified, indicating that the response is expected to be in JSON format.Success Callback: The
successcallback is a function that gets executed if the request is successful. Thedataparameter of this callback holds the response data from the API. In this example, the data is logged to the console usingconsole.log(data).Error Callback: The
errorcallback is a function that gets executed if there's an error during the request. Theerrorparameter of this callback holds information about the error. In this example, any error messages are logged to the console usingconsole.error("Error:", error).
Overall, this jQuery code fetches data from the specified API URL, expecting JSON in response. It then logs the data to the browser console if the request is successful or logs an error message if an error occurs.
Good to know: Congratulations, my Hero! You've used our api endpoints to successfully make your first request, and so far, so good. You can now see how simple it is to do this. Make your first request
To make your first request, send an authenticated request to the our endpoint. This will create a pet, which is nice.
Access to all our Version 1.0 api endpoints.
POST https://api.quaapay.ng
Creates a new pet.
Request Body
No Body is requred
string
Left empty
Last updated