Skip to content
Fourohtwo

finops.halowerk.com/v1/requester-pays-charge-attribution

From supplied bucket mode, original successful or AccessDenied requests and identity/origin captures, reconstruct cost responsibility by charge class. Assumed role owner pays requester charges; RestoreObject retrieval and storage remain bucketowner. Inside-owner/organization403 requests are owner-attributed; unsupported outside403 and missing requester identity remain unknown with unresolved units

BaseAnswering
POSThttps://finops.halowerk.com/v1/requester-pays-charge-attribution

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://finops.halowerk.com/v1/requester-pays-charge-attribution", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"bucket_owner":"owner","report":{"requests":[{"download_payer":"owner","request_payer":"owner","retrieval_payer":"none"}],"storage_payer":"owner"},"requester_pays":false,"requests":[{"auth_account":"caller","download_bytes":400,"operation":"GET","origin":"owner_organization","outcome":"success","retrieval_bytes":0,"role_account":"role_owner"}],"stored_bytes":1000}),
});
console.log(await res.json());

Example input

{
  "bucket_owner": "owner",
  "report": {
    "requests": [
      {
        "download_payer": "owner",
        "request_payer": "owner",
        "retrieval_payer": "none"
      }
    ],
    "storage_payer": "owner"
  },
  "requester_pays": false,
  "requests": [
    {
      "auth_account": "caller",
      "download_bytes": 400,
      "operation": "GET",
      "origin": "owner_organization",
      "outcome": "success",
      "retrieval_bytes": 0,
      "role_account": "role_owner"
    }
  ],
  "stored_bytes": 1000
}