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/en/docs-platform.md.

DEVELOPER REFERENCE

API reference: platform

Endpoints for events, webhooks, API keys, request logs, the ledger, the funds overview, withdrawals, idempotent operations, issuer events, reconciliation and Mock testing. Authentication, idempotency, pagination, rate limits and error codes are on the API reference and apply to every request here.

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

Issuer event processing

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

List issuer-events

Parameters

FieldInRequired
cursorqueryOptional
limitqueryOptional
sinceForward-only stream read: rows with ordinal > since, oldest first, each carrying its ordinal; the response adds next_since. Replaces cursor when present.queryOptional

Response schema: IssuerEvent[] · Returns a paginated list

Example requestcURL
curl -X GET https://api.reyvo.com/v1/issuer-events \
  -H "Authorization: Bearer YOUR_API_KEY"
Example response200 · 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}
Scope: read

Get issuer-events detail

Parameters

FieldInRequired
idpathRequired

Response schema: IssuerEvent

Example requestcURL
curl -X GET https://api.reyvo.com/v1/issuer-events/{id} \
  -H "Authorization: Bearer YOUR_API_KEY"
Example response200 · 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"
  }
}

Local reconciliation reports

2 endpoints
GET/v1/reconciliations
Scope: 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

Parameters

FieldInRequired
cursorqueryOptional
limitqueryOptional

Response schema: Reconciliation[] · Returns a paginated list

Example requestcURL
curl -X GET https://api.reyvo.com/v1/reconciliations \
  -H "Authorization: Bearer YOUR_API_KEY"
Example response200 · 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}
Scope: read

Get a reconciliation report by an id from the list

Parameters

FieldInRequired
idpathRequired

Response schema: Reconciliation

Example requestcURL
curl -X GET https://api.reyvo.com/v1/reconciliations/{id} \
  -H "Authorization: Bearer YOUR_API_KEY"
Example response200 · 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
    }
  ]
}

Events

2 endpoints
GET/v1/events
Scope: read

List events

Parameters

FieldInRequired
cursorqueryOptional
limitqueryOptional
statusOptional exact-match filterqueryOptional
card_idOptional exact-match filterqueryOptional
project_idOptional exact-match filterqueryOptional
holder_idOptional exact-match filterqueryOptional
channelOptional exact-match filterqueryOptional

Response schema: Event[] · Returns a paginated list

Example requestcURL
curl -X GET https://api.reyvo.com/v1/events \
  -H "Authorization: Bearer YOUR_API_KEY"
Example response200 · 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}
Scope: read

Get event

Parameters

FieldInRequired
idpathRequired

Response schema: Event

Example requestcURL
curl -X GET https://api.reyvo.com/v1/events/{id} \
  -H "Authorization: Bearer YOUR_API_KEY"
Example response200 · application/json
{
  "id": "id_…",
  "created_at": "2026-01-01T00:00:00.000Z",
  "updated_at": "2026-01-01T00:00:00.000Z",
  "type": "string",
  "data": {}
}

API keys

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

List masked API keys

Parameters

FieldInRequired
cursorqueryOptional
limitqueryOptional

Response schema: ApiKey[] · Returns a paginated list

Example requestcURL
curl -X GET https://api.reyvo.com/v1/api-keys \
  -H "Authorization: Bearer YOUR_API_KEY"
Example response200 · 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
Scope: keys

Create API key (token returned once)

Parameters

FieldInRequired
Idempotency-KeyheaderRequired

Request fields

FieldTypeRequired
scopesread | write | keys | webhooks | secrets | withdraw[]Required
expires_atstringOptional

Response schema: ApiKeyCreated

Example requestcURL
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"]}'
Example response200 · application/json
{
  "id": "id_…",
  "token": "string",
  "scopes": [
    "read"
  ],
  "prefix": "string",
  "expires_at": "string"
}
DELETE/v1/api-keys/{id}
Scope: keys

Revoke an API key

Parameters

FieldInRequired
idpathRequired
Idempotency-KeyheaderRequired

Response schema: object

Example requestcURL
curl -X DELETE https://api.reyvo.com/v1/api-keys/{id} \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Idempotency-Key: UNIQUE_REQUEST_ID"
Example response200 · application/json
{
  "id": "id_…",
  "revoked": true
}
POST/v1/api-keys/{id}/rotate
Scope: keys

Rotate and revoke previous key atomically

Parameters

FieldInRequired
idpathRequired
Idempotency-KeyheaderRequired

