librairie

Nos librairies permettent l'intégration de QOSPAY dans votre application web.

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);
});

Dernière mise à jour