BANK TRANSFER/SEND MONEY
GET PAY API allows you to transfer funds from your GET PAY Wallet to the account number you have looked up/enquired.
Please be informed that GET PAY will not be held liable for mistake in transferring to a wrong account or an account that wasn't looked up.
GET PAY Bank Transer API Integration
This section contains your RESTful API for GET PAY Bank Transer API integration. It enables Merchants to transfer funds from their GET PAY Wallet to Any Bank Account Number.
AUTHENTICATION
The GET PAY API uses APIKey for Authentication for Bank Transer.
Please use your Testkey for Testing on sandbox, after a successful integration, then change to Your APIKEY for authentication
GET PAY ENVIRONMENTS
The GET PAY API Endpoint has the Sandbox environment and the Production Environment as seen Below:SANDBOX: https://sandbox.getpaysolutions.com/api/v1/
PRODUCTION: https://getpaysolutions.com/api/v1/
Transfering Money
You Can Transfer Money from GET PAY with the endpoint below:Base URL: https://sandbox.getpaysolutions.com/api/v1/sendmoney
Body Parameters: as specified in the parameters below:
PARAMETERS | Required/Optional | TYPE | DESCRIPTION |
apikey | R | String | Your Business APIkey Created at getpaysolutions.com. Use Your Testkey on sandbox |
accountNumber | R | Number | The Bank Account Number You are sending The Money to. |
bankCode | R | Number | The Bank Code of the Bank you are Sending Money to. |
amount | R | Number | The Amount of Money you are sending.. |
referenceID | R | String | This is a unique reference with which you can use to query and verify the status of the Transaction. |
currency | O | String | This is the currency of the Account. We only accept NGN at the moment. |
SAMPLE CODE
$host="https://sandbox.getpaysolutions.com/api/v1/sendmoney/?apikey=1234532fgf&accountNumber=1010101010&bankCode=215&amount=1000&referenceID=Unique111"; //Initialize cURL. $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $host); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); echo $data = curl_exec($ch); //Close the cURL handle. curl_close($ch); $result = json_decode($data);
EXPECTED RESPONSE
{"data":{ "Authencation":"68393a01dfa456c8f7ee75faaa6a29d7c8b93b2a7b19bbe6e30af120ce7e1cae9055f9bc7ff8a80d47b2942ca07018b1156b7f6ffc398ecfcf5fbded693abeaf", "responseCode":"200", "status":"Completed", "service":"Money Transfer", "dateTime":"2023-11-16 08:43 PM", "message":"1000 Transferred Successfully To GET PAY MFB"}, "accounts":{ "bankCode":"215", "bankName":"GET PAY MFB", "accountNumber":"1010101010", "accountName":"GET PAY", "amount":"1000", "charge":"10", "payable":"990", "referenceID":"unique111", "paymentReference":"GETref1111"}}