Get a vendor
GET
bearerAuthheader
AutorizaciónBearer <token>Your API key, created in Configuración → Claves API. The key alone, without the Bearer prefix, is accepted too.
vendorId*stringPatrón
^[cC][0-9a-z]{6,}$Formato
cuidSuccessful response
application/json- response
id*stringexternalId*string|nullname*stringnationalId*stringstatus*stringINACTIVE is refused in new orders. What the vendor is already owed is still paid.
Valor en
"ACTIVE""INACTIVE"payoutsEnabled*booleanWhether 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*stringWhat UnoPago owes the vendor and has not paid out yet, in bolívares.
bankAccount*|nullcreatedAt*stringcurl -X GET 'https://api.unopago.com/v1/vendors/string'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"}
