The sandbox balance is virtual. Sandbox payments move to available_amount at once, without waiting for a value date, so you can test withdrawals right away.
The live balance comes from real collections. A payment waits in pending_settlement_amount until its value date, then moves to available_amount.
GET/api/v3/balance
Get balance
Response · 200
Balance summary.
Balance
Field
Type
Required
Description
currency_code
string
Required
Configured platform base currency.
USDEURAEDTRY
available_amount
string
Required
Combined available balance across link, API and store wallets. A sandbox key reads the isolated virtual API wallet instead.
pending_settlement_amount
string
Required
Collected but not yet settled (value date pending). Always 0.00 with a sandbox key, because sandbox payments do not wait for a value date.
environment
string
Required
Environment the figures belong to (the environment of the signing key).
Combined available link, API and store balance; POST /withdrawals can debit only the API wallet and applies additional checks. A sandbox key reads the isolated virtual API wallet.
can_withdraw
boolean
Required
False if any wallet bucket is negative.
environment
string
Required
Environment the figures belong to (the environment of the signing key).
In live, HTTP 202 means the request was received, not that the refund is done. Follow the result through the status endpoints: requested, then awaiting_provider_manual, then completed; or rejected / cancelled.
In sandbox a request is finalized immediately (completed by default). Send X-CAV-Sandbox-Scenario: rejected to test a rejected refund.
Live requests are reviewed. Track the returned reversal until it is completed, rejected or cancelled. refund reverses a settled payment; void cancels one that is not final. Only a completed refund sends payment.refunded; track a void with GET.
POST/api/v3/refundsIdempotency-Key required
Request a refund or void
Parameters
Field
Type
Required
Description
X-CAV-Sandbox-Scenario
string · header
Optional
Sandbox keys only. Selects the simulated outcome: completed (default) or rejected (no effect on the virtual wallet). A live key that sends this header, or any other value, gets 422 1000001. The header is not part of the signed string; it is part of the Idempotency-Key fingerprint, so reusing a key with another scenario returns 9000010. The applied scenario is echoed in the response header of the same name.
completedrejected
Request body
Field
Type
Required
Description
payment_code
string
Required
Code of the successfully paid payment to reverse.
maxLength 16
operation_type
string
Required
refund returns a settled payment; void cancels a card collection that is not yet finalised. Both open a reversal request (status requested). An operator reviews it; once approved, the amount is reserved from your balance and the status is awaiting_provider_manual until the provider refund reference is recorded (completed); otherwise the request ends rejected or cancelled (the reserve is released). This endpoint does not call the provider.
Reversal requested. It is reviewed and sent to the provider manually. With a sandbox key the simulated result is returned (environmentsandbox); an idempotent replay also returns 202.
Reversal
Field
Type
Required
Description
id
string
Required
Reversal request identifier (UUID).
operation
string
Required
Operation type.
refundvoid
status
string
Required
Reversal lifecycle: requested (waiting for an operator) → awaiting_provider_manual (approved; the amount is reserved until the provider refund reference is recorded) → completed, or rejected / cancelled (the reserve is released). processing and failed are reserved values that are not used for payment reversals today. With a sandbox key the status is final at once: completed (default) or rejected.
Full amount of the reversed payment, in the payment's own currency (the same amount and currency as the payment and its payment.refunded webhook), as a decimal string with 2 fraction digits. A requested status does not mean funds have moved.
currency
string
Required
Currency of amount: the currency_code of the reversed payment.
reason
string
Required
Reason you provided.
provider_reference
string | null
Required
Provider refund reference, filled when the real-POS refund is completed. In sandbox a synthetic reference starting with SBX- is returned when the simulated reversal completes; it is not a provider record.
provider_refunded_at
string · date-time | null
Required
When the provider refund was recorded (UTC). Null until manual completion.
created_at
string · date-time
Required
Request time (UTC).
updated_at
string · date-time | null
Required
Last status change (UTC).
payment_code
string | null
Required
Code of the payment this reversal belongs to (the code returned when the payment was created).
environment
string
Required
Environment of the reversal (the environment of the signing key).
When a refund completes, a signed payment.refunded notification is sent to the payment's webhook URL. Headers, signature and retries are the same as in Webhooks. A void sends no notification.
POSTpayment.refunded
Signed payment.refunded notification to the merchant URL
Request body
Field
Type
Required
Description
event_id
string · uuid
Required
event_type
string
Required
payment.refunded
environment
string
Required
sandboxlive
occurred_at
string · date-time
Required
refund
object
Required
refund.public_id
string · uuid
Required
refund.status
string
Required
completed
refund.amount
string
Required
Positive amount as a fixed-scale decimal string with 2 decimals. "0.00" is not accepted.
refund.currency_code
string
Required
Fiat currency code, limited to the four supported currencies.
In live, HTTP 201 means the request was accepted and the amount is held, not that the USDT was sent. Check status and tx_hash, and double-check the address: a transfer on the chain cannot be reversed.
A sandbox withdrawal debits the virtual balance and never sends anything on the chain. It follows the same rules as live, including the minimum, the daily cap and the conversion rate. Send X-CAV-Sandbox-Scenario: rejected to test a rejection. The sandbox accepts the TRON zero address as a destination; live rejects burn addresses with 1000030.
The minimum and the daily cap are set per account by Manuell; below the minimum the API returns 9000019, above the cap 9000021. In live, an operator of Manuell sends the USDT and records tx_hash (sent), or rejects the request with a reason (rejected) and the amount returns to your balance.
POST/api/v3/withdrawalsIdempotency-Key required
Request a USDT withdrawal
Parameters
Field
Type
Required
Description
X-CAV-Sandbox-Scenario
string · header
Optional
Sandbox keys only. Selects the simulated outcome: sent (default) or rejected (no effect on the virtual wallet). A live key that sends this header, or any other value, gets 422 1000001. The header is not part of the signed string; it is part of the Idempotency-Key fingerprint, so reusing a key with another scenario returns 9000010. The applied scenario is echoed in the response header of the same name.
sentrejected
Request body
Field
Type
Required
Description
amount
string
Required
Amount to hold from the API wallet, in the configured platform base currency, as a decimal string with 2 fraction digits. The minimum amount and the daily cap are set per account by the platform operator: an amount below the minimum returns 9000019 and one above the daily cap returns 9000021. Ask your account manager for your limits.
address
string
Required
Your own checked TRON address for a USDT TRC20 payout. The example is a placeholder and will be rejected unchanged.
maxLength 64
address_acknowledged
boolean
Required
Must be true — you confirm the destination address is correct and irreversible.
Withdrawal requested. Balance is held; the on-chain send is performed manually. With a sandbox key the simulated result is returned (environmentsandbox); an idempotent replay also returns 201.
Withdrawal
Field
Type
Required
Description
id
string
Required
Withdrawal request identifier (UUID).
status
string
Required
Withdrawal lifecycle status: requested → sent or rejected. The on-chain send is performed manually by the platform operator. With a sandbox key the status is final at once: sent (default) or rejected.
requestedsentrejected
amount
string
Required
Amount requested and held from the API wallet, in the platform base currency, as a decimal string with 2 fraction digits; it is not a USDT amount.
currency
string
Required
Base currency the amount is expressed in.
asset
string
Required
Payout asset (USDT).
network
string
Required
Payout network (TRC20).
address
string
Required
Destination address you provided.
usdt_amount
string
Required
USDT amount calculated when the request is accepted, as a fixed-scale decimal string with 6 fraction digits. This field alone does not confirm a chain transfer.
tx_hash
string | null
Required
On-chain transaction hash, filled after the send. In sandbox a synthetic 64-character hash is returned for a sent withdrawal; no chain transfer takes place.
rejection_reason
string | null
Required
Reason, filled if rejected. In sandbox a rejected withdrawal carries Sandbox scenario: rejected.
requested_at
string · date-time
Required
Request time (UTC).
processed_at
string · date-time | null
Required
When it was sent or rejected (UTC).
created_at
string · date-time
Required
Record creation time (UTC).
environment
string
Required
Environment of the withdrawal (the environment of the signing key).
Disputes come from the card networks, so in sandbox you create a test dispute yourself with POST /api/v3/sandbox/disputes. See Testing account operations.
Manuell records a dispute when the bank notifies it. The disputed amount is deducted from your balance (the balance can go negative and can_withdraw becomes false) and is restored if you win. Send your evidence before evidence_due_at; a new Idempotency-Key replaces your earlier note while the dispute is open.
Deadline to submit evidence (UTC). A sandbox dispute stays open for evidence for 7 days after creation.
evidence_submitted_at
string · date-time | null
Required
When the platform submitted the defense to the bank.
merchant_evidence_note
string | null
Required
The note you submitted.
merchant_evidence_submitted_at
string · date-time | null
Required
When you submitted your note.
resolved_at
string · date-time | null
Required
When the dispute closed.
created_at
string · date-time
Required
Record creation time (UTC).
payment_code
string | null
Required
Code of the API payment the dispute belongs to (the code returned when the payment was created); null when the dispute is not linked to an API payment.
environment
string
Required
Environment of the dispute (the environment of the signing key).
The address that receives notifications is set per environment on “API Key & Integration”. The endpoints below list deliveries and requeue failed ones.
Event type of the delivery: payment.paid, payment.refunded or payment.failed. A failed attempt is non-terminal; its payment remains created and may later be paid.
status
string
Delivery status.
pendingdeliveredfailed
payment_code
string | null
Related payment code, if any.
attempt_count
integer
Number of delivery attempts so far.
last_status_code
integer | null
HTTP status of the last attempt.
last_error
string | null
Legacy raw delivery error; use last_error_code and last_error_message.
Event type of the delivery: payment.paid, payment.refunded or payment.failed. A failed attempt is non-terminal; its payment remains created and may later be paid.
status
string
Delivery status.
pendingdeliveredfailed
payment_code
string | null
Related payment code, if any.
attempt_count
integer
Number of delivery attempts so far.
last_status_code
integer | null
HTTP status of the last attempt.
last_error
string | null
Legacy raw delivery error; use last_error_code and last_error_message.
last_error is a legacy field; use last_error_code in new integrations.
Field
Description
invalid_webhook_target
The webhook target is invalid.
webhook_target_private_network
The webhook target resolves to a private network.
webhook_environment_invalid
The webhook environment is invalid.
webhook_signing_unavailable
The webhook could not be signed.
webhook_response_unsuccessful
The target returned a non-2xx response.
webhook_egress_proxy_unreachable
The delivery egress proxy is unreachable.
webhook_unreachable
The webhook target is unreachable.
webhook_delivery_failed
The webhook delivery failed.
Service status and maintenance
Some services can be put under maintenance temporarily. Only new work is affected; this section shows what stops, what keeps working and how to check the status.
GET/api/v3/service-statusPublic
Get service status
Response · 200
Services under maintenance (the list can be empty).
Services that are under maintenance right now; an empty list means none is.
ServiceStatusItem
Field
Type
Required
Description
service
string
Required
Service code: api_collection (payments created through the API and their payment pages), withdrawals (withdrawal requests), or one of link_collection, storefront, usdt_sales and balance_load (other services of the platform).
Estimated return time (UTC, ISO-8601), or null. It is only an estimate: maintenance does not end by itself, and once the time has passed the field is null.
note
string | null
Required
Short plain-text message from the platform operator, or null.
Refund and withdrawal requests use the same endpoints and bodies as live. To choose the outcome, add the optional X-CAV-Sandbox-Scenario header. It is not part of the signature. On a live key the header is rejected with 422 (1000001) so that a test can never become a real request.
X-CAV-Sandbox-Scenario
X-CAV-Sandbox-Scenario: rejected
Endpoint
Header values
Default
Effect
POST /api/v3/refunds
completedrejected
completed
completed finalizes the refund and debits the virtual balance; rejected records the rejection and changes nothing.
POST /api/v3/withdrawals
sentrejected
sent
sent debits the virtual balance and fills tx_hash with a placeholder value; rejected releases the amount.
POST /api/v3/sandbox/disputes
openwonlost
open
Set in the request body, not in a header. open, won or lost.
Test dispute
Disputes come from the card networks and cannot be started from your side in live. This is the only sandbox-only endpoint: it creates a test dispute for a paid sandbox payment and returns the same Dispute object as live.