Detail
La Detail permette di recuperare le informazioni aggiornate di una transazione, inclusi lo stato corrente, gli eventi e i principali dati associati. Può essere utilizzata per verificare l’evoluzione del pagamento e le operazioni eseguite sulla transazione, come autorizzazioni, catture, cancellazioni e storni.
Maggiori dettagli su stato ed eventi di una transazione sulla pagina di Transaction state .
GET payment/detail
Request
GET /api/v1/payment/detail/{paymentID}
Host (sandbox): sandbox.gestpay.net
Host (produzione): ecomms2s.sella.it
Authorization: apikey ****************
Response
{
"error": {
"code": "0",
"description": "request correctly processed"
},
"payload": {
"transactionType": "detail",
"transactionResult": "APPROVED",
"transactionState": "AUT",
"transactionErrorCode": "0",
"transactionErrorDescription": "Transazione correttamente effettuata",
"bankTransactionID": "21",
"shopTransactionID": "ShopID123",
"shopTransactionID_2": "",
"authorizationCode": "123456",
"paymentID": "1234567891234",
"currency": "EUR",
"country": "ITALIA",
"company": "VISA",
"tdLevel": "HALF",
"threeDS": null,
"events": [
{
"event": {
"eventtype": "AUT",
"eventamount": "1.23",
"eventdate": "09/07/26 12:48:12",
"eventARN": "",
"eventID": "",
"eventReferred": ""
}
}
],
"buyer": {
"name": "",
"email": ""
},
"risk": {
"riskResponseCode": "",
"riskResponseDescription": ""
},
"customInfo": null,
"alertCode": "",
"alertDescription": "",
"cvvPresent": "TRUE",
"dcc": null,
"maskedPAN": "",
"paymentMethod": "VISA",
"productType": "Credit",
"token": "",
"tokenExpiryMonth": "",
"tokenExpiryYear": "",
"tokenDetails": null,
"fraudPrevention": {
"check": "FALSE",
"state": "",
"description": "",
"order": ""
},
"automaticOperation": {
"type": "CAN",
"date": "03/08/26 00:00:00",
"amount": "1.23"
}
}
}
Scenari di errore
Error code 2011
- Se viene richiesta la detail di una transazione non esistente, si ottiene quanto segue:
Response
{
"error": {
"code": "2011",
"description": "Transaction not found"
},
"payload": {}
}
Error code 1144
- Se viene richiesta la detail di una transazione senza indicare l'identificativo della transazione (paymentID), si ottiene quanto segue:
Response
{
"error": {
"code": "1144",
"description": "Campo obbligatorio non valorizzato"
},
"payload": {}
}
Assistenza
Fabrick
- Status page: https://status.fabrick.com/
- Support: https://landing.fabrick.com/fabrick-dashboard-support