DEVELOPER REFERENCE
API de carteras y depósitos
Carteras del usuario final, sincronización, saldo del cliente y depósitos. Autenticación y errores en la referencia principal.
Saldo
1 endpoints/v1/balanceGet available wallet, holds and spend
Parámetros
| Campo | Lugar | Requerido |
|---|---|---|
cursor | query | Opcional |
limit | query | Opcional |
Esquema de respuesta: Balance
curl -X GET https://api.reyvo.com/v1/balance \ -H "Authorization: Bearer YOUR_API_KEY"
{
"id": "id_…",
"created_at": "2026-01-01T00:00:00.000Z",
"updated_at": "2026-01-01T00:00:00.000Z",
"balance_cents": 100000,
"allocated_available_cents": 100000,
"held_cents": 100000,
"spent_cents": 100000,
"holder_wallet_unallocated_cents": 100000,
"holder_wallet_pending_cents": 100000,
"holder_wallet_available_cents": 100000,
"holder_wallet_held_cents": 100000,
"currency": "USD",
"channel_balances": {
"bill": 1,
"brex": 1
}
}Depósitos
3 endpoints/v1/depositsList deposits
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: Deposit[] · Devuelve una lista paginada
curl -X GET https://api.reyvo.com/v1/deposits \ -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",
"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
}
],
"next_cursor": "string",
"total": 0
}/v1/depositsCreate a stablecoin deposit order. Optional holder_id assigns the final credit to that terminal user wallet and automatically synchronizes its default budget. Chain confirmation alone is not spendable; funding remains unavailable until the channel default budget is independently confirmed. Omit holder_id to retain the existing customer-credit flow
Parámetros
| Campo | Lugar | Requerido |
|---|---|---|
Idempotency-Key | header | Requerido |
Campos de petición
| Campo | Tipo | Requerido |
|---|---|---|
amount_cents | integer | Requerido |
channel | brex | bill | Requerido |
asset | USDC | USDT | Opcional |
network | ethereum | bsc | Opcional |
holder_id | string | Opcional |
Esquema de respuesta: Deposit
curl -X POST https://api.reyvo.com/v1/deposits \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: UNIQUE_REQUEST_ID" \
-H "Content-Type: application/json" \
-d '{"amount_cents":110000,"channel":"brex"}'{
"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/deposits/{id}Get deposit
Parámetros
| Campo | Lugar | Requerido |
|---|---|---|
id | path | Requerido |
Esquema de respuesta: Deposit
curl -X GET https://api.reyvo.com/v1/deposits/{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",
"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
}Carteras de usuarios
5 endpoints/v1/cardholders/{id}/walletGet one terminal cardholder wallet, separate from GET /v1/balance (customer funds). unallocated_cents is not yet in a confirmed default budget; pending_sync_cents is not spendable. Only confirmed, ready channel available_cents may be spent. The channel pools are separate, not a real-time cross-issuer shared limit
Parámetros
| Campo | Lugar | Requerido |
|---|---|---|
id | path | Requerido |
Esquema de respuesta: HolderWallet
curl -X GET https://api.reyvo.com/v1/cardholders/{id}/wallet \
-H "Authorization: Bearer YOUR_API_KEY"{
"id": "id_…",
"holder_id": "holder_…",
"currency": "USD",
"unallocated_cents": 100000,
"pending_sync_cents": 100000,
"available_cents": 100000,
"held_cents": 100000,
"spent_cents": 100000,
"channels": {
"bill": {
"unallocated_cents": 100000,
"pending_sync_cents": 100000,
"available_cents": 100000,
"held_cents": 100000,
"spent_cents": 100000,
"project_id": "project_…",
"status": "unfunded",
"error_code": "string",
"mode": "default",
"card_budgets": [
{}
]
},
"brex": {
"unallocated_cents": 100000,
"pending_sync_cents": 100000,
"available_cents": 100000,
"held_cents": 100000,
"spent_cents": 100000,
"project_id": "project_…",
"status": "unfunded",
"error_code": "string",
"mode": "default",
"card_budgets": [
{}
]
}
}
}/v1/cardholders/{id}/wallet/syncSynchronize this holder default budget using its durable internal funding operation. Unknown writes are recovered by read-back only; a new request key never authorizes duplicating the upstream funding. Read the returned channel status before issuing or using cards (holder_wallet_unverified, holder_budget_not_ready, operation_unknown)
Parámetros
| Campo | Lugar | Requerido |
|---|---|---|
id | path | Requerido |
Idempotency-Key | header | Requerido |
Campos de petición
| Campo | Tipo | Requerido |
|---|---|---|
channel | bill | brex | Requerido |
Esquema de respuesta: HolderWallet
curl -X POST https://api.reyvo.com/v1/cardholders/{id}/wallet/sync \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: UNIQUE_REQUEST_ID" \
-H "Content-Type: application/json" \
-d '{"channel":"bill"}'{
"id": "id_…",
"holder_id": "holder_…",
"currency": "USD",
"unallocated_cents": 100000,
"pending_sync_cents": 100000,
"available_cents": 100000,
"held_cents": 100000,
"spent_cents": 100000,
"channels": {
"bill": {
"unallocated_cents": 100000,
"pending_sync_cents": 100000,
"available_cents": 100000,
"held_cents": 100000,
"spent_cents": 100000,
"project_id": "project_…",
"status": "unfunded",
"error_code": "string",
"mode": "default",
"card_budgets": [
{}
]
},
"brex": {
"unallocated_cents": 100000,
"pending_sync_cents": 100000,
"available_cents": 100000,
"held_cents": 100000,
"spent_cents": 100000,
"project_id": "project_…",
"status": "unfunded",
"error_code": "string",
"mode": "default",
"card_budgets": [
{}
]
}
}
}/v1/cardholders/{id}/wallet/transfersMove settled customer credit to this holder wallet (to_wallet), or return unused holder funds to the customer (to_customer), within one channel. This is neither card funding nor an on-chain payout or issuer cash transfer. The response is the archived transfer snapshot, not proof of budget readiness; GET the wallet for current synchronization status. Default budgets use durable operations; pending/unknown funding is not spendable, and recovery reads the original upstream result rather than sending another write (default_budget_managed, holder_wallet_unverified, holder_budget_not_ready, operation_unknown, budget_in_use, insufficient_funds)
Parámetros
| Campo | Lugar | Requerido |
|---|---|---|
id | path | Requerido |
Idempotency-Key | header | Requerido |
Campos de petición
| Campo | Tipo | Requerido |
|---|---|---|
channel | bill | brex | Requerido |
amount_cents | integer | Requerido |
direction | to_wallet | to_customer | Requerido |
Esquema de respuesta: HolderWallet
curl -X POST https://api.reyvo.com/v1/cardholders/{id}/wallet/transfers \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: UNIQUE_REQUEST_ID" \
-H "Content-Type: application/json" \
-d '{"channel":"bill","amount_cents":100000,"direction":"to_wallet"}'{
"id": "id_…",
"holder_id": "holder_…",
"currency": "USD",
"unallocated_cents": 100000,
"pending_sync_cents": 100000,
"available_cents": 100000,
"held_cents": 100000,
"spent_cents": 100000,
"channels": {
"bill": {
"unallocated_cents": 100000,
"pending_sync_cents": 100000,
"available_cents": 100000,
"held_cents": 100000,
"spent_cents": 100000,
"project_id": "project_…",
"status": "unfunded",
"error_code": "string",
"mode": "default",
"card_budgets": [
{}
]
},
"brex": {
"unallocated_cents": 100000,
"pending_sync_cents": 100000,
"available_cents": 100000,
"held_cents": 100000,
"spent_cents": 100000,
"project_id": "project_…",
"status": "unfunded",
"error_code": "string",
"mode": "default",
"card_budgets": [
{}
]
}
}
}/v1/cards/{id}/fundingPOST /v1/cards with holder_id, channel and amount_cents issues a card on its own budget funded from the customer wallet; replaying its key resumes funding and issuance by read-back. This route moves customer wallet funds into that card budget (to_card) or unused budget back to the customer wallet (to_wallet); holder wallet funds are never used. Unknown outcomes keep the reservation; replay the original key (card_budget_not_found, budget_in_use, insufficient_funds, operation_unknown, holder_budget_mode_conflict, holder_card_budgets_unverified, holder_card_limit_reached)
Parámetros
| Campo | Lugar | Requerido |
|---|---|---|
id | path | Requerido |
Idempotency-Key | header | Requerido |
Campos de petición
| Campo | Tipo | Requerido |
|---|---|---|
direction | to_card | to_wallet | Requerido |
amount_cents | integer | Requerido |
Esquema de respuesta: Card
curl -X POST https://api.reyvo.com/v1/cards/{id}/funding \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: UNIQUE_REQUEST_ID" \
-H "Content-Type: application/json" \
-d '{"direction":"to_card","amount_cents":100000}'{
"id": "id_…",
"created_at": "2026-01-01T00:00:00.000Z",
"updated_at": "2026-01-01T00:00:00.000Z",
"name": "Campaign card",
"project_id": "project_…",
"holder_id": "holder_…",
"channel": "brex",
"status": "pending",
"last_four": "string",
"provider_id": "provider_…",
"synced_at": "2026-01-01T00:00:00.000Z",
"network": "visa",
"network_source": "channel_default",
"limit_cents": 100000,
"limit_sync": {
"op": "string",
"prior_cents": 100000,
"target_cents": 100000,
"at": "2026-01-01T00:00:00.000Z",
"policy_fingerprint": "string"
},
"expiration": "string"
}/v1/walletsList terminal cardholder wallets owned by this customer. Each holder has one logical wallet, with separate BILL and Brex backing; an unfunded holder returns zero balances. Existing customer funds and team projects are not migrated or counted in each holder wallet
Parámetros
| Campo | Lugar | Requerido |
|---|---|---|
cursor | query | Opcional |
limit | query | Opcional |
Esquema de respuesta: HolderWallet[] · Devuelve una lista paginada
curl -X GET https://api.reyvo.com/v1/wallets \ -H "Authorization: Bearer YOUR_API_KEY"
{
"data": [
{
"id": "id_…",
"holder_id": "holder_…",
"currency": "USD",
"unallocated_cents": 100000,
"pending_sync_cents": 100000,
"available_cents": 100000,
"held_cents": 100000,
"spent_cents": 100000,
"channels": {
"bill": {},
"brex": {}
}
}
],
"next_cursor": "string",
"total": 0
}