Get payment details by MerchantOrderId

Query a transaction by providing the MerchantOrderId.

EnvironmentMethodEndpoint
Sandboxhttps://apiquerysandbox.cieloecommerce.cielo.com.br/1/sales?merchantOrderId={merchantOrderId}
Productionhttps://apiquery.cieloecommerce.cielo.com.br/1/sales?merchantOrderId={merchantOrderId}

Response to query by MerchantOrderId

The table below presents the main parameters that can be returned by the API when querying a transaction by MerchantOrderId.

PropertyDescriptionTypeLength
ReasonCodeCode indicating success or error in the requested operation flow.string32
ReasonMessageMessage indicating success or error in the requested operation flow.string512
PaymentIdPayment identification number, required for operations such as query, capture, and cancellation.string36
ReceivedDateDate when the transaction was received.string19

ℹ️

Only transactions within the last three months can be queried via API.

Language
Click Try It! to start a request and see the response here!