GENERATE Token

post https://payin.gamegateway.online/v3/generateToken


Your Request History

  • 0 Calls
  • Your API calls will appear here. Make a request to get started!

Request Parameters

Parameter Name Type Requirement Description
userKey String Mandatory Api User Key
userToken String Mandatory Api User Token

Sample Request

curl --location ' https://payin.gamegateway.online/v3/generateToken' \
--header 'Content-Type: application/json' \
--data-raw '{
"userKey":"KBSxxxxxxxxxxxxa8",
"userToken":"e618xxxxxxxxxxxxxxxxxxx3e4"
}
POST /v3/generateToken HTTP/1.1
Host: https://payin.gamegateway.online
Content-Type: application/json
{
"userKey":"KBxxxxxxxxxxxxxx8",
"userToken":"e6xxxxxxxxxxxxxxxxxxxxxe4"
}

Response Parameters

Parameter Name Type Description
status String Action Status
msg String Token Generate Message
data Array Response Data (If Present)
data.status String Transaction status (SUCCESS/FAILED)

Sample Response

{
"status":"true",
"msg":"Token Generated Successfully",
"data":{
"status":"SUCCESS",
"token":"eyJxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx3w"
}
}

GENERATE PAYMENT LINK

post https://payin.gamegateway.online/v3/generatePaymentLink


Your Request History

  • 0 Calls
  • Your API calls will appear here. Make a request to get started!

  Info :

Click Here to know how to get the Credentials.

Request Parameters

Parameter Name Type Requirement Description
userKey String Mandatory Api User Key
userToken String Mandatory Api User Token
genrateToken String Mandatory Token generated by you
amount String Mandatory Amount
option String Mandatory INTENT/QR
orderId Alphanumeric Mandatory Order Id should be 19 digit first 3 is Alpha Last 16 is numeric like : KSL9658343424582629

Sample Request

curl--location ' https://payin.gamegateway.online/v3/generatePaymentLink' \
--header 'Content-Type: application/json' \
--data-raw '{
"userKey":"KB****************8",
"userToken":"e6****************4",
"genrateToken":"eyJhbG********************************1F3w",
"amount":"100",
"option":"INTENT",
"orderId":"KSL1*************874"
}'
POST /v3/generatePaymentLink HTTP/1.1
Host: https://payin.gamegateway.online
Content-Type: application/json
{
"userKey":"KB****************8",
"userToken":"e6****************4",
"genrateToken":"eyJhbG********************************1F3w",
"amount":"100",
"option":"INTENT"
"orderId":"KSL1*************874"
}

Response Parameters

Parameter Name Type Description
status string Action status
msg String Link generate message
data Array Response Data (If Present)
data.status String Transaction status (SUCCESS/FAILED/PROCESSING)

Sample Response

{
"status":"true",
"msg":"Payment Link Genrated successfully",
"data":{
"status":"SUCCESS",
"message":"Payment Link Genrated successfully",
"orderId":"RAIxxxxxxxxxxxxx4351",
"txnId":"111xxxxxxxxxx08",
"amount":"10.0",
"paymentData":"upi://pay?pa=76xxxxxxx1@indus&pn=PAYIN%20SOLUTION&mc=6012&tr=11108xxxxxxxxx08&tn=Shopping&am=10.0&mode=04&tid=RAI145300xxxxxxx351"
}
}

Note :

  • Here We have Provided a sample request format for call back , so please create your call page accordingly.

Responses

  • Sample Call Back URL : https://yourdomain.com/dynamicupicallback
    Sample Call Back Recevied :
    {
    "amount":"10.0",
    "utr":"31xxxxxxxx41",
    "orderId":"RAI7xxxxxxxxxxxx906",
    "name":"MAxxxxxxxxxxxxxxAI",
    "txnId":"1110xxxxxxxxxxxxxxx840",
    "upi":"76xxxxxxxxxxxx2@axl",
    "status":"SUCCESS"
    }
    }}