Libraries

Our libraries allow the integration of QOSPAY into your web application.

var settings = {
  "url": "https://api.qosic.net/QosicBridge/user/requestpayment",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Content-Type": "application/json",
    "Authorization": "Basic UVNVU1I0MjU6S2pkVzM0NnNxVHI4ZE50S09VNVc="
  },
  "data": JSON.stringify({
    "msisdn": "22960000000",
    "amount": "100",
    "firstname": "Fabro",
    "lastname": "Nathi",
    "transref": "f13408",
    "clientid": "YourClientId"
  }),
};

$.ajax(settings).done(function (response) {
  console.log(response);
});

Last updated