get
https://api-sandbox.asaas.com/v3/payments//documents
This endpoint is used to list all documents linked to a payment.
This call allows you to retrieve files that were previously attached, making it easier to manage payment-related documents and verify which materials have already been made available to the payer.
Main request parameters
- id: Unique identifier of the payment in Asaas.
Listing behavior
- Returns the documents associated with the specified payment.
- Can be used to validate which files have already been uploaded and how they are classified.
GETrequests must not include a request body.
When to use
Use this endpoint when you need to:
- retrieve the documents attached to a payment
- verify whether an upload was completed successfully
- display the list of linked files in your system
Next step in the flow
After locating the payment documents, your application can:
- retrieve a specific document
- update the settings of an existing document
- delete a document that should no longer remain linked
403Forbidden. Occurs when the request body is filled, GET method calls must have an empty body.
404Not found
