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-platform.md.

DEVELOPER REFERENCE

Referencia de la API: plataforma

Endpoints de eventos, webhooks, claves de API, registro de peticiones, libro mayor, resumen de fondos, retiros, operaciones idempotentes, eventos del emisor, conciliación y pruebas Mock. La autenticación, la idempotencia, la paginación, los límites de frecuencia y los códigos de error están en la referencia de la API y se aplican a cada petición de esta página.

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

Procesamiento de eventos del emisor

2 endpoints
GET/v1/issuer-events
Permiso: read

List issuer-events

Parámetros

CampoLugarRequerido
cursorqueryOpcional
limitqueryOpcional
sinceForward-only stream read: rows with ordinal > since, oldest first, each carrying its ordinal; the response adds next_since. Replaces cursor when present.queryOpcional

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

Ejemplo de peticióncURL
curl -X GET https://api.reyvo.com/v1/issuer-events \
  -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",
      "ordinal": 1,
      "channel": "bill",
      "card_id": "card_…",
      "transaction_id": "transaction_…",
      "status": "waiting",
      "attempts": 1,
      "error_code": "string",
      "fingerprint": "string",
      "duplicate": false,
      "payload": {
        "event_id": "event_…",
        "provider_card_id": "provider_card_…",
        "provider_transaction_id": "provider_transaction_…",
        "sequence": 1,
        "type": "authorized",
        "amount_cents": 100000,
        "merchant": "string"
      }
    }
  ],
  "next_cursor": "string",
  "total": 0
}
GET/v1/issuer-events/{id}
Permiso: read

Get issuer-events detail

Parámetros

CampoLugarRequerido
idpathRequerido

Esquema de respuesta: IssuerEvent

Ejemplo de peticióncURL
curl -X GET https://api.reyvo.com/v1/issuer-events/{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",
  "ordinal": 1,
  "channel": "bill",
  "card_id": "card_…",
  "transaction_id": "transaction_…",
  "status": "waiting",
  "attempts": 1,
  "error_code": "string",
  "fingerprint": "string",
  "duplicate": false,
  "payload": {
    "event_id": "event_…",
    "provider_card_id": "provider_card_…",
    "provider_transaction_id": "provider_transaction_…",
    "sequence": 1,
    "type": "authorized",
    "amount_cents": 100000,
    "merchant": "string"
  }
}

Informes de conciliación local

2 endpoints
GET/v1/reconciliations
Permiso: read

List reconciliation reports; they are written by operator runs and background sweeps, never by a customer request, so a Mock tenant has none until an operator runs one

Parámetros

CampoLugarRequerido
cursorqueryOpcional
limitqueryOpcional

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

Ejemplo de peticióncURL
curl -X GET https://api.reyvo.com/v1/reconciliations \
  -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",
      "status": "passed",
      "scope": "local_ledger_and_events",
      "channel": "bill",
      "scanned_rows": 1,
      "other_tenant_rows": 1,
      "upstream_verified": false,
      "checked_projects": 1,
      "findings": [
        {}
      ]
    }
  ],
  "next_cursor": "string",
  "total": 0
}
GET/v1/reconciliations/{id}
Permiso: read

Get a reconciliation report by an id from the list

Parámetros

CampoLugarRequerido
idpathRequerido

Esquema de respuesta: Reconciliation

Ejemplo de peticióncURL
curl -X GET https://api.reyvo.com/v1/reconciliations/{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",
  "status": "passed",
  "scope": "local_ledger_and_events",
  "channel": "bill",
  "scanned_rows": 1,
  "other_tenant_rows": 1,
  "upstream_verified": false,
  "checked_projects": 1,
  "findings": [
    {
      "code": "string",
      "resource": "string",
      "expected": null,
      "actual": null
    }
  ]
}

Eventos

2 endpoints
GET/v1/events
Permiso: read

List events

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: Event[] · Devuelve una lista paginada

Ejemplo de peticióncURL
curl -X GET https://api.reyvo.com/v1/events \
  -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",
      "type": "string",
      "data": {}
    }
  ],
  "next_cursor": "string",
  "total": 0
}
GET/v1/events/{id}
Permiso: read

Get event

Parámetros

CampoLugarRequerido
idpathRequerido

