Update settings of a document of a payment

Updates the settings of a document already linked to a payment.

Use this operation to change the document type or the rule that determines its availability to the payer. This operation does not replace the attached file.

To check the current settings before or after the change, use Retrieve a single document of a payment.


Path Params
string
required

Unique payment identifier in Asaas

string
required

Unique document identifier

Body Params
boolean
required

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

string
enum
required

Document type

Allowed:
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