Edit milestone escrow
Replaces the details and the full milestone set of a milestone escrow (JSON body, no file upload). Editable only while the escrow is still AWAITING_PAYMENT, and only by the seller that created it. The same rules as creation apply: at least 2 milestones, every milestone amount is a positive integer, and the sum of milestone amounts must equal amount. The platform fee is recalculated from the new amount and the milestone ids are regenerated. Requires the customer-id header (the seller).
Authorizations
Your secret key as a Bearer token. The key prefix selects the environment: sk_test_... (test) or sk_live_... (live).
Headers
The merchant customer this request acts on behalf of.
Path Parameters
The escrow's payment token (e.g. PY_8AB12C9D3045).
Body
1000000
"Company website build"
For milestone escrows the buyer always pays the Payluk fee; buyer is the only accepted value.
buyer "buyer"
At least 2 milestones whose amounts sum to amount.
2"3-phase delivery"
30
minutes, hours, days "days"
1
"665f1b2c9a1e4d0012ab3c30"