Get an upload URL for a document
Presigns a PUT for a SWIFT payout invoice (invoice_s3_key on initialize) or a customer’s sender document (document_s3_key on PUT /api/customers/). PUT the bytes to upload_url with exactly one header, Content-Type set to content_type, and a body of exactly size_bytes bytes, then pass s3_key. Not gated by swift_payouts_enabled. Needs an active organisation on live. Nothing is written until the key is attached; an unattached upload is deleted after a day.
Authorizations
Body
Response
OK
Successful responses are wrapped in this envelope, and so are errors a handler answers itself (request body and field validation, some not-found and conflict cases, ORG_NOT_ACTIVE): success is false and error carries a code and message. Errors raised by authentication and by the services behind a handler are a Problem instead.