GET PAYGETPAYsolutions.com

  • MAIN NAVIGATION
  • Introduction
  • Discounts & Prices
  • Wallet Balance Check
  • Reserved Account Numbers
  • Virtual Account Numbers
  • Bank Transfer
    • Account Name Enquiry
    • Send Money
    • Bank List & Codes
  • Payment Gateway
  • Transactions
    • Transaction Verification
    • Webhook Notification
    • Callback URL
  • Error/Response Codes
  • Back To Home Page

Download Mobile APP
  • Home Services Prices
  • My Account

    • Login
    • Register



Transaction Verification API Integration

GET PAY Transaction Verification API Integration

This section contains your RESTful API for Transaction Verification on GET PAY. It enables Merchants to check status of the transactions that occurred on their GET PAY Accounts.

This is an endpoint that allows you to query the status of a particular transaction using the unique transaction reference attached to the transaction.
You can either use the referenceID you supply during the Transaction or The payment Reference you receive from GET PAY after the Transaction.

 

AUTHENTICATION

The GET PAY API uses SecretKey for Authentication for Transaction Verification.

Please use your Testkey for Testing on sandbox, after a successful integration, then change to Your SECRETKEY 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/


Verify Transaction

Your Transactions on GET PAY can be verified with the endpoint below:


Base URL: https://sandbox.getpaysolutions.com/api/v1/merchant-verify/transactions

Body Parameters: as specified in the parameters below:

 

PARAMETERS Required/Optional TYPE DESCRIPTION
secretkey R String Your Business secretkey Created at getpaysolutions.com. Use Your Testkey on sandbox
referenceID R String This is the unique reference you supplied during the Transaction.
You can still use the Payment Reference You received from us after the Transaction.

 

SAMPLE CODE



$host="https://sandbox.getpaysolutions.com/api/v1/merchant-verify/transactions/?secretkey=Sec23344444444&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);


$data = curl_exec($ch);



//Close the cURL handle.

curl_close($ch);



$result = json_decode($data);



 

EXPECTED RESPONSE

{"transaction":{
        "Authencation":"68393a01dfa456c8f7ee75faaa6a29d7c8b93b2a7b19bbe6e30af120ce7e1cae9055f9bc7ff8a80d47b2942ca07018b1156b7f6ffc398ecfcf5fbded693abeaf",
	"status":"Completed",
	"servicetype":"Credit",
	"amount":"1000",
     "charge":"10", 
     "payable":"990",
	"channel":"API",
	"balance_Before":"100",
	"balance_After":"1090",
	"businessID":"GP554",
	"businessName":"GET PAY",
	"merchant":"get@gmail.com,
	"reserved_Account":"1111111111",
	"accountRef":"unique111",        		 
     "referenceID":"unique111",
    "paymentReference":"unique111",
    "date":"16 October 2025, 12:26 AM" }}
 


OTHER SERVICES


SPONSORED ADS



Copyright © 2023 - GET PAY SOLUTIONS LIMITED. All Rights Reserved.