Documentation
API reference

Create a generic revenue command

POST
/api/revenue

Queues an idempotent revenue command for normalization and attribution.

Authorization

secretKey
AuthorizationBearer <token>

A FounderHQ secret API key.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/revenue" \  -H "Content-Type: application/json" \  -d '{    "amountMinor": 0,    "currency": "str",    "idempotencyKey": "string",    "transactionId": "string"  }'
{  "created": true,  "deliveryId": "string",  "ok": true,  "status": "QUEUED"}

AI agent or LLM? Read this page as markdown