SeoclerksDevelopers

Balance

Money in the account and its history.

GET /balance

Funds, earnings and what can be spent

Scope: balance:read, or the broad read.

Parameters

NameWhereDescription
If-None-MatchheaderAn ETag from an earlier response.

Example request

curl "https://www.seoclerk.com/api/v1/balance" \
  -H "Authorization: Bearer $SEOCLERKS_API_KEY"

Response 200

FieldTypeDescription
availablemoney
fundsmoney
earningsmoney
withdrawals_restrictedboolean
{
    "data": {
        "available": {
            "amount": "12.50",
            "currency": "USD"
        },
        "funds": {
            "amount": "12.50",
            "currency": "USD"
        },
        "earnings": {
            "amount": "12.50",
            "currency": "USD"
        },
        "withdrawals_restricted": true
    },
    "meta": {
        "request_id": "9f2c4e1ab07d3351"
    }
}

Errors

GET /balance/deposits

Deposits to the balance

Scope: balance:read, or the broad read. Newest first, by id.

Parameters

NameWhereDescription
cursorquerymeta.next_cursor from the previous page. Up to 1024 characters.
limitqueryPage size. Above 100 is treated as 100. At least 1. Default 25.
If-None-MatchheaderAn ETag from an earlier response.

Example request

curl "https://www.seoclerk.com/api/v1/balance/deposits" \
  -H "Authorization: Bearer $SEOCLERKS_API_KEY"

Response 200

A page of these in data, with meta.limit and meta.next_cursor.

FieldTypeDescription
idinteger
order_idinteger
amountmoneyThe amount paid for the whole line. Do not multiply by quantity.
quantityinteger
created_attimestamp or null
cancelledboolean
sitestring
{
    "data": [
        {
            "id": 1024,
            "order_id": 1024,
            "amount": {
                "amount": "12.50",
                "currency": "USD"
            },
            "quantity": 1,
            "created_at": "2026-10-10T14:03:22Z",
            "cancelled": true,
            "site": "SEOClerks"
        }
    ],
    "meta": {
        "limit": 1,
        "next_cursor": "string",
        "request_id": "9f2c4e1ab07d3351"
    }
}

Errors

GET /balance/earnings

Sales earnings posted to the balance

Scope: balance:read, or the broad read. Newest first, by id.

Parameters

NameWhereDescription
cursorquerymeta.next_cursor from the previous page. Up to 1024 characters.
limitqueryPage size. Above 100 is treated as 100. At least 1. Default 25.
If-None-MatchheaderAn ETag from an earlier response.

Example request

curl "https://www.seoclerk.com/api/v1/balance/earnings" \
  -H "Authorization: Bearer $SEOCLERKS_API_KEY"

Response 200

A page of these in data, with meta.limit and meta.next_cursor.

FieldTypeDescription
idinteger
amountmoney
payment_idinteger
created_attimestamp or null
sitestring
{
    "data": [
        {
            "id": 1024,
            "amount": {
                "amount": "12.50",
                "currency": "USD"
            },
            "payment_id": 1024,
            "created_at": "2026-10-10T14:03:22Z",
            "site": "SEOClerks"
        }
    ],
    "meta": {
        "limit": 1,
        "next_cursor": "string",
        "request_id": "9f2c4e1ab07d3351"
    }
}

Errors

GET /balance/fees

Seller fees and buyer invoices

Scope: balance:read, or the broad read. Newest first, by id.

Parameters

NameWhereDescription
cursorquerymeta.next_cursor from the previous page. Up to 1024 characters.
limitqueryPage size. Above 100 is treated as 100. At least 1. Default 25.
If-None-MatchheaderAn ETag from an earlier response.

Example request

curl "https://www.seoclerk.com/api/v1/balance/fees" \
  -H "Authorization: Bearer $SEOCLERKS_API_KEY"

Response 200

A page of these in data, with meta.limit and meta.next_cursor.

FieldTypeDescription
order_idinteger
titlestring
statusinteger
order_totalmoney
feemoney
paidboolean
created_attimestamp or null
{
    "data": [
        {
            "order_id": 1024,
            "title": "Logo design",
            "status": 1,
            "order_total": {
                "amount": "12.50",
                "currency": "USD"
            },
            "fee": {
                "amount": "12.50",
                "currency": "USD"
            },
            "paid": true,
            "created_at": "2026-10-10T14:03:22Z"
        }
    ],
    "meta": {
        "limit": 1,
        "next_cursor": "string",
        "request_id": "9f2c4e1ab07d3351"
    }
}

Errors

GET /balance/payments

Payments made

Scope: balance:read, or the broad read. Newest first, by id.

Parameters

