API Reference

Generated reference for the Soledgic API. The treasury resources are the canonical surface for new integrations.

The public treasury API is resource-first. If you are migrating older integrations, use the resource mapping guide in docs/RESOURCE_MODEL_MIGRATION.md.

This reference is for the supported public integration surface. Dashboard/session routes such as/api/identity/* and/api/ecosystems/* are operator-only and intentionally excluded from the public SDK and OpenAPI spec.

Base URLs

https://api.soledgic.com/v1
https://YOUR_PROJECT.supabase.co/functions/v1

Most endpoints use x-api-key. Billing, bootstrap, and webhook endpoints use JWT or signature-based auth as shown per endpoint below.

Quick Reference

92 endpoints (78 public, 10 internal, 4 deprecated) organized into 17 resource groups.

Treasury

EndpointMethodsAuthStatusDetails
Release Hold
/v1/holds/{hold_id}/release
POST
API keyPublicView details
Holds
/v1/holds
GET
API keyPublicView details
Holds Summary
/v1/holds/summary
GET
API keyPublicView details
Participant Detail
/v1/participants/{participant_id}
GET
API keyPublicView details
Participant Payout Eligibility
/v1/participants/{participant_id}/payout-eligibility
GET
API keyPublicView details
Participants
/v1/participants
GETPOST
API keyPublicView details
Transfers
/v1/transfers
POST
API keyPublicView details
Wallet Topup
/v1/wallets/{wallet_id}/topups
POST
API keyPublicView details
Wallet Detail
/v1/wallets/{wallet_id}
GET
API keyPublicView details
Wallet Entries
/v1/wallets/{wallet_id}/entries
GET
API keyPublicView details
Wallet Withdrawal
/v1/wallets/{wallet_id}/withdrawals
POST
API keyPublicView details
Release Hold
/v1/holds/{hold_id}/release
POSTAPI key

Release a held-funds entry and optionally execute the transfer.

Gateway path
https://api.soledgic.com/v1/holds/{hold_id}/release
Supabase function
/functions/v1/hold-release
Source
supabase/functions/holds/index.ts

Parameters

LocationNameTypeRequired
pathhold_idstringYes
bodyexecute_transferbooleanNo

Example Request

curl -X POST "https://api.soledgic.com/v1/holds/hold_id_123/release" \
  -H "x-api-key: slk_test_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "execute_transfer": true
}'
Holds
/v1/holds
GETAPI key

List held funds across participants, with optional readiness filtering.

Gateway path
https://api.soledgic.com/v1/holds
Supabase function
/functions/v1/holds
Source
supabase/functions/holds/index.ts

Parameters

LocationNameTypeRequired
queryparticipant_idstringNo
queryventure_idstringNo
queryready_onlybooleanNo
querylimitnumberNo

Example Request

curl -X GET "https://api.soledgic.com/v1/holds?participant_id=participant_id_123&venture_id=venture_id_123&ready_only=true&limit=1000" \
  -H "x-api-key: slk_test_YOUR_API_KEY"
Holds Summary
/v1/holds/summary
GETAPI key

Get an aggregate summary of held and releasable funds.

Gateway path
https://api.soledgic.com/v1/holds/summary
Supabase function
/functions/v1/holds-summary
Source
supabase/functions/holds/index.ts

Parameters

No formal parameters were inferred for this endpoint from source declarations.

Example Request

curl -X GET "https://api.soledgic.com/v1/holds/summary" \
  -H "x-api-key: slk_test_YOUR_API_KEY"
Participant Detail
/v1/participants/{participant_id}
GETAPI key

Get a participant balance snapshot, including active holds.

Gateway path
https://api.soledgic.com/v1/participants/{participant_id}
Supabase function
/functions/v1/participant-detail
Source
supabase/functions/participants/index.ts

Parameters

LocationNameTypeRequired
pathparticipant_idstringYes

Example Request

curl -X GET "https://api.soledgic.com/v1/participants/participant_id_123" \
  -H "x-api-key: slk_test_YOUR_API_KEY"
Participant Payout Eligibility
/v1/participants/{participant_id}/payout-eligibility
GETAPI key

Check whether a participant is currently eligible for payout.

Gateway path
https://api.soledgic.com/v1/participants/{participant_id}/payout-eligibility
Supabase function
/functions/v1/participant-payout-eligibility
Source
supabase/functions/participants/index.ts

Parameters

LocationNameTypeRequired
pathparticipant_idstringYes

Example Request

curl -X GET "https://api.soledgic.com/v1/participants/participant_id_123/payout-eligibility" \
  -H "x-api-key: slk_test_YOUR_API_KEY"
Participants
/v1/participants
GETPOSTAPI key

List treasury participants or create a new participant-backed account.

Gateway path
https://api.soledgic.com/v1/participants
Supabase function
/functions/v1/participants
Source
supabase/functions/participants/index.ts

Parameters

LocationNameTypeRequired
bodyparticipant_idstringYes
bodyuser_idstringNo
bodydisplay_namestringNo
bodyemailstringNo
bodydefault_split_percentnumberNo
bodytax_info{No
bodypayout_preferences{No
bodymetadataRecord<string, unknown>No

Example Request

curl -X GET "https://api.soledgic.com/v1/participants" \
  -H "x-api-key: slk_test_YOUR_API_KEY"
Transfers
/v1/transfers
POSTAPI key

Move funds between wallets when both wallets explicitly permit transfer.

Gateway path
https://api.soledgic.com/v1/transfers
Supabase function
/functions/v1/transfers
Source
supabase/functions/transfers/index.ts

Parameters

LocationNameTypeRequired
bodyfrom_wallet_idstringNo
bodyto_wallet_idstringNo
bodyfrom_participant_idstringNo
bodyto_participant_idstringNo
bodyamountnumberYes
bodyreference_idstringYes
bodydescriptionstringNo
bodymetadataRecord<string, unknown>No

Example Request

curl -X POST "https://api.soledgic.com/v1/transfers" \
  -H "x-api-key: slk_test_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "amount": 1000,
  "reference_id": "reference_id_123",
  "from_wallet_id": "from_wallet_id_123",
  "to_wallet_id": "to_wallet_id_123",
  "from_participant_id": "from_participant_id_123",
  "to_participant_id": "to_participant_id_123",
  "description": "value",
  "metadata": {}
}'
Wallet Topup
/v1/wallets/{wallet_id}/topups
POSTAPI key

Top up a wallet when its wallet type supports external funding.

Gateway path
https://api.soledgic.com/v1/wallets/{wallet_id}/topups
Supabase function
/functions/v1/wallet-deposit
Source
supabase/functions/wallets/index.ts

Parameters

LocationNameTypeRequired
pathwallet_idstringYes
bodyamountnumberYes
bodyreference_idstringYes
bodydescriptionstringNo
bodymetadataRecord<string, unknown>No

Example Request

curl -X POST "https://api.soledgic.com/v1/wallets/wallet_id_123/topups" \
  -H "x-api-key: slk_test_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "amount": 1000,
  "reference_id": "reference_id_123",
  "description": "value",
  "metadata": {}
}'
Wallet Detail
/v1/wallets/{wallet_id}
GETAPI key

Get a wallet object by wallet id.

Gateway path
https://api.soledgic.com/v1/wallets/{wallet_id}
Supabase function
/functions/v1/wallet-detail
Source
supabase/functions/wallets/index.ts

Parameters

LocationNameTypeRequired
pathwallet_idstringYes

Example Request

curl -X GET "https://api.soledgic.com/v1/wallets/wallet_id_123" \
  -H "x-api-key: slk_test_YOUR_API_KEY"
Wallet Entries
/v1/wallets/{wallet_id}/entries
GETAPI key

List wallet ledger entries for a wallet object.

Gateway path
https://api.soledgic.com/v1/wallets/{wallet_id}/entries
Supabase function
/functions/v1/wallet-entries
Source
supabase/functions/wallets/index.ts

Parameters

LocationNameTypeRequired
pathwallet_idstringYes
querylimitnumberNo
queryoffsetnumberNo

Example Request

curl -X GET "https://api.soledgic.com/v1/wallets/wallet_id_123/entries?limit=1000&offset=1000" \
  -H "x-api-key: slk_test_YOUR_API_KEY"
Wallet Withdrawal
/v1/wallets/{wallet_id}/withdrawals
POSTAPI key

Withdraw or debit funds from a wallet when the wallet is redeemable.

Gateway path
https://api.soledgic.com/v1/wallets/{wallet_id}/withdrawals
Supabase function
/functions/v1/wallet-withdrawal
Source
supabase/functions/wallets/index.ts

Parameters

LocationNameTypeRequired
pathwallet_idstringYes
bodyamountnumberYes
bodyreference_idstringYes
bodydescriptionstringNo
bodymetadataRecord<string, unknown>No

Example Request

curl -X POST "https://api.soledgic.com/v1/wallets/wallet_id_123/withdrawals" \
  -H "x-api-key: slk_test_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "amount": 1000,
  "reference_id": "reference_id_123",
  "description": "value",
  "metadata": {}
}'

Payments

EndpointMethodsAuthStatusDetails
Checkout Sessions
/v1/checkout-sessions
POST
API keyPublicView details
Payouts
/v1/payouts
POST
API keyPublicView details
Refunds
/v1/refunds
GETPOST
API keyPublicView details
Checkout Sessions
/v1/checkout-sessions
POSTAPI key

Create a hosted or direct checkout session for a participant sale.

Gateway path
https://api.soledgic.com/v1/checkout-sessions
Supabase function
/functions/v1/checkout-sessions
Source
supabase/functions/checkout-sessions/index.ts

Parameters

LocationNameTypeRequired
bodyparticipant_idstringYes
bodyamountnumberYes
bodycurrencystringNo
bodyproduct_idstringNo
bodyproduct_namestringNo
bodycustomer_emailstringNo
bodycustomer_idstringNo
bodypayment_method_idstringNo
bodysource_idstringNo
bodysuccess_urlstringNo
bodycancel_urlstringNo
bodyidempotency_keystringNo
bodymetadataRecord<string, string>No

Example Request

curl -X POST "https://api.soledgic.com/v1/checkout-sessions" \
  -H "x-api-key: slk_test_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "participant_id": "participant_id_123",
  "amount": 1000,
  "currency": "value",
  "product_id": "product_id_123",
  "product_name": "value",
  "customer_email": "user@example.com",
  "customer_id": "customer_id_123",
  "payment_method_id": "payment_method_id_123"
}'
Payouts
/v1/payouts
POSTAPI key

Create a payout for a creator earnings wallet or participant.

Gateway path
https://api.soledgic.com/v1/payouts
Supabase function
/functions/v1/payouts
Source
supabase/functions/payouts/index.ts

Parameters

LocationNameTypeRequired
bodywallet_idstringNo
bodyparticipant_idstringNo
bodyamountnumberYes
bodyreference_idstringYes
bodyreference_typestringNo
bodydescriptionstringNo
bodypayout_methodstringNo
bodyfeesnumberNo
bodyfees_paid_by'platform' | 'creator'No
bodymetadataRecord<string, unknown>No

Example Request

curl -X POST "https://api.soledgic.com/v1/payouts" \
  -H "x-api-key: slk_test_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "amount": 1000,
  "reference_id": "reference_id_123",
  "wallet_id": "wallet_id_123",
  "participant_id": "participant_id_123",
  "reference_type": "value",
  "description": "value",
  "payout_method": "value",
  "fees": 1000
}'
Refunds
/v1/refunds
GETPOSTAPI key

List refunds or create a refund against a recorded sale.

Gateway path
https://api.soledgic.com/v1/refunds
Supabase function
/functions/v1/refunds
Source
supabase/functions/refunds/index.ts

Parameters

LocationNameTypeRequired
querysale_referencestringNo
querylimitnumberNo
bodyoriginal_sale_referencestringYes
bodyreasonstringYes
bodyamountnumberNo
bodyrefund_from'both' | 'platform_only' | 'creator_only'No
bodyexternal_refund_idstringNo
bodyidempotency_keystringNo
bodymode'ledger_only' | 'processor_refund'No
bodyprocessor_payment_idstringNo
bodymetadataRecord<string, unknown>No

Example Request

curl -X GET "https://api.soledgic.com/v1/refunds?sale_reference=value&limit=1000" \
  -H "x-api-key: slk_test_YOUR_API_KEY"

Transactions

EndpointMethodsAuthStatusDetails
Get Transactions
/v1/get-transactions
GET
API keyPublicView details
Import Transactions
/v1/import-transactions
POST
API keyPublicView details
Pay Bill
/v1/pay-bill
POST
API keyPublicView details
Record Adjustment
/v1/record-adjustment
POST
API keyPublicView details
Record Bill
/v1/record-bill
POST
API keyPublicView details
Record Expense
/v1/record-expense
POST
API keyPublicView details
Record Income
/v1/record-income
POST
API keyPublicView details
Record Opening Balance
/v1/record-opening-balance
POST
API keyPublicView details
Record Sale
/v1/record-sale
POST
API keyPublicView details
Record Transfer
/v1/record-transfer
POST
API keyPublicView details
Reverse Transaction
/v1/reverse-transaction
POST
API keyPublicView details
Get Transactions
/v1/get-transactions
GETAPI key

Get Transactions

Gateway path
https://api.soledgic.com/v1/get-transactions
Supabase function
/functions/v1/get-transactions
Source
supabase/functions/get-transactions/index.ts

Parameters

LocationNameTypeRequired
querycreator_idstringNo
querytypestringNo
querystatusstringNo
querystart_datestringNo
queryend_datestringNo
querypagestringNo
queryper_pagestringNo
queryinclude_entriesstringNo

Example Request

curl -X GET "https://api.soledgic.com/v1/get-transactions?creator_id=creator_id_123&type=value&status=value&start_date=2026-01-01" \
  -H "x-api-key: slk_test_YOUR_API_KEY"
Import Transactions
/v1/import-transactions
POSTAPI key

Import Transactions

Gateway path
https://api.soledgic.com/v1/import-transactions
Supabase function
/functions/v1/import-transactions
Source
supabase/functions/import-transactions/index.ts

Parameters

LocationNameTypeRequired
bodyaction'parse_preview' | 'import' | 'get_templates' | 'save_template'Yes
bodyformat'csv' | 'ofx' | 'qfx' | 'camt053' | 'bai2' | 'mt940' | 'auto'No
bodydatastringNo
bodymappingColumnMappingNo
bodytemplate_idstringNo
bodytemplateImportTemplateNo
bodytransactionsParsedTransaction[]No
bodyaccount_namestringNo

Example Request

curl -X POST "https://api.soledgic.com/v1/import-transactions" \
  -H "x-api-key: slk_test_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "action": "parse_preview",
  "format": "csv",
  "data": "value",
  "mapping": "value",
  "template_id": "template_id_123",
  "template": "value",
  "transactions": [
    "item_1"
  ],
  "account_name": "value"
}'
Pay Bill
/v1/pay-bill
POSTAPI key

Records payment of a bill (reduces A/P, reduces Cash)

Gateway path
https://api.soledgic.com/v1/pay-bill
Supabase function
/functions/v1/pay-bill
Source
supabase/functions/pay-bill/index.ts

Parameters

LocationNameTypeRequired
bodybill_transaction_idstringNo
bodyamountnumberYes
bodyvendor_namestringNo
bodyreference_idstringNo
bodypayment_methodstringNo
bodypayment_datestringNo
bodymetadataRecord<string, any>No

Example Request

curl -X POST "https://api.soledgic.com/v1/pay-bill" \
  -H "x-api-key: slk_test_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "amount": 1000,
  "bill_transaction_id": "bill_transaction_id_123",
  "vendor_name": "value",
  "reference_id": "reference_id_123",
  "payment_method": "value",
  "payment_date": "2026-01-01",
  "metadata": {}
}'
Record Adjustment
/v1/record-adjustment
POSTAPI key

Record Adjustment Journal

Gateway path
https://api.soledgic.com/v1/record-adjustment
Supabase function
/functions/v1/record-adjustment
Source
supabase/functions/record-adjustment/index.ts

Parameters

LocationNameTypeRequired
bodyadjustment_typestringYes
bodyadjustment_datestringNo
bodyentriesAdjustmentEntry[]Yes
bodyreasonstringYes
bodyoriginal_transaction_idstringNo
bodysupporting_documentationstringNo
bodyprepared_bystringYes

Example Request

curl -X POST "https://api.soledgic.com/v1/record-adjustment" \
  -H "x-api-key: slk_test_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "adjustment_type": "value",
  "entries": [
    "item_1"
  ],
  "reason": "value",
  "prepared_by": "value",
  "adjustment_date": "2026-01-01",
  "original_transaction_id": "original_transaction_id_123",
  "supporting_documentation": "value"
}'
Record Bill
/v1/record-bill
POSTAPI key

Record Bill

Gateway path
https://api.soledgic.com/v1/record-bill
Supabase function
/functions/v1/record-bill
Source
supabase/functions/record-bill/index.ts

Parameters

LocationNameTypeRequired
bodyamountnumberYes
bodydescriptionstringYes
bodyvendor_namestringYes
bodyvendor_idstringNo
bodyreference_idstringNo
bodydue_datestringNo
bodyexpense_categorystringNo
bodypaidbooleanNo
bodymetadataRecord<string, any>No
bodyauthorizing_instrument_idstringNo
bodyrisk_evaluation_idstringNo

Example Request

curl -X POST "https://api.soledgic.com/v1/record-bill" \
  -H "x-api-key: slk_test_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "amount": 1000,
  "description": "value",
  "vendor_name": "value",
  "vendor_id": "vendor_id_123",
  "reference_id": "reference_id_123",
  "due_date": "2026-01-01",
  "expense_category": "value",
  "paid": true
}'
Record Expense
/v1/record-expense
POSTAPI key

Record Expense

Gateway path
https://api.soledgic.com/v1/record-expense
Supabase function
/functions/v1/record-expense
Source
supabase/functions/record-expense/index.ts

Parameters

LocationNameTypeRequired
bodyreference_idstringYes
bodyamountnumberYes
bodydescriptionstringYes
bodycategorystringNo
bodyvendor_idstringNo
bodyvendor_namestringNo
bodypaid_from'cash' | 'credit_card' | stringNo
bodyreceipt_urlstringNo
bodytax_deductiblebooleanNo
bodymetadataRecord<string, any>No
bodyauthorizing_instrument_idstringNo
bodyrisk_evaluation_idstringNo

Example Request

curl -X POST "https://api.soledgic.com/v1/record-expense" \
  -H "x-api-key: slk_test_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "reference_id": "reference_id_123",
  "amount": 1000,
  "description": "value",
  "category": "value",
  "vendor_id": "vendor_id_123",
  "vendor_name": "value",
  "paid_from": "cash",
  "receipt_url": "value"
}'
Record Income
/v1/record-income
POSTAPI key

Record Income

Gateway path
https://api.soledgic.com/v1/record-income
Supabase function
/functions/v1/record-income
Source
supabase/functions/record-income/index.ts

Parameters

LocationNameTypeRequired
bodyreference_idstringYes
bodyamountnumberYes
bodydescriptionstringYes
bodycategorystringNo
bodycustomer_idstringNo
bodycustomer_namestringNo
bodyreceived_to'cash' | stringNo
bodyinvoice_idstringNo
bodymetadataRecord<string, any>No

Example Request

curl -X POST "https://api.soledgic.com/v1/record-income" \
  -H "x-api-key: slk_test_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "reference_id": "reference_id_123",
  "amount": 1000,
  "description": "value",
  "category": "value",
  "customer_id": "customer_id_123",
  "customer_name": "value",
  "received_to": "cash",
  "invoice_id": "invoice_id_123"
}'
Record Opening Balance
/v1/record-opening-balance
POSTAPI key

Record Opening Balances

Gateway path
https://api.soledgic.com/v1/record-opening-balance
Supabase function
/functions/v1/record-opening-balance
Source
supabase/functions/record-opening-balance/index.ts

Parameters

LocationNameTypeRequired
bodyas_of_datestringYes
bodysource'manual' | 'imported' | 'migrated' | 'year_start'Yes
bodysource_descriptionstringNo
bodybalancesOpeningBalanceEntry[]Yes

Example Request

curl -X POST "https://api.soledgic.com/v1/record-opening-balance" \
  -H "x-api-key: slk_test_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "as_of_date": "2026-01-01",
  "source": "manual",
  "balances": [
    "item_1"
  ],
  "source_description": "value"
}'
Record Sale
/v1/record-sale
POSTAPI key

Record Sale

Gateway path
https://api.soledgic.com/v1/record-sale
Supabase function
/functions/v1/record-sale
Source
supabase/functions/record-sale/index.ts

Parameters

LocationNameTypeRequired
bodyreference_idstringYes
bodycreator_idstringYes
bodyamountnumberYes
bodyprocessing_feenumberNo
bodyprocessing_fee_paid_by'platform' | 'creator' | 'split'No
bodyproduct_idstringNo
bodyproduct_namestringNo
bodycreator_percentnumberNo
bodyskip_withholdingbooleanNo
bodymetadataRecord<string, any>No

Example Request

curl -X POST "https://api.soledgic.com/v1/record-sale" \
  -H "x-api-key: slk_test_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "reference_id": "reference_id_123",
  "creator_id": "creator_id_123",
  "amount": 1000,
  "processing_fee": 1000,
  "processing_fee_paid_by": "platform",
  "product_id": "product_id_123",
  "product_name": "value",
  "creator_percent": 20
}'
Record Transfer
/v1/record-transfer
POSTAPI key

Record Internal Transfer

Gateway path
https://api.soledgic.com/v1/record-transfer
Supabase function
/functions/v1/record-transfer
Source
supabase/functions/record-transfer/index.ts

Parameters

LocationNameTypeRequired
bodyfrom_account_typestringYes
bodyto_account_typestringYes
bodyamountnumberYes
bodytransfer_type'tax_reserve' | 'payout_reserve' | 'owner_draw' |Yes
bodydescriptionstringNo
bodyreference_idstringNo

Example Request

curl -X POST "https://api.soledgic.com/v1/record-transfer" \
  -H "x-api-key: slk_test_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "from_account_type": "value",
  "to_account_type": "value",
  "amount": 1000,
  "transfer_type": "tax_reserve",
  "description": "value",
  "reference_id": "reference_id_123"
}'
Reverse Transaction
/v1/reverse-transaction
POSTAPI key

Reverse Transaction

Gateway path
https://api.soledgic.com/v1/reverse-transaction
Supabase function
/functions/v1/reverse-transaction
Source
supabase/functions/reverse-transaction/index.ts

Parameters

LocationNameTypeRequired
bodytransaction_idstringYes
bodyreasonstringYes
bodypartial_amountnumberNo
bodyidempotency_keystringNo
bodymetadataRecord<string, any>No

Example Request

curl -X POST "https://api.soledgic.com/v1/reverse-transaction" \
  -H "x-api-key: slk_test_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "transaction_id": "transaction_id_123",
  "reason": "value",
  "partial_amount": 1000,
  "idempotency_key": "idempotency_key_123",
  "metadata": {}
}'

Payouts

EndpointMethodsAuthStatusDetails
Execute Payout
/v1/execute-payout
POST
API keyPublicView details
Scheduled Payouts
/v1/scheduled-payouts
POST
API keyInternalView details
Execute Payout
/v1/execute-payout
POSTAPI key

Soledgic Processor Adapter

Gateway path
https://api.soledgic.com/v1/execute-payout
Supabase function
/functions/v1/execute-payout
Source
supabase/functions/execute-payout/index.ts

Parameters

LocationNameTypeRequired
bodyaction'execute' | 'batch_execute' | 'get_status' | 'configure_rail' | 'list_rails' ...Yes
bodypayout_idstringNo
bodypayout_idsstring[]No
bodyrailPayoutRailNo
bodyrail_configRailConfigNo

Example Request

curl -X POST "https://api.soledgic.com/v1/execute-payout" \
  -H "x-api-key: slk_test_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "action": "execute",
  "payout_id": "payout_id_123",
  "payout_ids": [
    "item_1"
  ],
  "rail": "value",
  "rail_config": "value"
}'
Scheduled Payouts
/v1/scheduled-payouts
POSTAPI keyInternal

Scheduled Payouts

Gateway path
https://api.soledgic.com/v1/scheduled-payouts
Supabase function
/functions/v1/scheduled-payouts
Source
supabase/functions/scheduled-payouts/index.ts

Parameters

No formal parameters were inferred for this endpoint from source declarations.

Example Request

curl -X POST "https://api.soledgic.com/v1/scheduled-payouts" \
  -H "x-api-key: slk_test_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "example": "value"
}'

Checkouts

EndpointMethodsAuthStatusDetails
Preflight Authorization
/v1/preflight-authorization
POST
API keyPublicView details
Receive Payment
/v1/receive-payment
POST
API keyPublicView details
Preflight Authorization
/v1/preflight-authorization
POSTAPI key

Preflight Authorization

Gateway path
https://api.soledgic.com/v1/preflight-authorization
Supabase function
/functions/v1/preflight-authorization
Source
supabase/functions/preflight-authorization/index.ts

Parameters

LocationNameTypeRequired
bodyidempotency_keystringYes
bodyamountnumberYes
bodycurrencystringNo
bodycounterparty_namestringNo
bodyauthorizing_instrument_idstringNo
bodyexpected_datestringNo
bodycategorystringNo

Example Request

curl -X POST "https://api.soledgic.com/v1/preflight-authorization" \
  -H "x-api-key: slk_test_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "idempotency_key": "idempotency_key_123",
  "amount": 1000,
  "currency": "value",
  "counterparty_name": "value",
  "authorizing_instrument_id": "authorizing_instrument_id_123",
  "expected_date": "2026-01-01",
  "category": "value"
}'
Receive Payment
/v1/receive-payment
POSTAPI key

Receive Payment

Gateway path
https://api.soledgic.com/v1/receive-payment
Supabase function
/functions/v1/receive-payment
Source
supabase/functions/receive-payment/index.ts

Parameters

LocationNameTypeRequired
bodyinvoice_transaction_idstringNo
bodyamountnumberYes
bodycustomer_namestringNo
bodycustomer_idstringNo
bodyreference_idstringNo
bodypayment_methodstringNo
bodypayment_datestringNo
bodymetadataRecord<string, any>No

Example Request

curl -X POST "https://api.soledgic.com/v1/receive-payment" \
  -H "x-api-key: slk_test_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "amount": 1000,
  "invoice_transaction_id": "invoice_transaction_id_123",
  "customer_name": "value",
  "customer_id": "customer_id_123",
  "reference_id": "reference_id_123",
  "payment_method": "value",
  "payment_date": "2026-01-01",
  "metadata": {}
}'

Accounts

EndpointMethodsAuthStatusDetails
Delete Creator
/v1/delete-creator
POST
API keyPublicView details
Manage Splits
/v1/manage-splits
POST
API keyPublicView details
Register Instrument
/v1/register-instrument
POST
API keyPublicView details
Delete Creator
/v1/delete-creator
POSTAPI key

Soft-delete a creator (sets is_active = false with transaction guard)

Gateway path
https://api.soledgic.com/v1/delete-creator
Supabase function
/functions/v1/delete-creator
Source
supabase/functions/delete-creator/index.ts

Parameters

LocationNameTypeRequired
bodycreator_idstringYes

Example Request

curl -X POST "https://api.soledgic.com/v1/delete-creator" \
  -H "x-api-key: slk_test_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "creator_id": "creator_id_123"
}'
Manage Splits
/v1/manage-splits
POSTAPI key

Manage Splits

Gateway path
https://api.soledgic.com/v1/manage-splits
Supabase function
/functions/v1/manage-splits
Source
supabase/functions/manage-splits/index.ts

Parameters

LocationNameTypeRequired
bodyactionActionYes
bodycreator_idstringNo
bodycreator_percentnumberNo
bodyproduct_idstringNo

Example Request

curl -X POST "https://api.soledgic.com/v1/manage-splits" \
  -H "x-api-key: slk_test_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "action": "value",
  "creator_id": "creator_id_123",
  "creator_percent": 20,
  "product_id": "product_id_123"
}'
Register Instrument
/v1/register-instrument
POSTAPI key

Register Authorizing Instrument

Gateway path
https://api.soledgic.com/v1/register-instrument
Supabase function
/functions/v1/register-instrument
Source
supabase/functions/register-instrument/index.ts

Parameters

LocationNameTypeRequired
bodyexternal_refstringYes
bodyextracted_termsExtractedTermsYes

Example Request

curl -X POST "https://api.soledgic.com/v1/register-instrument" \
  -H "x-api-key: slk_test_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "external_ref": "value",
  "extracted_terms": "value"
}'

Ledgers

EndpointMethodsAuthStatusDetails
Close Period
/v1/close-period
POST
API keyPublicView details
Create Ledger
/v1/create-ledger
POST
Public/JWTPublicView details
Frozen Statements
/v1/frozen-statements
POST
API keyPublicView details
List Ledgers
/v1/list-ledgers
GET
Public/JWTPublicView details
Close Period
/v1/close-period
POSTAPI key

Close Accounting Period

Gateway path
https://api.soledgic.com/v1/close-period
Supabase function
/functions/v1/close-period
Source
supabase/functions/close-period/index.ts

Parameters

LocationNameTypeRequired
bodyyearnumberYes
bodymonthnumberNo
bodyquarternumberNo
bodynotesstringNo

Example Request

curl -X POST "https://api.soledgic.com/v1/close-period" \
  -H "x-api-key: slk_test_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "year": 1000,
  "month": 1000,
  "quarter": 1000,
  "notes": "value"
}'
Create Ledger
/v1/create-ledger
POSTPublic/JWT

Create Ledger

Gateway path
https://api.soledgic.com/v1/create-ledger
Supabase function
/functions/v1/create-ledger
Source
supabase/functions/create-ledger/index.ts

Parameters

LocationNameTypeRequired
bodybusiness_namestringYes
bodyowner_emailstringNo
bodyledger_mode'standard' | 'marketplace' | 'platform'No
bodysettings{No
bodydefault_tax_ratenumberNo
bodyfiscal_year_startstringNo
bodyreceipt_thresholdnumberNo
bodydefault_split_percentnumberNo
bodyplatform_fee_percentnumberNo
bodymin_payout_amountnumberNo
bodypayout_schedule'manual' | 'weekly' | 'monthly'No
bodytax_withholding_percentnumberNo
bodycurrencystringNo

Example Request

curl -X POST "https://api.soledgic.com/v1/create-ledger" \
  -H "Authorization: Bearer YOUR_JWT_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "business_name": "value",
  "owner_email": "user@example.com",
  "ledger_mode": "standard",
  "settings": {},
  "default_tax_rate": 1000,
  "fiscal_year_start": "value",
  "receipt_threshold": 1000,
  "default_split_percent": 20
}'
Frozen Statements
/v1/frozen-statements
POSTAPI key

Frozen Statements

Gateway path
https://api.soledgic.com/v1/frozen-statements
Supabase function
/functions/v1/frozen-statements
Source
supabase/functions/frozen-statements/index.ts

Parameters

LocationNameTypeRequired
bodyactionActionYes
bodyperiod_idstringNo
bodystatement_typeStatementTypeNo

Example Request

curl -X POST "https://api.soledgic.com/v1/frozen-statements" \
  -H "x-api-key: slk_test_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "action": "value",
  "period_id": "period_id_123",
  "statement_type": "value"
}'
List Ledgers
/v1/list-ledgers
GETPublic/JWT

List Ledgers

Gateway path
https://api.soledgic.com/v1/list-ledgers
Supabase function
/functions/v1/list-ledgers
Source
supabase/functions/list-ledgers/index.ts

Parameters

No formal parameters were inferred for this endpoint from source declarations.

Example Request

curl -X GET "https://api.soledgic.com/v1/list-ledgers" \
  -H "Authorization: Bearer YOUR_JWT_TOKEN"

Reports

EndpointMethodsAuthStatusDetails
Ap Aging
/v1/ap-aging
GET
API keyPublicView details
Ar Aging
/v1/ar-aging
GET
API keyPublicView details
Balance Sheet
/v1/balance-sheet
GET
API keyPublicView details
Export Report
/v1/export-report
POST
API keyPublicView details
Generate Pdf
/v1/generate-pdf
POST
API keyPublicView details
Generate Report
/v1/generate-report
POST
API keyPublicView details
Get Runway
/v1/get-runway
GET
API keyPublicView details
Profit Loss
/v1/profit-loss
GETPOST
API keyPublicView details
Send Statements
/v1/send-statements
POST
API keyPublicView details
Trial Balance
/v1/trial-balance
GETPOST
API keyPublicView details
Ap Aging
/v1/ap-aging
GETAPI key

Accounts Payable Aging Report

Gateway path
https://api.soledgic.com/v1/ap-aging
Supabase function
/functions/v1/ap-aging
Source
supabase/functions/ap-aging/index.ts

Parameters

LocationNameTypeRequired
queryas_of_datestringNo

Example Request

curl -X GET "https://api.soledgic.com/v1/ap-aging?as_of_date=2026-01-01" \
  -H "x-api-key: slk_test_YOUR_API_KEY"
Ar Aging
/v1/ar-aging
GETAPI key

Accounts Receivable Aging Report

Gateway path
https://api.soledgic.com/v1/ar-aging
Supabase function
/functions/v1/ar-aging
Source
supabase/functions/ar-aging/index.ts

Parameters

LocationNameTypeRequired
queryas_of_datestringNo

Example Request

curl -X GET "https://api.soledgic.com/v1/ar-aging?as_of_date=2026-01-01" \
  -H "x-api-key: slk_test_YOUR_API_KEY"
Balance Sheet
/v1/balance-sheet
GETAPI key

Balance Sheet Report

Gateway path
https://api.soledgic.com/v1/balance-sheet
Supabase function
/functions/v1/balance-sheet
Source
supabase/functions/balance-sheet/index.ts

Parameters

LocationNameTypeRequired
queryas_of_datestringNo

Example Request

curl -X GET "https://api.soledgic.com/v1/balance-sheet?as_of_date=2026-01-01" \
  -H "x-api-key: slk_test_YOUR_API_KEY"
Export Report
/v1/export-report
POSTAPI key

Export Report

Gateway path
https://api.soledgic.com/v1/export-report
Supabase function
/functions/v1/export-report
Source
supabase/functions/export-report/index.ts

Parameters

LocationNameTypeRequired
bodyreport_type'transaction_detail' | 'creator_earnings' | 'platform_revenue' |Yes
bodyformat'csv' | 'json'Yes
bodystart_datestringNo
bodyend_datestringNo
bodycreator_idstringNo

Example Request

curl -X POST "https://api.soledgic.com/v1/export-report" \
  -H "x-api-key: slk_test_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "report_type": "transaction_detail",
  "format": "csv",
  "start_date": "2026-01-01",
  "end_date": "2026-01-01",
  "creator_id": "creator_id_123"
}'
Generate Pdf
/v1/generate-pdf
POSTAPI key

Generate PDF Reports

Gateway path
https://api.soledgic.com/v1/generate-pdf
Supabase function
/functions/v1/generate-pdf
Source
supabase/functions/generate-pdf/index.ts

Parameters

LocationNameTypeRequired
bodyreport_typeReportTypeYes
bodyperiod_idstringNo
bodycreator_idstringNo
bodystart_datestringNo
bodyend_datestringNo
bodytax_yearnumberNo
bodyledger_idstringNo

Example Request

curl -X POST "https://api.soledgic.com/v1/generate-pdf" \
  -H "x-api-key: slk_test_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "report_type": "value",
  "period_id": "period_id_123",
  "creator_id": "creator_id_123",
  "start_date": "2026-01-01",
  "end_date": "2026-01-01",
  "tax_year": 1000,
  "ledger_id": "ledger_id_123"
}'
Generate Report
/v1/generate-report
POSTAPI key

Generate Report

Gateway path
https://api.soledgic.com/v1/generate-report
Supabase function
/functions/v1/generate-report
Source
supabase/functions/generate-report/index.ts

Parameters

LocationNameTypeRequired
bodyreport_typeReportTypeYes
bodystart_datestringNo
bodyend_datestringNo
bodycreator_idstringNo
bodyformat'json' | 'csv'No

Example Request

curl -X POST "https://api.soledgic.com/v1/generate-report" \
  -H "x-api-key: slk_test_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "report_type": "value",
  "start_date": "2026-01-01",
  "end_date": "2026-01-01",
  "creator_id": "creator_id_123",
  "format": "json"
}'
Get Runway
/v1/get-runway
GETAPI key

Get Runway

Gateway path
https://api.soledgic.com/v1/get-runway
Supabase function
/functions/v1/get-runway
Source
supabase/functions/get-runway/index.ts

Parameters

No formal parameters were inferred for this endpoint from source declarations.

Example Request

curl -X GET "https://api.soledgic.com/v1/get-runway" \
  -H "x-api-key: slk_test_YOUR_API_KEY"
Profit Loss
/v1/profit-loss
GETPOSTAPI key

Profit & Loss Report

Gateway path
https://api.soledgic.com/v1/profit-loss
Supabase function
/functions/v1/profit-loss
Source
supabase/functions/profit-loss/index.ts

Parameters

LocationNameTypeRequired
queryyearstringNo
querymonthstringNo
queryquarterstringNo
querybreakdownstringNo
querystart_datestringNo
queryend_datestringNo

Example Request

curl -X GET "https://api.soledgic.com/v1/profit-loss?year=value&month=value&quarter=value&breakdown=value" \
  -H "x-api-key: slk_test_YOUR_API_KEY"
Send Statements
/v1/send-statements
POSTAPI key

Soledgic Auto-Email Service

Gateway path
https://api.soledgic.com/v1/send-statements
Supabase function
/functions/v1/send-statements
Source
supabase/functions/send-statements/index.ts

Parameters

LocationNameTypeRequired
bodyaction'send_monthly_statements' | 'send_single_statement' | 'preview' | 'get_queue'...Yes
bodyledger_idstringNo
bodycreator_idstringNo
bodyyearnumberNo
bodymonthnumberNo
bodyemail_configEmailConfigNo

Example Request

curl -X POST "https://api.soledgic.com/v1/send-statements" \
  -H "x-api-key: slk_test_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "action": "send_monthly_statements",
  "ledger_id": "ledger_id_123",
  "creator_id": "creator_id_123",
  "year": 1000,
  "month": 1000,
  "email_config": "user@example.com"
}'
Trial Balance
/v1/trial-balance
GETPOSTAPI key

Trial Balance

Gateway path
https://api.soledgic.com/v1/trial-balance
Supabase function
/functions/v1/trial-balance
Source
supabase/functions/trial-balance/index.ts

Parameters

LocationNameTypeRequired
querysnapshotstringNo
queryas_ofstringNo

Example Request

curl -X GET "https://api.soledgic.com/v1/trial-balance?snapshot=value&as_of=value" \
  -H "x-api-key: slk_test_YOUR_API_KEY"

Invoices

EndpointMethodsAuthStatusDetails
Invoices
/v1/invoices
GETPOST
API keyPublicView details
Invoices
/v1/invoices
GETPOSTAPI key

Invoice Management

Gateway path
https://api.soledgic.com/v1/invoices
Supabase function
/functions/v1/invoices
Source
supabase/functions/invoices/index.ts

Parameters

LocationNameTypeRequired
querystatusstringNo
querycustomer_idstringNo
querylimitstringNo
queryoffsetstringNo
bodycustomer_namestringYes
bodycustomer_emailstringNo
bodycustomer_idstringNo
bodycustomer_address{No
bodyline1stringNo
bodyline2stringNo
bodycitystringNo
bodystatestringNo
bodypostal_codestringNo
bodycountrystringNo
bodyline_itemsInvoiceLineItem[]Yes
bodydue_datestringNo
bodynotesstringNo
bodytermsstringNo
bodyreference_idstringNo
bodymetadataRecord<string, any>No

Example Request

curl -X GET "https://api.soledgic.com/v1/invoices?status=value&customer_id=customer_id_123&limit=value&offset=value" \
  -H "x-api-key: slk_test_YOUR_API_KEY"

Budgets & Recurring

EndpointMethodsAuthStatusDetails
Manage Budgets
/v1/manage-budgets
GETPOST
API keyPublicView details
Manage Contractors
/v1/manage-contractors
GETPOST
API keyPublicView details
Manage Recurring
/v1/manage-recurring
GETPOST
API keyPublicView details
Manage Budgets
/v1/manage-budgets
GETPOSTAPI key

Manage Budgets

Gateway path
https://api.soledgic.com/v1/manage-budgets
Supabase function
/functions/v1/manage-budgets
Source
supabase/functions/manage-budgets/index.ts

Parameters

LocationNameTypeRequired
bodynamestringYes
bodycategory_codestringNo
bodybudget_amountnumberYes
bodybudget_period'weekly' | 'monthly' | 'quarterly' | 'annual'Yes
bodyalert_at_percentagenumberNo

Example Request

curl -X GET "https://api.soledgic.com/v1/manage-budgets" \
  -H "x-api-key: slk_test_YOUR_API_KEY"
Manage Contractors
/v1/manage-contractors
GETPOSTAPI key

Manage Contractors

Gateway path
https://api.soledgic.com/v1/manage-contractors
Supabase function
/functions/v1/manage-contractors
Source
supabase/functions/manage-contractors/index.ts

Parameters

LocationNameTypeRequired
bodycontractor_idstringYes
bodyamountnumberYes
bodypayment_datestringYes
bodypayment_methodstringNo
bodypayment_referencestringNo
bodydescriptionstringNo

Example Request

curl -X GET "https://api.soledgic.com/v1/manage-contractors" \
  -H "x-api-key: slk_test_YOUR_API_KEY"
Manage Recurring
/v1/manage-recurring
GETPOSTAPI key

Manage Recurring Expenses

Gateway path
https://api.soledgic.com/v1/manage-recurring
Supabase function
/functions/v1/manage-recurring
Source
supabase/functions/manage-recurring/index.ts

Parameters

LocationNameTypeRequired
querydaysstringNo
bodynamestringYes
bodymerchant_namestringYes
bodycategory_codestringYes
bodyamountnumberYes
bodyrecurrence_interval'weekly' | 'monthly' | 'quarterly' | 'annual'Yes
bodyrecurrence_daynumberNo
bodystart_datestringYes
bodyend_datestringNo
bodybusiness_purposestringYes
bodyis_variable_amountbooleanNo

Example Request

curl -X GET "https://api.soledgic.com/v1/manage-recurring?days=value" \
  -H "x-api-key: slk_test_YOUR_API_KEY"

Webhooks

EndpointMethodsAuthStatusDetails
Configure Alerts
/v1/configure-alerts
POST
API keyPublicView details
Webhooks
/v1/webhooks
POST
API keyPublicView details
Configure Alerts
/v1/configure-alerts
POSTAPI key

Configure Alerts

Gateway path
https://api.soledgic.com/v1/configure-alerts
Supabase function
/functions/v1/configure-alerts
Source
supabase/functions/configure-alerts/index.ts

Parameters

LocationNameTypeRequired
bodyaction'list' | 'create' | 'update' | 'delete' | 'test'Yes
bodyconfig_idstringNo
bodyalert_type'breach_risk' | 'projection_created' | 'instrument_invalidated'No
bodychannel'slack' | 'email' | 'webhook'No
bodyconfig{No
bodywebhook_urlstringNo
bodychannelstringNo
bodyrecipientsstring[]No
bodythresholds{No
bodycoverage_ratio_belownumberNo
bodyshortfall_abovenumberNo
bodyis_activebooleanNo
bodylimitnumberNo

Example Request

curl -X POST "https://api.soledgic.com/v1/configure-alerts" \
  -H "x-api-key: slk_test_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "action": "list",
  "config_id": "config_id_123",
  "alert_type": "breach_risk",
  "channel": "value",
  "config": {},
  "webhook_url": "value",
  "recipients": [
    "item_1"
  ]
}'
Webhooks
/v1/webhooks
POSTAPI key

Webhooks Management

Gateway path
https://api.soledgic.com/v1/webhooks
Supabase function
/functions/v1/webhooks
Source
supabase/functions/webhooks/index.ts

Parameters

LocationNameTypeRequired
bodyaction'list' | 'create' | 'update' | 'delete' | 'test' | 'deliveries' | 'retry' | '...Yes
bodyendpoint_idstringNo
bodydelivery_idstringNo
bodyurlstringNo
bodydescriptionstringNo
bodyeventsstring[]No
bodyis_activebooleanNo

Example Request

curl -X POST "https://api.soledgic.com/v1/webhooks" \
  -H "x-api-key: slk_test_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "action": "list",
  "endpoint_id": "endpoint_id_123",
  "delivery_id": "delivery_id_123",
  "url": "value",
  "description": "value",
  "events": [
    "item_1"
  ],
  "is_active": true
}'

Tax

EndpointMethodsAuthStatusDetails
Tax Calculation
/v1/tax/calculations/{participant_id}
GET
API keyPublicView details
Tax Document Detail
/v1/tax/documents/{document_id}
GET
API keyPublicView details
Mark Tax Document Filed
/v1/tax/documents/{document_id}/mark-filed
POST
API keyPublicView details
Export Tax Documents
/v1/tax/documents/export
GET
API keyPublicView details
Generate Tax Documents
/v1/tax/documents/generate
POST
API keyPublicView details
Tax Documents
/v1/tax/documents
GET
API keyPublicView details
Tax Summary
/v1/tax/summaries/{tax_year}
GET
API keyPublicView details
Submit Tax Info
/v1/submit-tax-info
POST
Public/JWTDeprecatedView details
Tax Calculation
/v1/tax/calculations/{participant_id}
GETAPI key

Calculate participant-level tax totals and shared tax profile status for a year.

Gateway path
https://api.soledgic.com/v1/tax/calculations/{participant_id}
Supabase function
/functions/v1/tax-calculation
Source
supabase/functions/tax/index.ts

Parameters

LocationNameTypeRequired
pathparticipant_idstringYes
querytax_yearnumberNo

Example Request

curl -X GET "https://api.soledgic.com/v1/tax/calculations/participant_id_123?tax_year=1000" \
  -H "x-api-key: slk_test_YOUR_API_KEY"
Tax Document Detail
/v1/tax/documents/{document_id}
GETAPI key

Fetch a single generated tax document.

Gateway path
https://api.soledgic.com/v1/tax/documents/{document_id}
Supabase function
/functions/v1/tax-document-detail
Source
supabase/functions/tax/index.ts

Parameters

LocationNameTypeRequired
pathdocument_idstringYes

Example Request

curl -X GET "https://api.soledgic.com/v1/tax/documents/document_id_123" \
  -H "x-api-key: slk_test_YOUR_API_KEY"
Mark Tax Document Filed
/v1/tax/documents/{document_id}/mark-filed
POSTAPI key

Mark a generated tax document as filed.

Gateway path
https://api.soledgic.com/v1/tax/documents/{document_id}/mark-filed
Supabase function
/functions/v1/tax-document-mark-filed
Source
supabase/functions/tax/index.ts

Parameters

LocationNameTypeRequired
pathdocument_idstringYes

Example Request

curl -X POST "https://api.soledgic.com/v1/tax/documents/document_id_123/mark-filed" \
  -H "x-api-key: slk_test_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "example": "value"
}'
Export Tax Documents
/v1/tax/documents/export
GETAPI key

Export generated tax documents as CSV or JSON.

Gateway path
https://api.soledgic.com/v1/tax/documents/export
Supabase function
/functions/v1/tax-documents-export
Source
supabase/functions/tax/index.ts

Parameters

LocationNameTypeRequired
querytax_yearnumberNo
queryformat'csv' | 'json'No

Example Request

curl -X GET "https://api.soledgic.com/v1/tax/documents/export?tax_year=1000&format=csv" \
  -H "x-api-key: slk_test_YOUR_API_KEY"
Generate Tax Documents
/v1/tax/documents/generate
POSTAPI key

Generate tax documents for all participants that cross the filing threshold.

Gateway path
https://api.soledgic.com/v1/tax/documents/generate
Supabase function
/functions/v1/tax-documents-generate
Source
supabase/functions/tax/index.ts

Parameters

LocationNameTypeRequired
bodytax_yearnumberNo

Example Request

curl -X POST "https://api.soledgic.com/v1/tax/documents/generate" \
  -H "x-api-key: slk_test_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "tax_year": 1000
}'
Tax Documents
/v1/tax/documents
GETAPI key

List generated tax documents for a tax year.

Gateway path
https://api.soledgic.com/v1/tax/documents
Supabase function
/functions/v1/tax-documents-v2
Source
supabase/functions/tax/index.ts

Parameters

LocationNameTypeRequired
querytax_yearnumberNo

Example Request

curl -X GET "https://api.soledgic.com/v1/tax/documents?tax_year=1000" \
  -H "x-api-key: slk_test_YOUR_API_KEY"
Tax Summary
/v1/tax/summaries/{tax_year}
GETAPI key

Generate and return tax summary totals for one year, optionally filtered to a participant.

Gateway path
https://api.soledgic.com/v1/tax/summaries/{tax_year}
Supabase function
/functions/v1/tax-summary
Source
supabase/functions/tax/index.ts

Parameters

LocationNameTypeRequired
pathtax_yearnumberYes
queryparticipant_idstringNo

Example Request

curl -X GET "https://api.soledgic.com/v1/tax/summaries/1000?participant_id=participant_id_123" \
  -H "x-api-key: slk_test_YOUR_API_KEY"
Submit Tax Info
/v1/submit-tax-info
POSTPublic/JWTDeprecated

Submit Tax Info

Gateway path
https://api.soledgic.com/v1/submit-tax-info
Supabase function
/functions/v1/submit-tax-info
Source
supabase/functions/submit-tax-info/index.ts

Parameters

No formal parameters were inferred for this endpoint from source declarations.

Example Request

curl -X POST "https://api.soledgic.com/v1/submit-tax-info" \
  -H "Authorization: Bearer YOUR_JWT_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "example": "value"
}'

Reconciliation

EndpointMethodsAuthStatusDetails
Import Bank Statement
/v1/import-bank-statement
POST
API keyPublicView details
Manage Bank Accounts
/v1/manage-bank-accounts
GETPOST
API keyPublicView details
Auto Match Settlement Transaction
/v1/reconciliations/auto-match
POST
API keyPublicView details
Create Reconciliation Match
/v1/reconciliations/matches
POST
API keyPublicView details
Delete Reconciliation Match
/v1/reconciliations/matches/{transaction_id}
DELETE
API keyPublicView details
Create Reconciliation Snapshot
/v1/reconciliations/snapshots
POST
API keyPublicView details
Reconciliation Snapshot Detail
/v1/reconciliations/snapshots/{period_id}
GET
API keyPublicView details
Reconciliations Unmatched
/v1/reconciliations/unmatched
GET
API keyPublicView details
Reconcile
/v1/reconcile
POST
API keyDeprecatedView details
Import Bank Statement
/v1/import-bank-statement
POSTAPI key

Import Bank Statement

Gateway path
https://api.soledgic.com/v1/import-bank-statement
Supabase function
/functions/v1/import-bank-statement
Source
supabase/functions/import-bank-statement/index.ts

Parameters

LocationNameTypeRequired
bodybank_account_idstringYes
bodylinesBankStatementLine[]Yes
bodyauto_matchbooleanNo

Example Request

curl -X POST "https://api.soledgic.com/v1/import-bank-statement" \
  -H "x-api-key: slk_test_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "bank_account_id": "bank_account_id_123",
  "lines": [
    "item_1"
  ],
  "auto_match": true
}'
Manage Bank Accounts
/v1/manage-bank-accounts
GETPOSTAPI key

Manage Bank Accounts

Gateway path
https://api.soledgic.com/v1/manage-bank-accounts
Supabase function
/functions/v1/manage-bank-accounts
Source
supabase/functions/manage-bank-accounts/index.ts

Parameters

LocationNameTypeRequired
bodybank_namestringYes
bodyaccount_namestringYes
bodyaccount_type'checking' | 'savings' | 'credit_card' | 'other'Yes
bodyaccount_last_fourstringNo

Example Request

curl -X GET "https://api.soledgic.com/v1/manage-bank-accounts" \
  -H "x-api-key: slk_test_YOUR_API_KEY"
Auto Match Settlement Transaction
/v1/reconciliations/auto-match
POSTAPI key

Attempt to automatically match a bank aggregator transaction to a ledger transaction.

Gateway path
https://api.soledgic.com/v1/reconciliations/auto-match
Supabase function
/functions/v1/reconciliations-auto-match
Source
supabase/functions/reconciliations/index.ts

Parameters

LocationNameTypeRequired
bodybank_aggregator_transaction_idstringYes

Example Request

curl -X POST "https://api.soledgic.com/v1/reconciliations/auto-match" \
  -H "x-api-key: slk_test_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "bank_aggregator_transaction_id": "bank_aggregator_transaction_id_123"
}'
Create Reconciliation Match
/v1/reconciliations/matches
POSTAPI key

Match a ledger transaction to an external bank or settlement transaction.

Gateway path
https://api.soledgic.com/v1/reconciliations/matches
Supabase function
/functions/v1/reconciliations-match-create
Source
supabase/functions/reconciliations/index.ts

Parameters

LocationNameTypeRequired
bodytransaction_idstringYes
bodybank_transaction_idstringYes

Example Request

curl -X POST "https://api.soledgic.com/v1/reconciliations/matches" \
  -H "x-api-key: slk_test_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "transaction_id": "transaction_id_123",
  "bank_transaction_id": "bank_transaction_id_123"
}'
Delete Reconciliation Match
/v1/reconciliations/matches/{transaction_id}
DELETEAPI key

Remove an existing reconciliation match for a transaction.

Gateway path
https://api.soledgic.com/v1/reconciliations/matches/{transaction_id}
Supabase function
/functions/v1/reconciliations-match-delete
Source
supabase/functions/reconciliations/index.ts

Parameters

LocationNameTypeRequired
pathtransaction_idstringYes

Example Request

curl -X DELETE "https://api.soledgic.com/v1/reconciliations/matches/transaction_id_123" \
  -H "x-api-key: slk_test_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "example": "value"
}'
Create Reconciliation Snapshot
/v1/reconciliations/snapshots
POSTAPI key

Create a reconciliation snapshot for an accounting period or as-of date.

Gateway path
https://api.soledgic.com/v1/reconciliations/snapshots
Supabase function
/functions/v1/reconciliations-snapshot-create
Source
supabase/functions/reconciliations/index.ts

Parameters

LocationNameTypeRequired
bodyperiod_idstringNo
bodyas_of_datestringNo

Example Request

curl -X POST "https://api.soledgic.com/v1/reconciliations/snapshots" \
  -H "x-api-key: slk_test_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "period_id": "period_id_123",
  "as_of_date": "2026-01-01"
}'
Reconciliation Snapshot Detail
/v1/reconciliations/snapshots/{period_id}
GETAPI key

Fetch the latest reconciliation snapshot for a period and verify its integrity hash.

Gateway path
https://api.soledgic.com/v1/reconciliations/snapshots/{period_id}
Supabase function
/functions/v1/reconciliations-snapshot-detail
Source
supabase/functions/reconciliations/index.ts

Parameters

LocationNameTypeRequired
pathperiod_idstringYes

Example Request

curl -X GET "https://api.soledgic.com/v1/reconciliations/snapshots/period_id_123" \
  -H "x-api-key: slk_test_YOUR_API_KEY"
Reconciliations Unmatched
/v1/reconciliations/unmatched
GETAPI key

List unmatched ledger transactions that still need settlement or bank reconciliation.

Gateway path
https://api.soledgic.com/v1/reconciliations/unmatched
Supabase function
/functions/v1/reconciliations-unmatched
Source
supabase/functions/reconciliations/index.ts

Parameters

LocationNameTypeRequired
querylimitnumberNo

Example Request

curl -X GET "https://api.soledgic.com/v1/reconciliations/unmatched?limit=1000" \
  -H "x-api-key: slk_test_YOUR_API_KEY"
Reconcile
/v1/reconcile
POSTAPI keyDeprecated

Reconciliation

Gateway path
https://api.soledgic.com/v1/reconcile
Supabase function
/functions/v1/reconcile
Source
supabase/functions/reconcile/index.ts

Parameters

LocationNameTypeRequired
bodyactionActionYes
bodytransaction_idstringNo
bodybank_transaction_idstringNo
bodyperiod_idstringNo
bodyas_of_datestringNo

Example Request

curl -X POST "https://api.soledgic.com/v1/reconcile" \
  -H "x-api-key: slk_test_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "action": "value",
  "transaction_id": "transaction_id_123",
  "bank_transaction_id": "bank_transaction_id_123",
  "period_id": "period_id_123",
  "as_of_date": "2026-01-01"
}'

Risk & Security

EndpointMethodsAuthStatusDetails
Compliance Access Patterns
/v1/compliance/access-patterns
GET
API keyPublicView details
Compliance Financial Activity
/v1/compliance/financial-activity
GET
API keyPublicView details
Compliance Overview
/v1/compliance/overview
GET
API keyPublicView details
Compliance Security Summary
/v1/compliance/security-summary
GET
API keyPublicView details
Fraud Evaluation Detail
/v1/fraud/evaluations/{evaluation_id}
GET
API keyPublicView details
Fraud Evaluations
/v1/fraud/evaluations
POST
API keyPublicView details
Fraud Policies
/v1/fraud/policies
GETPOST
API keyPublicView details
Delete Fraud Policy
/v1/fraud/policies/{policy_id}
DELETE
API keyPublicView details
Security Alerts
/v1/security-alerts
POST
Public/JWTInternalView details
Send Breach Alert
/v1/send-breach-alert
POST
API keyInternalView details
Configure Risk Policy
/v1/configure-risk-policy
POST
API keyDeprecatedView details
Risk Evaluation
/v1/risk-evaluation
POST
API keyDeprecatedView details
Compliance Access Patterns
/v1/compliance/access-patterns
GETAPI key

List suspicious or high-volume access patterns for the current ledger.

Gateway path
https://api.soledgic.com/v1/compliance/access-patterns
Supabase function
/functions/v1/compliance-access-patterns
Source
supabase/functions/compliance/index.ts

Parameters

LocationNameTypeRequired
queryhoursnumberNo
querylimitnumberNo

Example Request

curl -X GET "https://api.soledgic.com/v1/compliance/access-patterns?hours=1000&limit=1000" \
  -H "x-api-key: slk_test_YOUR_API_KEY"
Compliance Financial Activity
/v1/compliance/financial-activity
GETAPI key

Summarize payout, sale, refund, and dispute activity for compliance review.

Gateway path
https://api.soledgic.com/v1/compliance/financial-activity
Supabase function
/functions/v1/compliance-financial-activity
Source
supabase/functions/compliance/index.ts

Parameters

LocationNameTypeRequired
querydaysnumberNo

Example Request

curl -X GET "https://api.soledgic.com/v1/compliance/financial-activity?days=1000" \
  -H "x-api-key: slk_test_YOUR_API_KEY"
Compliance Overview
/v1/compliance/overview
GETAPI key

Get a ledger-scoped overview of compliance and monitoring signals.

Gateway path
https://api.soledgic.com/v1/compliance/overview
Supabase function
/functions/v1/compliance-overview
Source
supabase/functions/compliance/index.ts

Parameters

LocationNameTypeRequired
querydaysnumberNo
queryhoursnumberNo

Example Request

curl -X GET "https://api.soledgic.com/v1/compliance/overview?days=1000&hours=1000" \
  -H "x-api-key: slk_test_YOUR_API_KEY"
Compliance Security Summary
/v1/compliance/security-summary
GETAPI key

Summarize risk-scored security and audit events for the current ledger.

Gateway path
https://api.soledgic.com/v1/compliance/security-summary
Supabase function
/functions/v1/compliance-security-summary
Source
supabase/functions/compliance/index.ts

Parameters

LocationNameTypeRequired
querydaysnumberNo

Example Request

curl -X GET "https://api.soledgic.com/v1/compliance/security-summary?days=1000" \
  -H "x-api-key: slk_test_YOUR_API_KEY"
Fraud Evaluation Detail
/v1/fraud/evaluations/{evaluation_id}
GETAPI key

Get a previously created fraud evaluation.

Gateway path
https://api.soledgic.com/v1/fraud/evaluations/{evaluation_id}
Supabase function
/functions/v1/fraud-evaluation-detail
Source
supabase/functions/fraud/index.ts

Parameters

LocationNameTypeRequired
pathevaluation_idstringYes

Example Request

curl -X GET "https://api.soledgic.com/v1/fraud/evaluations/evaluation_id_123" \
  -H "x-api-key: slk_test_YOUR_API_KEY"
Fraud Evaluations
/v1/fraud/evaluations
POSTAPI key

Evaluate a proposed transaction against configured fraud and policy rules.

Gateway path
https://api.soledgic.com/v1/fraud/evaluations
Supabase function
/functions/v1/fraud-evaluations
Source
supabase/functions/fraud/index.ts

Parameters

LocationNameTypeRequired
bodyidempotency_keystringYes
bodyamountnumberYes
bodycurrencystringNo
bodycounterparty_namestringNo
bodyauthorizing_instrument_idstringNo
bodyexpected_datestringNo
bodycategorystringNo

Example Request

curl -X POST "https://api.soledgic.com/v1/fraud/evaluations" \
  -H "x-api-key: slk_test_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "idempotency_key": "idempotency_key_123",
  "amount": 1000,
  "currency": "value",
  "counterparty_name": "value",
  "authorizing_instrument_id": "authorizing_instrument_id_123",
  "expected_date": "2026-01-01",
  "category": "value"
}'
Fraud Policies
/v1/fraud/policies
GETPOSTAPI key

List configured fraud policies or create a new policy rule.

Gateway path
https://api.soledgic.com/v1/fraud/policies
Supabase function
/functions/v1/fraud-policies
Source
supabase/functions/fraud/index.ts

Parameters

LocationNameTypeRequired
bodypolicy_type'require_instrument' | 'budget_cap' | 'projection_guard'No
bodyconfigRecord<string, unknown>No
bodyseverity'hard' | 'soft'No
bodyprioritynumberNo

Example Request

curl -X GET "https://api.soledgic.com/v1/fraud/policies" \
  -H "x-api-key: slk_test_YOUR_API_KEY"
Delete Fraud Policy
/v1/fraud/policies/{policy_id}
DELETEAPI key

Delete a configured fraud policy.

Gateway path
https://api.soledgic.com/v1/fraud/policies/{policy_id}
Supabase function
/functions/v1/fraud-policy-delete
Source
supabase/functions/fraud/index.ts

Parameters

LocationNameTypeRequired
pathpolicy_idstringYes

Example Request

curl -X DELETE "https://api.soledgic.com/v1/fraud/policies/policy_id_123" \
  -H "x-api-key: slk_test_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "example": "value"
}'
Security Alerts
/v1/security-alerts
POSTPublic/JWTInternal

Security Alerts

Gateway path
https://api.soledgic.com/v1/security-alerts
Supabase function
/functions/v1/security-alerts
Source
supabase/functions/security-alerts/index.ts

Parameters

No formal parameters were inferred for this endpoint from source declarations.

Example Request

curl -X POST "https://api.soledgic.com/v1/security-alerts" \
  -H "Authorization: Bearer YOUR_JWT_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "example": "value"
}'
Send Breach Alert
/v1/send-breach-alert
POSTAPI keyInternal

Send Breach Alert

Gateway path
https://api.soledgic.com/v1/send-breach-alert
Supabase function
/functions/v1/send-breach-alert
Source
supabase/functions/send-breach-alert/index.ts

Parameters

LocationNameTypeRequired
bodycash_balancenumberYes
bodypending_totalnumberYes
bodyshortfallnumberYes
bodycoverage_rationumberYes
bodytriggered_by'project_intent' | 'get_runway' | 'manual'Yes
bodyinstrument_idstringNo
bodyexternal_refstringNo
bodyprojections_creatednumberNo
bodychannel'slack' | 'email' | 'webhook'No

Example Request

curl -X POST "https://api.soledgic.com/v1/send-breach-alert" \
  -H "x-api-key: slk_test_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "cash_balance": 1000,
  "pending_total": 1000,
  "shortfall": 1000,
  "coverage_ratio": 1000,
  "triggered_by": "project_intent",
  "instrument_id": "instrument_id_123",
  "external_ref": "value",
  "projections_created": 1000
}'
Configure Risk Policy
/v1/configure-risk-policy
POSTAPI keyDeprecated

Configure Risk Policy

Gateway path
https://api.soledgic.com/v1/configure-risk-policy
Supabase function
/functions/v1/configure-risk-policy
Source
supabase/functions/configure-risk-policy/index.ts

Parameters

LocationNameTypeRequired
bodyaction'create' | 'list' | 'delete'Yes
bodypolicy_type'require_instrument' | 'budget_cap' | 'projection_guard'No
bodyconfigRecord<string, any>No
bodyseverity'hard' | 'soft'No
bodyprioritynumberNo
bodypolicy_idstringNo

Example Request

curl -X POST "https://api.soledgic.com/v1/configure-risk-policy" \
  -H "x-api-key: slk_test_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "action": "create",
  "policy_type": "require_instrument",
  "config": {},
  "severity": "hard",
  "priority": 1000,
  "policy_id": "policy_id_123"
}'
Risk Evaluation
/v1/risk-evaluation
POSTAPI keyDeprecated

Risk Evaluation

Gateway path
https://api.soledgic.com/v1/risk-evaluation
Supabase function
/functions/v1/risk-evaluation
Source
supabase/functions/risk-evaluation/index.ts

Parameters

LocationNameTypeRequired
bodyidempotency_keystringYes
bodyamountnumberYes
bodycurrencystringNo
bodycounterparty_namestringNo
bodyauthorizing_instrument_idstringNo
bodyexpected_datestringNo
bodycategorystringNo

Example Request

curl -X POST "https://api.soledgic.com/v1/risk-evaluation" \
  -H "x-api-key: slk_test_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "idempotency_key": "idempotency_key_123",
  "amount": 1000,
  "currency": "value",
  "counterparty_name": "value",
  "authorizing_instrument_id": "authorizing_instrument_id_123",
  "expected_date": "2026-01-01",
  "category": "value"
}'

Billing

EndpointMethodsAuthStatusDetails
Billing
/v1/billing
POST
Public/JWTPublicView details
Project Intent
/v1/project-intent
POST
API keyPublicView details
Billing
/v1/billing
POSTPublic/JWT

Usage-based billing summary (overages). Subscription actions are disabled.

Gateway path
https://api.soledgic.com/v1/billing
Supabase function
/functions/v1/billing
Source
supabase/functions/billing/index.ts

Parameters

LocationNameTypeRequired
bodyaction'get_subscription' | 'get_usage' | 'get_plans' | 'get_invoices' | 'get_payment_methods'Yes
bodyorganization_idstringNo

Example Request

curl -X POST "https://api.soledgic.com/v1/billing" \
  -H "Authorization: Bearer YOUR_JWT_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "action": "get_subscription",
  "organization_id": "organization_id_123"
}'
Project Intent
/v1/project-intent
POSTAPI key

Project Intent

Gateway path
https://api.soledgic.com/v1/project-intent
Supabase function
/functions/v1/project-intent
Source
supabase/functions/project-intent/index.ts

Parameters

LocationNameTypeRequired
bodyauthorizing_instrument_idstringYes
bodyuntil_datestringYes
bodyhorizon_countnumberNo

Example Request

curl -X POST "https://api.soledgic.com/v1/project-intent" \
  -H "x-api-key: slk_test_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "authorizing_instrument_id": "authorizing_instrument_id_123",
  "until_date": "2026-01-01",
  "horizon_count": 1000
}'

Health

EndpointMethodsAuthStatusDetails
Health Check
/v1/health-check
POST
Public/JWTInternalView details
Health Check
/v1/health-check
POSTPublic/JWTInternal

Health Check

Gateway path
https://api.soledgic.com/v1/health-check
Supabase function
/functions/v1/health-check
Source
supabase/functions/health-check/index.ts

Parameters

LocationNameTypeRequired
bodyaction'run' | 'status' | 'history' | 'run_all'Yes
bodyledger_idstringNo

Example Request

curl -X POST "https://api.soledgic.com/v1/health-check" \
  -H "Authorization: Bearer YOUR_JWT_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "action": "run",
  "ledger_id": "ledger_id_123"
}'

Internal

EndpointMethodsAuthStatusDetails
Bill Overages
/v1/bill-overages
POST
Custom/internalInternalView details
Ops Monitor
/v1/ops-monitor
POST
Custom/internalInternalView details
Process Processor Inbox
/v1/process-processor-inbox
POST
Custom/internalInternalView details
Process Webhooks
/v1/process-webhooks
POST
Custom/internalInternalView details
Reconcile Checkout Ledger
/v1/reconcile-checkout-ledger
POST
Custom/internalInternalView details
Test Cleanup
/v1/test-cleanup
POST
API keyInternalView details
Upload Receipt
/v1/upload-receipt
POST
API keyPublicView details
Bill Overages
/v1/bill-overages
POSTCustom/internalInternal

Calculate and record usage-based billing overages

Gateway path
https://api.soledgic.com/v1/bill-overages
Supabase function
/functions/v1/bill-overages
Source
supabase/functions/bill-overages/index.ts

Parameters

No formal parameters were inferred for this endpoint from source declarations.

Example Request

curl -X POST "https://api.soledgic.com/v1/bill-overages" \
  -H "Content-Type: application/json" \
  -d '{
  "example": "value"
}'
Ops Monitor
/v1/ops-monitor
POSTCustom/internalInternal

Production observability: monitors payment pipeline health

Gateway path
https://api.soledgic.com/v1/ops-monitor
Supabase function
/functions/v1/ops-monitor
Source
supabase/functions/ops-monitor/index.ts

Parameters

No formal parameters were inferred for this endpoint from source declarations.

Example Request

curl -X POST "https://api.soledgic.com/v1/ops-monitor" \
  -H "Content-Type: application/json" \
  -d '{
  "example": "value"
}'
Process Processor Inbox
/v1/process-processor-inbox
POSTCustom/internalInternal

Process pending processor webhook inbox events

Gateway path
https://api.soledgic.com/v1/process-processor-inbox
Supabase function
/functions/v1/process-processor-inbox
Source
supabase/functions/process-processor-inbox/index.ts

Parameters

No formal parameters were inferred for this endpoint from source declarations.

Example Request

curl -X POST "https://api.soledgic.com/v1/process-processor-inbox" \
  -H "Content-Type: application/json" \
  -d '{
  "example": "value"
}'
Process Webhooks
/v1/process-webhooks
POSTCustom/internalInternal

Process Webhooks

Gateway path
https://api.soledgic.com/v1/process-webhooks
Supabase function
/functions/v1/process-webhooks
Source
supabase/functions/process-webhooks/index.ts

Parameters

No formal parameters were inferred for this endpoint from source declarations.

Example Request

curl -X POST "https://api.soledgic.com/v1/process-webhooks" \
  -H "Content-Type: application/json" \
  -d '{
  "example": "value"
}'
Reconcile Checkout Ledger
/v1/reconcile-checkout-ledger
POSTCustom/internalInternal

Retry charged-but-unrecorded checkout sessions (charged_pending_ledger → sale)

Gateway path
https://api.soledgic.com/v1/reconcile-checkout-ledger
Supabase function
/functions/v1/reconcile-checkout-ledger
Source
supabase/functions/reconcile-checkout-ledger/index.ts

Parameters

LocationNameTypeRequired
bodylimitnumberNo
bodydry_runbooleanNo

Example Request

curl -X POST "https://api.soledgic.com/v1/reconcile-checkout-ledger" \
  -H "Content-Type: application/json" \
  -d '{
  "limit": 1000,
  "dry_run": true
}'
Test Cleanup
/v1/test-cleanup
POSTAPI keyInternal

Test Data Cleanup

Gateway path
https://api.soledgic.com/v1/test-cleanup
Supabase function
/functions/v1/test-cleanup
Source
supabase/functions/test-cleanup/index.ts

Parameters

No formal parameters were inferred for this endpoint from source declarations.

Example Request

curl -X POST "https://api.soledgic.com/v1/test-cleanup" \
  -H "x-api-key: slk_test_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "example": "value"
}'
Upload Receipt
/v1/upload-receipt
POSTAPI key

Upload Receipt

Gateway path
https://api.soledgic.com/v1/upload-receipt
Supabase function
/functions/v1/upload-receipt
Source
supabase/functions/upload-receipt/index.ts

Parameters

LocationNameTypeRequired
bodyfile_urlstringYes
bodyfile_namestringNo
bodyfile_sizenumberNo
bodymime_typestringNo
bodymerchant_namestringNo
bodytransaction_datestringNo
bodytotal_amountnumberNo
bodytransaction_idstringNo

Example Request

curl -X POST "https://api.soledgic.com/v1/upload-receipt" \
  -H "x-api-key: slk_test_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "file_url": "value",
  "file_name": "value",
  "file_size": 1000,
  "mime_type": "value",
  "merchant_name": "value",
  "transaction_date": "2026-01-01",
  "total_amount": 1000,
  "transaction_id": "transaction_id_123"
}'

Other

EndpointMethodsAuthStatusDetails
Wallets
/v1/wallets
GETPOST
API keyPublicView details
Wallets
/v1/wallets
GETPOSTAPI key

List scoped wallets or create a consumer credit wallet.

Gateway path
https://api.soledgic.com/v1/wallets
Supabase function
/functions/v1/wallets
Source
supabase/functions/wallets/index.ts

Parameters

LocationNameTypeRequired
queryowner_idstringNo
queryowner_typestringNo
querywallet_type'consumer_credit' | 'creator_earnings'No
querylimitnumberNo
queryoffsetnumberNo
bodyowner_idstringNo
bodyparticipant_idstringNo
bodyowner_typestringNo
bodywallet_type'consumer_credit' | 'creator_earnings'Yes
bodynamestringNo
bodymetadataRecord<string, unknown>No

Example Request

curl -X GET "https://api.soledgic.com/v1/wallets?owner_id=owner_id_123&owner_type=value&wallet_type=consumer_credit&limit=1000" \
  -H "x-api-key: slk_test_YOUR_API_KEY"

Error Responses

All endpoints return a consistent error envelope.

{
  "success": false,
  "error": "Error message here",
  "request_id": "req_xxx"
}
CodeMeaning
400Validation or malformed request
401Missing or invalid authentication
403Forbidden or account inactive
404Resource not found
409State conflict (duplicate or invalid transition)
413Payload too large
429Rate limit exceeded
500Internal server error