Esquema de respuesta: Event

Ejemplo de peticióncURL
curl -X GET https://api.reyvo.com/v1/events/{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",
  "type": "string",
  "data": {}
}

Claves de API

4 endpoints
GET/v1/api-keys
Permiso: keys

List masked API keys

Parámetros

CampoLugarRequerido
cursorqueryOpcional
limitqueryOpcional

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

Ejemplo de peticióncURL
curl -X GET https://api.reyvo.com/v1/api-keys \
  -H "Authorization: Bearer YOUR_API_KEY"
Ejemplo de respuesta200 · application/json
{
  "data": [
    {
      "id": "id_…",
      "prefix": "string",
      "scopes": [
        "read"
      ],
      "revoked": 0,
      "created": "2026-01-01T00:00:00.000Z",
      "expires_at": "string",
      "last_used_at": "string"
    }
  ]
}
POST/v1/api-keys
Permiso: keys

Create API key (token returned once)

Parámetros

CampoLugarRequerido
Idempotency-KeyheaderRequerido

Campos de petición

CampoTipoRequerido
scopesread | write | keys | webhooks | secrets | withdraw[]Requerido
expires_atstringOpcional

Esquema de respuesta: ApiKeyCreated

Ejemplo de peticióncURL
curl -X POST https://api.reyvo.com/v1/api-keys \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Idempotency-Key: UNIQUE_REQUEST_ID" \
  -H "Content-Type: application/json" \
  -d '{"scopes":["read"]}'
Ejemplo de respuesta200 · application/json
{
  "id": "id_…",
  "token": "string",
  "scopes": [
    "read"
  ],
  "prefix": "string",
  "expires_at": "string"
}
DELETE/v1/api-keys/{id}
Permiso: keys

Revoke an API key

Parámetros

CampoLugarRequerido
idpathRequerido
Idempotency-KeyheaderRequerido

Esquema de respuesta: object

Ejemplo de peticióncURL
curl -X DELETE https://api.reyvo.com/v1/api-keys/{id} \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Idempotency-Key: UNIQUE_REQUEST_ID"
Ejemplo de respuesta200 · application/json
{
  "id": "id_…",
  "revoked": true
}
POST/v1/api-keys/{id}/rotate
Permiso: keys

Rotate and revoke previous key atomically

Parámetros

CampoLugarRequerido
idpathRequerido
Idempotency-KeyheaderRequerido

Campos de petición

CampoTipoRequerido
scopesread | write | keys | webhooks | secrets | withdraw[]Opcional
expires_atstringOpcional

Esquema de respuesta: ApiKeyCreated

Ejemplo de peticióncURL
curl -X POST https://api.reyvo.com/v1/api-keys/{id}/rotate \
  -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_…",
  "token": "string",
  "scopes": [
    "read"
  ],
  "prefix": "string",
  "expires_at": "string"
}

Endpoints de webhook

4 endpoints
GET/v1/webhooks
Permiso: webhooks

List webhook endpoints

Parámetros

CampoLugarRequerido
cursorqueryOpcional
limitqueryOpcional

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

Ejemplo de peticióncURL
curl -X GET https://api.reyvo.com/v1/webhooks \
  -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",
      "url": "https://hooks.example.com/card-events",
      "events": [
        "string"
      ],
      "active": false,
      "secret": "string"
    }
  ]
}
POST/v1/webhooks
Permiso: webhooks

Register a signed webhook endpoint

Parámetros

CampoLugarRequerido
Idempotency-KeyheaderRequerido

Campos de petición

CampoTipoRequerido
urlstringRequerido
eventsstring[]Opcional

Esquema de respuesta: WebhookEndpoint

Ejemplo de peticióncURL
curl -X POST https://api.reyvo.com/v1/webhooks \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Idempotency-Key: UNIQUE_REQUEST_ID" \
  -H "Content-Type: application/json" \
  -d '{"url":"mock://local"}'
Ejemplo de respuesta200 · application/json
{
  "id": "id_…",
  "created_at": "2026-01-01T00:00:00.000Z",
  "updated_at": "2026-01-01T00:00:00.000Z",
  "url": "https://hooks.example.com/card-events",
  "events": [
    "string"
  ],
  "active": false,
  "secret": "string"
}
DELETE/v1/webhooks/{id}
Permiso: webhooks

