Gig Pay Express Payment Gateway API

Gig Pay
2019-02-08 03:42

 Gig Pay Express Payment Gateway API helps you accept payment from ecommerce website or any other form of services you provide.  Developer 

Gig Pay Express Payment Gateway Documentation


If payer wants to fund payments using gigpay, set payer to gigpay.
(Other payment method ex: paypal, Mobile Money, coinpayments).


Specify a payment amount and the currency.


It’s a Transaction resource where amount object has to set.


Set the urls where buyer should redirect after transaction is completed or cancelled.


It’s a payment resource where all Payer, Amount, RedirectUrls and Credentials of merchant (Client ID and Client Secret) have to set. After initialized into Payment object, need to call create method. It will generate a redirect URL. Users have to redirect into this URL to complete the transaction.


Installation Instruction :

Click download for the package download

Go to php-sdk/src/PayMoney/Rest/Connection.php then change BASE_URL value to your hostname 
(ex: If localhost then define( 'BASE_URL' , 'http://localhost' ) )

Example :
 require 'vendor/autoload.php';
 use PayMoney\Api\Payer;
 use PayMoney\Api\Amount;
 use PayMoney\Api\Transaction;
 use PayMoney\Api\RedirectUrls;
 use PayMoney\Api\Payment;

 $payer = new Payer();

                                     $amountIns = new Amount();
                                     ->setCurrency('USD'); //currency must be in merchant wallet list

                                     $trans = new Transaction();
                                     $urls = new RedirectUrls();

                                     $payment = new Payment();
                                     //Client ID & Secret = Merchants->setting(gear icon)
                                     'client_id' => 'ID',
                                     'client_secret' => 'secret'


                                     try {
                                     // redirecting to the approved url
                                     header("Location: ".$payment->getApprovedUrl());
                                     } catch (\Exception $ex) {
                                     print $ex;
Tags: Gig Pay Express Payment Gateway API
Average rating: 0 (0 Votes)

You cannot comment on this entry