Deactivate a connected account
Stops the account from collecting, at once and for good. A connected account is never deleted or moved to another platform.
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,}$cuidSuccessful 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*stringcurl -X POST 'https://api.unopago.com/v1/accounts/string/deactivate'{ "id": "string", "externalId": "string", "name": "string", "nationalId": "string", "phoneNumber": "string", "address": "string", "description": "string", "status": "ACTIVE", "verified": true, "createdAt": "string"}Request an upload URL for a verification document POST
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.
Get a connected account GET
Siguiente

