Get Transaction by Event ID
Recover the outcome of a saved payment event. Requires payments:read and access to its account. A 404 means no visible committed event was found; it does not establish that an in-flight payment never reached the processor.
Path Parameters
- Type: stringevent
_id requiredThe ID of the transaction event to retrieve
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
Request Example for get/v1/transactions/event/{event_id}
curl 'https://api.uat.koard.com/v1/transactions/event/{event_id}' \
--header 'x-koard-apikey: YOUR_SECRET_TOKEN'
{
"transaction_id": "string",
"event_id": "string",
"mid": "string",
"tid": "string",
"processor_mid": "string",
"processor_tid": "string",
"account_id": "string",
"device_id": null,
"processor": null,
"gateway": null,
"currency": "string",
"location_id": null,
"gateway_transaction_id": null,
"subtotal": 1,
"tip_amount": 0,
"tip_type": "fixed",
"tip_capture_mode": "tip_at_sale",
"tax_amount": 0,
"tax_rate": 0,
"tax_source": "transaction",
"tax_basis": "string",
"total_amount": 1,
"surcharge_applied": false,
"surcharge_amount": 0,
"surcharge_rate": 0,
"surcharge_source": "transaction",
"surcharge_basis": "string",
"surcharge_confirmation_required": null,
"refunded": 0,
"reversed": 0,
"created_at": 1,
"status": "pending",
"status_reason": "approved",
"payment_method": "string",
"card_type": "string",
"card_brand": "string",
"card": "string",
"metadata": {
"additionalProperty": "anything"
},
"additional_details": {},
"gateway_transaction_response": {
"additionalProperty": "anything"
},
"processor_response_code": null,
"processor_response_message": null,
"transaction_type": "sale",
"apple_transaction_id": "string",
"reader_identifier": "string",
"owner_id": null,
"parent_account_ids": [
"string"
],
"merchant_name": "",
"psp": null,
"batch_id": null,
"device_type": "iphone",
"terminal_details": {
"additionalProperty": "anything"
},
"history": []
}
