Reconcile vendor spend against the ledger
https://seolyticize.com /api/v1/tools/get_vendor_reconciliation Sets the agency's DataForSEO account (deposited, balance, spent; today's spend per API) beside what Seolyticize's cost ledger recorded on the same account, with the difference, the ledger by operation, and what can explain a gap: spend before the ledger began, the same login used outside Seolyticize, other agencies sharing it. Answers 'why did our DataForSEO balance fall more than get_costs shows'. agreesWithinCents is true when the two agree to a cent. Reads the account from DataForSEO's free user_data endpoint. On the platform's shared key, only a platform admin may reconcile. Amounts are US dollars. Free.
Parameters
Idempotency-KeystringheaderRequest body
application/json
{}Code samples
cURL
curl -X POST "https://seolyticize.com/api/v1/tools/get_vendor_reconciliation" \
-H "Authorization: Bearer $SEOLYTICIZE_API_KEY" \
-H "Idempotency-Key: <value>" \
-H "Content-Type: application/json" \
-d '{}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
data, and its meta.Example
{
"data": {},
"meta": {
"requestId": "string",
"costMicros": 0,
"cached": true,
"cachedFrom": "string",
"dataAsOf": "string",
"sources": [
"string"
],
"partial": true,
"next": [
{
"tool": "string",
"args": {},
"why": "string"
}
],
"nextCursor": "string",
"dryRun": true
}
}Schema
datarequiredmetaobjectrequiredShow child parameters
requestIdstringrequiredcostMicrosintegerrequiredcachedbooleanrequiredcachedFromstringdataAsOfstringsourcesstring[]partialbooleanrequirednextobject[]requiredShow child parameters
toolstringargsobjectwhystringnextCursorstringdryRunbooleanX-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerX-Request-IdstringExample
{
"error": "string",
"code": "string",
"next": "string",
"requestId": "string"
}Schema
errorstringrequiredcodestringnextstringrequestIdstringX-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/get_vendor_reconciliation
WWW-AuthenticatestringSame as 400 · POST /api/v1/tools/get_vendor_reconciliation
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/get_vendor_reconciliation
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/get_vendor_reconciliation
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/get_vendor_reconciliation
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/get_vendor_reconciliation
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerRetry-AfterintegerSame as 400 · POST /api/v1/tools/get_vendor_reconciliation
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-Resetinteger