cURL
curl --request GET \ --url https://api.paygentic.io/v0/sources \ --header 'Authorization: Bearer <token>'
{ "data": [ { "id": "src_c5d6e7f8g9h0i1j2", "config": { "ampersandProjectId": "proj_567890" }, "createdAt": "2024-02-20T13:15:00Z", "description": "Machine learning inference usage collection", "enabled": true, "metadata": { "billableMetricMapping": { "revenue": "bm_s1t2u3v4w5x6y7z8" } }, "name": "ML Compute Usage Source", "planId": "plan_k3l4m5n6o7p8q9r0", "processingMode": "automatic", "type": "stripe_revenue", "updatedAt": "2024-02-20T13:15:00Z" } ], "pagination": { "limit": 10, "offset": 0, "total": 1 } }
API key authentication
1 <= x <= 100
Filter sources by merchant ID Unique identifier for an organization
x >= 0
Filter sources by plan ID Unique identifier for a plan
List of sources
Show child attributes
Offset-based pagination response.