To query a payment and fetch its details, you must call the API method query. You can use either the hash or merchant_payment_code to find the payment.

Using the hash to find the payment:

Using the merchant_payment_code to find the payment:

A successful request will return a JSON expression similar to the one below.