Request an upload URL for a verification document
Returns the fileKey and how to upload the file: PUT it to upload.url with exactly upload.headers, before upload.expiresAt (15 minutes), then submit the fileKey with POST /v1/accounts/{accountId}/verification. JPG, PNG, WEBP or PDF, up to 10 MB. Refused while a document is in review or once the account is verified.
bearerAuthAutorizaciónBearer <token>Your API key, created in Configuración → Claves API. The key alone, without the Bearer prefix, is accepted too.
accountId*string^[cC][0-9a-z]{6,}$cuidapplication/json- body
fileName*string1 <= length <= 255contentType*string"image/jpeg""image/png""image/webp""application/pdf"size*integer0 < value <= 10485760Successful response
application/json- response
fileKey*stringSubmit it with POST /v1/accounts/{accountId}/verification once the file is uploaded.
upload*curl -X POST 'https://api.unopago.com/v1/accounts/string/verification/upload-url' \ -H 'Content-Type: application/json' \ -d '{ "fileName": "string", "contentType": "image/jpeg", "size": 1}'{ "fileKey": "string", "upload": { "url": "string", "method": "PUT", "headers": { "Content-Type": "string" }, "expiresAt": "string" }}Create a connected account POST
Creates an account that sells through yours, with C2P and immediate debit on. Act for it with your API key and the `UnoPago-Account` header. Its bank account is not paid out until an owner of your account confirms it in UnoPago.
Deactivate a connected account POST
Stops the account from collecting, at once and for good. A connected account is never deleted or moved to another platform.

