cURL
curl --request GET \ --url https://api.paygentic.io/v0/sources/{id} \ --header 'Authorization: Bearer <token>'
{ "id": "src_v7w8x9y0z1a2b3c4", "config": { "ampersandProjectId": "proj_789012" }, "createdAt": "2024-02-15T10:30:00Z", "description": "Language model token consumption monitoring", "enabled": true, "metadata": { "billableMetricMapping": { "revenue": "bm_l3m4n5o6p7q8r9s0" } }, "name": "LLM Usage Tracker", "planId": "plan_d5e6f7g8h9i0j1k2", "processingMode": "manual", "type": "stripe_revenue", "updatedAt": "2024-03-01T14:20:00Z" }
API key authentication
The unique identifier of the source Unique identifier for a source
Source details
Unique identifier for a source
source
Unique identifier for an organization
Unique identifier for a plan
automatic
manual
stripe_revenue