Ir al contenido
UnoPagoDocumentación
Referencia de la APIAccountVendors

Reactivate a vendor

POST
/v1/vendors/{vendorId}/activate

Autorización

bearerAuth
headerAutorizaciónBearer <token>

Your API key, created in Configuración → Claves API. The key alone, without the Bearer prefix, is accepted too.

Parámetros de ruta

vendorId*string
Patrón^[cC][0-9a-z]{6,}$
Formatocuid

Cuerpo de la respuesta

Successful response

application/json
  1. response
id*string
externalId*string|null
name*string
nationalId*string
status*string

INACTIVE is refused in new orders. What the vendor is already owed is still paid.

Valor en"ACTIVE""INACTIVE"
payoutsEnabled*boolean

Whether UnoPago pays the vendor at its next payout run: true once an owner of your account has confirmed its bank account. What it is owed before then waits.

pendingVes*string

What UnoPago owes the vendor and has not paid out yet, in bolívares.

bankAccount*|null
createdAt*string
Ejemplo de solicitud
curl -X POST 'https://api.unopago.com/v1/vendors/string/activate'
Ejemplo de respuesta
{  "id": "string",  "externalId": "string",  "name": "string",  "nationalId": "string",  "status": "ACTIVE",  "payoutsEnabled": true,  "pendingVes": "string",  "bankAccount": {    "id": "string",    "bankCode": "string",    "accountNumberLast4": "string",    "holderName": "string",    "status": "PENDING_CONFIRMATION",    "createdAt": "string"  },  "createdAt": "string"}