Update settings of a document of a paymentAsk AIput https://api-sandbox.asaas.com/v3/payments/{id}/documents/{documentId}Required permission: PAYMENT:WRITEPath ParamsidstringrequiredUnique payment identifier in AsaasdocumentIdstringrequiredUnique document identifierBody ParamsavailableAfterPaymentbooleanrequiredtrue to make the file available only after receipt of the paymenttruetruefalsetypestringenumrequiredDocument typeINVOICEINVOICECONTRACTMEDIADOCUMENTSPREADSHEETPROGRAMOTHERAllowed:INVOICECONTRACTMEDIADOCUMENTSPREADSHEETPROGRAMOTHERResponses 200Ok 400Bad Request 401Unauthorized 404Not foundUpdated 3 months ago