Disable an endpoint

Parámetros

CampoLugarRequerido
idpathRequerido
Idempotency-KeyheaderRequerido

Esquema de respuesta: WebhookEndpoint

Ejemplo de peticióncURL
curl -X DELETE https://api.reyvo.com/v1/webhooks/{id} \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Idempotency-Key: UNIQUE_REQUEST_ID"
Ejemplo de respuesta200 · application/json
{
  "id": "id_…",
  "created_at": "2026-01-01T00:00:00.000Z",
  "updated_at": "2026-01-01T00:00:00.000Z",
  "url": "https://hooks.example.com/card-events",
  "events": [
    "string"
  ],
  "active": false,
  "secret": "string"
}
POST/v1/webhooks/{id}/replay
Permiso: webhooks

Replay a stored event without repeating its business operation

Parámetros

CampoLugarRequerido
idpathRequerido
Idempotency-KeyheaderRequerido

Campos de petición

CampoTipoRequerido
event_idstringRequerido

Esquema de respuesta: object

Ejemplo de peticióncURL
curl -X POST https://api.reyvo.com/v1/webhooks/{id}/replay \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Idempotency-Key: UNIQUE_REQUEST_ID" \
  -H "Content-Type: application/json" \
  -d '{"event_id":"event_…"}'
Ejemplo de respuesta200 · application/json
{
  "id": "id_…",
  "event_id": "event_…",
  "endpoint": "string",
  "status": "pending"
}

Entregas de webhook

2 endpoints
GET/v1/webhook-deliveries
Permiso: webhooks

Get delivery attempts

Parámetros

CampoLugarRequerido
cursorqueryOpcional
limitqueryOpcional

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

Ejemplo de peticióncURL
curl -X GET https://api.reyvo.com/v1/webhook-deliveries \
  -H "Authorization: Bearer YOUR_API_KEY"
Ejemplo de respuesta200 · application/json
{
  "data": [
    {
      "id": "id_…",
      "endpoint": "string",
      "attempts": 1,
      "status": "pending",
      "next_at": 1,
      "last_code": 1
    }
  ],
  "next_cursor": "string",
  "total": 0
}
POST/v1/webhook-deliveries/{id}/retry
Permiso: webhooks

Requeue a dead delivery

Parámetros

CampoLugarRequerido
idpathRequerido
Idempotency-KeyheaderRequerido

{} · Campos de petición

Esquema de respuesta: object

Ejemplo de peticióncURL
curl -X POST https://api.reyvo.com/v1/webhook-deliveries/{id}/retry \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Idempotency-Key: UNIQUE_REQUEST_ID" \
  -H "Content-Type: application/json" \
  -d '{}'
Ejemplo de respuesta200 · application/json
{
  "queued": true
}

Registro de peticiones

1 endpoints
GET/v1/logs
Permiso: read

Get redacted API request logs

Parámetros

CampoLugarRequerido
cursorqueryOpcional
limitqueryOpcional

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

Ejemplo de peticióncURL
curl -X GET https://api.reyvo.com/v1/logs \
  -H "Authorization: Bearer YOUR_API_KEY"
Ejemplo de respuesta200 · application/json
{
  "data": [
    {
      "id": "id_…",
      "tenant": "string",
      "method": "string",
      "path": "string",
      "status": 1,
      "duration": 1,
      "created": "2026-01-01T00:00:00.000Z"
    }
  ],
  "next_cursor": "string",
  "total": 0
}

Libro mayor

1 endpoints
GET/v1/ledger
Permiso: read

Get balanced journal entries

Parámetros

CampoLugarRequerido
cursorqueryOpcional
limitqueryOpcional

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

Ejemplo de peticióncURL
curl -X GET https://api.reyvo.com/v1/ledger \
  -H "Authorization: Bearer YOUR_API_KEY"
Ejemplo de respuesta200 · application/json
{
  "data": [
    {
      "id": "id_…",
      "tenant": "string",
      "reference": "string",
      "debit": "string",
      "credit": "string",
      "amount": 1,
      "created": "2026-01-01T00:00:00.000Z"
    }
  ],
  "next_cursor": "string",
  "total": 0
}

Resumen de fondos

