Convert standard escrow to milestone
Converts an existing standard escrow into a milestone escrow by splitting its amount into milestones (JSON body, no file upload). Supply amount to set a new escrow amount, or omit it to keep the current one — either way the sum of milestone amounts must equal the target amount, and there must be at least 2 milestones. Conversion forces the escrow to be buyer-paid (whoPays becomes buyer) and recalculates the fee. Allowed only while the escrow is still AWAITING_PAYMENT, and only by the seller that created it. 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
Splits a standard escrow's amount into milestones. amount is optional: supply it to set a new escrow amount, or omit it to keep the escrow's current amount. Either way the milestone amounts must sum to the target amount.