Get events for transaction external ID
Changed onRequest
- Base URLhttp://ledger_url
- URLhttp://ledger_url/v1/transaction/{transactionExternalId}/event
- Authnone declared
Path parameters
Transaction external ID
Query parameters
Set to 'true' to return all events. By default events that do not map to an external state are removed and duplicate events mapping to same external state are reduced to one event.
Set to '2' to return failed transaction states FAILED_REJECTED/FAILED_EXPIRED/FAILED_CANCELLED mapped to declined/timedout/cancelled status respectively.Otherwise these transaction states will all be mapped to failed status
Response
OK
Example response
{
"events": [
{
"amount": 1000,
"event_type": "CANCELLED_BY_USER",
"resource_type": "PAYMENT",
"state": {
"can_retry": true,
"code": "P0030",
"finished": true,
"message": "Payment was cancelled by the user",
"status": "cancelled"
}
}
],
"transaction_id": "9np5pocnotgkpp029d5kdfau5f"
}Changes
- warning
added the new
AMOUNT_BELOW_MINIMUM_FOR_ADYENenum value to theresponse property for the response status - warning
added the new
AMOUNT_BELOW_MINIMUM_FOR_STRIPEenum value to theresponse property for the response status - info
removed the
AMOUNT_BELOW_MINIMUMenum value from theresponse property for the response status
- warning
- breaking
for the
queryrequest parametergateway_account_id, the minLength was increased from0to1
- breaking