Get checkout details
GET /v2/checkouts/{id}
Retrieves aggregated details for a checkout session. The response combines checkout metadata, order, payer info and information about the payment that completed checkout.
Request
HTTP Method: GET
Endpoint:
/v2/checkouts/{id}Headers:
Authorization: {tokenType} {access_token}
Content-Type: application/jsonPath Parameters
id
string (UUID)
Yes
Identifier of the checkout session.
Response
Response Parameters
result
object
Operation result container.
ok
boolean
Indicates successful request execution.
errors
array
List of validation/processing errors, if any.
result object (Checkout)
result object (Checkout)id
string (UUID)
Checkout identifier.
createdAt
string (date-time)
Creation timestamp (ISO 8601).
status
string
Checkout status. Possible values:
WaitingForInit — The checkout session was successfully created and is awaiting initialization when the user accesses the link
Initialized — The user accessed the link and the session was initialized
PaymentMethodSelected — The user selected a payment method
Completed — The checkout was completed successfully
Expired — The checkout session has expired
Abandoned — The user did not access the checkout at all and the session was abandoned
Cancelled — The checkout was explicitly cancelled by the merchant
Failed — The checkout failed
amount
number
Checkout amount (major units).
currency
string
ISO 4217 currency code (e.g., MDL).
callbackUrl
string
Callback url for this checkout
successUrl
string
Success url for this checkout
failUrl
string
Fail url for this checkout
language
string
Language for this checkout ("ro", "ru", "en")
url
string
Url of checkout session
order
object | null
Order summary.
payer
object | null
Payer summary
expiresAt
string (date-time)
Expiration timestamp (ISO 8601).
CompletedAt
string (date-time) | null
Completion timestamp (ISO 8601).
FailedAt
string (date-time) | null
Failure timestamp (ISO 8601).
CancelledAt
string (date-time) | null
Cancelling timestamp (ISO 8601).
payment
object | null
Payment summary
result.order object
result.order objectid
string | null
Merchant’s order identifier.
description
string | null
Order description.
amount
number | null
Order amount (major units).
currency
string | null
ISO 4217 currency code (e.g., MDL).
deliveryAmount
number | null
Delivery amount
deliveryCurrency
string | null
ISO 4217 currency code (e.g., MDL).
date
string (date-time) | null
Order date
orderItems
object[] | null
List of order items
result.order.orderItems[] object
result.order.orderItems[] objectexternalId
string | null
External product identifier (SKU).
title
string | null
Product name or title.
amount
number | null
Item price, in major currency units.
currency
string | null
ISO 4217 code of the item currency.
quantity
number | null
Number of items ordered.
displayOrder
integer | null
Optional display order index.
result.payer object
result.payer objectname
string | null
Payer full name.
string | null
Payer email address.
phone
string | null
Payer phone number (E.164 format).
ip
string | null
IP address of the payer.
userAgent
string | null
User agent string of the payer’s device.
result.payment object
result.payment objectPaymentId
string (UUID)
Payment identifier.
executedAt
string (date-time)
Execution timestamp.
status
string
Payment status (e.g., Executed, Failed).
amount
number
Amount in minor/major units (per system contract).
currency
string
ISO 4217 currency code.
type
string
Payment type (e.g., MIA).
providerType
string
Provider type
senderName
string | null
Sender name.
senderIban
string | null
Sender IBAN.
recipientIban
string | null
Recipient IBAN.
referenceNumber
string
Payment reference number.
mcc
string
Merchant Category Code.
orderId
string | null
Order identifier.
terminalId
string | null
Terminal identifier.
refundedAmount
number
Refunded amount.
paymentMethod
string | null
Payment method used (e.g., Card, MiaQr).
approvalCode
string | null
Provider approval code.
requestedRefundAmount
number
Requested refund amount.
firstRefundedAt
string (date-time) | null
First refund timestamp.
lastRefundedAt
string (date-time) | null
Last refund timestamp.
note
string | null
Free-form note.
Example Successful Response
Last updated