Skip to content
Inzpire API

CaaS API

Monetize your app with micro-payments

What it does

CaaS API allows to monetize your app with micro-payments. You can retrieve the account balance and other related information of a given subscriber, charge specific amount from a subscriber's account etc.

Base URL
https://api.mspace.lk
Content type
application/json;charset=utf-8
OTP GenerationOTP VerificationCharging Notification
POST/caas/direct/debit

OTP Generation

https://api.mspace.lk/caas/direct/debit

Request sampleJSON
{
  "applicationId": "APP_000XXX",
  "password": "a07118cda5215fc6d01db5b2ab848edd",
  "externalTrxId": "256091232",
  "subscriberId": "tel:8801973579363",
  "paymentInstrumentName": "Mobile Account",
  "amount": "5.00",
  "Currency": "BDT",
  "applicationHash": "a7f5f354"
}
Response sample200 · JSON
{
  "timeStamp": "2023-11-08T08:02:16.913Z",
  "externalTrxId": "256091232",
  "statusDetail": "Request successfully proceed. OTP will send to user.",
  "requestCorrelator": "8801442233146169943053700500040",
  "internalTrxId": "9110808020001876",
  "statusCode": "P1003"
}
Pricing
Free registrationSee all pricing

mSpace offers you free registration where you can just sign up to create your application. Revenue share is subject to mSpace admin decision and approval upon submitting your application for approval.