settlementType: VAULT and carries a participants[] array. See
Vault escrows for the concept.
There is no funding step and no dispute flow. The vault is created already
funded (every stake is verified and locked in the create call), and settlement
is entirely merchant-driven: you are expected to verify the outcome off-platform
before declaring the winner.
Endpoints
How a vault escrow flows
1
Create with participants (merchant)
POST /v1/escrow/vault/create with a participants[] array of
{ customerId, amount }. Each stake is debited from the customer’s main
balance and locked in their own escrow balance; the vault is born
OPENED / ONGOING.2
The event plays out (off-platform)
Your customers compete, bet, or complete whatever the vault was staked on.
You verify the outcome yourself; Payluk does not arbitrate vaults.
3
Declare the winner (merchant)
POST …/vault/winner/{paymentToken} with { winnerId }. The winner’s main
balance is credited with the pot minus the fee; the vault closes as
COMPLETED.4
Or cancel
POST …/vault/cancel/{paymentToken} returns every stake minus its pro-rata
fee share and closes the vault as REFUNDED.