cURL
curl --request GET \ --url https://api.pcxpay.com/v1/transactions/analytics/payment-method-distribution/{user_id} \ --header 'Authorization: Bearer <token>'
{ "status": "success", "data": {} }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Payment method distribution
Opaque analytics payload. Shape varies by endpoint but always contains the computed metric fields returned by the use case layer.
"success"