Request fields

FieldTypeRequired
scopesread | write | keys | webhooks | secrets | withdraw[]Optional
expires_atstringOptional

Response schema: ApiKeyCreated

Example requestcURL
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 '{}'
Example response200 · application/json
{
  "id": "id_…",
  "token": "string",
  "scopes": [
    "read"
  ],
  "prefix": "string",
  "expires_at": "string"
}

Webhook endpoints

4 endpoints
GET/v1/webhooks
Scope: webhooks

List webhook endpoints

Parameters

FieldInRequired
cursorqueryOptional
limitqueryOptional

Response schema: WebhookEndpoint[] · Returns a paginated list

Example requestcURL
curl -X GET https://api.reyvo.com/v1/webhooks \
  -H "Authorization: Bearer YOUR_API_KEY"
Example response200 · 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
Scope: webhooks

Register a signed webhook endpoint

Parameters

FieldInRequired
Idempotency-KeyheaderRequired

Request fields

FieldTypeRequired
urlstringRequired
eventsstring[]Optional

Response schema: WebhookEndpoint

Example requestcURL
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"}'
Example response200 · 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}
Scope: webhooks

Disable an endpoint

Parameters

FieldInRequired
idpathRequired
Idempotency-KeyheaderRequired

Response schema: WebhookEndpoint

Example requestcURL
curl -X DELETE https://api.reyvo.com/v1/webhooks/{id} \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Idempotency-Key: UNIQUE_REQUEST_ID"
Example response200 · 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
Scope: webhooks

Replay a stored event without repeating its business operation

Parameters

FieldInRequired
idpathRequired
Idempotency-KeyheaderRequired

Request fields

FieldTypeRequired
event_idstringRequired

Response schema: object

Example requestcURL
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_…"}'
Example response200 · application/json
{
  "id": "id_…",
  "event_id": "event_…",
  "endpoint": "string",
  "status": "pending"
}

Webhook deliveries

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

Get delivery attempts

Parameters

FieldInRequired
cursorqueryOptional
limitqueryOptional

Response schema: WebhookDelivery[] · Returns a paginated list

Example requestcURL
curl -X GET https://api.reyvo.com/v1/webhook-deliveries \
  -H "Authorization: Bearer YOUR_API_KEY"
Example response200 · 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
Scope: webhooks

Requeue a dead delivery

Parameters

FieldInRequired
idpathRequired
Idempotency-KeyheaderRequired

{} · Request fields

Response schema: object

Example requestcURL
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 '{}'
Example response200 · application/json
{
  "queued": true
}

Request logs

1 endpoints
GET/v1/logs
Scope: read

Get redacted API request logs

Parameters

FieldInRequired
cursorqueryOptional
limitqueryOptional

Response schema: RequestLog[] · Returns a paginated list

Example requestcURL
curl -X GET https://api.reyvo.com/v1/logs \
  -H "Authorization: Bearer YOUR_API_KEY"
Example response200 · 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
}

Ledger

1 endpoints
GET/v1/ledger
Scope: read

Get balanced journal entries

Parameters

FieldInRequired
cursorqueryOptional
limitqueryOptional

Response schema: LedgerEntry[] · Returns a paginated list

Example requestcURL
curl -X GET https://api.reyvo.com/v1/ledger \
  -H "Authorization: Bearer YOUR_API_KEY"
Example response200 · 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
}

Funds overview

3 endpoints
GET/v1/funds/flow
Scope: 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)

Parameters

FieldInRequired
cursorqueryOptional
limitqueryOptional
fromOptional UTC date (YYYY-MM-DD), inclusive startqueryOptional
toOptional UTC date (YYYY-MM-DD), inclusive endqueryOptional
card_idOptional exact-match filterqueryOptional
project_idOptional exact-match filterqueryOptional

Response schema: FundsFlowEntry[] · Returns a paginated list

Example requestcURL
curl -X GET https://api.reyvo.com/v1/funds/flow \
  -H "Authorization: Bearer YOUR_API_KEY"
Example response200 · 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
Scope: 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)

Parameters

FieldInRequired
cursorqueryOptional
limitqueryOptional
fromOptional UTC date (YYYY-MM-DD), inclusive startqueryOptional
toOptional UTC date (YYYY-MM-DD), inclusive endqueryOptional

Response schema: MerchantSpend[] · Returns a paginated list

