GET
/ecr/{serialNumber}/payment/{paymentId}Retrieve ECR payment details
Retrieves details for a payment made through an ECR terminal. Supply the terminal's serialNumber and the payment's paymentId to identify the payment. The response includes payment details such as amount, currency, method, and status.
serialNumberstringrequired
The serial number of the ECR terminal associated with the payment.
paymentIdstringrequired
The identifier of the payment to retrieve.
200Returns payment details, including amount, card brand, currency, payment method, payment reference, status, and terminal information.
dataobjectoptional
messagestringoptional
Contains error message
statusstringoptional
400Returned when the payment details request cannot be processed.
errorobjectoptional
messagestringoptional
reasonstringoptional
statusstringoptional
Error handling
A 400 is returned when the payment details request cannot be processed. The serialNumber path parameter identifies the terminal, and the paymentId path parameter identifies the payment.