R

RunOnProof · Decision Gates Release Payment TO Supplier

by RunOnProof

POSTBase

$0.79

per call · USD Coin on Base

RunOnProof Payment Decision decides whether to release a US supplier payment before funds move. 0.79 USDC: scoped checks, reasons, evidence and signed proof binding supplier, invoice digest, amount, payee/destination and mandate. FEDERAL_ONLY. No state checks, bank ownership or invoice authenticity guarantee; never executes payment. HOLD/UNDETERMINED are not permission to pay; HOLD may be paid. Recover the same acquired result without paying again. See the provider guide.

Endpoint

POST https://api.runonproof.com/v1/us/decision-gates/release-payment-to-supplier

6

Calls / 30d

4

Unique payers / 30d

Sep 10

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://api.runonproof.com/v1/us/decision-gates/release-payment-to-supplier", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "amount": "1000.00",
    "buyer": {
      "organization_digest": "sha256:1111111111111111111111111111111111111111111111111111111111111111",
      "organization_id": "buyer_org_example"
    },
    "buyer_mandate": {
      "mandate_digest": "sha256:4444444444444444444444444444444444444444444444444444444444444444",
      "payload": {
        "buyer_organization": "buyer_org_example",
        "buyer_organization_digest": "sha256:1111111111111111111111111111111111111111111111111111111111111111",
        "currency": "USD",
        "issuer": "buyer_org_example",
        "key_id": "buyer_mandate_key_example",
        "mandate_id": "mandate_example_001",
        "mandate_version": "1.0.0",
        "max_decision_fee_atomic": "790000",
        "max_payment_amount": "1000.00",
        "nonce": "example_nonce_001",
        "payee_fingerprint": "sha256:3333333333333333333333333333333333333333333333333333333333333333",
        "permitted_intent": "RELEASE_PAYMENT_TO_SUPPLIER",
        "request_digest": "sha256:2222222222222222222222222222222222222222222222222222222222222222",
        "revocation_reference": "https://buyer.example/m/example",
        "schema_version": "1.0.0",
        "subject_agent_id": "buyer_agent_example",
        "supplier_entity_id": "supplier_example",
        "valid_from": "2026-09-02T00:00:00.000Z",
        "valid_until": "2026-09-03T00:00:00.000Z"
      },
      "signature": {
        "algorithm": "Ed25519",
        "canonicalization": "ROP-C14N-JSON-1",
        "issuer": "buyer_org_example",
        "key_id": "buyer_mandate_key_example",
        "value": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
      }
    },
    "correlation": {
      "correlation_id": "correlation_example_001",
      "trace_id": "trace_example_001"
    },
    "coverage": "FEDERAL_ONLY",
    "coverage_requirements": {
      "coverage": "FEDERAL_ONLY",
      "jurisdiction": "US"
    },
    "currency": "USD",
    "decision_fee_payer": "0x0000000000000000000000000000000000000002",
    "disclosure": {
      "audience_digest": "sha256:8888888888888888888888888888888888888888888888888888888888888888",
      "profile": "buyer_private"
    },
    "economic_purpose": "Pay supplier invoice",
    "evidence_references": [
      "sha256:9999999999999999999999999999999999999999999999999999999999999999"
    ],
    "exposure_valuation_basis": "Buyer-declared USD exposure.",
    "freshness_requirements": {
      "evaluated_at": "2026-09-02T12:00:00.000Z",
      "max_age_seconds": 86400
    },
    "idempotency_key": "decision_example_001",
    "intent": "RELEASE_PAYMENT_TO_SUPPLIER",
    "invoice": {
      "document_digest": "sha256:6666666666666666666666666666666666666666666666666666666666666666",
      "obligation_id": "invoice_example_001"
    },
    "jurisdiction": "US",
    "payee": {
      "fingerprint": "sha256:3333333333333333333333333333333333333333333333333333333333333333",
      "type": "WALLET",
      "value": "0x0000000000000000000000000000000000000001"
    },
    "payment_destination": {
      "fingerprint": "sha256:3333333333333333333333333333333333333333333333333333333333333333",
      "type": "WALLET",
      "value": "0x0000000000000000000000000000000000000001"
    },
    "payment_exposure_usdc_equivalent_atomic": "1000000000",
    "payment_instruction_digest": "sha256:7777777777777777777777777777777777777777777777777777777777777777",
    "requesting_agent": {
      "agent_id": "buyer_agent_example",
      "key_id": "buyer_agent_key_example",
      "request_signature": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
    },
    "risk_policy": {
      "policy_id": "buyer_policy_example",
      "tolerance": "LOW"
    },
    "schema_version": "1.0.0",
    "supplier": {
      "entity_id": "supplier_example",
      "identifiers": {
        "UEI": "SYNTHETIC001"
      },
      "legal_name": "Synthetic Supplier Example"
    }
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://api.runonproof.com/v1/us/decision-gates/release-payment-to-supplier" \
  -H "Content-Type: application/json" \
  -d '{"amount":"1000.00","buyer":{"organization_digest":"sha256:1111111111111111111111111111111111111111111111111111111111111111","organization_id":"buyer_org_example"},"buyer_mandate":{"mandate_digest":"sha256:4444444444444444444444444444444444444444444444444444444444444444","payload":{"buyer_organization":"buyer_org_example","buyer_organization_digest":"sha256:1111111111111111111111111111111111111111111111111111111111111111","currency":"USD","issuer":"buyer_org_example","key_id":"buyer_mandate_key_example","mandate_id":"mandate_example_001","mandate_version":"1.0.0","max_decision_fee_atomic":"790000","max_payment_amount":"1000.00","nonce":"example_nonce_001","payee_fingerprint":"sha256:3333333333333333333333333333333333333333333333333333333333333333","permitted_intent":"RELEASE_PAYMENT_TO_SUPPLIER","request_digest":"sha256:2222222222222222222222222222222222222222222222222222222222222222","revocation_reference":"https://buyer.example/m/example","schema_version":"1.0.0","subject_agent_id":"buyer_agent_example","supplier_entity_id":"supplier_example","valid_from":"2026-09-02T00:00:00.000Z","valid_until":"2026-09-03T00:00:00.000Z"},"signature":{"algorithm":"Ed25519","canonicalization":"ROP-C14N-JSON-1","issuer":"buyer_org_example","key_id":"buyer_mandate_key_example","value":"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}},"correlation":{"correlation_id":"correlation_example_001","trace_id":"trace_example_001"},"coverage":"FEDERAL_ONLY","coverage_requirements":{"coverage":"FEDERAL_ONLY","jurisdiction":"US"},"currency":"USD","decision_fee_payer":"0x0000000000000000000000000000000000000002","disclosure":{"audience_digest":"sha256:8888888888888888888888888888888888888888888888888888888888888888","profile":"buyer_private"},"economic_purpose":"Pay supplier invoice","evidence_references":["sha256:9999999999999999999999999999999999999999999999999999999999999999"],"exposure_valuation_basis":"Buyer-declared USD exposure.","freshness_requirements":{"evaluated_at":"2026-09-02T12:00:00.000Z","max_age_seconds":86400},"idempotency_key":"decision_example_001","intent":"RELEASE_PAYMENT_TO_SUPPLIER","invoice":{"document_digest":"sha256:6666666666666666666666666666666666666666666666666666666666666666","obligation_id":"invoice_example_001"},"jurisdiction":"US","payee":{"fingerprint":"sha256:3333333333333333333333333333333333333333333333333333333333333333","type":"WALLET","value":"0x0000000000000000000000000000000000000001"},"payment_destination":{"fingerprint":"sha256:3333333333333333333333333333333333333333333333333333333333333333","type":"WALLET","value":"0x0000000000000000000000000000000000000001"},"payment_exposure_usdc_equivalent_atomic":"1000000000","payment_instruction_digest":"sha256:7777777777777777777777777777777777777777777777777777777777777777","requesting_agent":{"agent_id":"buyer_agent_example","key_id":"buyer_agent_key_example","request_signature":"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},"risk_policy":{"policy_id":"buyer_policy_example","tolerance":"LOW"},"schema_version":"1.0.0","supplier":{"entity_id":"supplier_example","identifiers":{"UEI":"SYNTHETIC001"},"legal_name":"Synthetic Supplier Example"}}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "billing": {
    "charged": true,
    "charges_for_decision": 1,
    "maximum_charges": 1,
    "model": "ONE_TIME_DECISION_FEE",
    "settlement_reference": "settlement_example_001",
    "settlement_state": "SETTLED"
  },
  "checks_executed": [],
  "checks_waived": [],
  "conditions": [],
  "coverage": {
    "jurisdiction": "US",
    "limitations": [],
    "scope": "FEDERAL_ONLY",
    "state_coverage": "NONE_PHASE_1",
    "state_good_standing": "NOT_ASSERTED"
  },
  "decision": "HOLD",
  "decision_cost": {
    "amount": "0.79",
    "amount_atomic": "790000",
    "asset": "USDC",
    "network": "eip155:8453"
  },
  "decision_id": "dgdec_example_001",
  "decision_request_id": "dgreq_example_001",
  "delivery": {
    "delivery_reference": "delivery_example_001",
    "response_digest": "sha256:dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd",
    "state": "DELIVERED"
  },
  "economic_risk": {
    "assessed_at": "2026-09-02T12:00:00.000Z",
    "assessment_digest": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
    "assessment_id": "dgrisk_example_001",
    "assumptions": [],
    "break_even_risk_rate": "0.00079",
    "break_even_risk_rate_ppm": "790",
    "decision_fee": {
      "amount": "0.79",
      "amount_atomic": "790000",
      "asset": "USDC",
      "network": "eip155:8453"
    },
    "exposure_valuation_basis": "Buyer-declared basis",
    "mandatory_verifications": [],
    "mandatory_verifications_may_be_skipped": false,
    "mode": "BINDING",
    "observed_risk_range": {
      "lower_ppm": "0",
      "upper_ppm": "1000"
    },
    "payment_exposure_usdc_equivalent_atomic": "1000000000",
    "policy_version": "1.0.0",
    "verification_economically_justified": "UNCERTAIN"
  },
  "evidence_bundle": {
    "digest": "sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
    "references": []
  },
  "freshness": {
    "status": "CURRENT",
    "valid_as_of": "2026-09-02T12:00:00.000Z",
    "valid_until": "2026-09-03T00:00:00.000Z"
  },
  "machine_action": "HOLD_PAYMENT",
  "payment_executed": false,
  "policy": {
    "id": "US_DECISION_GATE_RELEASE_PAYMENT_TO_SUPPLIER_V1",
    "version": "1.0.0"
  },
  "product": "decision-gate.release-payment-to-supplier.v1",
  "product_version": "1.0.0",
  "proof_capsule": {
    "capsule_digest": "sha256:cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc",
    "payload": {
      "payment_executed": false
    },
    "signature": {
      "algorithm": "Ed25519",
      "key_id": "runonproof_example",
      "value": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
    }
  },
  "reason_codes": [],
  "remediation": [],
  "replay": {
    "additional_charge": false,
    "deterministic": true,
    "reference": "/v1/us/decision-gates/release-payment-to-supplier/replays/dgdec_example_001",
    "sources_reexecuted": false
  },
  "request_digest": "sha256:2222222222222222222222222222222222222222222222222222222222222222",
  "request_id": "req_example_001",
  "risk_signals": [],
  "schema_version": "1.0.0",
  "uncertainty": {
    "present": true,
    "reason_codes": []
  },
  "valid_as_of": "2026-09-02T12:00:00.000Z",
  "valid_until": "2026-09-03T00:00:00.000Z"
}

Payment details

Pay to0x0d0e3539da45c573af8730045e7d5f634243f3d3
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Developer Tools and the homepage with a featured placement.

Get featured →

More from RunOnProof & similar services