Skip to main content

Get Payment Posting Settings

GET 

/api/ledger/payment-posting

Returns whether payment posting has started (and from which date), the A/R and A/P true-up that started it, where each payment type's payments land, and where each channel's payouts land.

Required scope: accounting:read

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Authentication: Requires Bearer token.

payment_accounts lists every payment type that has payments: provider_account is the bank account it is mapped to in the accounting provider, ledger_account the same account in SKU.io's chart and via how it was found (provider_account = explicitly linked, provider_account_code = same account code, system_clearing = store credit / gift card clearing). When it cannot be found, ledger_account is null and problem says what to fix: map the payment type to a bank account, or add that bank account to the chart. Nothing is created automatically. problem_count counts those rows; while any exist, payment posting cannot start.

payout_accounts lists each sales channel with payouts in the ledger: deposit_nominal_code_id / deposit_account is the bank account its payout deposits debit (set with PUT /api/integration-instances/{id} and integration_settings.payout_deposit_nominal_code_id), and problem names the fix when none is set. problem_count counts payment-type and payout-channel gaps together.

Request​

Responses​

OK

Response Headers
    Content-Type