Get payment details via MerchantOrderId

EnvironmentMethodEndpoint
Sandboxhttps://apisandbox.braspag.com.br/v2/sales?merchantOrderId = {merchantOrderId}
Productionhttps://apiquery.braspag.com.br/v2/sales?merchantOrderId = {merchantOrderId}

Transaction query response by MerchantOrderId

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

PropertyDescriptionTypeLength
ReasonCodeAPI return code indicating success or error in the operation.string32
ReasonMessageMessage corresponding to the ReasonCode.string512
PaymentIdIdentifier field for the order.string36
ReceivedDateDate when the transaction was received by the API.string19
Path Params
string
required

Order ID number.

Headers
string
required

API store identifier.

string
required

Public key for dual authentication in API.

string

Store-defined request identifier used when the merchant uses different servers for each GET/POST/PUT.

Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json