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
error_msg string No Error message
request_id string No Request ID

Sample Code
Request sample:

x-api-key: z81QwIA3kg0tUXkueP+QN4qXFCP0MIQIqDn94uxoVPdcnnGArr366w==

Response sample:

	'quota': 1000,
	'used': 2,
	'error_code': 0,
   	'error_msg': 'Success.',
	'request_id': 3043312634