Documentation
Guides and the API reference generated from the endpoint registry. Every endpoint is marked Proposed until the Phase 2 backend implements it.
Conventions
- Base URL
https://api.cards.nesvra.com/v1; sandbox uses separate keys and host. - Amounts are integer minor units with an ISO 4217 currency:
{"amount": 5000, "currency": "USD"}. - Every POST that creates or moves money needs an
Idempotency-Key. Same key and body returns the original response; a different body returns 409. - Cursor pagination with
limit(max 100) andstarting_after; responses includehas_more. - Errors use problem-details JSON with a stable
codeand therequest_id. - Every response carries a
Request-Idheader. Timestamps are ISO 8601 UTC; IDs are prefixed and opaque.
Error catalogue
| HTTP | Code | Meaning |
|---|---|---|
| 400 | validation_failed | Field errors listed |
| 401 | unauthenticated | Missing or invalid credentials |
| 403 | forbidden, insufficient_scope, kyc_tier_required, plan_limit_reached | Not allowed, with the reason |
| 404 | not_found | Unknown or not visible to this caller |
| 409 | idempotency_conflict, state_conflict | Key reused with a different body, or action not valid now |
| 422 | insufficient_funds, limit_exceeded, quote_expired, beneficiary_invalid, card_not_active, approval_required | Business rule refusal |
| 423 | account_locked, pin_locked | Locked |
| 429 | rate_limited | Slow down |
| 502/503 | provider_unavailable, maintenance | Safe to retry later with the same key |
Webhook events
Events carry the resource ID, type and a snapshot. Delivery is at least once: de-duplicate by event ID.
Wallets
MOD-06GET/v1/walletsList walletsAPI-WAL-01
- Purpose
- List wallets
- Authentication
- Bearer token (session or API key)
- Scope
- wallets:read, wallets:write
- Idempotency-Key
- Not applicable
- Pagination
- Cursor: limit (max 100), starting_after; has_more
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X GET https://api.cards.nesvra.com/v1/wallets \ -H "Authorization: Bearer nx_test_sk_••••"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
GET/v1/wallets/{id}Wallet detailAPI-WAL-02
- Purpose
- Wallet detail
- Authentication
- Bearer token (session or API key)
- Scope
- wallets:read, wallets:write
- Idempotency-Key
- Not applicable
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X GET https://api.cards.nesvra.com/v1/wallets/{id} \
-H "Authorization: Bearer nx_test_sk_••••"Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
GET/v1/wallets/{id}/transactionsWallet transactionsAPI-WAL-03
- Purpose
- Wallet transactions
- Authentication
- Bearer token (session or API key)
- Scope
- wallets:read, wallets:write
- Idempotency-Key
- Not applicable
- Pagination
- Cursor: limit (max 100), starting_after; has_more
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X GET https://api.cards.nesvra.com/v1/wallets/{id}/transactions \
-H "Authorization: Bearer nx_test_sk_••••"Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
GET/v1/wallets/{id}/statementsWallet statementsAPI-WAL-04
- Purpose
- Wallet statements
- Authentication
- Bearer token (session or API key)
- Scope
- wallets:read, wallets:write
- Idempotency-Key
- Not applicable
- Pagination
- Cursor: limit (max 100), starting_after; has_more
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X GET https://api.cards.nesvra.com/v1/wallets/{id}/statements \
-H "Authorization: Bearer nx_test_sk_••••"Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
POST/v1/walletsAdd a currency walletAPI-WAL-05
- Purpose
- Add a currency wallet
- Authentication
- Bearer token (session or API key)
- Scope
- wallets:read, wallets:write
- Idempotency-Key
- Recommended
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/wallets \ -H "Authorization: Bearer nx_test_sk_••••"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
Deposits
MOD-11GET/v1/deposit-methodsMethods for country and currencyAPI-DEP-01
- Purpose
- Methods for country and currency
- Authentication
- Bearer token (session or API key)
- Scope
- deposits:write
- Idempotency-Key
- Not applicable
- Pagination
- Cursor: limit (max 100), starting_after; has_more
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X GET https://api.cards.nesvra.com/v1/deposit-methods \ -H "Authorization: Bearer nx_test_sk_••••"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
POST/v1/depositsStart a depositAPI-DEP-02
- Purpose
- Start a deposit
- Authentication
- Bearer token (session or API key)
- Scope
- deposits:write
- Idempotency-Key
- Required
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/deposits \ -H "Authorization: Bearer nx_test_sk_••••" \ -H "Idempotency-Key: <uuid>"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
GET/v1/deposits/{id}Deposit status and instructionsAPI-DEP-03
- Purpose
- Deposit status and instructions
- Authentication
- Bearer token (session or API key)
- Scope
- deposits:write
- Idempotency-Key
- Not applicable
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X GET https://api.cards.nesvra.com/v1/deposits/{id} \
-H "Authorization: Bearer nx_test_sk_••••"Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
POST/v1/deposits/{id}/proofUpload proof of paymentAPI-DEP-04
- Purpose
- Upload proof of payment
- Authentication
- Bearer token (session or API key)
- Scope
- deposits:write
- Idempotency-Key
- Required
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/deposits/{id}/proof \
-H "Authorization: Bearer nx_test_sk_••••" \
-H "Idempotency-Key: <uuid>"Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
Withdrawals
MOD-12POST/v1/withdrawalsCreate withdrawalAPI-WDR-01
- Purpose
- Create withdrawal
- Authentication
- Bearer token (session or API key)
- Scope
- payouts:write
- Idempotency-Key
- Required
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/withdrawals \ -H "Authorization: Bearer nx_test_sk_••••" \ -H "Idempotency-Key: <uuid>"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
GET/v1/withdrawals/{id}Withdrawal statusAPI-WDR-02
- Purpose
- Withdrawal status
- Authentication
- Bearer token (session or API key)
- Scope
- payouts:write
- Idempotency-Key
- Not applicable
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X GET https://api.cards.nesvra.com/v1/withdrawals/{id} \
-H "Authorization: Bearer nx_test_sk_••••"Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
POST/v1/withdrawals/{id}/cancelCancel before executionAPI-WDR-03
- Purpose
- Cancel before execution
- Authentication
- Bearer token (session or API key)
- Scope
- payouts:write
- Idempotency-Key
- Required
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/withdrawals/{id}/cancel \
-H "Authorization: Bearer nx_test_sk_••••" \
-H "Idempotency-Key: <uuid>"Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
Transfers
MOD-13, MOD-14POST/v1/transfersInternal transferAPI-TRF-01
- Purpose
- Internal transfer
- Authentication
- Bearer token (session or API key)
- Scope
- transfers:write
- Idempotency-Key
- Required
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/transfers \ -H "Authorization: Bearer nx_test_sk_••••" \ -H "Idempotency-Key: <uuid>"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
POST/v1/transfers/internationalInternational transferAPI-TRF-02
- Purpose
- International transfer
- Authentication
- Bearer token (session or API key)
- Scope
- transfers:write
- Idempotency-Key
- Required
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/transfers/international \ -H "Authorization: Bearer nx_test_sk_••••" \ -H "Idempotency-Key: <uuid>"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
GET/v1/transfers/{id}Transfer status and trackingAPI-TRF-03
- Purpose
- Transfer status and tracking
- Authentication
- Bearer token (session or API key)
- Scope
- transfers:write
- Idempotency-Key
- Not applicable
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X GET https://api.cards.nesvra.com/v1/transfers/{id} \
-H "Authorization: Bearer nx_test_sk_••••"Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
GET/v1/corridorsAvailable corridors and railsAPI-TRF-04
- Purpose
- Available corridors and rails
- Authentication
- Bearer token (session or API key)
- Scope
- transfers:write
- Idempotency-Key
- Not applicable
- Pagination
- Cursor: limit (max 100), starting_after; has_more
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X GET https://api.cards.nesvra.com/v1/corridors \ -H "Authorization: Bearer nx_test_sk_••••"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
Beneficiaries
MOD-15GET/v1/beneficiariesList beneficiariesAPI-BEN-01
- Purpose
- List beneficiaries
- Authentication
- Bearer token (session or API key)
- Scope
- beneficiaries:write
- Idempotency-Key
- Not applicable
- Pagination
- Cursor: limit (max 100), starting_after; has_more
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X GET https://api.cards.nesvra.com/v1/beneficiaries \ -H "Authorization: Bearer nx_test_sk_••••"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
POST/v1/beneficiariesCreate beneficiaryAPI-BEN-02
- Purpose
- Create beneficiary
- Authentication
- Bearer token (session or API key)
- Scope
- beneficiaries:write
- Idempotency-Key
- Recommended
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/beneficiaries \ -H "Authorization: Bearer nx_test_sk_••••"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
PATCH/v1/beneficiaries/{id}Update beneficiaryAPI-BEN-03
- Purpose
- Update beneficiary
- Authentication
- Bearer token (session or API key)
- Scope
- beneficiaries:write
- Idempotency-Key
- Not applicable
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X PATCH https://api.cards.nesvra.com/v1/beneficiaries/{id} \
-H "Authorization: Bearer nx_test_sk_••••"Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
DELETE/v1/beneficiaries/{id}Remove beneficiaryAPI-BEN-04
- Purpose
- Remove beneficiary
- Authentication
- Bearer token (session or API key)
- Scope
- beneficiaries:write
- Idempotency-Key
- Not applicable
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X DELETE https://api.cards.nesvra.com/v1/beneficiaries/{id} \
-H "Authorization: Bearer nx_test_sk_••••"Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
FX
MOD-16GET/v1/ratesIndicative ratesAPI-FX-01
- Purpose
- Indicative rates
- Authentication
- Bearer token (session or API key)
- Scope
- fx:write
- Idempotency-Key
- Not applicable
- Pagination
- Cursor: limit (max 100), starting_after; has_more
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X GET https://api.cards.nesvra.com/v1/rates \ -H "Authorization: Bearer nx_test_sk_••••"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
POST/v1/fx/quotesRequest firm quoteAPI-FX-02
- Purpose
- Request firm quote
- Authentication
- Bearer token (session or API key)
- Scope
- fx:write
- Idempotency-Key
- Recommended
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/fx/quotes \ -H "Authorization: Bearer nx_test_sk_••••"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
POST/v1/fx/quotes/{id}/acceptAccept quote and convertAPI-FX-03
- Purpose
- Accept quote and convert
- Authentication
- Bearer token (session or API key)
- Scope
- fx:write
- Idempotency-Key
- Required
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/fx/quotes/{id}/accept \
-H "Authorization: Bearer nx_test_sk_••••" \
-H "Idempotency-Key: <uuid>"Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
Virtual accounts
MOD-17GET/v1/virtual-accountsList virtual accountsAPI-VA-01
- Purpose
- List virtual accounts
- Authentication
- Bearer token (session or API key)
- Scope
- accounts:write
- Idempotency-Key
- Not applicable
- Pagination
- Cursor: limit (max 100), starting_after; has_more
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X GET https://api.cards.nesvra.com/v1/virtual-accounts \ -H "Authorization: Bearer nx_test_sk_••••"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
POST/v1/virtual-accountsRequest virtual accountAPI-VA-02
- Purpose
- Request virtual account
- Authentication
- Bearer token (session or API key)
- Scope
- accounts:write
- Idempotency-Key
- Recommended
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/virtual-accounts \ -H "Authorization: Bearer nx_test_sk_••••"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
GET/v1/virtual-accounts/{id}Account detailsAPI-VA-03
- Purpose
- Account details
- Authentication
- Bearer token (session or API key)
- Scope
- accounts:write
- Idempotency-Key
- Not applicable
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X GET https://api.cards.nesvra.com/v1/virtual-accounts/{id} \
-H "Authorization: Bearer nx_test_sk_••••"Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
GET/v1/virtual-accounts/{id}/incomingIncoming paymentsAPI-VA-04
- Purpose
- Incoming payments
- Authentication
- Bearer token (session or API key)
- Scope
- accounts:write
- Idempotency-Key
- Not applicable
- Pagination
- Cursor: limit (max 100), starting_after; has_more
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X GET https://api.cards.nesvra.com/v1/virtual-accounts/{id}/incoming \
-H "Authorization: Bearer nx_test_sk_••••"Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
Cards
MOD-07GET/v1/card-productsCard products availableAPI-CARD-01
- Purpose
- Card products available
- Authentication
- Bearer token (session or API key)
- Scope
- cards:read, cards:write, cards:reveal
- Idempotency-Key
- Not applicable
- Pagination
- Cursor: limit (max 100), starting_after; has_more
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X GET https://api.cards.nesvra.com/v1/card-products \ -H "Authorization: Bearer nx_test_sk_••••"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
GET/v1/cardsList cardsAPI-CARD-02
- Purpose
- List cards
- Authentication
- Bearer token (session or API key)
- Scope
- cards:read, cards:write, cards:reveal
- Idempotency-Key
- Not applicable
- Pagination
- Cursor: limit (max 100), starting_after; has_more
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X GET https://api.cards.nesvra.com/v1/cards \ -H "Authorization: Bearer nx_test_sk_••••"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
POST/v1/cardsCreate cardAPI-CARD-03
- Purpose
- Create card
- Authentication
- Bearer token (session or API key)
- Scope
- cards:read, cards:write, cards:reveal
- Idempotency-Key
- Recommended
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/cards \ -H "Authorization: Bearer nx_test_sk_••••"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
GET/v1/cards/{id}Card detailAPI-CARD-04
- Purpose
- Card detail
- Authentication
- Bearer token (session or API key)
- Scope
- cards:read, cards:write, cards:reveal
- Idempotency-Key
- Not applicable
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X GET https://api.cards.nesvra.com/v1/cards/{id} \
-H "Authorization: Bearer nx_test_sk_••••"Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
POST/v1/cards/{id}/fundFund cardAPI-CARD-05
- Purpose
- Fund card
- Authentication
- Bearer token (session or API key)
- Scope
- cards:read, cards:write, cards:reveal
- Idempotency-Key
- Required
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/cards/{id}/fund \
-H "Authorization: Bearer nx_test_sk_••••" \
-H "Idempotency-Key: <uuid>"Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
POST/v1/cards/{id}/withdrawWithdraw from cardAPI-CARD-06
- Purpose
- Withdraw from card
- Authentication
- Bearer token (session or API key)
- Scope
- cards:read, cards:write, cards:reveal
- Idempotency-Key
- Required
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/cards/{id}/withdraw \
-H "Authorization: Bearer nx_test_sk_••••" \
-H "Idempotency-Key: <uuid>"Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
POST/v1/cards/{id}/freezeFreeze cardAPI-CARD-07
- Purpose
- Freeze card
- Authentication
- Bearer token (session or API key)
- Scope
- cards:read, cards:write, cards:reveal
- Idempotency-Key
- Recommended
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/cards/{id}/freeze \
-H "Authorization: Bearer nx_test_sk_••••"Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
POST/v1/cards/{id}/unfreezeUnfreeze cardAPI-CARD-08
- Purpose
- Unfreeze card
- Authentication
- Bearer token (session or API key)
- Scope
- cards:read, cards:write, cards:reveal
- Idempotency-Key
- Recommended
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/cards/{id}/unfreeze \
-H "Authorization: Bearer nx_test_sk_••••"Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
POST/v1/cards/{id}/closeClose cardAPI-CARD-09
- Purpose
- Close card
- Authentication
- Bearer token (session or API key)
- Scope
- cards:read, cards:write, cards:reveal
- Idempotency-Key
- Recommended
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/cards/{id}/close \
-H "Authorization: Bearer nx_test_sk_••••"Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
POST/v1/cards/{id}/replaceReplace cardAPI-CARD-10
- Purpose
- Replace card
- Authentication
- Bearer token (session or API key)
- Scope
- cards:read, cards:write, cards:reveal
- Idempotency-Key
- Recommended
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/cards/{id}/replace \
-H "Authorization: Bearer nx_test_sk_••••"Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
PUT/v1/cards/{id}/controlsUpdate limits and controlsAPI-CARD-11
- Purpose
- Update limits and controls
- Authentication
- Bearer token (session or API key)
- Scope
- cards:read, cards:write, cards:reveal
- Idempotency-Key
- Not applicable
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X PUT https://api.cards.nesvra.com/v1/cards/{id}/controls \
-H "Authorization: Bearer nx_test_sk_••••"Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
GET/v1/cards/{id}/transactionsCard transactionsAPI-CARD-12
- Purpose
- Card transactions
- Authentication
- Bearer token (session or API key)
- Scope
- cards:read, cards:write, cards:reveal
- Idempotency-Key
- Not applicable
- Pagination
- Cursor: limit (max 100), starting_after; has_more
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X GET https://api.cards.nesvra.com/v1/cards/{id}/transactions \
-H "Authorization: Bearer nx_test_sk_••••"Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
POST/v1/cards/{id}/reveal-tokenIssuer secure display tokenAPI-CARD-13
- Purpose
- Issuer secure display token
- Authentication
- Bearer token (session or API key)
- Scope
- cards:read, cards:write, cards:reveal
- Idempotency-Key
- Recommended
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/cards/{id}/reveal-token \
-H "Authorization: Bearer nx_test_sk_••••"Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
Disputes
MOD-32POST/v1/disputesOpen disputeAPI-DSP-01
- Purpose
- Open dispute
- Authentication
- Bearer token (session or API key)
- Scope
- disputes:write
- Idempotency-Key
- Recommended
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/disputes \ -H "Authorization: Bearer nx_test_sk_••••"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
GET/v1/disputes/{id}Dispute statusAPI-DSP-02
- Purpose
- Dispute status
- Authentication
- Bearer token (session or API key)
- Scope
- disputes:write
- Idempotency-Key
- Not applicable
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X GET https://api.cards.nesvra.com/v1/disputes/{id} \
-H "Authorization: Bearer nx_test_sk_••••"Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
POST/v1/disputes/{id}/evidenceAdd evidenceAPI-DSP-03
- Purpose
- Add evidence
- Authentication
- Bearer token (session or API key)
- Scope
- disputes:write
- Idempotency-Key
- Recommended
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/disputes/{id}/evidence \
-H "Authorization: Bearer nx_test_sk_••••"Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
Vouchers
MOD-18GET/v1/voucher-productsVoucher catalogueAPI-VCH-01
- Purpose
- Voucher catalogue
- Authentication
- Bearer token (session or API key)
- Scope
- vouchers:write
- Idempotency-Key
- Not applicable
- Pagination
- Cursor: limit (max 100), starting_after; has_more
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X GET https://api.cards.nesvra.com/v1/voucher-products \ -H "Authorization: Bearer nx_test_sk_••••"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
POST/v1/vouchersBuy voucherAPI-VCH-02
- Purpose
- Buy voucher
- Authentication
- Bearer token (session or API key)
- Scope
- vouchers:write
- Idempotency-Key
- Required
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/vouchers \ -H "Authorization: Bearer nx_test_sk_••••" \ -H "Idempotency-Key: <uuid>"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
POST/v1/vouchers/redeemRedeem voucherAPI-VCH-03
- Purpose
- Redeem voucher
- Authentication
- Bearer token (session or API key)
- Scope
- vouchers:write
- Idempotency-Key
- Required
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/vouchers/redeem \ -H "Authorization: Bearer nx_test_sk_••••" \ -H "Idempotency-Key: <uuid>"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
GET/v1/vouchersOwned vouchersAPI-VCH-04
- Purpose
- Owned vouchers
- Authentication
- Bearer token (session or API key)
- Scope
- vouchers:write
- Idempotency-Key
- Not applicable
- Pagination
- Cursor: limit (max 100), starting_after; has_more
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X GET https://api.cards.nesvra.com/v1/vouchers \ -H "Authorization: Bearer nx_test_sk_••••"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
POST/v1/voucher-batchesBulk generation (business)API-VCH-05
- Purpose
- Bulk generation (business)
- Authentication
- Bearer token (session or API key)
- Scope
- vouchers:write
- Idempotency-Key
- Required
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/voucher-batches \ -H "Authorization: Bearer nx_test_sk_••••" \ -H "Idempotency-Key: <uuid>"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
Gift cards
MOD-19GET/v1/gift-cardsGift card catalogueAPI-GC-01
- Purpose
- Gift card catalogue
- Authentication
- Bearer token (session or API key)
- Scope
- services:write
- Idempotency-Key
- Not applicable
- Pagination
- Cursor: limit (max 100), starting_after; has_more
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X GET https://api.cards.nesvra.com/v1/gift-cards \ -H "Authorization: Bearer nx_test_sk_••••"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
POST/v1/gift-card-ordersBuy gift cardAPI-GC-02
- Purpose
- Buy gift card
- Authentication
- Bearer token (session or API key)
- Scope
- services:write
- Idempotency-Key
- Required
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/gift-card-orders \ -H "Authorization: Bearer nx_test_sk_••••" \ -H "Idempotency-Key: <uuid>"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
GET/v1/gift-card-orders/{id}Order status and code revealAPI-GC-03
- Purpose
- Order status and code reveal
- Authentication
- Bearer token (session or API key)
- Scope
- services:write
- Idempotency-Key
- Not applicable
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X GET https://api.cards.nesvra.com/v1/gift-card-orders/{id} \
-H "Authorization: Bearer nx_test_sk_••••"Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
Services
MOD-21GET/v1/servicesService catalogueAPI-VAS-01
- Purpose
- Service catalogue
- Authentication
- Bearer token (session or API key)
- Scope
- services:write
- Idempotency-Key
- Not applicable
- Pagination
- Cursor: limit (max 100), starting_after; has_more
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X GET https://api.cards.nesvra.com/v1/services \ -H "Authorization: Bearer nx_test_sk_••••"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
POST/v1/service-ordersBuy airtime, data, bill or eSIMAPI-VAS-02
- Purpose
- Buy airtime, data, bill or eSIM
- Authentication
- Bearer token (session or API key)
- Scope
- services:write
- Idempotency-Key
- Required
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/service-orders \ -H "Authorization: Bearer nx_test_sk_••••" \ -H "Idempotency-Key: <uuid>"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
GET/v1/service-orders/{id}Service order statusAPI-VAS-03
- Purpose
- Service order status
- Authentication
- Bearer token (session or API key)
- Scope
- services:write
- Idempotency-Key
- Not applicable
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X GET https://api.cards.nesvra.com/v1/service-orders/{id} \
-H "Authorization: Bearer nx_test_sk_••••"Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
Business
MOD-08, MOD-09, MOD-10POST/v1/invites/{token}/acceptAccept employee invitationAPI-CORP-01
- Purpose
- Accept employee invitation
- Authentication
- Bearer token (session or API key)
- Scope
- business:*
- Idempotency-Key
- Required
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/invites/{token}/accept \
-H "Authorization: Bearer nx_test_sk_••••" \
-H "Idempotency-Key: <uuid>"Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
GET/v1/employeesList employeesAPI-CORP-02
- Purpose
- List employees
- Authentication
- Bearer token (session or API key)
- Scope
- business:*
- Idempotency-Key
- Not applicable
- Pagination
- Cursor: limit (max 100), starting_after; has_more
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X GET https://api.cards.nesvra.com/v1/employees \ -H "Authorization: Bearer nx_test_sk_••••"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
POST/v1/employeesInvite employeeAPI-CORP-03
- Purpose
- Invite employee
- Authentication
- Bearer token (session or API key)
- Scope
- business:*
- Idempotency-Key
- Recommended
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/employees \ -H "Authorization: Bearer nx_test_sk_••••"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
PATCH/v1/employees/{id}Update employeeAPI-CORP-04
- Purpose
- Update employee
- Authentication
- Bearer token (session or API key)
- Scope
- business:*
- Idempotency-Key
- Not applicable
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X PATCH https://api.cards.nesvra.com/v1/employees/{id} \
-H "Authorization: Bearer nx_test_sk_••••"Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
GET/v1/departmentsDepartmentsAPI-CORP-05
- Purpose
- Departments
- Authentication
- Bearer token (session or API key)
- Scope
- business:*
- Idempotency-Key
- Not applicable
- Pagination
- Cursor: limit (max 100), starting_after; has_more
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X GET https://api.cards.nesvra.com/v1/departments \ -H "Authorization: Bearer nx_test_sk_••••"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
POST/v1/departmentsCreate departmentAPI-CORP-06
- Purpose
- Create department
- Authentication
- Bearer token (session or API key)
- Scope
- business:*
- Idempotency-Key
- Recommended
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/departments \ -H "Authorization: Bearer nx_test_sk_••••"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
GET/v1/projectsProjectsAPI-CORP-07
- Purpose
- Projects
- Authentication
- Bearer token (session or API key)
- Scope
- business:*
- Idempotency-Key
- Not applicable
- Pagination
- Cursor: limit (max 100), starting_after; has_more
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X GET https://api.cards.nesvra.com/v1/projects \ -H "Authorization: Bearer nx_test_sk_••••"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
POST/v1/projectsCreate projectAPI-CORP-08
- Purpose
- Create project
- Authentication
- Bearer token (session or API key)
- Scope
- business:*
- Idempotency-Key
- Recommended
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/projects \ -H "Authorization: Bearer nx_test_sk_••••"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
GET/v1/budgetsBudgetsAPI-CORP-09
- Purpose
- Budgets
- Authentication
- Bearer token (session or API key)
- Scope
- business:*
- Idempotency-Key
- Not applicable
- Pagination
- Cursor: limit (max 100), starting_after; has_more
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X GET https://api.cards.nesvra.com/v1/budgets \ -H "Authorization: Bearer nx_test_sk_••••"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
POST/v1/budgetsAllocate budgetAPI-CORP-10
- Purpose
- Allocate budget
- Authentication
- Bearer token (session or API key)
- Scope
- business:*
- Idempotency-Key
- Recommended
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/budgets \ -H "Authorization: Bearer nx_test_sk_••••"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
GET/v1/expensesExpensesAPI-CORP-11
- Purpose
- Expenses
- Authentication
- Bearer token (session or API key)
- Scope
- business:*
- Idempotency-Key
- Not applicable
- Pagination
- Cursor: limit (max 100), starting_after; has_more
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X GET https://api.cards.nesvra.com/v1/expenses \ -H "Authorization: Bearer nx_test_sk_••••"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
POST/v1/expensesSubmit expenseAPI-CORP-12
- Purpose
- Submit expense
- Authentication
- Bearer token (session or API key)
- Scope
- business:*
- Idempotency-Key
- Recommended
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/expenses \ -H "Authorization: Bearer nx_test_sk_••••"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
POST/v1/expenses/{id}/receiptAttach receiptAPI-CORP-13
- Purpose
- Attach receipt
- Authentication
- Bearer token (session or API key)
- Scope
- business:*
- Idempotency-Key
- Recommended
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/expenses/{id}/receipt \
-H "Authorization: Bearer nx_test_sk_••••"Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
GET/v1/approvalsPending approvalsAPI-CORP-14
- Purpose
- Pending approvals
- Authentication
- Bearer token (session or API key)
- Scope
- business:*
- Idempotency-Key
- Not applicable
- Pagination
- Cursor: limit (max 100), starting_after; has_more
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X GET https://api.cards.nesvra.com/v1/approvals \ -H "Authorization: Bearer nx_test_sk_••••"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
POST/v1/approvals/{id}/decideApprove or rejectAPI-CORP-15
- Purpose
- Approve or reject
- Authentication
- Bearer token (session or API key)
- Scope
- business:*
- Idempotency-Key
- Required
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/approvals/{id}/decide \
-H "Authorization: Bearer nx_test_sk_••••" \
-H "Idempotency-Key: <uuid>"Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
Batches
MOD-14POST/v1/payment-batchesCreate batchAPI-BAT-01
- Purpose
- Create batch
- Authentication
- Bearer token (session or API key)
- Scope
- payments:write
- Idempotency-Key
- Required
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/payment-batches \ -H "Authorization: Bearer nx_test_sk_••••" \ -H "Idempotency-Key: <uuid>"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
POST/v1/payment-batches/{id}/submitSubmit batch for approvalAPI-BAT-02
- Purpose
- Submit batch for approval
- Authentication
- Bearer token (session or API key)
- Scope
- payments:write
- Idempotency-Key
- Required
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/payment-batches/{id}/submit \
-H "Authorization: Bearer nx_test_sk_••••" \
-H "Idempotency-Key: <uuid>"Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
GET/v1/payment-batches/{id}Batch statusAPI-BAT-03
- Purpose
- Batch status
- Authentication
- Bearer token (session or API key)
- Scope
- payments:write
- Idempotency-Key
- Not applicable
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X GET https://api.cards.nesvra.com/v1/payment-batches/{id} \
-H "Authorization: Bearer nx_test_sk_••••"Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
POST/v1/payment-batches/{id}/retryRetry failed itemsAPI-BAT-04
- Purpose
- Retry failed items
- Authentication
- Bearer token (session or API key)
- Scope
- payments:write
- Idempotency-Key
- Required
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/payment-batches/{id}/retry \
-H "Authorization: Bearer nx_test_sk_••••" \
-H "Idempotency-Key: <uuid>"Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
Recurring
MOD-27GET/v1/recurringRecurring schedulesAPI-REC-01
- Purpose
- Recurring schedules
- Authentication
- Bearer token (session or API key)
- Scope
- payments:write
- Idempotency-Key
- Not applicable
- Pagination
- Cursor: limit (max 100), starting_after; has_more
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X GET https://api.cards.nesvra.com/v1/recurring \ -H "Authorization: Bearer nx_test_sk_••••"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
POST/v1/recurringCreate scheduleAPI-REC-02
- Purpose
- Create schedule
- Authentication
- Bearer token (session or API key)
- Scope
- payments:write
- Idempotency-Key
- Recommended
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/recurring \ -H "Authorization: Bearer nx_test_sk_••••"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
POST/v1/recurring/{id}/pausePauseAPI-REC-03
- Purpose
- Pause
- Authentication
- Bearer token (session or API key)
- Scope
- payments:write
- Idempotency-Key
- Recommended
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/recurring/{id}/pause \
-H "Authorization: Bearer nx_test_sk_••••"Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
POST/v1/recurring/{id}/resumeResumeAPI-REC-04
- Purpose
- Resume
- Authentication
- Bearer token (session or API key)
- Scope
- payments:write
- Idempotency-Key
- Recommended
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/recurring/{id}/resume \
-H "Authorization: Bearer nx_test_sk_••••"Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
POST/v1/recurring/{id}/cancelCancelAPI-REC-05
- Purpose
- Cancel
- Authentication
- Bearer token (session or API key)
- Scope
- payments:write
- Idempotency-Key
- Recommended
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/recurring/{id}/cancel \
-H "Authorization: Bearer nx_test_sk_••••"Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
Merchant
MOD-22GET/v1/payment-linksPayment linksAPI-MER-01
- Purpose
- Payment links
- Authentication
- Bearer token (session or API key)
- Scope
- merchant:*
- Idempotency-Key
- Not applicable
- Pagination
- Cursor: limit (max 100), starting_after; has_more
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X GET https://api.cards.nesvra.com/v1/payment-links \ -H "Authorization: Bearer nx_test_sk_••••"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
POST/v1/payment-linksCreate payment linkAPI-MER-02
- Purpose
- Create payment link
- Authentication
- Bearer token (session or API key)
- Scope
- merchant:*
- Idempotency-Key
- Recommended
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/payment-links \ -H "Authorization: Bearer nx_test_sk_••••"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
GET/v1/paymentsCollectionsAPI-MER-03
- Purpose
- Collections
- Authentication
- Bearer token (session or API key)
- Scope
- merchant:*
- Idempotency-Key
- Not applicable
- Pagination
- Cursor: limit (max 100), starting_after; has_more
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X GET https://api.cards.nesvra.com/v1/payments \ -H "Authorization: Bearer nx_test_sk_••••"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
POST/v1/payments/{id}/refundRefund collectionAPI-MER-04
- Purpose
- Refund collection
- Authentication
- Bearer token (session or API key)
- Scope
- merchant:*
- Idempotency-Key
- Required
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/payments/{id}/refund \
-H "Authorization: Bearer nx_test_sk_••••" \
-H "Idempotency-Key: <uuid>"Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
GET/v1/settlementsSettlementsAPI-MER-05
- Purpose
- Settlements
- Authentication
- Bearer token (session or API key)
- Scope
- merchant:*
- Idempotency-Key
- Not applicable
- Pagination
- Cursor: limit (max 100), starting_after; has_more
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X GET https://api.cards.nesvra.com/v1/settlements \ -H "Authorization: Bearer nx_test_sk_••••"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
GET/v1/settlements/{id}Settlement detailAPI-MER-06
- Purpose
- Settlement detail
- Authentication
- Bearer token (session or API key)
- Scope
- merchant:*
- Idempotency-Key
- Not applicable
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X GET https://api.cards.nesvra.com/v1/settlements/{id} \
-H "Authorization: Bearer nx_test_sk_••••"Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
Transactions
MOD-37GET/v1/transactionsTransactionsAPI-TXN-01
- Purpose
- Transactions
- Authentication
- Bearer token (session or API key)
- Scope
- transactions:read
- Idempotency-Key
- Not applicable
- Pagination
- Cursor: limit (max 100), starting_after; has_more
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X GET https://api.cards.nesvra.com/v1/transactions \ -H "Authorization: Bearer nx_test_sk_••••"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
GET/v1/transactions/{id}Transaction detailAPI-TXN-02
- Purpose
- Transaction detail
- Authentication
- Bearer token (session or API key)
- Scope
- transactions:read
- Idempotency-Key
- Not applicable
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X GET https://api.cards.nesvra.com/v1/transactions/{id} \
-H "Authorization: Bearer nx_test_sk_••••"Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
POST/v1/statementsGenerate statementAPI-TXN-03
- Purpose
- Generate statement
- Authentication
- Bearer token (session or API key)
- Scope
- transactions:read
- Idempotency-Key
- Recommended
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/statements \ -H "Authorization: Bearer nx_test_sk_••••"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
Developer
MOD-36GET/v1/webhook-endpointsWebhook endpointsAPI-DEV-01
- Purpose
- Webhook endpoints
- Authentication
- Bearer token (session or API key)
- Scope
- developer:*
- Idempotency-Key
- Not applicable
- Pagination
- Cursor: limit (max 100), starting_after; has_more
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X GET https://api.cards.nesvra.com/v1/webhook-endpoints \ -H "Authorization: Bearer nx_test_sk_••••"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
POST/v1/webhook-endpointsCreate endpointAPI-DEV-02
- Purpose
- Create endpoint
- Authentication
- Bearer token (session or API key)
- Scope
- developer:*
- Idempotency-Key
- Recommended
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/webhook-endpoints \ -H "Authorization: Bearer nx_test_sk_••••"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
DELETE/v1/webhook-endpoints/{id}Delete endpointAPI-DEV-03
- Purpose
- Delete endpoint
- Authentication
- Bearer token (session or API key)
- Scope
- developer:*
- Idempotency-Key
- Not applicable
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X DELETE https://api.cards.nesvra.com/v1/webhook-endpoints/{id} \
-H "Authorization: Bearer nx_test_sk_••••"Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
POST/v1/webhook-endpoints/{id}/testSend test eventAPI-DEV-04
- Purpose
- Send test event
- Authentication
- Bearer token (session or API key)
- Scope
- developer:*
- Idempotency-Key
- Recommended
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/webhook-endpoints/{id}/test \
-H "Authorization: Bearer nx_test_sk_••••"Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
GET/v1/eventsEvent logAPI-DEV-05
- Purpose
- Event log
- Authentication
- Bearer token (session or API key)
- Scope
- developer:*
- Idempotency-Key
- Not applicable
- Pagination
- Cursor: limit (max 100), starting_after; has_more
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X GET https://api.cards.nesvra.com/v1/events \ -H "Authorization: Bearer nx_test_sk_••••"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
Sandbox simulators
MOD-36POST/v1/sandbox/card-authorisationsSimulate card authorisationAPI-SBX-01
- Purpose
- Simulate card authorisation
- Authentication
- Bearer token (session or API key)
- Scope
- sandbox keys only
- Idempotency-Key
- Recommended
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/sandbox/card-authorisations \ -H "Authorization: Bearer nx_test_sk_••••"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
POST/v1/sandbox/deposits/{id}/completeSimulate deposit completionAPI-SBX-02
- Purpose
- Simulate deposit completion
- Authentication
- Bearer token (session or API key)
- Scope
- sandbox keys only
- Idempotency-Key
- Recommended
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/sandbox/deposits/{id}/complete \
-H "Authorization: Bearer nx_test_sk_••••"Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
POST/v1/sandbox/incoming-paymentsSimulate incoming paymentAPI-SBX-03
- Purpose
- Simulate incoming payment
- Authentication
- Bearer token (session or API key)
- Scope
- sandbox keys only
- Idempotency-Key
- Recommended
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/sandbox/incoming-payments \ -H "Authorization: Bearer nx_test_sk_••••"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
POST/v1/sandbox/payouts/{id}/returnSimulate payout returnAPI-SBX-04
- Purpose
- Simulate payout return
- Authentication
- Bearer token (session or API key)
- Scope
- sandbox keys only
- Idempotency-Key
- Recommended
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/sandbox/payouts/{id}/return \
-H "Authorization: Bearer nx_test_sk_••••"Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])
APP
MOD-46POST/v1/app/eventsDownload click and install detectedAPI-APP-04
- Purpose
- Download click and install detected
- Authentication
- None (public, rate limited)
- Scope
- public cacheable / staff
- Idempotency-Key
- Recommended
- Pagination
- None
- Status
- Proposed Proposed (Phase 2). Preview adapter only in Phase 1
Example
curl -X POST https://api.cards.nesvra.com/v1/app/events \ -H "Authorization: Bearer nx_test_sk_••••"
Errors: Problem-details JSON (type, title, status, detail, code, request_id, errors[])