3 endpoints
GET/v1/funds/flow
Permiso: read

List the funds flow: one row per ledger entry, newest booking first. type is a stable code (deposit, spend, refund, project_allocation, project_release, authorization_hold, authorization_release, channel_transfer, withdrawal_hold, withdrawal_release, withdrawal, other) and new codes may be added, so treat an unknown one as other; direction is in, out or internal (a move between your own wallet, project and hold balances), and amount_cents is always positive, so direction gives its sign. from and to are UTC dates (YYYY-MM-DD), both inclusive. card_id matches the entries of that card's transactions (holds, releases, spend and refunds); project_id matches the project's own entries and entries of its transactions, including refunds that reach the wallet after the project is archived. Offset paging over live data: rows booked while you page can repeat on the next page, so page a past date range for a fixed snapshot (invalid_field, invalid_pagination)

Parámetros

CampoLugarRequerido
cursorqueryOpcional
limitqueryOpcional
fromOptional UTC date (YYYY-MM-DD), inclusive startqueryOpcional
toOptional UTC date (YYYY-MM-DD), inclusive endqueryOpcional
card_idOptional exact-match filterqueryOpcional
project_idOptional exact-match filterqueryOpcional

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

Ejemplo de peticióncURL
curl -X GET https://api.reyvo.com/v1/funds/flow \
  -H "Authorization: Bearer YOUR_API_KEY"
Ejemplo de respuesta200 · application/json
{
  "data": [
    {
      "id": "id_…",
      "created_at": "2026-01-01T00:00:00.000Z",
      "type": "deposit",
      "direction": "in",
      "amount_cents": 100000,
      "reference": "string",
      "project_id": "project_…",
      "card_id": "card_…",
      "transaction_id": "transaction_…",
      "merchant": "string",
      "channel": "bill"
    }
  ],
  "next_cursor": "string",
  "total": 0
}
GET/v1/funds/merchants
Permiso: read

List settled spend by merchant: spent_cents (settled, additional clearings included), refunded_cents, net_cents and transaction_count per merchant. Only transactions with a settlement count. Names are grouped after trimming spaces and ignoring case; merchant is one spelling of the group, null for transactions without a merchant. from and to are UTC dates (YYYY-MM-DD, both inclusive) of the transaction's creation (its authorization), not of the booking used by GET /v1/funds/flow. Sorted by spent_cents, highest first. Offset paging over live data: a merchant whose totals change while you page can move between pages (invalid_field, invalid_pagination)

Parámetros

CampoLugarRequerido
cursorqueryOpcional
limitqueryOpcional
fromOptional UTC date (YYYY-MM-DD), inclusive startqueryOpcional
toOptional UTC date (YYYY-MM-DD), inclusive endqueryOpcional

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

Ejemplo de peticióncURL
curl -X GET https://api.reyvo.com/v1/funds/merchants \
  -H "Authorization: Bearer YOUR_API_KEY"
Ejemplo de respuesta200 · application/json
{
  "data": [
    {
      "merchant": "string",
      "spent_cents": 100000,
      "refunded_cents": 100000,
      "net_cents": 100000,
      "transaction_count": 1
    }
  ],
  "next_cursor": "string",
  "total": 0
}
GET/v1/funds/summary
Permiso: read

Get a funds overview. Lifetime deposited, spent (gross) and refunded totals come from the ledger. available_cents equals customer wallet_available_cents plus project_available_cents (including holder default budgets once) plus holder_wallet_unallocated_cents. holder_wallet_available_cents and holder_wallet_held_cents are informational subsets, not extra balances to add. Pending holder funding is excluded from available_cents. available_cents + held_cents + holder_wallet_pending_cents + withdrawal_pending_cents = total_deposited_cents - total_spent_cents + total_refunded_cents - total_withdrawn_cents. A holder channel must also be ready before spending; customer withdrawals use only customer funds

Esquema de respuesta: FundsSummary

Ejemplo de peticióncURL
curl -X GET https://api.reyvo.com/v1/funds/summary \
  -H "Authorization: Bearer YOUR_API_KEY"
