DevelopmentAPI
Live Testing
Test the currently published production APIs on api.pinrail.xyz from the docs site.
Overview
Use this page structure as the reference for live production testing against api.pinrail.xyz.
The current live testing flow is intended for:
- validating a newly created API key
- confirming your account scope
- testing request and response structure before writing code
Current Endpoints
The primary production endpoints currently documented for live use are:
GET /v1/portalGET /v1/transactionsGET /v1/settlements
Notes
- the request is still made against production
api.pinrail.xyz - the key is forwarded from
docs.pinrail.xyztoapi.pinrail.xyzfor the live request - the response will reflect the exact scope of the authenticated user
Recommended Smoke Test
Start with:
curl -sS \
-H 'X-API-Key: $PINRAIL_API_KEY' \
https://api.pinrail.xyz/v1/portalThen validate a filtered transaction example:
curl -sS \
-H 'X-API-Key: $PINRAIL_API_KEY' \
'https://api.pinrail.xyz/v1/transactions?limit=10&sort_by=amt_comp&sort_dir=desc'