Upload payment documentsAsk AIpost https://api-sandbox.asaas.com/v3/payments/{id}/documentsRequired permission: PAYMENT:WRITEPath ParamsidstringrequiredUnique payment identifier in AsaasBody ParamsavailableAfterPaymentbooleanrequiredtrue to make the file available only after receipt of the paymenttruetruefalsetypestringenumrequiredDocument typeINVOICEINVOICECONTRACTMEDIADOCUMENTSPREADSHEETPROGRAMOTHERAllowed:INVOICECONTRACTMEDIADOCUMENTSPREADSHEETPROGRAMOTHERfilefilerequiredFileResponses 200Ok 400Bad Request 401Unauthorized 404Not foundUpdated 3 months ago