Ejemplo de respuesta200 · application/json
{
  "total_deposited_cents": 100000,
  "total_spent_cents": 100000,
  "total_refunded_cents": 100000,
  "available_cents": 100000,
  "wallet_available_cents": 100000,
  "holder_wallet_unallocated_cents": 100000,
  "holder_wallet_pending_cents": 100000,
  "holder_wallet_available_cents": 100000,
  "holder_wallet_held_cents": 100000,
  "project_available_cents": 100000,
  "held_cents": 100000,
  "withdrawal_pending_cents": 100000,
  "total_withdrawn_cents": 100000,
  "currency": "USD"
}

Retiros

3 endpoints
GET/v1/withdrawals
Permiso: read

List withdrawals

Parámetros

CampoLugarRequerido
cursorqueryOpcional
limitqueryOpcional
statusOptional exact-match filterqueryOpcional
channelOptional exact-match filterqueryOpcional

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

Ejemplo de peticióncURL
curl -X GET https://api.reyvo.com/v1/withdrawals \
  -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",
      "network": "bsc",
      "asset": "USDT",
      "address": "string",
      "amount_cents": 100000,
      "fee_cents": 100000,
      "payout_cents": 100000,
      "currency": "USD",
      "status": "pending_review",
      "approved_at": "2026-01-01T00:00:00.000Z",
      "approved_by": "string",
      "rejected_at": "2026-01-01T00:00:00.000Z",
      "rejected_by": "string",
      "tx_hash": "string",
      "completed_at": "2026-01-01T00:00:00.000Z",
      "completed_by": "string",
      "block_number": 1,
      "block_hash": "string",
      "log_index": 1,
      "confirmations": 1,
      "block_time": "2026-01-01T00:00:00.000Z",
      "mock": true,
      "proof_mismatch": {
        "code": "chain_id",
        "tx_hash": "string",
        "items": [
          {}
        ],
        "checked_at": "2026-01-01T00:00:00.000Z"
      }
    }
  ],
  "next_cursor": "string",
  "total": 0
}
POST/v1/withdrawals
Permiso: withdraw

Request a BSC USDT payout of unallocated wallet funds from one channel. amount_cents is frozen at once (balance_cents and channel_balances drop by it) and waits for an operator to approve or reject it; fee_cents and payout_cents (amount_cents minus fee_cents) are fixed at submission from GET /v1/capabilities withdrawal. address must be able to receive USDT on BSC; mixed case must be a valid EIP-55 checksum. Needs the withdraw scope, which default keys do not carry (withdrawal_unsupported, withdrawal_below_minimum, invalid_withdrawal_address, channel_funds_insufficient, channel_balance_mismatch, customer_inactive, live_customer_not_allowed)

Parámetros

CampoLugarRequerido
Idempotency-KeyheaderRequerido

Campos de petición

CampoTipoRequerido
amount_centsintegerRequerido
channelbill | brexRequerido
addressstringRequerido

Esquema de respuesta: Withdrawal

Ejemplo de peticióncURL
curl -X POST https://api.reyvo.com/v1/withdrawals \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Idempotency-Key: UNIQUE_REQUEST_ID" \
  -H "Content-Type: application/json" \
  -d '{"amount_cents":5000,"channel":"brex","address":"0x5aAeb6053F3E94C9b9A09f33669435E7Ef1BeAed"}'
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",
  "network": "bsc",
  "asset": "USDT",
  "address": "string",
  "amount_cents": 100000,
  "fee_cents": 100000,
  "payout_cents": 100000,
  "currency": "USD",
  "status": "pending_review",
  "approved_at": "2026-01-01T00:00:00.000Z",
  "approved_by": "string",
  "rejected_at": "2026-01-01T00:00:00.000Z",
  "rejected_by": "string",
  "tx_hash": "string",
  "completed_at": "2026-01-01T00:00:00.000Z",
  "completed_by": "string",
  "block_number": 1,
  "block_hash": "string",
  "log_index": 1,
  "confirmations": 1,
  "block_time": "2026-01-01T00:00:00.000Z",
  "mock": true,
  "proof_mismatch": {
    "code": "chain_id",
    "tx_hash": "string",
    "items": [
      {
        "field": "chain_id",
        "expected": "string",
        "actual": "string"
      }
    ],
    "checked_at": "2026-01-01T00:00:00.000Z"
  }
}
GET/v1/withdrawals/{id}
Permiso: read

