For AI agents: the complete documentation index is available at https://api.reyvo.com/llms.txt, and this page is available as Markdown at https://api.reyvo.com/es/docs.md.

DEVELOPER REFERENCE

Referencia de la API

Todos los flujos principales están disponibles por HTTP. La documentación es pública; las peticiones de negocio requieren autenticación.

URL base
https://api.reyvo.com/v1
OpenAPI
3.1.0 · 30 endpoints

Autenticación y convenciones

Tu sistema usa una clave de API Bearer emitida por nosotros. Las credenciales de los proveedores se quedan en nuestros servidores. Los importes son centavos de USD enteros. Toda escritura requiere Idempotency-Key. Reutiliza la clave para la misma petición. Si un cambio de presupuesto o límite devuelve provider_outcome_unknown u operation_unknown, o se corta la conexión, conserva ruta, cuerpo y clave originales para recuperar mediante lectura; no repitas la escritura con una clave nueva. Un nuevo cambio usa otra clave solo tras confirmar el original o su rechazo explícito.

Authorization: Bearer YOUR_API_KEY
Idempotency-Key: UNIQUE_REQUEST_ID

Las listas usan paginación por cursor / limit. Los recursos compatibles admiten filtros exactos por status, card_id, project_id y channel. Los errores incluyen error.code, error.message y request_id.

Límite: por cliente y minuto de reloj, 600 lecturas (GET) y 300 escrituras por defecto, sumando todas sus claves de API, incluidas las rechazadas por validación; la lectura de números de tarjeta (secure-details) tiene su propio presupuesto de 30. La primera petición que supera un presupuesto devuelve 429 rate_limited con Retry-After: 60. Operaciones puede ampliar los presupuestos de un cliente. Trabaja por lotes y pausa al agotar el minuto.

Presupuestos y límites de tarjeta

POST /v1/cardholders crea el usuario; POST /v1/deposits acepta holder_id. POST /v1/cardholders/{id}/wallet/transfers usa channel, amount_cents y direction=to_wallet (to_customer devuelve fondos libres). GET /v1/cardholders/{id}/wallet: libres/reservados/confirmados; POST /v1/cardholders/{id}/wallet/sync: recuperar. Ya ready, POST /v1/cards: name, holder_id, channel. Canales separados; fondos/proyectos antiguos no migran. BILL Live conserva el bloqueo de concurrencia; Brex: una tarjeta. Límites one_time/monthly independientes no se mezclan con tarjetas compartidas. Sincronizar no cambia divisas ni liquida efectivo. Transferencia: instantánea; GET wallet: estado actual. Brex vincula la tarjeta con tope 0 y lo restaura. Resultado unknown: misma key y body; otras escrituras esperan. GET /v1/capabilities: brex.holder_wallet_issuance operator_verified solo certifica una tarjeta en un presupuesto predeterminado one_time; no varias tarjetas, mensual ni fondo entre canales.

Los fondos pasan de la cartera al fondo del proyecto antes de usarse con tarjetas. El límite de tarjeta asigna parte de ese fondo; no necesita otro depósito ni aumenta el presupuesto. Todos los importes son centavos de USD enteros.

Ajustes: PATCH /v1/projects/{id} envía el total objetivo budget_cents, no una diferencia. El aumento reserva fondos de la cartera; la reducción devuelve la diferencia tras la lectura del emisor. Un fondo sin consumo puede bajar a 0, pero no por debajo de fondos retenidos más gastados. En Live, cambia miembros y presupuesto por separado. Los proyectos mensuales, en cierre o con operaciones pendientes no admiten ajustes.

Emisión: limit_cents opcional en POST /v1/cards define un límite independiente; al omitirlo se comparte el fondo. No se mezclan tarjetas compartidas e independientes. La suma de asignaciones, incluidas tarjetas cerradas y operaciones pendientes, no supera el presupuesto o importe mensual. Brex exige al emitir un límite igual al fondo/importe mensual y una tarjeta por proyecto; para varias tarjetas con un mismo fondo, use BILL.

Proyectos mensuales: POST /v1/projects acepta limit_period=monthly y months (1–12). budget_cents reserva el plazo completo y debe dividirse exactamente. El mes UTC de creación es el primero; la respuesta incluye monthly_limit_cents y ends_on. No se permite crear el día 1 de 00:00–11:59 UTC. El total queda fijo; el límite mensual del emisor es estricto y no acumula saldo. limit_cents de una tarjeta mensual es por mes. Solo existen one_time y monthly, sin límite independiente con reinicio diario.

Cambios: PATCH /v1/cards/{id} envía solo limit_cents entero positivo para una tarjeta independiente BILL o Brex existente. El objetivo respeta el total asignable/importe mensual y las autorizaciones más liquidaciones originales del período; los reembolsos no reponen el límite de consumo. No cambian período ni presupuesto, ni se convierte una tarjeta compartida. Una tarjeta Brex existente puede reducirse dentro de su fondo. Si el resultado es incierto, Card.limit_sync conserva importes anterior/objetivo y bloquea operaciones relacionadas.

Grupos de proyectos: POST /v1/projects o PATCH /v1/projects/{id} aceptan group opcional (sin espacios y en minúsculas, de 1 a 64 letras, dígitos, - o _, que empiece y termine en letra o dígito; en PATCH, null lo borra, y se cambia solo o con name, sin llamar al canal). GET /v1/project-groups y GET /v1/project-groups/{group} devuelven budget_cents, available_cents, held_cents y spent_cents por canal y en total, con shared_limit siempre false. Es una vista resumida, no un límite compartido: el canal rechaza la tarjeta cuando se agota su propio proyecto y nunca usa saldo de otro proyecto o canal del grupo. Entre Brex y BILL solo se ofrece este resumen.

Antes de usar Live, consulta GET /v1/capabilities para emisión, monthly_budget y card_limit_update de cada canal. simulated es Mock; documented_unverified no demuestra aceptación real; operator_verified corresponde solo a esa capacidad. Una excepción de pruebas pequeñas no abre acceso a todos. Leer la configuración no prueba rechazos del comercio, reinicios mensuales naturales ni vencimiento.

El presupuesto compartido de BILL se excedió en una prueba real concurrente con dos tarjetas el 2026-10-05. La emisión compartida y la reactivación ordinarias en Live están bloqueadas por defecto con shared_budget_concurrency_unverified; rechazos secuenciales o emisión verificada no prueban seguridad concurrente. Las tarjetas con límites independientes usan sus capacidades verificadas. Un saldo negativo o requires_reconciliation bloquea emitir, reactivar y liberar fondos del proyecto hasta conciliar. Registrar webhooks y congelar después no garantiza un rechazo antes de autorizar.

