Upload payment documents

Attaches a document to an existing payment.

The file is linked to the payment and can be made available for the payer to download on the Asaas payment page (Fatura). The availableAfterPayment setting defines whether access to the document depends on payment confirmation.

After the upload, the document can be retrieved through List documents of a payment or Retrieve a single document of a payment.


Path Params
string
required

Unique payment identifier in Asaas

Body Params
boolean
required

true to make the file available only after receipt of the payment

string
enum
required

Document type

Allowed:
file
required

File

Responses

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