Get withdrawal

Parámetros

CampoLugarRequerido
idpathRequerido

Esquema de respuesta: Withdrawal

Ejemplo de peticióncURL
curl -X GET https://api.reyvo.com/v1/withdrawals/{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",
  "network": "bsc",
  "asset": "USDT",
  "address": "string",
  "amount_cents": 100000,
  "fee_cents": 100000,
  "payout_cents": 100000,
  "currency": "USD",
  "status": "pending_review",
  "approved_at": "2026-01-01T00:00:00.000Z",
  "approved_by": "string",
  "rejected_at": "2026-01-01T00:00:00.000Z",
  "rejected_by": "string",
  "tx_hash": "string",
  "completed_at": "2026-01-01T00:00:00.000Z",
  "completed_by": "string",
  "block_number": 1,
  "block_hash": "string",
  "log_index": 1,
  "confirmations": 1,
  "block_time": "2026-01-01T00:00:00.000Z",
  "mock": true,
  "proof_mismatch": {
    "code": "chain_id",
    "tx_hash": "string",
    "items": [
      {
        "field": "chain_id",
        "expected": "string",
        "actual": "string"
      }
    ],
    "checked_at": "2026-01-01T00:00:00.000Z"
  }
}

Operaciones idempotentes

1 endpoints
GET/v1/operations
Permiso: read

Get idempotent operation status

Parámetros

CampoLugarRequerido
cursorqueryOpcional
limitqueryOpcional

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

Ejemplo de peticióncURL
curl -X GET https://api.reyvo.com/v1/operations \
  -H "Authorization: Bearer YOUR_API_KEY"
Ejemplo de respuesta200 · application/json
{
  "data": [
    {
      "key": "string",
      "status": "pending",
      "created": "2026-01-01T00:00:00.000Z"
    }
  ],
  "next_cursor": "string",
  "total": 0
}

Pruebas Mock

8 endpoints
POST/v1/mock/authorizations
Permiso: writeSolo Mock

Simulate authorization against a shared pool

Parámetros

CampoLugarRequerido
Idempotency-KeyheaderRequerido

Campos de petición

CampoTipoRequerido
card_idstringRequerido
amount_centsintegerRequerido
merchantstringOpcional

Esquema de respuesta: Transaction

Ejemplo de peticióncURL
curl -X POST https://api.reyvo.com/v1/mock/authorizations \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Idempotency-Key: UNIQUE_REQUEST_ID" \
  -H "Content-Type: application/json" \
  -d '{"card_id":"card_…","amount_cents":2500}'
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
}
POST/v1/mock/challenges
Permiso: writeSolo Mock

Simulate a pending 3D Secure challenge on a BILL card; answer with POST /v1/challenges/{id}/decision

Parámetros

CampoLugarRequerido
Idempotency-KeyheaderRequerido

Campos de petición

CampoTipoRequerido
card_idstringRequerido
amount_centsintegerRequerido
merchantstringOpcional

Esquema de respuesta: Challenge

Ejemplo de peticióncURL
curl -X POST https://api.reyvo.com/v1/mock/challenges \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Idempotency-Key: UNIQUE_REQUEST_ID" \
  -H "Content-Type: application/json" \
  -d '{"card_id":"card_…","amount_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",
  "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/mock/deposits/{id}/advance
Permiso: writeSolo Mock

Simulate next funding stage

Parámetros

CampoLugarRequerido
idpathRequerido
Idempotency-KeyheaderRequerido

{} · Campos de petición

Esquema de respuesta: Deposit

Ejemplo de peticióncURL
curl -X POST https://api.reyvo.com/v1/mock/deposits/{id}/advance \
  -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",
  "bridge_intent_id": "bridge_intent_…",
  "provider_state": "string",
  "settlement_kind": "bridge_bank_payout",
  "provider_fees": {
    "developer_cents": 100000,
    "exchange_cents": 100000,
    "gas_cents": 100000
  },
  "requires_reconciliation": false,
  "tenant_id": "tenant_…",
  "holder_id": "holder_…",
  "amount_cents": 100000,
  "credited_cents": 100000,
  "asset": "USDC",
  "network": "ethereum",
  "channel": "brex",
  "address": "string",
  "token_contract": "string",
  "chain_id": 1,
  "address_index": 1,
  "received_cents": 100000,
  "block_number": 1,
  "provider_reference": "string",
  "status": "awaiting_payment",
  "confirmations": 1,
  "confirmations_required": 1,
  "tx_hash": "string",
  "settlement_reference": "string",
  "net_cents": 100000,
  "fee_cents": 100000,
  "rate": "string",
  "source": "operator",
  "note": "string",
  "mock": false
}
POST/v1/mock/issuer-events
Permiso: writeSolo Mock

