FREE 1440 requests/day
€0.001 + VAT
FREE requests
Request via API the online service for the payment of the 896 bill and major bills securely, easily and quickly. The service is chosen every day by service portals, private post offices, and large retailers for payment at checkouts.
The Bills service allows the integration of the payment service for the main types of bills via API:
Bill 896 is a type of pre-printed bill, i.e. a bill in which the information required to complete the payment is already available and in the case of a paper version pre-printed within the model.
This is the type of bill for the payment of fixed amounts defined directly by the creditor.
Bill 896 is among those most frequently used, for example, for the payment of:
The service consists of 3 endpoints that allow you to pay the bill, retrieve the list of requests made, and obtain the details of a specific payment request.
The service in the request phase allows the bill payment form to be generated with the endpoint POST/pay/{endpoint}
POST/pay/{endpoint}
The value ‘endpoint’ must be populated with the type of bill to be paid, in our case it will be 896.
POST https://ws.pagasubito.it/pay/896
A series of values will need to be passed into the body of the request. These values depend on the type of bulletin to be paid, for payment of 896 they will be:
This is an example of a payload for a request to pay bill 896.
{
data{
"email": "[email protected]",
"importo": 123.12,
"ccp": "121215",
"codice_bollettino": "12121212121212120",
"callback": {
"url": "https://your_domain.it/your_callback.php",
"method": "POST",
"field": "data",
"headers": {
"session_id": "oiwejdf89453urf945jfg"
}
}
}
Remember that when making a request, it is also possible to set up a callback to get a response when the report with the final payment status is available.
The response will contain the request id and the link to the form to complete the request.
{
data{
"id": "6489ca34bf95b3541e0ccb25",
"payment_url": "https://test.ws.pagasubito.it/payment/6489ca34bf95b3541e0ccb25"
},
"success": true,
"message": "",
"error": null
}
It is possible to obtain the receipt of a payment via endpoint GET /pay/{id}/ricevuta starting from the ID, i.e. the request identification code, available in the response after the payment request (POST /pay/{endpoint}), or retrievable from the response via the endpoint GET /pay/.
GET https://ws.pagasubito.it/pay/{id}/ricevuta
The response will contain a pdf with the following information:
It is possible to obtain a list of all requests made via the endpoint GET/pay.
GET https://ws.pagasubito.it/pay/
The response will contain a list of the bulletins made with the request id, payment type, amount and timestamp (date of request).
{
"data": [
{
"_id": "6481f66cf2129e73020e2e5d",
"type": "pagopa",
"importo": "0.00",
"timestamp": "1686238828014"
},
{
"_id": "6481f5cbd503bfa6cf061192",
"type": "mav",
"importo": "123.12",
"timestamp": "1686238667307"
},
{
"_id": "6481f66cf2129e73020e2e5d",
"type": "rav",
"importo": "123.12",
"timestamp": "1686238526070"
},
{
"_id": "6481f506b5fc59ab15049fe4",
"type": "896",
"importo": "123.12",
"timestamp": "1686238470629"
}
],
"success": true,
"message": "",
"error": null
}
It is possible to obtain information on a single request made via the endpoint GET /pay/{id}, starting from the ID.
GET https://ws.pagasubito.it/pay/{id}
The response will contain information entered at the payment stage and details of the payment status.
{
"data": [
{
"_id": "6481f66cf2129e73020e2e5d",
"email": "[email protected]",
"cognome": "",
"nome": "",
"telefono": "",
"ente_pa": "134553",
"avviso_pa": "2489567",
"type": "pagopa",
"timestamp": "1686238526070",
"owner": "[email protected]",
The service provides its customers with a quick and easy way to pay the main bills and has been integrated into service portals, private post offices and large retail outlets for payment at checkouts.
Do you need help?
Haven't found the answer you're looking for?
Fill in all the details, we will get back to you as soon as possible!
The service allows you to integrate the request for the 896 Bill via API, a pre-printed type of Bill particularly useful for paying household utilities (electricity, gas, water), vehicle tax, fees, recurring payments, and municipal taxes.
The reference endpoint is POST/pay/{endpoint}, which is used to generate the form through which the bulletin payment can be made.
The service is fast, easy, and secure, and is managed in full compliance with regulations.
With Openapi, it is possible to pay the following types of bills:
The Bill services via API allow your customers to offer a simple and fast method for paying the main Bills. These services are currently integrated mainly on service portals, private post offices, and large-scale retail (GDO) for payments at the checkout.
The service is provided in real-time.
There are no costs for the bill payment. For those who choose to integrate the service, an amount of €0.20 in credit will be granted on the platform for each successful payment.