The Preview Purchase API call will return the prorated costs in the HTTP response.
More information about this API call:
For API v3, refer to https://developers.recurly.com/api/v2019-10-10/index.html#operation/preview_purchase
For API v2, refer to https://dev.recurly.com/docs/preview-purchase