API Reference
//
Get Earnings
Security
HTTPBearer
Base64-encoded HMAC-SHA256 hash of x-jiko-idempotency + request pathname + body, keyed with your shared secret. See Authentication for the full algorithm and a code sample.
- Sandbox serverhttps://your-partner-name.sandbox-api.jikoservices.com/api/v2/pockets/{pocket_id}/earnings/
- Production serverhttps://your-partner-name.partner-api.jikoservices.com/api/v2/pockets/{pocket_id}/earnings/
curl -i -X GET \
'https://your-partner-name.sandbox-api.jikoservices.com/api/v2/pockets/{pocket_id}/earnings/?period=ytd&date_from=2019-08-24&date_to=2019-08-24' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'x-jiko-idempotency: 497f6eca-6276-4993-bfeb-53cbbbba6f08' \
-H 'x-jiko-signature: string'Successful Response
Response
{ "earnings": { "value": 13000, "currency": "USD", "formatted": "$130.00" }, "date_from": "2025-04-01", "date_to": "2025-05-01" }