Simulate guarantee claim
curl -X POST "https://api.52-28-238-205.sslip.io/v1/guarantee/simulate-claim" \ -H "Cookie: <console session cookie>" \ -H "Content-Type: application/json" \ -d '{"amount_base_units":"50000"}'Records a simulated claim against the Guarantee pool, optionally tied to a dispute, and posts it to the simulated ledger. Requires reconcile; not available to merchants; the amount must be between 1 and the pool balance.
https://api.52-28-238-205.sslip.ioAuthorization
sessionCookie: <console session cookie>apiKeyAuthorization: Bearer sk_test_...
Body
application/json · required. Fields are listed under Request body below.
finance. The caller must hold this permission, or the call is refused with 403.uapg_session<token>Console session cookie (HttpOnly, SameSite=Lax)
application/json- body
amount_base_units*Amount Base UnitsAmount in integer base units, carried as a string (USDC and USDT have 6 decimals: "50000" = 0.05).
dispute_id?|Dispute id (dsp_...).
Success.
application/json- response
simulated?SimulatedTrue when the figure is simulated and no funds move.
trueclaim*pool*ledger_txn_id*Ledger Txn Id[key: string]?anyGETGet guarantee pool
Returns the simulated Guarantee pool balance and the caller's claims, newest first. Simulated: no funds move. Requires ledger:read.
GETList ledger accounts
Lists the caller's ledger accounts with debits, credits and balance, per asset. Amounts are integer strings. Requires ledger:read.