How do I use the Stripcash Statistics API?

Stripcash Support

The Statistics API returns near real-time statistics from your Stripcash account, using the same filters available in the interface.

  1. Generate an API key on the Statistics API keys page.
  2. Build the report you want in the UI, then copy the query string from the URL. 

    Encoded:
     ?id=4068736&groups%5B%5D=groupTotal&filters%5BincludeTraffic%5D=true&filters%5Bfrom%5D=2024-04-21&filters%5Bto%5D=2024-04-27

          Decoded:

   ?id=4068736&groups[]=groupTotal&filters[includeTraffic]=true&filters[from]=2024-04-21&filters[to]=2024-04-27

  1. Swap the endpoint for the statistics endpoint and append your query string. Base URL: https://api.stripcash.com/external/v1 Endpoint: /user/statistics
  2. Add the authorization header to your request: Authorization: Bearer <secret>

image-2-3.DNVMvexZ.png

Was this article helpful?

0 out of 0 found this helpful