API reference
Create a revenue attribution token
Mints a short attribution token for a checkout or payment link.
Authorization
publishableKey AuthorizationBearer <token>
A brand-scoped FounderHQ publishable 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/i/v2/revenue-token" \ -H "Content-Type: application/json" \ -d '{ "anonymous_id": "string", "session_id": "string" }'{ "expiresAt": "2019-08-24T14:15:22Z", "token": "string"}