SET API · Prefunding
Cancel an advance before it is disbursed
POST/v1/prefunding/advances/{advance}/cancel
Only while requested (409 advance_disbursed). The milestone's payout returns to the seller's wallet. 503 escrow_disabled while SET Escrow is switched off for this deployment (GET /v1/capabilities features.escrow.status says which). 403 escrow_off while SET Escrow for this account is switched off for this deployment (GET /v1/capabilities features.escrow.status says which). 503 prefunding_disabled while Trade-finance prefunding is switched off for this deployment (GET /v1/capabilities features.tradeFinancePrefunding.status says which). 403 prefunding_off while Trade-finance prefunding for this account is switched off for this deployment (GET /v1/capabilities features.tradeFinancePrefunding.status says which).
From the OpenAPI document This page is written from the wallet's OpenAPI document (release
2026-11-23): its summary, scope, account type and fields.
Path parameters
advancestringrequired
Headers
Idempotency-Keystring- Any unique string, so a retry runs once. See Idempotency.
Errors
503 escrow_disabled403 escrow_off503 prefunding_disabled403 prefunding_off404 advance_unknown409 advance_disbursed409 provider_refused_cancel