Crear un cliente
Tu clave API privada (comienza con pvk_)
In: header
Tu ID de organización
In: header
Dirección del cliente (texto)
length <= 500Nombre de la empresa para clientes comerciales
length <= 255Correo electrónico del cliente
email1 <= length <= 255Identificador externo para integración con otros sistemas
length <= 255Apellido del cliente (para personas naturales)
1 <= length <= 255Key-value pairs for storing your own information on this customer. Venflow does not interpret them: they are stored and returned to you unchanged. At most 50 keys; keys up to 40 characters, values up to 500, and 27000 characters across all keys and values. Do not store sensitive data here: it is not encrypted and is returned on reads.
Four key names are reserved by Venflow and rejected: checkoutMode, subscriptionId, obInvoiceId and billing_cycles; use a different name, such as externalId.
properties <= 50Nombre completo del cliente o nombre de la empresa
1 <= length <= 255Número de teléfono del cliente
length <= 20Número de identificación fiscal
length <= 50Tipo de identificación fiscal: V (venezolano), E (extranjero), J (jurídico), P (pasaporte)
"V" | "E" | "J" | "P"Tasa de retención de impuestos como porcentaje entero (0-100)
double0 <= value <= 1Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.venflow.app/v1/customers" \ -H "Content-Type: application/json" \ -d '{ "name": "Ana", "last_name": "García", "email": "ana.garcia@ejemplo.com", "phone": "+58412000000" }'{
"address": "string",
"company_name": "string",
"created": 0.1,
"email": "string",
"external_id": "string",
"id": "string",
"is_active": true,
"last_name": "string",
"livemode": true,
"metadata": {
"property1": "string",
"property2": "string"
},
"name": "string",
"object": "customer",
"phone": "string",
"tax_id": {
"type": "string",
"value": "string"
},
"tax_withholding_rate": 0
}{
"code": "not_found",
"details": {},
"message": "string"
}{
"code": "not_found",
"details": {},
"message": "string"
}{
"code": "not_found",
"details": {},
"message": "string"
}{
"code": "not_found",
"details": {},
"message": "string"
}{
"code": "not_found",
"details": {},
"message": "string"
}