SET API · Invoices
Map ledger accounts
PUT/v1/ledger_mapping
Your account names for each journal role: clearing, receivable, tag_income, overpayment, bank, fees_set, fees_provider, rounding, returned_wallet, card_clearing, card_sales, refunds, wallet, stablecoin_wallet, escrow_funds, payable, prefunding_payable. The last four are SET Escrow's (stablecoin_wallet, escrow_funds, payable, prefunding_payable). GET /v1/ledger_mapping reads it.
Body
<role>string- An account name (1–80 characters) per role.
Errors
400 role_unknown400 account_invalid403 invoices_merchant_only401 api_key_required401 api_key_invalid401 api_key_wrong_mode401 api_key_expired403 scope_missing403 platform_api_paused429 rate_limited503 api_disabled