Example requestcURL
curl -X GET https://api.reyvo.com/v1/funds/merchants \
  -H "Authorization: Bearer YOUR_API_KEY"
Example response200 · 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
Scope: 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

Response schema: FundsSummary

Example requestcURL
curl -X GET https://api.reyvo.com/v1/funds/summary \
  -H "Authorization: Bearer YOUR_API_KEY"
Example response200 · 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"
}

Withdrawals

3 endpoints
GET/v1/withdrawals
Scope: read

List withdrawals

Parameters

FieldInRequired
cursorqueryOptional
limitqueryOptional
statusOptional exact-match filterqueryOptional
channelOptional exact-match filterqueryOptional

Response schema: Withdrawal[] · Returns a paginated list

Example requestcURL
curl -X GET https://api.reyvo.com/v1/withdrawals \
  -H "Authorization: Bearer YOUR_API_KEY"
Example response200 · 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
Scope: 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)

Parameters

FieldInRequired
Idempotency-KeyheaderRequired

Request fields

FieldTypeRequired
amount_centsintegerRequired
channelbill | brexRequired
addressstringRequired

Response schema: Withdrawal

Example requestcURL
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"}'
Example response200 · 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}
Scope: read

Get withdrawal

Parameters

FieldInRequired
idpathRequired

Response schema: Withdrawal

Example requestcURL
curl -X GET https://api.reyvo.com/v1/withdrawals/{id} \
  -H "Authorization: Bearer YOUR_API_KEY"
Example response200 · 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"
  }
}

Idempotent operations

1 endpoints
GET/v1/operations
Scope: read

Get idempotent operation status

Parameters

FieldInRequired
cursorqueryOptional
limitqueryOptional

Response schema: Operation[] · Returns a paginated list

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

Mock testing

8 endpoints
POST/v1/mock/authorizations
Scope: writeMock only

Simulate authorization against a shared pool

Parameters

FieldInRequired
Idempotency-KeyheaderRequired

Request fields

FieldTypeRequired
card_idstringRequired
amount_centsintegerRequired
merchantstringOptional

Response schema: Transaction

Example requestcURL
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}'
Example response200 · 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
Scope: writeMock only

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

Parameters

FieldInRequired
Idempotency-KeyheaderRequired

Request fields

FieldTypeRequired
card_idstringRequired
amount_centsintegerRequired
merchantstringOptional

Response schema: Challenge

Example requestcURL
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}'
Example response200 · 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
Scope: writeMock only

Simulate next funding stage

Parameters

FieldInRequired
idpathRequired
Idempotency-KeyheaderRequired

{} · Request fields

Response schema: Deposit

Example requestcURL
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 '{}'
Example response200 · 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
Scope: writeMock only

Submit a normalized Mock issuer event (ordered and deduplicated)

Parameters

FieldInRequired
Idempotency-KeyheaderRequired

Request fields

FieldTypeRequired
card_idstringRequired
event_idstringRequired
provider_transaction_idstringRequired
sequenceintegerRequired
typeauthorized | declined | settled | reversed | refunded | settled_additionalRequired
amount_centsintegerRequired
merchantstringOptional

Response schema: IssuerEvent

Example requestcURL
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}'
Example response200 · 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
Scope: writeMock only

Simulate refund

Parameters

FieldInRequired
idpathRequired
Idempotency-KeyheaderRequired

Request fields

FieldTypeRequired
amount_centsintegerOptional

Response schema: Transaction

Example requestcURL
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 '{}'
Example response200 · 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
Scope: writeMock only

Simulate reverse

Parameters

FieldInRequired
idpathRequired
Idempotency-KeyheaderRequired

Request fields

FieldTypeRequired
amount_centsintegerOptional

Response schema: Transaction

Example requestcURL
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 '{}'
Example response200 · 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
Scope: writeMock only

Simulate settle

Parameters

FieldInRequired
idpathRequired
Idempotency-KeyheaderRequired

Request fields

FieldTypeRequired
amount_centsintegerOptional

Response schema: Transaction

Example requestcURL
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 '{}'
Example response200 · 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
Scope: webhooksMock only

Deliver to local Mock sink

Parameters

FieldInRequired
Idempotency-KeyheaderRequired

{} · Request fields

Response schema: object[] · Returns a paginated list

Example requestcURL
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 '{}'
Example response200 · application/json
{
  "data": [
    {
      "id": "id_…",
      "status": "delivered",
      "attempts": 1,
      "http_status": 1
    }
  ]
}