API reference
Create a generic revenue command
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"}