Skip to main content
POST
/
api
/
v1
/
merchants
Crear merchant
curl --request POST \
  --url https://api.venepagos.com.ve/api/v1/merchants \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "rif": "<string>",
  "description": "<string>"
}
'
{
  "id": "mrc_abc123",
  "name": "Mi Tienda",
  "rif": "J-12345678-9",
  "description": "Tienda de ejemplo",
  "owner": "usr_xyz789",
  "status": "ACTIVE"
}

Autenticación

Este endpoint requiere autenticación mediante Bearer token.

Cuerpo de la solicitud

name
string
required
Nombre del merchant.
rif
string
required
RIF del merchant. Debe ser un RIF válido venezolano (ej. J-12345678-9).
description
string
Descripción del merchant.

Respuesta

id
string
Identificador único del merchant creado.
name
string
Nombre del merchant.
rif
string
RIF del merchant.
description
string
Descripción del merchant.
owner
string
ID del usuario propietario del merchant.
status
string
Estado del merchant (ACTIVE o INACTIVE).
{
  "id": "mrc_abc123",
  "name": "Mi Tienda",
  "rif": "J-12345678-9",
  "description": "Tienda de ejemplo",
  "owner": "usr_xyz789",
  "status": "ACTIVE"
}