Retrieve Payment Details by ID
GET /v2/mia/payments/{payID}
This endpoint returns the details of a specific payment, identified by the payId
.
URL Parameters (path)
payId
string(guid)
Yes
Unique identifier of the payment.
Request example
Response structure
Object result
payId
string(guid)
Unique ID of the payment.
referenceId
string(15)
RRN code from the instant payments service.
qrId
string(guid)
ID of the QR code associated with the payment.
extensionId
string(guid)
ID of the QR code extension associated with the payment.
orderId
string(100)
ID of the merchant-side order.
amount
number(decimal)
Payment amount.
commission
number(decimal)
Fee applied to the payment.
currency
string(enum)
Currency in which the payment was made. Possible value: MDL
.
description
string(500)
Description of the order.
payerName
string(200)
Abbreviated name of the payer.
payerIban
string(100)
Payer’s IBAN.
status
string(enum)
Payment status. Possible values: Executed
, Refunded
.
executedAt
string(datetime)
Timestamp of payment execution. Format: ISO 8601-1:2019.
refundedAt
string(datetime)
Timestamp of payment refund, if applicable. Format: ISO 8601-1:2019.
terminalId
string(100)
Terminal ID provided by the bank.
Other response fields
ok
boolean
Processing status. true
means success, false
indicates an error.
errors
array
List of errors, if any.
Object errors
errorCode
string
Error code.
errorMessage
string
Description of the error.
Exemplu răspuns
Last updated