Submit a normalized Mock issuer event (ordered and deduplicated)

Parámetros

CampoLugarRequerido
Idempotency-KeyheaderRequerido

Campos de petición

CampoTipoRequerido
card_idstringRequerido
event_idstringRequerido
provider_transaction_idstringRequerido
sequenceintegerRequerido
typeauthorized | declined | settled | reversed | refunded | settled_additionalRequerido
amount_centsintegerRequerido
merchantstringOpcional

Esquema de respuesta: IssuerEvent

Ejemplo de peticióncURL
curl -X POST https://api.reyvo.com/v1/mock/issuer-events \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Idempotency-Key: UNIQUE_REQUEST_ID" \
  -H "Content-Type: application/json" \
  -d '{"card_id":"card_…","event_id":"demo-event-1","provider_transaction_id":"demo-txn-1","sequence":1,"type":"authorized","amount_cents":2500}'
Ejemplo de respuesta200 · application/json
{
  "id": "id_…",
  "created_at": "2026-01-01T00:00:00.000Z",
  "updated_at": "2026-01-01T00:00:00.000Z",
  "ordinal": 1,
  "channel": "bill",
  "card_id": "card_…",
  "transaction_id": "transaction_…",
  "status": "waiting",
  "attempts": 1,
  "error_code": "string",
  "fingerprint": "string",
  "duplicate": false,
  "payload": {
    "event_id": "event_…",
    "provider_card_id": "provider_card_…",
    "provider_transaction_id": "provider_transaction_…",
    "sequence": 1,
    "type": "authorized",
    "amount_cents": 100000,
    "merchant": "string"
  }
}
POST/v1/mock/transactions/{id}/refund
Permiso: writeSolo Mock

Simulate refund

Parámetros

CampoLugarRequerido
idpathRequerido
Idempotency-KeyheaderRequerido

Campos de petición

CampoTipoRequerido
amount_centsintegerOpcional

Esquema de respuesta: Transaction

Ejemplo de peticióncURL
curl -X POST https://api.reyvo.com/v1/mock/transactions/{id}/refund \
  -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",
  "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
}
POST/v1/mock/transactions/{id}/reverse
Permiso: writeSolo Mock

Simulate reverse

Parámetros

CampoLugarRequerido
idpathRequerido
Idempotency-KeyheaderRequerido

Campos de petición

CampoTipoRequerido
amount_centsintegerOpcional

Esquema de respuesta: Transaction

Ejemplo de peticióncURL
curl -X POST https://api.reyvo.com/v1/mock/transactions/{id}/reverse \
  -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",
  "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
}
POST/v1/mock/transactions/{id}/settle
Permiso: writeSolo Mock

Simulate settle

Parámetros

CampoLugarRequerido
idpathRequerido
Idempotency-KeyheaderRequerido

Campos de petición

CampoTipoRequerido
amount_centsintegerOpcional

Esquema de respuesta: Transaction

Ejemplo de peticióncURL
curl -X POST https://api.reyvo.com/v1/mock/transactions/{id}/settle \
  -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",
  "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
}
POST/v1/mock/webhooks/deliver
Permiso: webhooksSolo Mock

Deliver to local Mock sink

Parámetros

CampoLugarRequerido
Idempotency-KeyheaderRequerido

{} · Campos de petición

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

Ejemplo de peticióncURL
curl -X POST https://api.reyvo.com/v1/mock/webhooks/deliver \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Idempotency-Key: UNIQUE_REQUEST_ID" \
  -H "Content-Type: application/json" \
  -d '{}'
Ejemplo de respuesta200 · application/json
{
  "data": [
    {
      "id": "id_…",
      "status": "delivered",
      "attempts": 1,
      "http_status": 1
    }
  ]
}