Gateway
https://gps-pay.co.in
Deposit Request
Method: POST
URL: /Deposit/Index.html
Media type: application/x-www-form-urlencoded
Parameter Description Join Signature
merchantid Merchant ID Y
orderid Deposit Order ID Y
code Deposit code, 1008 Y
notify Deposit Notify address Y
amount Deposit Amount Y
type Deposit respond type, type=link will respond the payment information, if empty will redirect to the payment page
When type='link' will return like:
{"status":"success","msg":"success","data":{"https://gps-pay.co.in/Deposit/Upi/Cashier.html?orderid=E20230505045208641393","account":"123@ybl","qrcode":"https://gps-pay.co.in/Public/upi/images/2023-04-25/123.jpg","amount":"1000.00","orderid":"20230505125213100565","sign":"DD98DED4348050A41454798ACAFAFBF6"}}
Sort all fields in the "data" and append the key to md5 signature:
account=123@ybl&amount=1000.00&orderid=20230505125213100565&qrcode=https://gps-pay.co.in/Public/upi/images/2023-04-25/123.jpg&url=https://gps-pay.co.in/Deposit/Upi/Cashier.html?orderid=E20230505045208641393&key=xxx
Kindly submit the Ref. No via link: https://gps-pay.co.in/Deposit/Upi/submitutr.html?orderid=E20230505044446451274&utr=123000321000
parameter:
"orderid": input your merchant orderid
"utr": input the Ref. No
N
sign Signature, please refer to the signature algorithm N
Deposit Notification
Method:POST
If notify received, please respond string 'success' to be confirmed.
Parameter Description Join Signature
merchantid Merchant ID Y
orderid Deposit Order ID Y
amount Deposit Amount Y
actualamount Player Actual Deposit Amount Y
transactiontime Deposit success time Y
status Deposit status, only value='1' means success Y
sign Signature, please refer to the signature algorithm N
Payout request
Method:POST
URL: /Payout/Netbank/submit.html
Media type: application/x-www-form-urlencoded
Parameter Description Join Signature
merchantid Merchant ID Y
orderid Payout order ID Y
amount Payout amount Y
accountname Payout bank account name Y
bankname Payout netbank name Y
ifsc Payout IFSC code Y
cardnumber Payout bank account number Y
notify Payout notify address Y
sign Signature, please refer to the signature algorithm N
Payout request result
Name Desciption
status request done:success request fail:error. Only for request status, not for transaction status.
msg Information for payout request
transaction_id System order ID
Payout Notification
Method:POST
Parameter Description Join Signature
status Payout transaction status Y
merchantid Merchant ID Y
orderid Payout order ID Y
amount Payout amount Y
code Payout transaction state code. 0: payout reject, 1: payout successful Y
transactiontime Payout transaction time Y
description Payout transaction result N
sign Signature, please refer to the signature algorithm N
Both status=success and code=1 means payout transaction successful.
Balance Query
Method:POST
URL: /Deposit/Merchant/Balance.html
Media type: application/x-www-form-urlencoded
Parameter Description Join Signature
merchantid Merchant ID Y
sign Signature, please refer to the signature algorithm N
Query request result
Name Desciption
merchantid Merchant ID
balance Merchant Balance
Deposit code
Value Desciption
1008 India UPI solution
Signature algorithm
The general steps for signature generation are as follows:
The first step is to set all parameters as a set M, sort the parameters according to the ASCII code of the parameter name from small to large (lexicographical order), and use the URL key-value pair format (ie. key1=value1&key2=value2…) spliced ​​into a stringA
The second step is to append the merchant API key to the final splicing of stringA to obtain the stringSignTemp string, and perform MD5 calculation on stringSignTemp, and then convert all characters of the string to uppercase to obtain the sign value
stringSignTemp="amount=&code=&merchantid=&notify&orderid=&key=" sign=MD5(stringSignTemp).toUpperCase()