DevPortalPagoPA



Tabella dei contenuti

Specifiche Tecniche

API recupero URL

Parametri

body
idTransaction *
id della transazione
i.e. 15448fefsfsr48sr84fser84sdf
body
amount *
Importo in euro cents comprensivo delle fee
i.e. 12500
body
urlBack *
Url di ritorno
body
description
causale del pagamento
body
paName
descrizione dell’ente creditore
body
iban
Iban del conto corrente dell’utente
1{
2    "url": string - url/idPSPTransaction - id del PSP 
3    "idTransaction": string - "15448fefsfsr48sr84fser84sdf",
4    "amount": integer - “12500"
5}
6
1{
2    "status": 400,​
3    "detail": string - "There was an error processing the request",
4    "idTransaction": string - "15448fefsfsr48sr84fser84sdf",
5    "amount": integer - “12500"
6}
7
1{
2    "status": 401,​
3    "detail": string - "Unauthorized",
4    "idTransaction": string - "15448fefsfsr48sr84fser84sdf",
5    "amount": integer - “12500"
6}
7
1{
2    "status": 500
3}
4

Redirect

Parametri

1{
2    "url": string - url/idPSPTransaction - id del PSP 
3    "idTransaction": string - "15448fefsfsr48sr84fser84sdf",
4    "amount": integer - “12500"
5}
6
1{
2    "status": 400,​
3    "detail": string - "There was an error processing the request",
4    "idTransaction": string - "15448fefsfsr48sr84fser84sdf",
5    "amount": integer - “12500"
6}
7
1{
2    "status": 500
3}
4

API callback esito transazione

Parametri

body
paymentGatewayType *
Identificativo PSP
body
outcome *
Esito del pagamento
OK/KO
body
authorizationCode *
Identificativo del pagamento
body
errorCode
motivo del diniego
body
timestampOperation *
data e ora del pagamento
1{
2  "idTransaction": "string",
3  "outcome": "OK",
4}
5
1{
2    "status": 400,​
3    "detail": string - "There was an error processing the request"
4}
5
1{
2    "status": 401,​
3    "detail": string - "Unauthorized",
4}
5
1{
2    "status": 404,​
3    "detail": string - "idTransaction/amount doesn't exit",
4}
5
1{
2    "status": 409,​
3    "detail": string - "Conflict"
4
5}
6
1{
2    "status": 500
3}
4

API Storno

Parametri

body
idTransaction *
Identificativo del pagamento
body
action *
Azione richiesta
i.e. "refund"
1{
2  "idTransaction": "string",
3  "outcome": "OK",
4}
5
1{
2    "status": 400,​
3    "detail": string - "There was an error processing the request"
4}
5
1{
2    "status": 500
3}
4

Serve aiuto?

Apri un ticket utilizzando l’apposita funzione all’interno della tua Area Riservata

Dicci cosa ne pensi

Per chiarimenti sulle specifiche d’implementazione, come SACI e SANP, puoi aprire una segnalazione su GitHub