Page credits inquiry

Query about the total page credits and used page credits of an account

HTTP Request



Request Parameters

Parameters Type If Mandatory Description
method string Yes A fixed value: page
x-api-key string Yes DDC API Key. When making any API request, pass your key as the value of an x-api-key parameter in the Header.

Response Parameters

Parameters Type UrlEncode Description
quota int32 No The total page credits you have ever purchased.
used int32 No Used page credits.
error_code int32 No Error code
expiration_date string No E.g., "expiration_date": "2017-12-02 00:00:00",
error_msg string No Error message
request_id string No Request ID

Sample Code
Request sample:

x-api-key: z81QwIA3kg0tUXkueP+QN4qXFCP0MIQIqDn94uxoVPdcnnGArr366w==

Response sample:

	 "expiration_date": "2017-12-02 00:00:00",
	 'quota': 1000,
	'used': 2,
	'error_code': 0,
   	'error_msg': 'Success.',
	'request_id': 3043312634
Is this page helpful?

Leave a Reply

Your email address will not be published.