Reserve a supporting document (invoice, contract, agreement, remittance advice or other evidence) that is not yet attached to a transaction, and receive a presigned upload for it. Name it in document_ids on POST /customers/v1/transactions to attach it to the payout when the payout is created.Why upload first. When enabled for your program, outgoing USD payouts (USD_LOCAL_4) need a supporting document. Such a payout is accepted and stays PENDING, with its funds reserved, until it has at least one AVAILABLE document; it then continues through normal processing, where it can still be held or declined by screening. A document becomes AVAILABLE once its file is uploaded and verified: on the next GET of the document or of the transaction's documents, or within about 5 minutes by Kobble's own check. To avoid the wait, upload the document first, wait until it is AVAILABLE, then create the payout and name it in document_ids. Naming a document that is still PENDING does not avoid the hold.Upload flow. The same as POST /customers/v1/transactions/{id}/documents: (1) compute the file's SHA-256 and base64-encode it; (2) POST filename, content_type, file_size (exact byte length), checksum and document_type, and receive 201 with status PENDING, upload_url, upload_expires_at and required_headers; (3) HTTP PUT the raw file bytes to upload_url before upload_expires_at with exactly the three required_headers; (4) GET /customers/v1/transactions/documents/{documentId} until status is AVAILABLE.Files are application/pdf, image/png or image/jpeg, at most 9 MiB (9,437,184 bytes) each, or as configured for your program. A payout can carry up to 20 documents.Not idempotent. This endpoint does not honour Idempotency-Key; every POST reserves a new document. A document that is never named in document_ids stays unattached; it is not charged for and does nothing.