Tabella dei contenuti
Specifiche Tecniche
API recupero URL
post
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
200: OK
1{
2 "url": string - url/idPSPTransaction - id del PSP
3 "idTransaction": string - "15448fefsfsr48sr84fser84sdf",
4 "amount": integer - “12500"
5}
6
400: Bad Request
1{
2 "status": 400,
3 "detail": string - "There was an error processing the request",
4 "idTransaction": string - "15448fefsfsr48sr84fser84sdf",
5 "amount": integer - “12500"
6}
7
401: Unauthorized
1{
2 "status": 401,
3 "detail": string - "Unauthorized",
4 "idTransaction": string - "15448fefsfsr48sr84fser84sdf",
5 "amount": integer - “12500"
6}
7
500: Internal Server Error
1{
2 "status": 500
3}
4
Redirect
get
Parametri
200: OK
1{
2 "url": string - url/idPSPTransaction - id del PSP
3 "idTransaction": string - "15448fefsfsr48sr84fser84sdf",
4 "amount": integer - “12500"
5}
6
400: Bad Request
1{
2 "status": 400,
3 "detail": string - "There was an error processing the request",
4 "idTransaction": string - "15448fefsfsr48sr84fser84sdf",
5 "amount": integer - “12500"
6}
7
500: Internal Server Error
1{
2 "status": 500
3}
4
API callback esito transazione
post
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
200: OK
1{
2 "idTransaction": "string",
3 "outcome": "OK",
4}
5
400: Bad Request
1{
2 "status": 400,
3 "detail": string - "There was an error processing the request"
4}
5
401: Unauthorized
1{
2 "status": 401,
3 "detail": string - "Unauthorized",
4}
5
404: Not Found
1{
2 "status": 404,
3 "detail": string - "idTransaction/amount doesn't exit",
4}
5
409: Conflict
1{
2 "status": 409,
3 "detail": string - "Conflict"
4
5}
6
500: Internal Server Error
1{
2 "status": 500
3}
4
API Storno
delete
Parametri
body
idTransaction *
Identificativo del pagamento
body
action *
Azione richiesta
i.e. "refund"
200: OK
1{
2 "idTransaction": "string",
3 "outcome": "OK",
4}
5
400: Bad Request
1{
2 "status": 400,
3 "detail": string - "There was an error processing the request"
4}
5
500: Internal Server Error
1{
2 "status": 500
3}
4
Dicci cosa ne pensi
Per chiarimenti sulle specifiche d’implementazione, come SACI e SANP, puoi aprire una segnalazione su GitHub