To query a transaction, do a GET as shown below.
cURL
curl --request GET \ --url https://api.paymee.com.br/v1.1/transactions/pix/{transactionUUID} \ --header 'x-api-key: <x-api-key>' \ --header 'x-api-token: <x-api-token>'
{ "status": 0, "message": "success", "qrCode": { "plain": "00020126890014BR.GOV.BCB.PIX2567api-pix.bancobs2.com.br/spi/v2/d4dd5d08-d6ff-4b41-913c-4d9344e9a27c52040000530398654040.015802BR5906PAYMEE6014Belo Horizonte61083038040362070503***63040857", "base64": "iVBORw0KGgoAAAANSUhEUgAAAPoAAAD6CAIAAAAHjs1qAAAGJklEQVR42u3cUW6cQBBF…", "url": "https://api.paymee.com.br/resources/payments/pix/qrcode/4ccad173-6206-3b30-a7ce-4ea455040ba1" } }
"your-x-api-key"
"your-x-api-token"
Transaction UUID
success response
The response is of type object.
object