Download OpenAPI specification:Download
This is the Government Payment Gateway Documentation intended to facilitate the integration development efforts to make use of the MITA enabled Online Payment Services
Our APIs accept and return JSON in the HTTP body and use standard HTTP response codes. You can interact with these APIs using your preferred HTTP/REST library.
To perform test transactions without affecting live data, request a Test API Key from a user with Payment Manager or Merchant Owner permissions.
The method in this section provide the required method to trigger a payment process via a Hosted Payment Page apporach
This endpoint using a POST operation creates a Hosted Payment Page token.
To create a Hosted Payment Page, you must first generate a Payment Page Token. By setting the transaction type to 'Auth', the system will validate and authorize the card without capturing the funds. To capture the funds later, you will need to use the /PUT transaction within the Update Previous Payment operation.
{- "TransactionType": "AUTH",
- "Currency": "EUR",
- "Amount": 10.96,
- "OrderReference": "MerchantOrder1-556",
- "UniqueReference": "7799665d-7c07-4826-87ad-437897e3bb54",
- "IsTest": true,
- "Client": {
- "Email": "joe.bloggs@testjb.com",
- "FirstName": "Joe",
- "LastName": "Bloggs",
- "ClientAccount": "test123",
- "City": "Marsa",
- "IPAddress": "214.21.134.79",
- "Street": "4, Qormi Road",
- "DateOfBirth": "2000-01-01",
- "Country": "Malta",
- "ZipCode": "MRS1234",
- "State": "South",
- "MobileNo": "79445566"
}, - "Configuration": {
- "Profile": "MITA"
}, - "UDF": {
- "hello": "test",
- "testing": "api"
}
}{- "success": true,
- "result": {
- "transactionId": "40d7f342-a5ef-45f4-a05d-2624b54047dd",
- "status": "PENDING"
}, - "dateTime": "2025-06-19T11:37:53.4689099+02:00",
- "processId": "513dc533-03c4-44ee-aaa2-1dd81477f0b4"
}The list of methods in this section facilitate further actions on a pre-established payment attempt
The methods under the PUT Operation request, perform additional operations on existing succesful transactions.
A 'capture' refers to the action of processing and finalising a previously authorised transaction, and initiating the transferring of funds from the customer's card to the merchant's account. This is only possible on an active authorisation transaction.
Bad Request
Unauthorized
{- "TransactionType": "CAPT",
- "Amount": 10,
- "UniqueReference": "f90052e2-6614-4182-96a4-ad11601faad6",
- "IsTest": true,
- "Trans_Id": "bcb700ad-c43f-43ae-b233-e8f645867fb3"
}{- "success": true,
- "result": {
- "trans_Id": "ad288ec7-fd8d-4ca6-a022-6711d614bb0e",
- "bankResponse": "Processed",
- "bankAccept": true,
- "redirectUrl": null,
- "errorMsg": null,
- "gatewayId": 958870
}, - "dateTime": "2025-06-19T13:09:08.041227+02:00",
- "processId": "b9fb35b7-c104-40f9-a041-a7e9330f887e"
}This endpoint is used to retrieve the status and information of a specific transaction ID.
Unauthorized
{- "success": true,
- "result": {
- "state": "awaiting",
- "msg": {
- "attemptNumber": 1,
- "sentDateTime": 1750419539,
- "transactionToken": "ef3714d1fe084186b03e9568d892410c",
- "orderReference": "MerchantOrder1-556",
- "uniqueReference": "5ac40356-004a-419e-97bc-c3a25aa35cc1",
- "status": "PROCESSED",
- "authCode": "86044",
- "cardInput": "true",
- "gatewayId": 959131,
- "currency": "EUR",
- "amount": "10.96",
- "bankMessage": "N/A",
- "cardNumber": "401288******1881",
- "cardExpiry": "12/2030",
- "cardHolderName": "Frictionless Processed",
- "cardCountry": "UKR",
- "cardType": "VISA",
- "acquirer": "PTEST",
- "email": "joe.bloggs@testjb.com",
- "bankErrorCode": "N/A",
- "udf": {
- "hello": "test",
- "testing": "api",
- "TransType": "PURC"
}, - "settlementDate": "",
- "transid": "a301e956-92e7-4243-b8e9-d847ea618875"
}
}, - "dateTime": "2025-06-20T13:39:47.9257371+02:00",
- "processId": "b0809b22-1ea3-481b-b020-242a244e2eec"
}Returns the transactions succesfully posted between startDate and the endDate.
OK
Bad Request
Unauthorized
{- "pageNumber": 1,
- "pageSize": 3,
- "startDate": "2025-06-18",
- "endDate": "2025-06-19"
}{- "success": true,
- "result": {
- "draw": 1,
- "recordsTotal": 30,
- "recordsFiltered": 3,
- "matchingResults": [
- {
- "id": "6f6a1056-567c-4c5b-ae23-5676f844d77a",
- "bankName": "PTEST",
- "date": "2025-06-19",
- "time": "14:24:35",
- "type": "PURC",
- "amount": 10.96,
- "currency": "EUR",
- "cardNumber": "401288******1881",
- "cardScheme": "VISA",
- "cardHolderName": "Frictionless Processed",
- "cardHolderEmail": "joe.bloggs@testjb.com",
- "status": "PROCESSED",
- "authCode": "80259",
- "orderRef": "MerchantOrder1-556",
- "bankError": "N/A",
- "merchantCode": "1281",
- "merchantName": "Apco World123456",
- "clientAccount": "test123",
- "countryBIN": "UKR",
- "cardIssuerBank": "PTEST",
- "settlementDate": "N/A"
}, - {
- "id": "6ae3843d-6c68-423a-ac8a-9435a7a7f873",
- "bankName": "PTEST",
- "date": "2025-06-19",
- "time": "14:14:08",
- "type": "REPEATPURC",
- "amount": 11.58,
- "currency": "EUR",
- "cardNumber": "401288******1881",
- "cardScheme": "VISA",
- "cardHolderName": "Frictionless Processed",
- "cardHolderEmail": "joe.bloggs@testjb.com",
- "status": "Processed",
- "authCode": "",
- "orderRef": "MerchantOrder1-556",
- "bankError": "",
- "merchantCode": "1281",
- "merchantName": "Apco World123456",
- "clientAccount": "test123",
- "countryBIN": "UKR",
- "cardIssuerBank": "PTEST",
- "settlementDate": "N/A"
}, - {
- "id": "9060a0ba-b2f0-49e9-a159-ebb9947c8b53",
- "bankName": "PTEST",
- "date": "2025-06-19",
- "time": "14:13:47",
- "type": "PURC",
- "amount": 10.96,
- "currency": "EUR",
- "cardNumber": "401288******1881",
- "cardScheme": "VISA",
- "cardHolderName": "Frictionless Processed",
- "cardHolderEmail": "joe.bloggs@testjb.com",
- "status": "PROCESSED",
- "authCode": "32556",
- "orderRef": "MerchantOrder1-556",
- "bankError": "N/A",
- "merchantCode": "1281",
- "merchantName": "Apco World123456",
- "clientAccount": "test123",
- "countryBIN": "UKR",
- "cardIssuerBank": "PTEST",
- "settlementDate": "N/A"
}
]
}, - "dateTime": "2025-06-19T14:35:40.0731323+02:00",
- "processId": "ab841dc9-b9b6-4e81-a3ed-1e7ca6db1649"
}Returns the details of the posted transactions using the startDate and endDate. This endpoint also requires either a list of transactionIDs or a list of order references.
OK
Bad Request
Unauthorized
{- "pageSize": 10,
- "pageNumber": 1,
- "startDate": "2025-06-19",
- "endDate": "2025-06-19",
- "transactionIDList": [
- "6f6a1056-567c-4c5b-ae23-5676f844d77a",
- "9060a0ba-b2f0-49e9-a159-ebb9947c8b53",
- "5eea88e3-5e0b-4188-a4a4-216ed6df71c3",
- "98f4c901-d9a0-46d2-9e06-fea2d49576d6"
]
}{- "success": true,
- "result": {
- "draw": 1,
- "recordsTotal": 3,
- "recordsFiltered": 3,
- "matchingResults": [
- {
- "id": "3a4d7481-de10-4c1b-b421-0724f24a2580",
- "bankName": "PTEST",
- "date": "2024-02-23",
- "time": "12:44:17",
- "type": "PURC",
- "amount": 12.83,
- "currency": "EUR",
- "cardNumber": "488852******8924",
- "cardScheme": "VISA",
- "cardHolderName": "Joe Bloggs",
- "cardHolderEmail": "apcotest@test.com",
- "status": "Processed",
- "authCode": "68462",
- "orderRef": "MerchantOrder1283",
- "bankError": "Order1234",
- "merchantCode": "1281",
- "merchantName": "Merchant name",
- "clientAccount": "ACC102323",
- "countryBIN": "USA",
- "cardIssuerBank": "PTEST"
}
]
}, - "dateTime": "2024-05-22T11:43:17.3071161+02:00",
- "processId": "6138720e-a5d1-4431-9dee-cf85da1476ed"
}Returns a list of posted transactions based on a list of transactionsID or order references.
Bad Request
Unauthorized
{- "pageNumber": 1,
- "pageSize": 10,
- "transactionIDList": [
- "6f6a1056-567c-4c5b-ae23-5676f844d77a",
- "98f4c901-d9a0-46d2-9e06-fea2d49576d6"
]
}{- "success": true,
- "result": {
- "draw": 1,
- "recordsTotal": 2,
- "recordsFiltered": 2,
- "matchingResults": [
- {
- "state": "awaiting",
- "msg": {
- "attemptNumber": 1,
- "sentDateTime": 1750335872,
- "transactionToken": "7e0931b7d84148caa2b361f4fc954984",
- "orderReference": "MerchantOrder1-556",
- "uniqueReference": "5b8fa3ea-6946-4cc2-85e4-6fe7b014c944",
- "status": "PROCESSED",
- "authCode": "80259",
- "cardInput": "true",
- "gatewayId": 958904,
- "currency": "EUR",
- "amount": "10.96",
- "bankMessage": "N/A",
- "cardNumber": "401288******1881",
- "cardExpiry": "12/2030",
- "cardHolderName": "Frictionless Processed",
- "cardCountry": "UKR",
- "cardType": "VISA",
- "acquirer": "PTEST",
- "email": "joe.bloggs@testjb.com",
- "bankErrorCode": "N/A",
- "udf": {
- "hello": "test",
- "testing": "api",
- "TransType": "PURC"
}, - "settlementDate": "",
- "transid": "6f6a1056-567c-4c5b-ae23-5676f844d77a"
}
}, - {
- "state": "awaiting",
- "msg": {
- "attemptNumber": 1,
- "sentDateTime": 1750332384,
- "transactionToken": "3cdc017bbbc44d638ce0755906c76085",
- "orderReference": "MerchantOrder1-556",
- "uniqueReference": "a30e7890-4d50-4b51-bff9-62e7abda7e87",
- "status": "PROCESSED",
- "authCode": "74416",
- "cardInput": "true",
- "gatewayId": 958881,
- "currency": "EUR",
- "amount": "10.96",
- "bankMessage": "N/A",
- "cardNumber": "401288******1881",
- "cardExpiry": "12/2030",
- "cardHolderName": "Frictionless Processed",
- "cardCountry": "UKR",
- "cardType": "VISA",
- "acquirer": "PTEST",
- "email": "joe.bloggs@testjb.com",
- "bankErrorCode": "N/A",
- "udf": {
- "hello": "test",
- "testing": "api",
- "TransType": "PURC"
}, - "settlementDate": "",
- "transid": "98f4c901-d9a0-46d2-9e06-fea2d49576d6"
}
}
]
}, - "dateTime": "2025-06-19T14:53:48.8839972+02:00",
- "processId": "d0593188-054d-4d6c-84bc-48839913c391"
}This is the webhook call sent to notify the merchant the outcome of the payment attempt
| signature required | string This value is intended to be used by the receiving logic to confirm that the payload has not been tempered with in transit. The following link explains the signature calculation process which needs to be implemented by the receiving logic and matched with the specific signature contained in the header Signature Calculation and Verification |
This is the transaction status JSON payload which provides details around the transaction
{- "attemptNumber": 1,
- "sentDateTime": 1750419854,
- "transactionToken": "e3390bcd3edd41409c96c5c5527739ce",
- "orderReference": "MerchantOrder1-556",
- "uniqueReference": "b9ccc27f-599f-467c-9deb-e9d99e3ce075",
- "status": "PROCESSED",
- "authCode": "15466",
- "cardInput": "true",
- "gatewayId": 959133,
- "currency": "EUR",
- "amount": "10.96",
- "bankMessage": "N/A",
- "cardNumber": "401288******1881",
- "cardExpiry": "12/2030",
- "cardHolderName": "Frictionless Processed",
- "cardCountry": "UKR",
- "cardType": "VISA",
- "acquirer": "PTEST",
- "email": "joe.bloggs@testjb.com",
- "bankErrorCode": "N/A",
- "udf": {
- "hello": "test",
- "testing": "api",
- "TransType": "PURC"
}, - "transid": "611dacfd-b5c9-4c3b-ab79-5e60aaa0d6ef"
}