NameWhereDescription
cursorquerymeta.next_cursor from the previous page. Up to 1024 characters.
limitqueryPage size. Above 100 is treated as 100. At least 1. Default 25.
If-None-MatchheaderAn ETag from an earlier response.

Example request

curl "https://www.seoclerk.com/api/v1/balance/payments" \
  -H "Authorization: Bearer $SEOCLERKS_API_KEY"

Response 200

A page of these in data, with meta.limit and meta.next_cursor.

FieldTypeDescription
idinteger
order_idinteger
amountmoneyThe amount paid for the whole line. Do not multiply by quantity.
quantityinteger
created_attimestamp or null
cancelledboolean
sitestring
{
    "data": [
        {
            "id": 1024,
            "order_id": 1024,
            "amount": {
                "amount": "12.50",
                "currency": "USD"
            },
            "quantity": 1,
            "created_at": "2026-10-10T14:03:22Z",
            "cancelled": true,
            "site": "SEOClerks"
        }
    ],
    "meta": {
        "limit": 1,
        "next_cursor": "string",
        "request_id": "9f2c4e1ab07d3351"
    }
}

Errors

GET /balance/revenue

Revenue for a date range

Scope: balance:read, or the broad read.

Default: the last 30 days. At most 366 days.

Parameters

NameWhereDescription
fromqueryFirst day, UTC, inclusive.
toqueryLast day, UTC, inclusive.
If-None-MatchheaderAn ETag from an earlier response.

Example request

curl "https://www.seoclerk.com/api/v1/balance/revenue" \
  -H "Authorization: Bearer $SEOCLERKS_API_KEY"

Response 200

FieldTypeDescription
fromtimestamp
to_exclusivetimestamp
sales_creditedmoney
affiliate_creditedmoney
recorded_saleslist of object
recorded_sales[].statestring
recorded_sales[].ordersinteger
recorded_sales[].paymentsinteger
recorded_sales[].payment_amountmoney
dailylist of objectDays with no credit are omitted.
daily[].datetimestamp
daily[].sales_creditedmoney
daily[].affiliate_creditedmoney
{
    "data": {
        "from": "2026-10-10T14:03:22Z",
        "to_exclusive": "2026-10-10T14:03:22Z",
        "sales_credited": {
            "amount": "12.50",
            "currency": "USD"
        },
        "affiliate_credited": {
            "amount": "12.50",
            "currency": "USD"
        },
        "recorded_sales": [
            {
                "state": "pending",
                "orders": 1,
                "payments": 1,
                "payment_amount": {
                    "amount": "12.50",
                    "currency": "USD"
                }
            }
        ],
        "daily": [
            {
                "date": "2026-10-10T14:03:22Z",
                "sales_credited": {
                    "amount": "12.50",
                    "currency": "USD"
                },
                "affiliate_credited": {
                    "amount": "12.50",
                    "currency": "USD"
                }
            }
        ]
    },
    "meta": {
        "request_id": "9f2c4e1ab07d3351"
    }
}

Errors

GET /balance/sales

Payments received as a seller

Scope: balance:read, or the broad read. Newest first, by id.

Includes pending and direct receipts.

Parameters

NameWhereDescription
cursorquerymeta.next_cursor from the previous page. Up to 1024 characters.
limitqueryPage size. Above 100 is treated as 100. At least 1. Default 25.
If-None-MatchheaderAn ETag from an earlier response.

Example request

curl "https://www.seoclerk.com/api/v1/balance/sales" \
  -H "Authorization: Bearer $SEOCLERKS_API_KEY"

Response 200

A page of these in data, with meta.limit and meta.next_cursor.

FieldTypeDescription
idinteger
order_idinteger
payment_amountmoney
statusintegerThe order's status.
cancelledboolean
credited_to_balancemoney or null
direct_paymentbooleanPaid to the seller's own gateway.
processedboolean
created_attimestamp or null
cleared_attimestamp or null
sitestring
buyer_idintegerOn balance/sales.
fee_paidbooleanOn affiliates/payments.
{
    "data": [
        {
            "id": 1024,
            "order_id": 1024,
            "payment_amount": {
                "amount": "12.50",
                "currency": "USD"
            },
            "status": 1,
            "cancelled": true,
            "credited_to_balance": {
                "amount": "12.50",
                "currency": "USD"
            },
            "direct_payment": true,
            "processed": true,
            "created_at": "2026-10-10T14:03:22Z",
            "cleared_at": "2026-10-10T14:03:22Z",
            "site": "SEOClerks",
            "buyer_id": 1024,
            "fee_paid": true
        }
    ],
    "meta": {
        "limit": 1,
        "next_cursor": "string",
        "request_id": "9f2c4e1ab07d3351"
    }
}

Errors