SET API · Prefunding
Take a quote: assign the milestone's payout
POST/v1/prefunding/advances
The seller's signature over the quote's assignment. In one transaction SET records it, writes the advance and locks the milestone's payout to the provider's repayment address; a milestone already pledged answers 409 milestone_already_pledged and nothing is written. The lock binds what SET proposes; the Safe's owners can still sign any transaction on chain. 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.
Headers
Idempotency-Keystring- Any unique string, so a retry runs once. See Idempotency.
Body
quotestringrequired- pfq_…
signaturestringrequired- A 65-byte secp256k1 signature from eth_signTypedData_v4: 0x and 130 hex characters, v 27 or 28.
Errors
503 escrow_disabled403 escrow_off503 prefunding_disabled403 prefunding_off404 quote_unknown409 quote_expired404 provider_unknown409 escrow_not_funded422 signature_not_seller409 milestone_already_pledged