Skip to content
SETSimple Easy Transactions
SET DocsSET Crypto API Suite and SET API referenceCurrent as of 2026-11-21 · wallet release 7d8a79fb
Browse: SET API

SET API · Invoices

Map ledger accounts

PUT/v1/ledger_mapping

Key scope: write · Business accounts

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_unknown
  • 400 account_invalid
  • 403 invoices_merchant_only
  • 401 api_key_required
  • 401 api_key_invalid
  • 401 api_key_wrong_mode
  • 401 api_key_expired
  • 403 scope_missing
  • 403 platform_api_paused
  • 429 rate_limited
  • 503 api_disabled

All codes: Errors.