SET API · Prefunding
Ask a provider to quote a milestone
POST/v1/prefunding/quotes
For a funded escrow's open or submitted milestone not already pledged (409 milestone_already_pledged). Answers the provider's numbers and assignment: the typed data the seller signs. 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
escrowstringrequired- esc_…
milestonestringrequired- esm_…
providerstringrequired- pfp_…
Errors
503 escrow_disabled403 escrow_off503 prefunding_disabled403 prefunding_off404 escrow_unknown404 milestone_unknown400 provider_invalid404 provider_unknown409 escrow_not_funded409 milestone_already_pledged409 milestone_settled409 provider_declined