Credential Service

PAYGURU will call the webservice hosted on the merchant side after the first successful charging to get the required credentials and send it to the Customer.

Request method: GET

Request parameters:

  • subsId: Subscription ID of PAYGURU side.
  • trans_id: transaction ID of merchant side This parameter’s value will be taken from main page request: wap.trend-tech.net/landings/abc?trans_id=12321312 .
  • securekey: Encrypted value using MD5 encryption.

SecureKey = md5 (subsId + secretkey);

Note: secretkey value could be defined on Payguru Dashboard while creating a landing page.

Request sample:

http://yourwebsite.com?subsId=1111&trans_id=222&securekey=c241b4c56970b6ee49cc87cb0eac362b

Response: The response must be in json format and it has two situations:

  • In the case of sending successful response : {"result":1, "msg":"abc","login":"user123","password":"password123"}
  • In the case of sending failure response : {"result":0,"msg":"abc"}

msg value being:

  1. SUCCESS for successful delivery

ERROR: REASON for unsuccessful cases.