learn how to get started

Payment API

This is a documentation on how you can integrate your software to Qloud ID platform and generate digital ID for your domain Contact Support
How to connect with payment API

First of developer need a user account on Qloudid and he must be a employee of the company on Qloudid for the company he want to generate API URL. Then he needs to go to


if developer already have a developer account he will see list of API's created or he will be asked to request a developer account. After approval of suport team he can continue with following

  • If he want to generate new client id he can click on + and go to :
  • https://www.qloudid.com/company/index.php/CreateApps/appsAccount/"company_id"
  • Here he can select which API URL he wants to generate. App name here must be unique i.e. not used by other user or company. Redirect URL is the one where developer wants to redirect after login or purchase that he have selected will be completed.
  • After submitting the data a new Client id and password will be generated for developer and a tiny URL will be provided to him that he can use on their domain to login with Qloudid.
  • When a user want to purchase on their web using Qloud ID they click on purchase button. Here user need to provide the API generated for the purchase he want to work on
  • https://www.qloudid.com/user/index.php/LoginAccount/loginPurchaseVerify?response_type=code&client_id='.$client_id.'&state=xyz&purchase=1&total=
  • On this link user need to add client id and total purchase amount
  • User need to scan the QR code by api on this page and provide his consent for the purchase
  • User need to provide his delivery address after providing consent
  • User need to invoice address for purchased items after selecting delivery address
  • User need to provide card details after invoice address so that purchase is completed
  • After successful submission of profile user is redirected to added URL
  • On qmathup for now we are redirecting on : http://www.qmatchup.com/beta/user/index.php/Eshop/deliveryAddress
  • From Qmatchup user need to send request to https://www.qloudid.com/walk/token.php using client id and secret key to generate access token.
  • Following details are required in request:
    • $fields = ['grant_type'=>'authorization_code','code' => $_GET['code'],'client_id'=>$username, 'client_secret'=>$password] here username is client id and password id secret key
    • $headers = array('PHP_AUTH_USER' => 'username' , 'PHP_AUTH_PW' => 'password'); here username is client id and password id secret key
  • As soon as access tokan is received on qmatchup side they need to send the same to https://www.qloudid.com/walk/resource_purchase.php?purchase=1 using curl request
  • Here on this Qmatchup is rechecking before they make user logged that if user is not making a cheat and opening URL directly. So they re-verify from their client id and password and user detail from Qloudid.
  • This is two way handshaking process used on Qmatchup and Qloudid domain. So they can verify user login securely. Other domains using our API can work as per their requirement they can use two way handshaking or can make user logged in directly after receiving data from Qloudid.
  • Data will be sent in json in below format : {"user":"0","card_number":"414....","card_cvv":"111","exp_month":"10","exp_year":"20**", "name_on_card":"XYZ","company":"0","name_on_house":"XYZ","address":"abc","city":"abc", "zipcode":"12****","port_number":"1**","customer_id":"cu****","transection_id":"tran****"}
  • Here if user is 0 then this provide info that user have purchased this for himself, if user value is one then purchase is done for company.
  • Here if company is 0 then this provide info that invoice will be sent to user and card is also used from user for purchase, Here if company is 1 then this provide info that invoice will be sent to company and card is also used from company for purchase.