payments

Create Performance Escrow

post/v1/payments/escrows/performance

Request

  • Base URL: https://api.greenhelix.net (the document declares no server; this is the origin it was published from)
  • URL: https://api.greenhelix.net/v1/payments/escrows/performance
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key
    • API key in header X-PAYMENT

Request body

payerstring required
payeestring required
metric_namestring required
thresholdstring required
descriptionstring
conditionsobject nullable

Example request

{
  "amount": "25.00",
  "conditions": {
    "min_samples": 100
  },
  "description": "ML model delivery",
  "metric_name": "accuracy",
  "payee": "agent-bob",
  "payer": "agent-alice",
  "threshold": ">=0.95"
}

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.