Making API Calls
Once the token is generated, use it to call the Payless API, also including the subscription key provided.
API Request Format
GET {ysta_service_endpoint}/{api_path}
Headers:
Authorization: Bearer {access_token}
Api-Subscription-Key: {subscription_key}
Example using curl
curl -X GET "{ysta_service_endpoint}/{api_path}" \
-H "Authorization: Bearer {access_token}" \
-H "Api-Subscription-Key: {subscription_key}"
Expected Response
{
"message": "Success",
"data": {...}
}