Transactions API

Obtain an overview of the payment transactions


In order to use this API, You will need to send Authentiaction Header !

click here to


This API can give you an overview of all transactions in the Centili system


Request must be sent as HTTP POST with Content-Type: application/json.

URL to which request should be posted

Example of POST request

Content-Type: application/json

    "serviceKey": "2ea0e6c989b433d6c591633f91c67e07",
    "transactionId": "4970484531",
    "msisdn": "66876696573"

Example of a response

HTTP/1.1 200 OK
Content-Type: application/json

    "action": "SUB_START",
    "actionStatus": "COMPLETED",
    "amount": 1,
    "billingType": "DMB",
    "comment": null,
    "country": "pt",
    "currency": "EUR",
    "encryptedTransactionId": "zDmk6KHo2K3prWtovNCRKQ==",
    "endUserPrice": 7.00,
    "errorMessage": null,
    "errorType": null,
    "executionTime": null,
    "finishedBy": null,
    "integrationSolution": "API",
    "ip": "",
    "keyword": null,
    "merchantName": "Go4Mobile",
    "merchantNotificationStatus": "DELIVERED",
    "merchantReference": null,
    "moMessage": null,
    "msisdn": "66876696573",
    "mtMessage": "Obrigada pela sua compra. Você pagou ( 7.00EUR +tributos)",
    "operator": "PT_NOS",
    "pinIdentification": null,
    "price": 7.00,
    "provider": "PT_NOS",
    "reference": null,
    "serviceKey": "0fc073fbcba4916c9155dd57a08454b2",
    "serviceName": "Games Unlimited",
    "servicePrice": 7.00,
    "shortCode": null,
    "subscriptionId": 4304326630,
    "timeCharged": "2017-08-16 11:41:08",
    "timeChargedLocal": "2017-08-16 12:41:08",
    "timeNotified": "2017-08-16 11:42:08",
    "timeUpdated": "2017-08-16 11:42:08",
    "transactionId": 4970484531,
    "transactionState": "FINISHED"

Request / Response parameters

ParameterRequestResponseExample of param valueInfo
Transaction type.
Transaction status at the and of it's life-cycle.
If merchant is using several prices for a same product / amount of his product, this can help identifying the package (like 7 days subscription to online theater, package of 50 diamonds android game etc...)
Billing technology.
"or some comment..."
When someone is updating transaction manually (most often Centili support or system itself), comment can be added...
"country"“pt”2 letters country parameter. We are using "ISO 3166-1 alpha-2" standard. Here is full list of 2 letter country codes.
"currency"“EUR”Currency in which price is presented.
“encryptedTransactionId”“zDmk6KHo2K3prWtovNCRKQ==“Encrypted version of "transactionId".
Final price paid (or should have been paid if transaction is failed) by the customer (end-user) in local currency with VAT included.
In some countries this price is higher then the service price, because there are additional taxes added by that countries' governments.
"Charging failed."
"Insufficient funds"
"Canceled by timeout - expired"
Error description in case of failed transaction.
Type of error which occurred (if it occurred).
Click here to see the whole list.
yyyy-MM-dd HH:mm:ss
Time when scheduled transaction will execute.
If transaction is updated manually, this param shows user who made the update.
Channel trough which transaction is initiated. It should present the integration type of merchant to Centili platform.
End-user's IP
Keyword which has been sent to "shortCode" (Premium SMS connections).
“merchantName”"Go4Mobile"Name of the merchant in Centili’s system.
Indicates if merchant is successfully notified about particular transaction
Reference to customer or transaction at merchant side, sent by them in payment initiation step.
Original SMS message received from the customer.
"msisdn"“66876696573""Mobile (phone) number of customer.
It is in E.164 format excluding plus (""+"") character."
“mtMessage”"Obrigada pela sua compra. Você pagou ( 2.99EUR +tributos)"MT message sent to end-user.
"operator"“PT_NOS”Mobile Network Operator code in Centili’s system.
PIN code user received through SMS.
Price paid (or should have been paid if transaction is failed) by the customer (end-user) in local currency with VAT included.
Provider code in Centili’s system.
"transactionId" in Operator's system (if Operator has transaction management on their side)
“serviceKey”“0fc073fbcba4916c9155dd57a08454b2""Unique identifier of each service registered inside Centili Payment Platform (API key).
Consists of alphanumeric characters and counts up to 32 characters."
“serviceName”"Games Unlimited"Name of the service in Centili’s system.
Price which end-user will pay when successfully charged (successful renewal) in local currency with VAT included.
Price for every service is set up on Centili platform.
“shortCode”“4882269"Short number to which SMS has been sent (Premium SMS connections).
“subscriptionId”4304326630Unique subscription identifier in Centili Payment Platform. Used to identify any particular subscription within Centili system.
“timeCharged”yyyy-MM-dd HH:mm:ssTime in UTC-0 when charging happened if it was successful, and if the action itself has price > 0. This param will be present even in the transactions which have no cost (price=0.00), and in failed transactions also.

* When using dates in requests, they should be sent in the format:
"timeCharged" : {"gt":"2017-08-07 12:44:19" , "lt":"2017-08-07 13:44:19"}
where "gt" means greater then, and "lt" means less then.
“timeChargedLocal”yyyy-MM-dd HH:mm:ssSame as above, just in local timezone.

* request:
"timeChargedLocal" : {"gt":"2017-08-07 12:44:19" , "lt":"2017-08-07 13:44:19"}
yyyy-MM-dd HH:mm:ss
Time in UTC-0 when merchant received notification about transaction.
“timeUpdated”yyyy-MM-dd HH:mm:ssTime in UTC-0 when transaction lyfe-cycle finished.

* request:
"timeUpdated" : {"gt":"2017-08-07 12:44:19" , "lt":"2017-08-07 13:44:19"}
“transactionId”4970484531Unique transaction identifier in Centili Payment Platform. Used to identify any particular transaction within Centili system.
Shows current state of the transaction.