Skip to main content
POST
Declare vault winner

Authorizations

Authorization
string
header
required

Your secret key as a Bearer token. The key prefix selects the environment: sk_test_... (test) or sk_live_... (live).

Path Parameters

paymentToken
string
required

The escrow's payment token (e.g. PY_8AB12C9D3045).

Body

application/json
winnerId
string
required

The winning participant's customerId.

Example:

"665f1b2c9a1e4d0012ab3c40"

Response

Winner paid; vault completed.

status
integer
Example:

200

message
string
Example:

"Operation successful"

data
object