Create a vendor
Registers someone your account pays a part of its orders to: a name, a RIF and the bank account it is paid in. The bank account is not paid out until an owner of your account confirms it in UnoPago.
bearerAuthAutorizaciónBearer <token>Your API key, created in Configuración → Claves API. The key alone, without the Bearer prefix, is accepted too.
application/json- body
externalId?stringYour own id for the vendor, unique among your vendors.
1 <= length <= 255name*string1 <= length <= 255nationalId*stringThe vendor's RIF or cédula, e.g. J401234567. It is the holder of the bank account.
^[JVEGP]2 <= length <= 10bankAccount*Where the vendor is paid, held by nationalId. Not paid until an owner of your account confirms it in UnoPago.
Successful 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.
"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 POST 'https://api.unopago.com/v1/vendors' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "nationalId": "string", "bankAccount": { "bankCode": "string", "accountNumber": "string", "holderName": "string" }}'{ "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"}
