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.
Procesamiento de eventos del emisor
2 endpoints/v1/issuer-eventsList issuer-events
Parámetros
| Campo | Lugar | Requerido |
|---|---|---|
cursor | query | Opcional |
limit | query | Opcional |
sinceForward-only stream read: rows with ordinal > since, oldest first, each carrying its ordinal; the response adds next_since. Replaces cursor when present. | query | Opcional |
Esquema de respuesta: IssuerEvent[] · Devuelve una lista paginada
curl -X GET https://api.reyvo.com/v1/issuer-events \ -H "Authorization: Bearer YOUR_API_KEY"
{
"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
}/v1/issuer-events/{id}Get issuer-events detail
Parámetros
| Campo | Lugar | Requerido |
|---|---|---|
id | path | Requerido |
Esquema de respuesta: IssuerEvent
curl -X GET https://api.reyvo.com/v1/issuer-events/{id} \
-H "Authorization: Bearer YOUR_API_KEY"{
"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/v1/reconciliationsList 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
| Campo | Lugar | Requerido |
|---|---|---|
cursor | query | Opcional |
limit | query | Opcional |
Esquema de respuesta: Reconciliation[] · Devuelve una lista paginada
curl -X GET https://api.reyvo.com/v1/reconciliations \ -H "Authorization: Bearer YOUR_API_KEY"
{
"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
}/v1/reconciliations/{id}Get a reconciliation report by an id from the list
Parámetros
| Campo | Lugar | Requerido |
|---|---|---|
id | path | Requerido |
Esquema de respuesta: Reconciliation
curl -X GET https://api.reyvo.com/v1/reconciliations/{id} \
-H "Authorization: Bearer YOUR_API_KEY"{
"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/v1/eventsList events
Parámetros
| Campo | Lugar | Requerido |
|---|---|---|
cursor | query | Opcional |
limit | query | Opcional |
statusOptional exact-match filter | query | Opcional |
card_idOptional exact-match filter | query | Opcional |
project_idOptional exact-match filter | query | Opcional |
holder_idOptional exact-match filter | query | Opcional |
channelOptional exact-match filter | query | Opcional |
Esquema de respuesta: Event[] · Devuelve una lista paginada
curl -X GET https://api.reyvo.com/v1/events \ -H "Authorization: Bearer YOUR_API_KEY"
{
"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
}/v1/events/{id}Get event
Parámetros
| Campo | Lugar | Requerido |
|---|---|---|
id | path | Requerido |
Esquema de respuesta: Event
curl -X GET https://api.reyvo.com/v1/events/{id} \
-H "Authorization: Bearer YOUR_API_KEY"{
"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/v1/api-keysList masked API keys
Parámetros
| Campo | Lugar | Requerido |
|---|---|---|
cursor | query | Opcional |
limit | query | Opcional |
Esquema de respuesta: ApiKey[] · Devuelve una lista paginada
curl -X GET https://api.reyvo.com/v1/api-keys \ -H "Authorization: Bearer YOUR_API_KEY"
{
"data": [
{
"id": "id_…",
"prefix": "string",
"scopes": [
"read"
],
"revoked": 0,
"created": "2026-01-01T00:00:00.000Z",
"expires_at": "string",
"last_used_at": "string"
}
]
}/v1/api-keysCreate API key (token returned once)
Parámetros
| Campo | Lugar | Requerido |
|---|---|---|
Idempotency-Key | header | Requerido |
Campos de petición
| Campo | Tipo | Requerido |
|---|---|---|
scopes | read | write | keys | webhooks | secrets | withdraw[] | Requerido |
expires_at | string | Opcional |
Esquema de respuesta: ApiKeyCreated
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"]}'{
"id": "id_…",
"token": "string",
"scopes": [
"read"
],
"prefix": "string",
"expires_at": "string"
}/v1/api-keys/{id}Revoke an API key
Parámetros
| Campo | Lugar | Requerido |
|---|---|---|
id | path | Requerido |
Idempotency-Key | header | Requerido |
Esquema de respuesta: object
curl -X DELETE https://api.reyvo.com/v1/api-keys/{id} \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: UNIQUE_REQUEST_ID"{
"id": "id_…",
"revoked": true
}/v1/api-keys/{id}/rotateRotate and revoke previous key atomically
Parámetros
| Campo | Lugar | Requerido |
|---|---|---|
id | path | Requerido |
Idempotency-Key | header | Requerido |
Campos de petición
| Campo | Tipo | Requerido |
|---|---|---|
scopes | read | write | keys | webhooks | secrets | withdraw[] | Opcional |
expires_at | string | Opcional |
Esquema de respuesta: ApiKeyCreated
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 '{}'{
"id": "id_…",
"token": "string",
"scopes": [
"read"
],
"prefix": "string",
"expires_at": "string"
}Endpoints de webhook
4 endpoints/v1/webhooksList webhook endpoints
Parámetros
| Campo | Lugar | Requerido |
|---|---|---|
cursor | query | Opcional |
limit | query | Opcional |
Esquema de respuesta: WebhookEndpoint[] · Devuelve una lista paginada
curl -X GET https://api.reyvo.com/v1/webhooks \ -H "Authorization: Bearer YOUR_API_KEY"
{
"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"
}
]
}/v1/webhooksRegister a signed webhook endpoint
Parámetros
| Campo | Lugar | Requerido |
|---|---|---|
Idempotency-Key | header | Requerido |
Campos de petición
| Campo | Tipo | Requerido |
|---|---|---|
url | string | Requerido |
events | string[] | Opcional |
Esquema de respuesta: WebhookEndpoint
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"}'{
"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"
}/v1/webhooks/{id}Disable an endpoint
Parámetros
| Campo | Lugar | Requerido |
|---|---|---|
id | path | Requerido |
Idempotency-Key | header | Requerido |
Esquema de respuesta: WebhookEndpoint
curl -X DELETE https://api.reyvo.com/v1/webhooks/{id} \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: UNIQUE_REQUEST_ID"{
"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"
}/v1/webhooks/{id}/replayReplay a stored event without repeating its business operation
Parámetros
| Campo | Lugar | Requerido |
|---|---|---|
id | path | Requerido |
Idempotency-Key | header | Requerido |
Campos de petición
| Campo | Tipo | Requerido |
|---|---|---|
event_id | string | Requerido |
Esquema de respuesta: object
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_…"}'{
"id": "id_…",
"event_id": "event_…",
"endpoint": "string",
"status": "pending"
}Entregas de webhook
2 endpoints/v1/webhook-deliveriesGet delivery attempts
Parámetros
| Campo | Lugar | Requerido |
|---|---|---|
cursor | query | Opcional |
limit | query | Opcional |
Esquema de respuesta: WebhookDelivery[] · Devuelve una lista paginada
curl -X GET https://api.reyvo.com/v1/webhook-deliveries \ -H "Authorization: Bearer YOUR_API_KEY"
{
"data": [
{
"id": "id_…",
"endpoint": "string",
"attempts": 1,
"status": "pending",
"next_at": 1,
"last_code": 1
}
],
"next_cursor": "string",
"total": 0
}/v1/webhook-deliveries/{id}/retryRequeue a dead delivery
Parámetros
| Campo | Lugar | Requerido |
|---|---|---|
id | path | Requerido |
Idempotency-Key | header | Requerido |
{} · Campos de petición
Esquema de respuesta: object
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 '{}'{
"queued": true
}Registro de peticiones
1 endpoints/v1/logsGet redacted API request logs
Parámetros
| Campo | Lugar | Requerido |
|---|---|---|
cursor | query | Opcional |
limit | query | Opcional |
Esquema de respuesta: RequestLog[] · Devuelve una lista paginada
curl -X GET https://api.reyvo.com/v1/logs \ -H "Authorization: Bearer YOUR_API_KEY"
{
"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/v1/ledgerGet balanced journal entries
Parámetros
| Campo | Lugar | Requerido |
|---|---|---|
cursor | query | Opcional |
limit | query | Opcional |
Esquema de respuesta: LedgerEntry[] · Devuelve una lista paginada
curl -X GET https://api.reyvo.com/v1/ledger \ -H "Authorization: Bearer YOUR_API_KEY"
{
"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/v1/funds/flowList 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
| Campo | Lugar | Requerido |
|---|---|---|
cursor | query | Opcional |
limit | query | Opcional |
fromOptional UTC date (YYYY-MM-DD), inclusive start | query | Opcional |
toOptional UTC date (YYYY-MM-DD), inclusive end | query | Opcional |
card_idOptional exact-match filter | query | Opcional |
project_idOptional exact-match filter | query | Opcional |
Esquema de respuesta: FundsFlowEntry[] · Devuelve una lista paginada
curl -X GET https://api.reyvo.com/v1/funds/flow \ -H "Authorization: Bearer YOUR_API_KEY"
{
"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
}/v1/funds/merchantsList 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
| Campo | Lugar | Requerido |
|---|---|---|
cursor | query | Opcional |
limit | query | Opcional |
fromOptional UTC date (YYYY-MM-DD), inclusive start | query | Opcional |
toOptional UTC date (YYYY-MM-DD), inclusive end | query | Opcional |
Esquema de respuesta: MerchantSpend[] · Devuelve una lista paginada
curl -X GET https://api.reyvo.com/v1/funds/merchants \ -H "Authorization: Bearer YOUR_API_KEY"
{
"data": [
{
"merchant": "string",
"spent_cents": 100000,
"refunded_cents": 100000,
"net_cents": 100000,
"transaction_count": 1
}
],
"next_cursor": "string",
"total": 0
}/v1/funds/summaryGet 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
curl -X GET https://api.reyvo.com/v1/funds/summary \ -H "Authorization: Bearer YOUR_API_KEY"
{
"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/v1/withdrawalsList withdrawals
Parámetros
| Campo | Lugar | Requerido |
|---|---|---|
cursor | query | Opcional |
limit | query | Opcional |
statusOptional exact-match filter | query | Opcional |
channelOptional exact-match filter | query | Opcional |
Esquema de respuesta: Withdrawal[] · Devuelve una lista paginada
curl -X GET https://api.reyvo.com/v1/withdrawals \ -H "Authorization: Bearer YOUR_API_KEY"
{
"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
}/v1/withdrawalsRequest 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
| Campo | Lugar | Requerido |
|---|---|---|
Idempotency-Key | header | Requerido |
Campos de petición
| Campo | Tipo | Requerido |
|---|---|---|
amount_cents | integer | Requerido |
channel | bill | brex | Requerido |
address | string | Requerido |
Esquema de respuesta: Withdrawal
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"}'{
"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"
}
}/v1/withdrawals/{id}Get withdrawal
Parámetros
| Campo | Lugar | Requerido |
|---|---|---|
id | path | Requerido |
Esquema de respuesta: Withdrawal
curl -X GET https://api.reyvo.com/v1/withdrawals/{id} \
-H "Authorization: Bearer YOUR_API_KEY"{
"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/v1/operationsGet idempotent operation status
Parámetros
| Campo | Lugar | Requerido |
|---|---|---|
cursor | query | Opcional |
limit | query | Opcional |
Esquema de respuesta: Operation[] · Devuelve una lista paginada
curl -X GET https://api.reyvo.com/v1/operations \ -H "Authorization: Bearer YOUR_API_KEY"
{
"data": [
{
"key": "string",
"status": "pending",
"created": "2026-01-01T00:00:00.000Z"
}
],
"next_cursor": "string",
"total": 0
}Pruebas Mock
8 endpoints/v1/mock/authorizationsSimulate authorization against a shared pool
Parámetros
| Campo | Lugar | Requerido |
|---|---|---|
Idempotency-Key | header | Requerido |
Campos de petición
| Campo | Tipo | Requerido |
|---|---|---|
card_id | string | Requerido |
amount_cents | integer | Requerido |
merchant | string | Opcional |
Esquema de respuesta: Transaction
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}'{
"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
}/v1/mock/challengesSimulate a pending 3D Secure challenge on a BILL card; answer with POST /v1/challenges/{id}/decision
Parámetros
| Campo | Lugar | Requerido |
|---|---|---|
Idempotency-Key | header | Requerido |
Campos de petición
| Campo | Tipo | Requerido |
|---|---|---|
card_id | string | Requerido |
amount_cents | integer | Requerido |
merchant | string | Opcional |
Esquema de respuesta: Challenge
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}'{
"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"
}/v1/mock/deposits/{id}/advanceSimulate next funding stage
Parámetros
| Campo | Lugar | Requerido |
|---|---|---|
id | path | Requerido |
Idempotency-Key | header | Requerido |
{} · Campos de petición
Esquema de respuesta: Deposit
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 '{}'{
"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
}/v1/mock/issuer-eventsSubmit a normalized Mock issuer event (ordered and deduplicated)
Parámetros
| Campo | Lugar | Requerido |
|---|---|---|
Idempotency-Key | header | Requerido |
Campos de petición
| Campo | Tipo | Requerido |
|---|---|---|
card_id | string | Requerido |
event_id | string | Requerido |
provider_transaction_id | string | Requerido |
sequence | integer | Requerido |
type | authorized | declined | settled | reversed | refunded | settled_additional | Requerido |
amount_cents | integer | Requerido |
merchant | string | Opcional |
Esquema de respuesta: IssuerEvent
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}'{
"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"
}
}/v1/mock/transactions/{id}/refundSimulate refund
Parámetros
| Campo | Lugar | Requerido |
|---|---|---|
id | path | Requerido |
Idempotency-Key | header | Requerido |
Campos de petición
| Campo | Tipo | Requerido |
|---|---|---|
amount_cents | integer | Opcional |
Esquema de respuesta: Transaction
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 '{}'{
"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
}/v1/mock/transactions/{id}/reverseSimulate reverse
Parámetros
| Campo | Lugar | Requerido |
|---|---|---|
id | path | Requerido |
Idempotency-Key | header | Requerido |
Campos de petición
| Campo | Tipo | Requerido |
|---|---|---|
amount_cents | integer | Opcional |
Esquema de respuesta: Transaction
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 '{}'{
"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
}/v1/mock/transactions/{id}/settleSimulate settle
Parámetros
| Campo | Lugar | Requerido |
|---|---|---|
id | path | Requerido |
Idempotency-Key | header | Requerido |
Campos de petición
| Campo | Tipo | Requerido |
|---|---|---|
amount_cents | integer | Opcional |
Esquema de respuesta: Transaction
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 '{}'{
"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
}/v1/mock/webhooks/deliverDeliver to local Mock sink
Parámetros
| Campo | Lugar | Requerido |
|---|---|---|
Idempotency-Key | header | Requerido |
{} · Campos de petición
Esquema de respuesta: object[] · Devuelve una lista paginada
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 '{}'{
"data": [
{
"id": "id_…",
"status": "delivered",
"attempts": 1,
"http_status": 1
}
]
}