Easypol pagoPA API
  1. Payment API
Easypol pagoPA API
  • Getting Started
  • Payment API
    • Testing Data
    • Result Codes
    • Create Vehicle
      POST
    • Create Payment URL
      POST
    • Get Receipt
      GET
  • Webhooks
    • Pagopa Payment Result
      POST
  • Schemas
    • Vehicle
    • PayableVehicleTax
    • PaidVehicleTax
    • ExternallyPaidVehicleTax
    • ExemptedVehicleTax
    • ErrorVehicleTax
    • UnknownVehicleTax
    • PayngVehicleTax
    • Inspection
  1. Payment API

Create Payment URL

POST
https://partners.easypol.io/api/v5/payment-notices/pagopa/{id}/pay
Generates a payment URL to which the user can be redirected.
Once the operation is completed, if it was provided in the request, the end user will be redirected to returnUrl with a resultCode query param. Check here for possible values of resultCode.
If the operation was successful, they will also receive the payment receipt via email.
After the payment outcome, in addition to redirecting the user to returnUrl, you will receive a Webhook to the URL you provided as postUrl.

Request

Authorization
API Key
Add parameter in header
x-api-key
Example:
x-api-key: ********************
or
Path Params

Body Params application/json

Examples

Responses

🟢200OK
application/json
200
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://partners.easypol.io/api/v5/payment-notices/pagopa//pay' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "returnUrl": "https://easypol.io"
}'
Response Response Example
{
    "paymentUrl": "https://partners.easypol.io/5fbc485d702c8da55281139d/pay"
}
Modified at 2025-10-17 16:22:49
Previous
Create Vehicle
Next
Get Receipt
Built with