Update a connected account
Where a connected account's details are changed: name, RIF, phone, address, description and bank account (PUT /v1/settings is refused for it). Name and RIF are fixed once UnoPago verifies the account; a new RIF comes with its bank account. A new bank account replaces the current one and is not paid out until an owner of your account confirms it.
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
name?string1 <= lengthnationalId?string^[JVEGP]2 <= length <= 10phoneNumber?stringThe business's phone, e.g. +584241234567.
^(?:[01]\d{3}-?\d{7}|\+58(?!0)\d{3}-?\d{7}|\+(?!58)\d{1,3}\d{3}-?\d{7})$address?stringlength <= 500description?stringlength <= 500bankAccount?A new payout bank account. It replaces the current one and is not paid until an owner of your account confirms it in UnoPago.
Successful response
application/json- response
id*stringexternalId*string|nullname*stringnationalId*string|nullphoneNumber*string|nulladdress*string|nulldescription*stringstatus*string"ACTIVE""MAINTENANCE""SUSPENDED""DEACTIVATED"verified*booleanVerified by UnoPago. Sales are collected before, but paid out only after. The review's status is in GET /v1/accounts/{accountId}/verification.
createdAt*stringbankAccount*|nullcurl -X PATCH 'https://api.unopago.com/v1/accounts/string' \ -H 'Content-Type: application/json' \ -d '{}'{ "id": "string", "externalId": "string", "name": "string", "nationalId": "string", "phoneNumber": "string", "address": "string", "description": "string", "status": "ACTIVE", "verified": true, "createdAt": "string", "bankAccount": { "id": "string", "bankCode": "string", "accountNumberLast4": "string", "holderName": "string", "status": "PENDING_CONFIRMATION", "createdAt": "string" }}Submit a verification document POST
Sends the uploaded file, by its `fileKey` alone, to UnoPago for review and returns the verification `IN_REVIEW`. The uploaded file must be there and weigh 10 MB at most; a larger one is deleted and refused. Allowed only when no document was submitted before or the last one was rejected. UnoPago reviews it by hand; the account's payouts are held until it is verified.
Get the exchange rate a payment on a given day converts at GET
Returns the rate a payment dated `date` converts at. The `date` in the response is the publication that rate comes from, which can differ from the day requested: a weekend resolves to the following Monday's publication, and a day with no publication to the latest one before it.

