Retrieve a single payment instruction

Retrieves the data and current status of an Automatic Pix payment instruction by ID.

Use this operation for one-off queries when the instruction identifier is already known, including to confirm its current status or investigate a refusal. To find instructions when the ID is not known, use List payment instructions.

The response lets you link the instruction to the payment through paymentId and to the originating authorization through authorization.id. When status is REFUSED, use refusalReason to identify the cause of the refusal.

The API Key used must have the PIX_AUTOMATIC:READ permission.

📘

Tracking changes

To track scheduling, refusal and cancellation of instructions, use Webhooks instead of querying this endpoint repeatedly.

The DONE status may be returned by the API, but the financial completion of the payment must be tracked through the payment events defined in the Automatic Pix flow.

See the Automatic Pix Webhook Flows.

Related content

Guides

Webhooks

Path Params
string
required

Unique Automatic Pix payment instruction identifier in Asaas

Responses

403

Forbidden. Occurs when the request body is filled, GET method calls must have an empty body.

404

Not found

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