Getting Final Cost
URL: /segments/remote_get_final_fee
Post Data: session_id, target_id
session_id
The unique key returned in the initial login call.
target_id
The value of target_lang_id obtained when the PDF was uploaded.
Returns
On success, a JSON structure containing details of the cost of purchasing the PDF.
On failure the HTTP status code will be set to something other than 200.
The JSON structure will contain the following fields:
fee_pages
The number of pages modified since the last time the 'final' PDF was generated. This number of credits will be required to purchase the PDF.
credit
The number of unused credits available to the user.
If the user needs to purchase additional credits they can do so by visiting their account page at:
https://transpdf.iceni.com/user_info_form/