ACCOUNT NAME ENQUIRY
GET PAY Account lookup API allows you lookup/confirm the account name on the Account Number you intend to transfer Money to.
This should be done before initiating the transfer.
GET PAY Account Name Verification API Integration
This section contains your RESTful API for GET PAY Accounts Name enquiry API integration. This API allows you confirm Account Name to transferred Money to on GET PAY.
AUTHENTICATION
The GET PAY API uses APIKey for Authentication for Accounts Name Enquiry .
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/
Account Name Lookup
You can perform Account Name Lookup on GET PAY with the endpoint below:Base URL: https://sandbox.getpaysolutions.com/api/v1/merchant-verify/accounts
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 account number of the account to perform the name enquiry for. |
bankCode | R | Number | The bank code of the bank for the account you want to perform an enquiry for. We have a list of Available banks on GET PAY and their Bank Codes. Click Here To View |
SAMPLE CODE
$host="https://sandbox.getpaysolutions.com/api/v1/merchant-verify/accounts/?apikey=1234532fgf&accountNumber=1010101010&bankCode=215"; //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":"6030c666", "responseCode":"200", "status":"Completed", "service":"Bank Account Name Verification", "dateTime":"2023-11-16 08:43 PM", "message":"Bank Account Number Verified Successfully" }," accounts":{ "bankCode":"215", "bankName":"GET PAY MFB", "accountNumber":"1010101010", "accountName":"GET PAY"} }