Transactions/getTerminalPaymentSession
Retrieve terminal payment progress
Poll the reader payment until it reaches a final, decline, or recovery state.
GET
/v1/terminal/payment-sessions/{id}Returns the current payment session and its ordered device events. Treat the linked paymentId as the financial record: SUCCEEDED and DECLINED are only accepted after kepa verifies that payment belongs to the same merchant and terminal and has the exact session amount, currency, operation, and outcome.
Path parameters
idstringRequiredResponse
application/json
sessionobjectRequiredeventsarray of objectsRequiredGood to know
- Stop polling on SUCCEEDED, DECLINED, CANCELED, FAILED, EXPIRED, or RECOVERY_REQUIRED.
- RECOVERY_REQUIRED means the result cannot safely be inferred from connectivity alone. Query the linked payment when present and follow your reconciliation workflow; do not start a replacement payment automatically.
- Events are contiguous and replay-safe. A device may retry the same sequence with identical content, but cannot change an event after the host accepts it.
getTerminalPaymentSession