GENERATE Token

post https://umberpay.com/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://umberpay.com/v3/generateToken' \
--header 'Content-Type: application/json' \
--data-raw '{
"userKey":"KBSxxxxxxxxxxxxa8",
"userToken":"e618xxxxxxxxxxxxxxxxxxx3e4"
}
POST /v3/generateToken HTTP/1.1
Host: https://umberpay.com
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://umberpay.com/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://umberpay.com/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://umberpay.com
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=Umberpay&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"
    }
    }}

Check Status

post https://umberpay.com/v3/checkPayinstatus

Parameter for Check Status

Parameter Name Type Requirement Description
userKey String Mandatory Api User Key
userToken String Mandatory Api User Token
orderId String Mandatory Your unique transaction Id
txnId String Mandatory Transaction Id
genrateToken String Mandatory Token generated by you

Sample Request

curl --location ' https://umberpay.com/v3/checkPayinstatus' \
--header 'Content-Type: application/json' \
--data-raw '{
"userKey": "KBxxxxxxxxxxa8",
"userToken": "e6xxxxxxxxxxxx4",
"orderId": "RAIxxxxxxxxxxxxx222",
"txnId": "11xxxxxxxxxxxxxx728",
"txnStartDate": "2023-05-25",
"txnEndDate": "2023-05-25",
"genrateToken": "eyJxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxQjv5A"
}
POST /v3/checkPayinstatus HTTP/1.1
Host: https://umberpay.com
Content-Type: application/json
{
"userKey": "KBxxxxxxxxxxa8",
"userToken": "e6xxxxxxxxxxxx4",
"orderId": "RAIxxxxxxxxxxxxx222",
"txnId": "11xxxxxxxxxxxxxx728",
"txnStartDate": "2023-05-25",
"txnEndDate": "2023-05-25",
"genrateToken": "eyJxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxQjv5A"
}

Response Parameters

Parameter Name Type Description
statuscode Numeric Status Code
status String Action Status
data Array Response Data (If Present)
data.status String Transaction status (SUCCESS/FAILED/PROCESSING)

Sample Response

{
"statuscode":200,
"status":"SUCCESS",
"data":{
"orderId":"20xxxxxxxxxx5",
"txn_id":"505xxxxxxxxxxx96",
"status":"SUCCESS",
"utr":"31xxxxxxxxx51",
"name":"MAxxxxxxxxxxxxxAI"
}}