Respuestas de error

Todos los errores comparten una misma forma: error.code, error.message y request_id. Decide por error.code, no por el mensaje. Códigos que puede recibir una clave de cliente:

HTTPerror.codeSignificado
400invalid_jsonEl cuerpo no es un objeto JSON
401unauthorizedClave de API ausente, revocada o caducada
403forbiddenLa clave no tiene el alcance del endpoint
403invalid_scopeLa clave nueva o rotada pide alcances que no tienes
403customer_inactiveLa cuenta del cliente está suspendida
404not_foundID o ruta desconocidos; ruta solo Mock en live; reintento de una entrega que no está dead
409idempotency_conflictIdempotency-Key reutilizada con otra petición
409operation_unknownLa petición anterior con esta clave está pendiente o es desconocida; repite la clave original para conciliar un cambio de presupuesto; una decisión 3DS desconocida nunca se reenvía; una petición rechazada por un cambio de presupuesto abierto se reintenta con una clave nueva cuando este se resuelva
409insufficient_fundsSaldo sin asignar insuficiente
409channel_funds_insufficientFondos liquidados insuficientes en ese canal
409withdrawal_unsupportedNo se pueden pagar retiros (fondos no custodiados o USDT sin configurar)
409budget_in_useNo se pueden devolver fondos retenidos, gastados o de emisión pendiente
409shared_budget_concurrency_unverifiedLa prevención de sobregiros concurrentes del presupuesto compartido no está verificada
409project_reconciliation_requiredPrimero concilia el saldo negativo o la discrepancia del emisor
409project_card_existsEl proyecto Brex ya tiene una tarjeta, incluso cerrada; no admite otra emisión
409card_limit_update_unverifiedLos cambios de límite de este canal requieren verificación operativa
409card_limit_in_useEl objetivo es menor que autorizaciones y liquidaciones originales del período; los reembolsos no reponen el límite
409personal_card_existsUn proyecto personal admite una tarjeta activa
409project_in_useCierra sus tarjetas y libera retenciones antes de archivar
409project_archivedUn proyecto archivado no cambia ni emite tarjetas
409project_closingUn proyecto en cierre conserva su presupuesto hasta liberarlo; no cambia de presupuesto ni emite tarjetas
409project_not_closingCierra el proyecto antes de liberarlo
409refund_window_openLa ventana de reembolsos no ha terminado; el presupuesto aún no se libera
409monthly_budget_fixedUn proyecto mensual mantiene su presupuesto todo el plazo; crea otro proyecto para otro importe
409monthly_start_windowLos proyectos mensuales no se crean el día 1 de 00:00 a 11:59 UTC; reintenta después de las 12:00 UTC
409monthly_budget_unverifiedLos límites mensuales de este canal se abren tras la verificación del operador; usa un proyecto puntual mientras tanto
409issuer_event_requiredLa transacción viene de eventos del emisor; avánzala con más eventos
409invalid_transitionEl estado actual no permite esta acción
409card_closedUna tarjeta cerrada no cambia ni muestra datos
409challenge_closedEl desafío 3DS ya fue respondido
409unsupported_channelLas tarjetas Brex no reciben desafíos 3D Secure
409holder_inactiveEl titular está inactivo
409not_project_memberEl titular no es miembro del proyecto
409channel_mismatchEl canal de la tarjeta no coincide con el proyecto
409card_limit_unverifiedLas tarjetas BILL con límite se abren tras verificación del operador
409card_limit_exceeds_budgetLos límites de tarjeta superarían el presupuesto del proyecto (su límite mensual si es mensual)
409card_limit_mode_conflictTarjetas con límite y compartidas no se mezclan (ninguna en proyectos mixtos); un proyecto Brex con límite mantiene su presupuesto
409member_has_active_cardsCierra antes las tarjetas del miembro
409refund_exceeds_settlementEl reembolso supera lo liquidado
409event_conflictID de evento o transacción reutilizado con otro contenido
409funding_not_configuredLa financiación real no está configurada en este despliegue; no se pueden crear recargas
422missing_fieldFalta un campo obligatorio
422unknown_fieldCampo fuera del esquema
422invalid_fieldTipo o valor incorrecto, incluida la falta de Idempotency-Key
422invalid_emailEl email no es válido
422invalid_amountEl importe no son centavos enteros en rango
422withdrawal_below_minimumPor debajo del mínimo o no supera la comisión (withdrawal en GET /v1/capabilities)
422invalid_withdrawal_addressNo es una dirección BSC para USDT (formato, checksum EIP-55, cero, contrato del token o de depósito)
422invalid_channelLos proyectos mensuales requieren BILL o Brex; Mixed no es compatible
422card_limit_must_equal_budgetEl límite de una tarjeta Brex debe igualar el presupuesto del proyecto (su límite mensual si es mensual)
422invalid_paginationSe requiere cursor >= 0 y limit 1..100
422invalid_urlLa URL del webhook no es válida
422webhook_url_not_allowedHost HTTPS no autorizado (Mock acepta también mock://local)
429rate_limitedSe superaron las 600 lecturas o 300 escrituras por defecto de este minuto (números de tarjeta aparte; ajustable por cliente); ver Retry-After
429provider_rate_limitedEl emisor limita; repite con la misma Idempotency-Key
503provider_outcome_unknownResultado del proveedor desconocido; repite con la misma clave
409default_budget_managedGestiona el presupuesto predeterminado mediante transferencias de cartera
409holder_budget_not_readyEl presupuesto del usuario aún no tiene fondos confirmados por el emisor
409holder_wallet_unverifiedConcilia la titularidad y el libro mayor de la cartera antes de continuar
{
  "error": {
    "code": "insufficient_funds",
    "message": "Insufficient unallocated wallet balance"
  },
  "request_id": "req_…"
}

Cuenta del cliente

2 endpoints
GET/v1/me
Permiso: read

Get current customer

Parámetros

CampoLugarRequerido
cursorqueryOpcional
limitqueryOpcional

Esquema de respuesta: Customer

Ejemplo de peticióncURL
curl -X GET https://api.reyvo.com/v1/me \
  -H "Authorization: Bearer YOUR_API_KEY"
Ejemplo de respuesta200 · application/json
{
  "id": "id_…",
  "created_at": "2026-01-01T00:00:00.000Z",
  "updated_at": "2026-01-01T00:00:00.000Z",
  "name": "Campaign card",
  "email": "finance@example.com",
  "status": "active",
  "live_policy": {
    "max_project_budget_cents": 100000,
    "max_total_budget_cents": 100000,
    "refund_window_days": 1,
    "read_rate_per_minute": 1,
    "write_rate_per_minute": 1
  }
}
PATCH/v1/me
Permiso: write

Update customer contact profile (not login credentials)

Parámetros

CampoLugarRequerido
Idempotency-KeyheaderRequerido

Campos de petición

CampoTipoRequerido
namestringOpcional
emailstringOpcional

Esquema de respuesta: Customer

Ejemplo de peticióncURL
curl -X PATCH https://api.reyvo.com/v1/me \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Idempotency-Key: UNIQUE_REQUEST_ID" \
  -H "Content-Type: application/json" \
  -d '{}'
Ejemplo de respuesta200 · application/json
{
  "id": "id_…",
  "created_at": "2026-01-01T00:00:00.000Z",
  "updated_at": "2026-01-01T00:00:00.000Z",
  "name": "Campaign card",
  "email": "finance@example.com",
  "status": "active",
  "live_policy": {
    "max_project_budget_cents": 100000,
    "max_total_budget_cents": 100000,
    "refund_window_days": 1,
    "read_rate_per_minute": 1,
    "write_rate_per_minute": 1
  }
}

Capacidades

1 endpoints
GET/v1/capabilities
Permiso: read

Get upstream capabilities and verification status, and the withdrawal terms of this deployment: withdrawal.fee_cents is kept from every withdrawal, and withdrawal.min_cents is the configured floor (a withdrawal must be at least min_cents and more than fee_cents, else 422 withdrawal_below_minimum)

Parámetros

CampoLugarRequerido
cursorqueryOpcional
limitqueryOpcional

Esquema de respuesta: Capabilities

Ejemplo de peticióncURL
curl -X GET https://api.reyvo.com/v1/capabilities \
  -H "Authorization: Bearer YOUR_API_KEY"
Ejemplo de respuesta200 · application/json
{
  "mode": "mock",
  "brex": {},
  "bill": {},
  "write_interval_ms": {},
  "cross_channel_pool": "simulated_only",
  "funding": "string",
  "withdrawal": {
    "fee_cents": 100000,
    "min_cents": 100000
  }
}

Titulares

4 endpoints
GET/v1/cardholders
Permiso: read

List cardholders

Parámetros

CampoLugarRequerido
cursorqueryOpcional
limitqueryOpcional
statusOptional exact-match filterqueryOpcional
card_idOptional exact-match filterqueryOpcional
project_idOptional exact-match filterqueryOpcional
holder_idOptional exact-match filterqueryOpcional
channelOptional exact-match filterqueryOpcional

Esquema de respuesta: Cardholder[] · Devuelve una lista paginada

Ejemplo de peticióncURL
curl -X GET https://api.reyvo.com/v1/cardholders \
  -H "Authorization: Bearer YOUR_API_KEY"
Ejemplo de respuesta200 · application/json
{
  "data": [
    {
      "id": "id_…",
      "created_at": "2026-01-01T00:00:00.000Z",
      "updated_at": "2026-01-01T00:00:00.000Z",
      "name": "Campaign card",
      "email": "finance@example.com",
      "status": "active",
      "provider_ids": {}
    }
  ],
  "next_cursor": "string",
  "total": 0
}
POST/v1/cardholders
Permiso: write

Create a tenant-owned cardholder

Parámetros

CampoLugarRequerido
Idempotency-KeyheaderRequerido

Campos de petición

CampoTipoRequerido
namestringRequerido
emailstringRequerido

Esquema de respuesta: Cardholder

Ejemplo de peticióncURL
curl -X POST https://api.reyvo.com/v1/cardholders \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Idempotency-Key: UNIQUE_REQUEST_ID" \
  -H "Content-Type: application/json" \
  -d '{"name":"Ada Lovelace","email":"developer@example.com"}'
Ejemplo de respuesta200 · application/json
{
  "id": "id_…",
  "created_at": "2026-01-01T00:00:00.000Z",
  "updated_at": "2026-01-01T00:00:00.000Z",
  "name": "Campaign card",
  "email": "finance@example.com",
  "status": "active",
  "provider_ids": {}
}
GET/v1/cardholders/{id}
Permiso: read

Get holder

Parámetros

CampoLugarRequerido
idpathRequerido

Esquema de respuesta: Cardholder

Ejemplo de peticióncURL
curl -X GET https://api.reyvo.com/v1/cardholders/{id} \
  -H "Authorization: Bearer YOUR_API_KEY"
Ejemplo de respuesta200 · application/json
{
  "id": "id_…",
  "created_at": "2026-01-01T00:00:00.000Z",
  "updated_at": "2026-01-01T00:00:00.000Z",
  "name": "Campaign card",
  "email": "finance@example.com",
  "status": "active",
  "provider_ids": {}
}
PATCH/v1/cardholders/{id}
Permiso: write

Maintain local holder profile and activity

Parámetros

CampoLugarRequerido
idpathRequerido
Idempotency-KeyheaderRequerido

Campos de petición

CampoTipoRequerido
namestringOpcional
emailstringOpcional
statusactive | inactiveOpcional

Esquema de respuesta: Cardholder

Ejemplo de peticióncURL
curl -X PATCH https://api.reyvo.com/v1/cardholders/{id} \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Idempotency-Key: UNIQUE_REQUEST_ID" \
  -H "Content-Type: application/json" \
  -d '{}'
Ejemplo de respuesta200 · application/json
{
  "id": "id_…",
  "created_at": "2026-01-01T00:00:00.000Z",
  "updated_at": "2026-01-01T00:00:00.000Z",
  "name": "Campaign card",
  "email": "finance@example.com",
  "status": "active",
  "provider_ids": {}
}

Proyectos y miembros

7 endpoints
GET/v1/projects
Permiso: read

List projects

Parámetros

CampoLugarRequerido
cursorqueryOpcional
limitqueryOpcional
statusOptional exact-match filterqueryOpcional
card_idOptional exact-match filterqueryOpcional
project_idOptional exact-match filterqueryOpcional
holder_idOptional exact-match filterqueryOpcional
channelOptional exact-match filterqueryOpcional

Esquema de respuesta: Project[] · Devuelve una lista paginada

Ejemplo de peticióncURL
curl -X GET https://api.reyvo.com/v1/projects \
  -H "Authorization: Bearer YOUR_API_KEY"
Ejemplo de respuesta200 · application/json
{
  "data": [
    {
      "id": "id_…",
      "created_at": "2026-01-01T00:00:00.000Z",
      "updated_at": "2026-01-01T00:00:00.000Z",
      "name": "Campaign card",
      "default_budget": false,
      "wallet_id": "wallet_…",
      "holder_budget": "card",
      "status": "closing",
      "closing_at": "2026-01-01T00:00:00.000Z",
      "released_at": "2026-01-01T00:00:00.000Z",
      "released_cents": 100000,
      "release_pending": false,
      "release_attempts": 1,
      "requires_reconciliation": false,
      "kind": "team",
      "channel": "brex",
      "group": "string",
      "owner_id": "holder_…",
      "members": [
        "string"
      ],
      "channel_funding": {
        "bill": 1,
        "brex": 1
      },
      "budget_cents": 100000,
      "available_cents": 100000,
      "held_cents": 100000,
      "spent_cents": 100000,
      "provider_id": "provider_…",
      "limit_period": "monthly",
      "months": 1,
      "monthly_limit_cents": 100000,
      "ends_on": "2026-01-31"
    }
  ],
  "next_cursor": "string",
  "total": 0
}
POST/v1/projects
Permiso: write

Create a funded shared or personal budget. Optional group labels it for GET /v1/project-groups (trimmed, lowercased; a summary, not a shared limit). limit_period monthly (bill or brex) splits budget_cents evenly over months as a hard monthly limit the channel resets, the current UTC month first, until ends_on; its budget cannot change later (monthly_budget_fixed, monthly_budget_unverified, monthly_start_window: not 00:00-11:59 UTC on the 1st)

Parámetros

CampoLugarRequerido
Idempotency-KeyheaderRequerido

Campos de petición

CampoTipoRequerido
namestringRequerido
owner_idstringRequerido
channelbrex | bill | mixedRequerido
budget_centsintegerRequerido
kindteam | personalOpcional
limit_periodone_time | monthlyOpcional
monthsintegerOpcional
groupstringOpcional

Esquema de respuesta: Project

Ejemplo de peticióncURL
curl -X POST https://api.reyvo.com/v1/projects \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Idempotency-Key: UNIQUE_REQUEST_ID" \
  -H "Content-Type: application/json" \
  -d '{"name":"Campaign budget","owner_id":"holder_…","channel":"brex","budget_cents":100000}'
Ejemplo de respuesta200 · application/json
{
  "id": "id_…",
  "created_at": "2026-01-01T00:00:00.000Z",
  "updated_at": "2026-01-01T00:00:00.000Z",
  "name": "Campaign card",
  "default_budget": false,
  "wallet_id": "wallet_…",
  "holder_budget": "card",
  "status": "closing",
  "closing_at": "2026-01-01T00:00:00.000Z",
  "released_at": "2026-01-01T00:00:00.000Z",
  "released_cents": 100000,
  "release_pending": false,
  "release_attempts": 1,
  "requires_reconciliation": false,
  "kind": "team",
  "channel": "brex",
  "group": "string",
  "owner_id": "holder_…",
  "members": [
    "string"
  ],
  "channel_funding": {
    "bill": 1,
    "brex": 1
  },
  "budget_cents": 100000,
  "available_cents": 100000,
  "held_cents": 100000,
  "spent_cents": 100000,
  "provider_id": "provider_…",
  "limit_period": "monthly",
  "months": 1,
  "monthly_limit_cents": 100000,
  "ends_on": "2026-01-31"
}
GET/v1/projects/{id}
Permiso: read

Get project

Parámetros

CampoLugarRequerido
idpathRequerido

Esquema de respuesta: Project

Ejemplo de peticióncURL
curl -X GET https://api.reyvo.com/v1/projects/{id} \
  -H "Authorization: Bearer YOUR_API_KEY"
Ejemplo de respuesta200 · application/json
{
  "id": "id_…",
  "created_at": "2026-01-01T00:00:00.000Z",
  "updated_at": "2026-01-01T00:00:00.000Z",
  "name": "Campaign card",
  "default_budget": false,
  "wallet_id": "wallet_…",
  "holder_budget": "card",
  "status": "closing",
  "closing_at": "2026-01-01T00:00:00.000Z",
  "released_at": "2026-01-01T00:00:00.000Z",
  "released_cents": 100000,
  "release_pending": false,
  "release_attempts": 1,
  "requires_reconciliation": false,
  "kind": "team",
  "channel": "brex",
  "group": "string",
  "owner_id": "holder_…",
  "members": [
    "string"
  ],
  "channel_funding": {
    "bill": 1,
    "brex": 1
  },
  "budget_cents": 100000,
  "available_cents": 100000,
  "held_cents": 100000,
  "spent_cents": 100000,
  "provider_id": "provider_…",
  "limit_period": "monthly",
  "months": 1,
  "monthly_limit_cents": 100000,
  "ends_on": "2026-01-31"
}
PATCH/v1/projects/{id}
Permiso: write

Update name, group, members or budget (0 releases an unspent pool). A holder default budget is managed through its wallet; direct budget changes return default_budget_managed. group (null clears) is a local label, sent alone or with name only, never to a channel. Live, one of members or budget: a raise reserves funds first, a cut releases them once read back, an unknown outcome locks the project until its Idempotency-Key is replayed (read-back only); members stay local (Brex may not change spend limit users) and, unlike Mock, emit no budget.updated (budget_in_use, budget_resize_unverified, insufficient_funds, live_customer_not_allowed, live_limit_exceeded, monthly_budget_fixed, operation_unknown, project_closing, provider_mapping_required, provider_schema_unverified, upstream_membership_unverified)

Parámetros

CampoLugarRequerido
idpathRequerido
Idempotency-KeyheaderRequerido

Campos de petición

CampoTipoRequerido
namestringOpcional
membersstring[]Opcional
budget_centsintegerOpcional
groupstring | nullOpcional

Esquema de respuesta: Project

Ejemplo de peticióncURL
curl -X PATCH https://api.reyvo.com/v1/projects/{id} \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Idempotency-Key: UNIQUE_REQUEST_ID" \
  -H "Content-Type: application/json" \
  -d '{}'
Ejemplo de respuesta200 · application/json
{
  "id": "id_…",
  "created_at": "2026-01-01T00:00:00.000Z",
  "updated_at": "2026-01-01T00:00:00.000Z",
  "name": "Campaign card",
  "default_budget": false,
  "wallet_id": "wallet_…",
  "holder_budget": "card",
  "status": "closing",
  "closing_at": "2026-01-01T00:00:00.000Z",
  "released_at": "2026-01-01T00:00:00.000Z",
  "released_cents": 100000,
  "release_pending": false,
  "release_attempts": 1,
  "requires_reconciliation": false,
  "kind": "team",
  "channel": "brex",
  "group": "string",
  "owner_id": "holder_…",
  "members": [
    "string"
  ],
  "channel_funding": {
    "bill": 1,
    "brex": 1
  },
  "budget_cents": 100000,
  "available_cents": 100000,
  "held_cents": 100000,
  "spent_cents": 100000,
  "provider_id": "provider_…",
  "limit_period": "monthly",
  "months": 1,
  "monthly_limit_cents": 100000,
  "ends_on": "2026-01-31"
}
POST/v1/projects/{id}/archive
Permiso: writeSolo Mock

Archive a project (Mock only; live answers 404 not_found); funds stay for late refunds

Parámetros

CampoLugarRequerido
idpathRequerido
Idempotency-KeyheaderRequerido

{} · Campos de petición

Esquema de respuesta: Project

Ejemplo de peticióncURL
curl -X POST https://api.reyvo.com/v1/projects/{id}/archive \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Idempotency-Key: UNIQUE_REQUEST_ID" \
  -H "Content-Type: application/json" \
  -d '{}'
Ejemplo de respuesta200 · application/json
{
  "id": "id_…",
  "created_at": "2026-01-01T00:00:00.000Z",
  "updated_at": "2026-01-01T00:00:00.000Z",
  "name": "Campaign card",
  "default_budget": false,
  "wallet_id": "wallet_…",
  "holder_budget": "card",
  "status": "closing",
  "closing_at": "2026-01-01T00:00:00.000Z",
  "released_at": "2026-01-01T00:00:00.000Z",
  "released_cents": 100000,
  "release_pending": false,
  "release_attempts": 1,
  "requires_reconciliation": false,
  "kind": "team",
  "channel": "brex",
  "group": "string",
  "owner_id": "holder_…",
  "members": [
    "string"
  ],
  "channel_funding": {
    "bill": 1,
    "brex": 1
  },
  "budget_cents": 100000,
  "available_cents": 100000,
  "held_cents": 100000,
  "spent_cents": 100000,
  "provider_id": "provider_…",
  "limit_period": "monthly",
  "months": 1,
  "monthly_limit_cents": 100000,
  "ends_on": "2026-01-31"
}
POST/v1/projects/{id}/close
Permiso: write

Stop a project issuing and start its refund window; the budget is released afterwards. Refused while a budget change on the project is unresolved (operation_unknown, project_in_use)

Parámetros

CampoLugarRequerido
idpathRequerido
Idempotency-KeyheaderRequerido

{} · Campos de petición

Esquema de respuesta: Project

Ejemplo de peticióncURL
curl -X POST https://api.reyvo.com/v1/projects/{id}/close \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Idempotency-Key: UNIQUE_REQUEST_ID" \
  -H "Content-Type: application/json" \
  -d '{}'
Ejemplo de respuesta200 · application/json
{
  "id": "id_…",
  "created_at": "2026-01-01T00:00:00.000Z",
  "updated_at": "2026-01-01T00:00:00.000Z",
  "name": "Campaign card",
  "default_budget": false,
  "wallet_id": "wallet_…",
  "holder_budget": "card",
  "status": "closing",
  "closing_at": "2026-01-01T00:00:00.000Z",
  "released_at": "2026-01-01T00:00:00.000Z",
  "released_cents": 100000,
  "release_pending": false,
  "release_attempts": 1,
  "requires_reconciliation": false,
  "kind": "team",
  "channel": "brex",
  "group": "string",
  "owner_id": "holder_…",
  "members": [
    "string"
  ],
  "channel_funding": {
    "bill": 1,
    "brex": 1
  },
  "budget_cents": 100000,
  "available_cents": 100000,
  "held_cents": 100000,
  "spent_cents": 100000,
  "provider_id": "provider_…",
  "limit_period": "monthly",
  "months": 1,
  "monthly_limit_cents": 100000,
  "ends_on": "2026-01-31"
}
POST/v1/projects/{id}/release
Permiso: write

Retire a closed project after its refund window. released_cents is signed: positive returns surplus, negative charges single-channel debt to the wallet (not a refund), zero moves nothing. Drift and mixed-channel debt block release (project_reconciliation_required, project_requires_reconciliation, budget_release_unverified, operation_unknown, project_not_closing, refund_window_open)

Parámetros

CampoLugarRequerido
idpathRequerido
Idempotency-KeyheaderRequerido

{} · Campos de petición

Esquema de respuesta: Project

Ejemplo de peticióncURL
curl -X POST https://api.reyvo.com/v1/projects/{id}/release \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Idempotency-Key: UNIQUE_REQUEST_ID" \
  -H "Content-Type: application/json" \
  -d '{}'
Ejemplo de respuesta200 · application/json
{
  "id": "id_…",
  "created_at": "2026-01-01T00:00:00.000Z",
  "updated_at": "2026-01-01T00:00:00.000Z",
  "name": "Campaign card",
  "default_budget": false,
  "wallet_id": "wallet_…",
  "holder_budget": "card",
  "status": "closing",
  "closing_at": "2026-01-01T00:00:00.000Z",
  "released_at": "2026-01-01T00:00:00.000Z",
  "released_cents": 100000,
  "release_pending": false,
  "release_attempts": 1,
  "requires_reconciliation": false,
  "kind": "team",
  "channel": "brex",
  "group": "string",
  "owner_id": "holder_…",
  "members": [
    "string"
  ],
  "channel_funding": {
    "bill": 1,
    "brex": 1
  },
  "budget_cents": 100000,
  "available_cents": 100000,
  "held_cents": 100000,
  "spent_cents": 100000,
  "provider_id": "provider_…",
  "limit_period": "monthly",
  "months": 1,
  "monthly_limit_cents": 100000,
  "ends_on": "2026-01-31"
}

Grupos de proyectos

2 endpoints
GET/v1/project-groups
Permiso: read

List project groups: budget, available, held and spent of the labelled projects, per channel and in total. A summary of separate project budgets, not a shared limit: a card is declined once its own project is used up, even if another project or channel in the group has funds left

Parámetros

CampoLugarRequerido
cursorqueryOpcional
limitqueryOpcional

Esquema de respuesta: ProjectGroup[] · Devuelve una lista paginada

Ejemplo de peticióncURL
curl -X GET https://api.reyvo.com/v1/project-groups \
  -H "Authorization: Bearer YOUR_API_KEY"
Ejemplo de respuesta200 · application/json
{
  "data": [
    {
      "group": "string",
      "shared_limit": false,
      "project_count": 1,
      "budget_cents": 100000,
      "available_cents": 100000,
      "held_cents": 100000,
      "spent_cents": 100000,
      "channels": [
        {}
      ],
      "projects": [
        {}
      ]
    }
  ],
  "next_cursor": "string",
  "total": 0
}
GET/v1/project-groups/{group}
Permiso: read

Get one project group: totals, per-channel subtotals and its member projects, including closing and archived ones. A summary view, not a shared limit (not_found)

Parámetros

CampoLugarRequerido
grouppathRequerido

Esquema de respuesta: ProjectGroup

Ejemplo de peticióncURL
curl -X GET https://api.reyvo.com/v1/project-groups/{group} \
  -H "Authorization: Bearer YOUR_API_KEY"
Ejemplo de respuesta200 · application/json
{
  "group": "string",
  "shared_limit": false,
  "project_count": 1,
  "budget_cents": 100000,
  "available_cents": 100000,
  "held_cents": 100000,
  "spent_cents": 100000,
  "channels": [
    {
      "channel": "bill",
      "project_count": 1,
      "budget_cents": 100000,
      "available_cents": 100000,
      "held_cents": 100000,
      "spent_cents": 100000
    }
  ],
  "projects": [
    {
      "id": "id_…",
      "name": "Campaign card",
      "channel": "bill",
      "status": "closing",
      "limit_period": "monthly",
      "budget_cents": 100000,
      "available_cents": 100000,
      "held_cents": 100000,
      "spent_cents": 100000
    }
  ]
}

Tarjetas

9 endpoints
GET/v1/cards
Permiso: read

List cards

Parámetros

CampoLugarRequerido
cursorqueryOpcional
limitqueryOpcional
statusOptional exact-match filterqueryOpcional
card_idOptional exact-match filterqueryOpcional
project_idOptional exact-match filterqueryOpcional
holder_idOptional exact-match filterqueryOpcional
channelOptional exact-match filterqueryOpcional

Esquema de respuesta: Card[] · Devuelve una lista paginada

Ejemplo de peticióncURL
curl -X GET https://api.reyvo.com/v1/cards \
  -H "Authorization: Bearer YOUR_API_KEY"
Ejemplo de respuesta200 · application/json
{
  "data": [
    {
      "id": "id_…",
      "created_at": "2026-01-01T00:00:00.000Z",
      "updated_at": "2026-01-01T00:00:00.000Z",
      "name": "Campaign card",
      "project_id": "project_…",
      "holder_id": "holder_…",
      "channel": "brex",
      "status": "pending",
      "last_four": "string",
      "provider_id": "provider_…",
      "synced_at": "2026-01-01T00:00:00.000Z",
      "network": "visa",
      "network_source": "channel_default",
      "limit_cents": 100000,
      "limit_sync": {
        "op": "string",
        "prior_cents": 100000,
        "target_cents": 100000,
        "at": "2026-01-01T00:00:00.000Z",
        "policy_fingerprint": "string"
      },
      "expiration": "string"
    }
  ],
  "next_cursor": "string",
  "total": 0
}
POST/v1/cards
Permiso: write

Issue with project_id or holder_id + channel for a ready default budget. Default budgets are one-time, without rollover. limit_cents caps total spend, or per month in a monthly project; allocations cannot exceed the budget. Brex allows one lifetime card with an equal cap. BILL requires verified shared concurrency, or a separately verified single-card wallet with a permanent claim. Unknown BILL wallet issuance never resends; known native IDs allow original-request read-only recovery. Wallet sync, closing, deficits, drift or unverified membership block issuance (holder_budget_not_ready, project_closing, project_reconciliation_required, upstream_membership_unverified)

Parámetros

CampoLugarRequerido
Idempotency-KeyheaderRequerido

Campos de petición

CampoTipoRequerido
namestringRequerido
project_idstringOpcional
holder_idstringRequerido
channelbrex | billOpcional
limit_centsintegerOpcional
amount_centsintegerOpcional

Esquema de respuesta: Card

Ejemplo de peticióncURL
curl -X POST https://api.reyvo.com/v1/cards \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Idempotency-Key: UNIQUE_REQUEST_ID" \
  -H "Content-Type: application/json" \
  -d '{"name":"Campaign card","project_id":"project_…","holder_id":"holder_…"}'
Ejemplo de respuesta200 · application/json
{
  "id": "id_…",
  "created_at": "2026-01-01T00:00:00.000Z",
  "updated_at": "2026-01-01T00:00:00.000Z",
  "name": "Campaign card",
  "project_id": "project_…",
  "holder_id": "holder_…",
  "channel": "brex",
  "status": "pending",
  "last_four": "string",
  "provider_id": "provider_…",
  "synced_at": "2026-01-01T00:00:00.000Z",
  "network": "visa",
  "network_source": "channel_default",
  "limit_cents": 100000,
  "limit_sync": {
    "op": "string",
    "prior_cents": 100000,
    "target_cents": 100000,
    "at": "2026-01-01T00:00:00.000Z",
    "policy_fingerprint": "string"
  },
  "expiration": "string"
}
GET/v1/cards/{id}
Permiso: read

Get card

Parámetros

CampoLugarRequerido
idpathRequerido

Esquema de respuesta: Card

Ejemplo de peticióncURL
curl -X GET https://api.reyvo.com/v1/cards/{id} \
  -H "Authorization: Bearer YOUR_API_KEY"
Ejemplo de respuesta200 · application/json
{
  "id": "id_…",
  "created_at": "2026-01-01T00:00:00.000Z",
  "updated_at": "2026-01-01T00:00:00.000Z",
  "name": "Campaign card",
  "project_id": "project_…",
  "holder_id": "holder_…",
  "channel": "brex",
  "status": "pending",
  "last_four": "string",
  "provider_id": "provider_…",
  "synced_at": "2026-01-01T00:00:00.000Z",
  "network": "visa",
  "network_source": "channel_default",
  "limit_cents": 100000,
  "limit_sync": {
    "op": "string",
    "prior_cents": 100000,
    "target_cents": 100000,
    "at": "2026-01-01T00:00:00.000Z",
    "policy_fingerprint": "string"
  },
  "expiration": "string"
}
PATCH/v1/cards/{id}
Permiso: write

Change the hard limit of an existing BILL or Brex limit card, within its project budget (monthly limit if monthly) and no lower than current-period authorizations plus original settled spend; refunds do not restore it. Does not change the project budget or period and never converts shared cards. Live confirms the issuer with an independent read; an unknown outcome locks the card and its project until this original Idempotency-Key is replayed (read-back only). (card_limit_update_unverified, card_limit_in_use, card_limit_exceeds_budget, card_limit_mode_conflict, operation_unknown, project_closing)

Parámetros

CampoLugarRequerido
idpathRequerido
Idempotency-KeyheaderRequerido

Campos de petición

CampoTipoRequerido
limit_centsintegerRequerido

Esquema de respuesta: Card

Ejemplo de peticióncURL
curl -X PATCH https://api.reyvo.com/v1/cards/{id} \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Idempotency-Key: UNIQUE_REQUEST_ID" \
  -H "Content-Type: application/json" \
  -d '{"limit_cents":100000}'
Ejemplo de respuesta200 · application/json
{
  "id": "id_…",
  "created_at": "2026-01-01T00:00:00.000Z",
  "updated_at": "2026-01-01T00:00:00.000Z",
  "name": "Campaign card",
  "project_id": "project_…",
  "holder_id": "holder_…",
  "channel": "brex",
  "status": "pending",
  "last_four": "string",
  "provider_id": "provider_…",
  "synced_at": "2026-01-01T00:00:00.000Z",
  "network": "visa",
  "network_source": "channel_default",
  "limit_cents": 100000,
  "limit_sync": {
    "op": "string",
    "prior_cents": 100000,
    "target_cents": 100000,
    "at": "2026-01-01T00:00:00.000Z",
    "policy_fingerprint": "string"
  },
  "expiration": "string"
}
POST/v1/cards/{id}/close
Permiso: write

close a card

Parámetros

CampoLugarRequerido
idpathRequerido
Idempotency-KeyheaderRequerido

{} · Campos de petición

Esquema de respuesta: Card

Ejemplo de peticióncURL
curl -X POST https://api.reyvo.com/v1/cards/{id}/close \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Idempotency-Key: UNIQUE_REQUEST_ID" \
  -H "Content-Type: application/json" \
  -d '{}'
Ejemplo de respuesta200 · application/json
{
  "id": "id_…",
  "created_at": "2026-01-01T00:00:00.000Z",
  "updated_at": "2026-01-01T00:00:00.000Z",
  "name": "Campaign card",
  "project_id": "project_…",
  "holder_id": "holder_…",
  "channel": "brex",
  "status": "pending",
  "last_four": "string",
  "provider_id": "provider_…",
  "synced_at": "2026-01-01T00:00:00.000Z",
  "network": "visa",
  "network_source": "channel_default",
  "limit_cents": 100000,
  "limit_sync": {
    "op": "string",
    "prior_cents": 100000,
    "target_cents": 100000,
    "at": "2026-01-01T00:00:00.000Z",
    "policy_fingerprint": "string"
  },
  "expiration": "string"
}
POST/v1/cards/{id}/freeze
Permiso: write

freeze a card

Parámetros

CampoLugarRequerido
idpathRequerido
Idempotency-KeyheaderRequerido

{} · Campos de petición

Esquema de respuesta: Card

Ejemplo de peticióncURL
curl -X POST https://api.reyvo.com/v1/cards/{id}/freeze \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Idempotency-Key: UNIQUE_REQUEST_ID" \
  -H "Content-Type: application/json" \
  -d '{}'
Ejemplo de respuesta200 · application/json
{
  "id": "id_…",
  "created_at": "2026-01-01T00:00:00.000Z",
  "updated_at": "2026-01-01T00:00:00.000Z",
  "name": "Campaign card",
  "project_id": "project_…",
  "holder_id": "holder_…",
  "channel": "brex",
  "status": "pending",
  "last_four": "string",
  "provider_id": "provider_…",
  "synced_at": "2026-01-01T00:00:00.000Z",
  "network": "visa",
  "network_source": "channel_default",
  "limit_cents": 100000,
  "limit_sync": {
    "op": "string",
    "prior_cents": 100000,
    "target_cents": 100000,
    "at": "2026-01-01T00:00:00.000Z",
    "policy_fingerprint": "string"
  },
  "expiration": "string"
}
GET/v1/cards/{id}/secure-details
Permiso: secrets

Fetch issuer-hosted card details once; never stored by the platform

Parámetros

CampoLugarRequerido
idpathRequerido

Esquema de respuesta: CardSecureDetails

Ejemplo de peticióncURL
curl -X GET https://api.reyvo.com/v1/cards/{id}/secure-details \
  -H "Authorization: Bearer YOUR_API_KEY"
Ejemplo de respuesta200 · application/json
{
  "delivery": "number",
  "number": "string",
  "cvv": "string",
  "expiration": "string",
  "mock": false
}
POST/v1/cards/{id}/sync
Permiso: write

Refresh masked card details and status from issuer

Parámetros

CampoLugarRequerido
idpathRequerido
Idempotency-KeyheaderRequerido

{} · Campos de petición

Esquema de respuesta: Card

Ejemplo de peticióncURL
curl -X POST https://api.reyvo.com/v1/cards/{id}/sync \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Idempotency-Key: UNIQUE_REQUEST_ID" \
  -H "Content-Type: application/json" \
  -d '{}'
Ejemplo de respuesta200 · application/json
{
  "id": "id_…",
  "created_at": "2026-01-01T00:00:00.000Z",
  "updated_at": "2026-01-01T00:00:00.000Z",
  "name": "Campaign card",
  "project_id": "project_…",
  "holder_id": "holder_…",
  "channel": "brex",
  "status": "pending",
  "last_four": "string",
  "provider_id": "provider_…",
  "synced_at": "2026-01-01T00:00:00.000Z",
  "network": "visa",
  "network_source": "channel_default",
  "limit_cents": 100000,
  "limit_sync": {
    "op": "string",
    "prior_cents": 100000,
    "target_cents": 100000,
    "at": "2026-01-01T00:00:00.000Z",
    "policy_fingerprint": "string"
  },
  "expiration": "string"
}
POST/v1/cards/{id}/unfreeze
Permiso: write

unfreeze a card; Live refuses project deficits or drift (project_reconciliation_required); BILL shared cards additionally require concurrent budget verification or a matching separately verified holder-wallet card claim (shared_budget_concurrency_unverified)

Parámetros

CampoLugarRequerido
idpathRequerido
Idempotency-KeyheaderRequerido

{} · Campos de petición

Esquema de respuesta: Card

Ejemplo de peticióncURL
curl -X POST https://api.reyvo.com/v1/cards/{id}/unfreeze \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Idempotency-Key: UNIQUE_REQUEST_ID" \
  -H "Content-Type: application/json" \
  -d '{}'
Ejemplo de respuesta200 · application/json
{
  "id": "id_…",
  "created_at": "2026-01-01T00:00:00.000Z",
  "updated_at": "2026-01-01T00:00:00.000Z",
  "name": "Campaign card",
  "project_id": "project_…",
  "holder_id": "holder_…",
  "channel": "brex",
  "status": "pending",
  "last_four": "string",
  "provider_id": "provider_…",
  "synced_at": "2026-01-01T00:00:00.000Z",
  "network": "visa",
  "network_source": "channel_default",
  "limit_cents": 100000,
  "limit_sync": {
    "op": "string",
    "prior_cents": 100000,
    "target_cents": 100000,
    "at": "2026-01-01T00:00:00.000Z",
    "policy_fingerprint": "string"
  },
  "expiration": "string"
}

Transacciones

2 endpoints
GET/v1/transactions
Permiso: read

List transactions

Parámetros

CampoLugarRequerido
cursorqueryOpcional
limitqueryOpcional
statusOptional exact-match filterqueryOpcional
card_idOptional exact-match filterqueryOpcional
project_idOptional exact-match filterqueryOpcional
holder_idOptional exact-match filterqueryOpcional
channelOptional exact-match filterqueryOpcional

Esquema de respuesta: Transaction[] · Devuelve una lista paginada

Ejemplo de peticióncURL
curl -X GET https://api.reyvo.com/v1/transactions \
  -H "Authorization: Bearer YOUR_API_KEY"
Ejemplo de respuesta200 · application/json
{
  "data": [
    {
      "id": "id_…",
      "created_at": "2026-01-01T00:00:00.000Z",
      "updated_at": "2026-01-01T00:00:00.000Z",
      "channel": "bill",
      "issuer_sequence": 1,
      "provider_transaction_id": "provider_transaction_…",
      "card_id": "card_…",
      "project_id": "project_…",
      "merchant": "string",
      "amount_cents": 100000,
      "settled_cents": 100000,
      "refunded_cents": 100000,
      "status": "authorized",
      "decline_reason": null
    }
  ],
  "next_cursor": "string",
  "total": 0
}
GET/v1/transactions/{id}
Permiso: read

Get transaction

Parámetros

CampoLugarRequerido
idpathRequerido

Esquema de respuesta: Transaction

Ejemplo de peticióncURL
curl -X GET https://api.reyvo.com/v1/transactions/{id} \
  -H "Authorization: Bearer YOUR_API_KEY"
Ejemplo de respuesta200 · application/json
{
  "id": "id_…",
  "created_at": "2026-01-01T00:00:00.000Z",
  "updated_at": "2026-01-01T00:00:00.000Z",
  "channel": "bill",
  "issuer_sequence": 1,
  "provider_transaction_id": "provider_transaction_…",
  "card_id": "card_…",
  "project_id": "project_…",
  "merchant": "string",
  "amount_cents": 100000,
  "settled_cents": 100000,
  "refunded_cents": 100000,
  "status": "authorized",
  "decline_reason": null
}

Desafíos 3D Secure

3 endpoints
GET/v1/challenges
Permiso: read

List challenges

Parámetros

CampoLugarRequerido
cursorqueryOpcional
limitqueryOpcional

Esquema de respuesta: Challenge[] · Devuelve una lista paginada

Ejemplo de peticióncURL
curl -X GET https://api.reyvo.com/v1/challenges \
  -H "Authorization: Bearer YOUR_API_KEY"
Ejemplo de respuesta200 · application/json
{
  "data": [
    {
      "id": "id_…",
      "created_at": "2026-01-01T00:00:00.000Z",
      "updated_at": "2026-01-01T00:00:00.000Z",
      "channel": "bill",
      "card_id": "card_…",
      "provider_challenge_id": "provider_challenge_…",
      "merchant": "string",
      "amount_cents": 100000,
      "status": "pending",
      "decision_op": "string",
      "occurred_at": "string",
      "answered_at": "2026-01-01T00:00:00.000Z"
    }
  ],
  "next_cursor": "string",
  "total": 0
}
GET/v1/challenges/{id}
Permiso: read

Get challenge

Parámetros

CampoLugarRequerido
idpathRequerido

Esquema de respuesta: Challenge

Ejemplo de peticióncURL
curl -X GET https://api.reyvo.com/v1/challenges/{id} \
  -H "Authorization: Bearer YOUR_API_KEY"
Ejemplo de respuesta200 · application/json
{
  "id": "id_…",
  "created_at": "2026-01-01T00:00:00.000Z",
  "updated_at": "2026-01-01T00:00:00.000Z",
  "channel": "bill",
  "card_id": "card_…",
  "provider_challenge_id": "provider_challenge_…",
  "merchant": "string",
  "amount_cents": 100000,
  "status": "pending",
  "decision_op": "string",
  "occurred_at": "string",
  "answered_at": "2026-01-01T00:00:00.000Z"
}
POST/v1/challenges/{id}/decision
Permiso: write

BILL 3DS identity decision; not payment success. Live accepts need active card/project, no deficit/drift, and verified concurrent enforcement for shared cards. Reject is available. Explicit BILL status must match; other outcomes keep decision_op and return provider_outcome_unknown. Never resend a pending/unknown decision. Query transactions for payment outcome.

Parámetros

CampoLugarRequerido
idpathRequerido
Idempotency-KeyheaderRequerido

Campos de petición

CampoTipoRequerido
decisionaccept | rejectRequerido

Esquema de respuesta: Challenge

Ejemplo de peticióncURL
curl -X POST https://api.reyvo.com/v1/challenges/{id}/decision \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Idempotency-Key: UNIQUE_REQUEST_ID" \
  -H "Content-Type: application/json" \
  -d '{"decision":"accept"}'
Ejemplo de respuesta200 · application/json
{
  "id": "id_…",
  "created_at": "2026-01-01T00:00:00.000Z",
  "updated_at": "2026-01-01T00:00:00.000Z",
  "channel": "bill",
  "card_id": "card_…",
  "provider_challenge_id": "provider_challenge_…",
  "merchant": "string",
  "amount_cents": 100000,
  "status": "pending",
  "decision_op": "string",
  "occurred_at": "string",
  "answered_at": "2026-01-01T00:00:00.000Z"
}