PeumeAPI

Ads

Change a stored event's value

Changes the value of an event you already sent, for a partial refund or an upgrade. Send the corrected total, not a difference.

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/change-a-stored-event-s-value \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "eventId": "your eventId",
    "value": 10
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: change-a-stored-event-s-value.

Parameters

eventIdRequiredstring

The `eventId` the event was sent with.

valueRequirednumber

The corrected total value.

currencystring

ISO 4217 code such as USD. Defaults to the currency the event was sent with.

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.