Skip to main content

Detail

View as Markdown

The Detail call retrieves up-to-date information on a transaction, including its current state, its events and the main associated data. You can use it to follow how the payment evolves and which operations have been executed on the transaction, such as authorizations, captures, cancellations and refunds.

More details on the state and events of a transaction are available on the Transaction state page.

GET payment/detail​

Request

GET /api/v1/payment/detail/{paymentID}
Host (sandbox): sandbox.gestpay.net
Host (production): 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"
}
}
}

Error scenarios​

Error code 2011​

  • If you request the detail of a transaction that does not exist, you get the following:

Response

{
"error": {
"code": "2011",
"description": "Transaction not found"
},
"payload": {}
}

Error code 1144​

  • If you request the detail of a transaction without specifying the transaction identifier (paymentID), you get the following:

Response

{
"error": {
"code": "1144",
"description": "Campo obbligatorio non valorizzato"
},
"payload": {}
}

Support​

Fabrick