API Reference
Full generated reference for every Soledgic API endpoint.
Base URLs
https://api.soledgic.com/v1https://YOUR_PROJECT.supabase.co/functions/v1Most endpoints use x-api-key. Billing, bootstrap, and webhook endpoints use JWT or signature-based auth as shown per endpoint below.
Complete Endpoint Index
Generated from supabase/functions/*/index.ts. Current total: 70 endpoints (60 public, 8 internal, 2 deprecated).
| Endpoint | Methods | Auth | Status | Details |
|---|---|---|---|---|
Ap Aging /v1/ap-aging | GET | API key | Public | View details |
Ar Aging /v1/ar-aging | GET | API key | Public | View details |
Balance Sheet /v1/balance-sheet | GET | API key | Public | View details |
Billing /v1/billing | POST | Public/JWT | Public | View details |
Check Payout Eligibility /v1/check-payout-eligibility | GETPOST | API key | Public | View details |
Close Period /v1/close-period | POST | API key | Public | View details |
Configure Alerts /v1/configure-alerts | POST | API key | Public | View details |
Configure Risk Policy /v1/configure-risk-policy | POST | API key | Public | View details |
Connected Accounts /v1/connected-accounts | POST | API key | Public | View details |
Create Checkout /v1/create-checkout | POST | API key | Public | View details |
Create Creator /v1/create-creator | POST | API key | Public | View details |
Create Ledger /v1/create-ledger | POST | Public/JWT | Public | View details |
Debug Expense /v1/debug-expense | POST | API key | Internal | View details |
Debug Handler /v1/debug-handler | POST | API key | Internal | View details |
Execute Payout /v1/execute-payout | POST | API key | Public | View details |
Export Report /v1/export-report | POST | API key | Public | View details |
Frozen Statements /v1/frozen-statements | POST | API key | Public | View details |
Generate Pdf /v1/generate-pdf | POST | API key | Public | View details |
Generate Report /v1/generate-report | POST | API key | Public | View details |
Generate Tax Summary /v1/generate-tax-summary | POST | API key | Public | View details |
Get Balance /v1/get-balance | GET | API key | Public | View details |
Get Balances /v1/get-balances | GETPOST | API key | Public | View details |
Get Runway /v1/get-runway | GET | API key | Public | View details |
Get Transactions /v1/get-transactions | GET | API key | Public | View details |
Health Check /v1/health-check | POST | Public/JWT | Internal | View details |
Import Bank Statement /v1/import-bank-statement | POST | API key | Public | View details |
Import Transactions /v1/import-transactions | POST | API key | Public | View details |
Invoices /v1/invoices | GETPOST | API key | Public | View details |
List Ledgers /v1/list-ledgers | GET | Public/JWT | Public | View details |
Manage Bank Accounts /v1/manage-bank-accounts | GETPOST | API key | Public | View details |
Manage Budgets /v1/manage-budgets | GETPOST | API key | Public | View details |
Manage Contractors /v1/manage-contractors | GETPOST | API key | Public | View details |
Manage Recurring /v1/manage-recurring | GETPOST | API key | Public | View details |
Manage Splits /v1/manage-splits | POST | API key | Public | View details |
Pay Bill /v1/pay-bill | POST | API key | Public | View details |
Plaid /v1/plaid | POST | API key | Public | View details |
Preflight Authorization /v1/preflight-authorization | POST | API key | Public | View details |
Process Payout /v1/process-payout | POST | API key | Public | View details |
Process Webhooks /v1/process-webhooks | POST | Custom/internal | Internal | View details |
Profit Loss /v1/profit-loss | GETPOST | API key | Public | View details |
Project Intent /v1/project-intent | POST | API key | Public | View details |
Receive Payment /v1/receive-payment | POST | API key | Public | View details |
Reconcile /v1/reconcile | POST | API key | Public | View details |
Record Adjustment /v1/record-adjustment | POST | API key | Public | View details |
Record Bill /v1/record-bill | POST | API key | Public | View details |
Record Expense /v1/record-expense | POST | API key | Public | View details |
Record Income /v1/record-income | POST | API key | Public | View details |
Record Opening Balance /v1/record-opening-balance | POST | API key | Public | View details |
Record Refund /v1/record-refund | POST | API key | Public | View details |
Record Sale /v1/record-sale | POST | API key | Public | View details |
Record Transfer /v1/record-transfer | POST | API key | Public | View details |
Register Instrument /v1/register-instrument | POST | API key | Public | View details |
Release Funds /v1/release-funds | POST | API key | Public | View details |
Reverse Transaction /v1/reverse-transaction | POST | API key | Public | View details |
Risk Evaluation /v1/risk-evaluation | POST | API key | Public | View details |
Scheduled Payouts /v1/scheduled-payouts | POST | API key | Internal | View details |
Security Alerts /v1/security-alerts | POST | Public/JWT | Internal | View details |
Send Breach Alert /v1/send-breach-alert | POST | API key | Internal | View details |
Send Statements /v1/send-statements | POST | API key | Public | View details |
Stripe /v1/stripe | POST | API key | Public | View details |
Stripe Billing Webhook /v1/stripe-billing-webhook | POST | Webhook signature | Public | View details |
Stripe Connect Webhook /v1/stripe-connect-webhook | POST | Webhook signature | Public | View details |
Stripe Reconciliation /v1/stripe-reconciliation | POST | API key | Public | View details |
Stripe Webhook /v1/stripe-webhook | POST | Webhook signature | Deprecated | View details |
Submit Tax Info /v1/submit-tax-info | POST | Public/JWT | Deprecated | View details |
Tax Documents /v1/tax-documents | POST | API key | Public | View details |
Test Cleanup /v1/test-cleanup | POST | API key | Internal | View details |
Trial Balance /v1/trial-balance | GETPOST | API key | Public | View details |
Upload Receipt /v1/upload-receipt | POST | API key | Public | View details |
Webhooks /v1/webhooks | POST | API key | Public | View details |
Endpoint Details
Each entry includes inferred parameter schemas and a ready-to-run request example.
Ap Aging/v1/ap-agingGETAPI key
/v1/ap-agingAccounts Payable Aging Report
https://api.soledgic.com/v1/ap-aging/functions/v1/ap-agingsupabase/functions/ap-aging/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| query | as_of_date | string | No |
Example Request
curl -X GET "https://api.soledgic.com/v1/ap-aging?as_of_date=2026-01-01" \ -H "x-api-key: sk_test_YOUR_API_KEY"
Ar Aging/v1/ar-agingGETAPI key
/v1/ar-agingAccounts Receivable Aging Report
https://api.soledgic.com/v1/ar-aging/functions/v1/ar-agingsupabase/functions/ar-aging/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| query | as_of_date | string | No |
Example Request
curl -X GET "https://api.soledgic.com/v1/ar-aging?as_of_date=2026-01-01" \ -H "x-api-key: sk_test_YOUR_API_KEY"
Balance Sheet/v1/balance-sheetGETAPI key
/v1/balance-sheetBalance Sheet Report
https://api.soledgic.com/v1/balance-sheet/functions/v1/balance-sheetsupabase/functions/balance-sheet/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| query | as_of_date | string | No |
Example Request
curl -X GET "https://api.soledgic.com/v1/balance-sheet?as_of_date=2026-01-01" \ -H "x-api-key: sk_test_YOUR_API_KEY"
Billing/v1/billingPOSTPublic/JWT
/v1/billingBilling Management API
https://api.soledgic.com/v1/billing/functions/v1/billingsupabase/functions/billing/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | action | 'get_subscription' | 'get_usage' | 'get_invoices' | 'get_payment_methods' | | Yes |
| body | organization_id | string | No |
| body | price_id | string | No |
| body | quantity | number | No |
| body | return_url | string | No |
| body | cancel_url | string | No |
| body | payment_method_id | string | No |
| body | usage_type | string | No |
| body | usage_quantity | number | No |
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",
"price_id": "price_id_123",
"quantity": 1000,
"return_url": "value",
"cancel_url": "value",
"payment_method_id": "payment_method_id_123",
"usage_type": "value"
}'Check Payout Eligibility/v1/check-payout-eligibilityGETPOSTAPI key
/v1/check-payout-eligibilityCheck Payout Eligibility
https://api.soledgic.com/v1/check-payout-eligibility/functions/v1/check-payout-eligibilitysupabase/functions/check-payout-eligibility/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| query | creator_id | string | No |
Example Request
curl -X GET "https://api.soledgic.com/v1/check-payout-eligibility?creator_id=creator_id_123" \ -H "x-api-key: sk_test_YOUR_API_KEY"
Close Period/v1/close-periodPOSTAPI key
/v1/close-periodClose Accounting Period
https://api.soledgic.com/v1/close-period/functions/v1/close-periodsupabase/functions/close-period/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | year | number | Yes |
| body | month | number | No |
| body | quarter | number | No |
| body | notes | string | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/close-period" \
-H "x-api-key: sk_test_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"year": 1000,
"month": 1000,
"quarter": 1000,
"notes": "value"
}'Configure Alerts/v1/configure-alertsPOSTAPI key
/v1/configure-alertsConfigure Alerts
https://api.soledgic.com/v1/configure-alerts/functions/v1/configure-alertssupabase/functions/configure-alerts/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | action | 'list' | 'create' | 'update' | 'delete' | 'test' | Yes |
| body | config_id | string | No |
| body | alert_type | 'breach_risk' | 'projection_created' | 'instrument_invalidated' | No |
| body | channel | 'slack' | 'email' | 'webhook' | No |
| body | config | { | No |
| body | webhook_url | string | No |
| body | channel | string | No |
| body | recipients | string[] | No |
| body | thresholds | { | No |
| body | coverage_ratio_below | number | No |
| body | shortfall_above | number | No |
| body | is_active | boolean | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/configure-alerts" \
-H "x-api-key: sk_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"
]
}'Configure Risk Policy/v1/configure-risk-policyPOSTAPI key
/v1/configure-risk-policyConfigure Risk Policy
https://api.soledgic.com/v1/configure-risk-policy/functions/v1/configure-risk-policysupabase/functions/configure-risk-policy/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | action | 'create' | 'list' | 'delete' | Yes |
| body | policy_type | 'require_instrument' | 'budget_cap' | 'projection_guard' | No |
| body | config | Record<string, any> | No |
| body | severity | 'hard' | 'soft' | No |
| body | priority | number | No |
| body | policy_id | string | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/configure-risk-policy" \
-H "x-api-key: sk_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"
}'Connected Accounts/v1/connected-accountsPOSTAPI key
/v1/connected-accountsConnected Accounts
https://api.soledgic.com/v1/connected-accounts/functions/v1/connected-accountssupabase/functions/connected-accounts/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | action | 'create' | 'get' | 'list' | 'update_status' | 'create_onboarding_link' | 'cre... | Yes |
| body | entity_type | 'creator' | 'venture' | 'merchant' | No |
| body | entity_id | string | No |
| body | email | string | No |
| body | display_name | string | No |
| body | country | string | No |
| body | connected_account_id | string | No |
| body | stripe_account_id | string | No |
| body | entity_type_filter | string | No |
| body | status_filter | string | No |
| body | limit | number | No |
| body | offset | number | No |
| body | return_url | string | No |
| body | refresh_url | string | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/connected-accounts" \
-H "x-api-key: sk_test_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"action": "create",
"entity_type": "creator",
"entity_id": "entity_id_123",
"email": "user@example.com",
"display_name": "value",
"country": "value",
"connected_account_id": "connected_account_id_123",
"stripe_account_id": "stripe_account_id_123"
}'Create Checkout/v1/create-checkoutPOSTAPI key
/v1/create-checkoutCreate Checkout
https://api.soledgic.com/v1/create-checkout/functions/v1/create-checkoutsupabase/functions/create-checkout/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | amount | number | Yes |
| body | creator_id | string | Yes |
| body | currency | string | No |
| body | product_id | string | No |
| body | product_name | string | No |
| body | customer_email | string | No |
| body | customer_id | string | No |
| body | capture_method | 'automatic' | 'manual' | No |
| body | setup_future_usage | 'off_session' | 'on_session' | No |
| body | metadata | Record<string, string> | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/create-checkout" \
-H "x-api-key: sk_test_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"amount": 1000,
"creator_id": "creator_id_123",
"currency": "value",
"product_id": "product_id_123",
"product_name": "value",
"customer_email": "user@example.com",
"customer_id": "customer_id_123",
"capture_method": "automatic"
}'Create Creator/v1/create-creatorPOSTAPI key
/v1/create-creatorCreate Creator
https://api.soledgic.com/v1/create-creator/functions/v1/create-creatorsupabase/functions/create-creator/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | creator_id | string | Yes |
| body | display_name | string | No |
| body | email | string | No |
| body | default_split_percent | number | No |
| body | tax_info | { | No |
| body | tax_id_type | 'ssn' | 'ein' | 'itin' | No |
| body | tax_id_last4 | string | No |
| body | legal_name | string | No |
| body | business_type | 'individual' | 'sole_proprietor' | 'llc' | 'corporation' | 'partnership' | No |
| body | address | { | No |
| body | line1 | string | No |
| body | line2 | string | No |
| body | city | string | No |
| body | state | string | No |
| body | postal_code | string | No |
| body | country | string | No |
| body | payout_preferences | { | No |
| body | schedule | 'manual' | 'weekly' | 'biweekly' | 'monthly' | No |
| body | minimum_amount | number | No |
| body | method | 'stripe' | 'paypal' | 'bank_transfer' | No |
| body | metadata | Record<string, any> | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/create-creator" \
-H "x-api-key: sk_test_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"creator_id": "creator_id_123",
"display_name": "value",
"email": "user@example.com",
"default_split_percent": 20,
"tax_info": {},
"tax_id_type": "ssn",
"tax_id_last4": "tax_id_last4_123",
"legal_name": "value"
}'Create Ledger/v1/create-ledgerPOSTPublic/JWT
/v1/create-ledgerCreate Ledger
https://api.soledgic.com/v1/create-ledger/functions/v1/create-ledgersupabase/functions/create-ledger/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | business_name | string | Yes |
| body | owner_email | string | Yes |
| body | ledger_mode | 'standard' | 'platform' | No |
| body | settings | { | No |
| body | default_tax_rate | number | No |
| body | fiscal_year_start | string | No |
| body | receipt_threshold | number | No |
| body | default_split_percent | number | No |
| body | platform_fee_percent | number | No |
| body | min_payout_amount | number | No |
| body | payout_schedule | 'manual' | 'weekly' | 'monthly' | No |
| body | tax_withholding_percent | number | No |
| body | currency | string | No |
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
}'Debug Expense/v1/debug-expensePOSTAPI keyInternal
/v1/debug-expenseDebug version of record-expense to capture actual errors
https://api.soledgic.com/v1/debug-expense/functions/v1/debug-expensesupabase/functions/debug-expense/index.tsParameters
No formal parameters were inferred for this endpoint from source declarations.
Example Request
curl -X POST "https://api.soledgic.com/v1/debug-expense" \
-H "x-api-key: sk_test_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"example": "value"
}'Debug Handler/v1/debug-handlerPOSTAPI keyInternal
/v1/debug-handlerDebug version using createHandler to isolate the issue
https://api.soledgic.com/v1/debug-handler/functions/v1/debug-handlersupabase/functions/debug-handler/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | message | string | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/debug-handler" \
-H "x-api-key: sk_test_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"message": "value"
}'Execute Payout/v1/execute-payoutPOSTAPI key
/v1/execute-payoutSoledgic Processor Adapter
https://api.soledgic.com/v1/execute-payout/functions/v1/execute-payoutsupabase/functions/execute-payout/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | action | 'execute' | 'batch_execute' | 'get_status' | 'configure_rail' | 'list_rails' ... | Yes |
| body | payout_id | string | No |
| body | payout_ids | string[] | No |
| body | rail | PayoutRail | No |
| body | rail_config | RailConfig | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/execute-payout" \
-H "x-api-key: sk_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"
}'Export Report/v1/export-reportPOSTAPI key
/v1/export-reportExport Report
https://api.soledgic.com/v1/export-report/functions/v1/export-reportsupabase/functions/export-report/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | report_type | 'transaction_detail' | 'creator_earnings' | 'platform_revenue' | | Yes |
| body | format | 'csv' | 'json' | Yes |
| body | start_date | string | No |
| body | end_date | string | No |
| body | creator_id | string | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/export-report" \
-H "x-api-key: sk_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"
}'Frozen Statements/v1/frozen-statementsPOSTAPI key
/v1/frozen-statementsFrozen Statements
https://api.soledgic.com/v1/frozen-statements/functions/v1/frozen-statementssupabase/functions/frozen-statements/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | action | Action | Yes |
| body | period_id | string | No |
| body | statement_type | StatementType | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/frozen-statements" \
-H "x-api-key: sk_test_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"action": "value",
"period_id": "period_id_123",
"statement_type": "value"
}'Generate Pdf/v1/generate-pdfPOSTAPI key
/v1/generate-pdfGenerate PDF Reports
https://api.soledgic.com/v1/generate-pdf/functions/v1/generate-pdfsupabase/functions/generate-pdf/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | report_type | ReportType | Yes |
| body | period_id | string | No |
| body | creator_id | string | No |
| body | start_date | string | No |
| body | end_date | string | No |
| body | tax_year | number | No |
| body | ledger_id | string | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/generate-pdf" \
-H "x-api-key: sk_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-reportPOSTAPI key
/v1/generate-reportGenerate Report
https://api.soledgic.com/v1/generate-report/functions/v1/generate-reportsupabase/functions/generate-report/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | report_type | ReportType | Yes |
| body | start_date | string | No |
| body | end_date | string | No |
| body | creator_id | string | No |
| body | format | 'json' | 'csv' | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/generate-report" \
-H "x-api-key: sk_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"
}'Generate Tax Summary/v1/generate-tax-summaryPOSTAPI key
/v1/generate-tax-summaryGenerate Tax Summary
https://api.soledgic.com/v1/generate-tax-summary/functions/v1/generate-tax-summarysupabase/functions/generate-tax-summary/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | tax_year | number | Yes |
| body | creator_id | string | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/generate-tax-summary" \
-H "x-api-key: sk_test_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"tax_year": 1000,
"creator_id": "creator_id_123"
}'Get Balance/v1/get-balanceGETAPI key
/v1/get-balanceGet Balance
https://api.soledgic.com/v1/get-balance/functions/v1/get-balancesupabase/functions/get-balance/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| query | creator_id | string | No |
| query | include_platform | string | No |
Example Request
curl -X GET "https://api.soledgic.com/v1/get-balance?creator_id=creator_id_123&include_platform=value" \ -H "x-api-key: sk_test_YOUR_API_KEY"
Get Balances/v1/get-balancesGETPOSTAPI key
/v1/get-balancesGet Balances
https://api.soledgic.com/v1/get-balances/functions/v1/get-balancessupabase/functions/get-balances/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | action | Action | Yes |
| body | account_id | string | No |
| body | creator_id | string | No |
| body | as_of_date | string | No |
Example Request
curl -X GET "https://api.soledgic.com/v1/get-balances" \ -H "x-api-key: sk_test_YOUR_API_KEY"
Get Runway/v1/get-runwayGETAPI key
/v1/get-runwayGet Runway
https://api.soledgic.com/v1/get-runway/functions/v1/get-runwaysupabase/functions/get-runway/index.tsParameters
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: sk_test_YOUR_API_KEY"
Get Transactions/v1/get-transactionsGETAPI key
/v1/get-transactionsGet Transactions
https://api.soledgic.com/v1/get-transactions/functions/v1/get-transactionssupabase/functions/get-transactions/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| query | creator_id | string | No |
| query | type | string | No |
| query | status | string | No |
| query | start_date | string | No |
| query | end_date | string | No |
| query | page | string | No |
| query | per_page | string | No |
| query | include_entries | string | No |
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: sk_test_YOUR_API_KEY"
Health Check/v1/health-checkPOSTPublic/JWTInternal
/v1/health-checkHealth Check
https://api.soledgic.com/v1/health-check/functions/v1/health-checksupabase/functions/health-check/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | action | 'run' | 'status' | 'history' | 'run_all' | Yes |
| body | ledger_id | string | No |
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"
}'Import Bank Statement/v1/import-bank-statementPOSTAPI key
/v1/import-bank-statementImport Bank Statement
https://api.soledgic.com/v1/import-bank-statement/functions/v1/import-bank-statementsupabase/functions/import-bank-statement/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | bank_account_id | string | Yes |
| body | lines | BankStatementLine[] | Yes |
| body | auto_match | boolean | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/import-bank-statement" \
-H "x-api-key: sk_test_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"bank_account_id": "bank_account_id_123",
"lines": [
"item_1"
],
"auto_match": true
}'Import Transactions/v1/import-transactionsPOSTAPI key
/v1/import-transactionsImport Transactions
https://api.soledgic.com/v1/import-transactions/functions/v1/import-transactionssupabase/functions/import-transactions/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | action | 'parse_preview' | 'import' | 'get_templates' | 'save_template' | Yes |
| body | format | 'csv' | 'ofx' | 'qfx' | 'auto' | No |
| body | data | string | No |
| body | mapping | ColumnMapping | No |
| body | template_id | string | No |
| body | template | ImportTemplate | No |
| body | transactions | ParsedTransaction[] | No |
| body | account_name | string | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/import-transactions" \
-H "x-api-key: sk_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"
}'Invoices/v1/invoicesGETPOSTAPI key
/v1/invoicesInvoice Management
https://api.soledgic.com/v1/invoices/functions/v1/invoicessupabase/functions/invoices/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| query | status | string | No |
| query | customer_id | string | No |
| query | limit | string | No |
| query | offset | string | No |
| body | customer_name | string | Yes |
| body | customer_email | string | No |
| body | customer_id | string | No |
| body | customer_address | { | No |
| body | line1 | string | No |
| body | line2 | string | No |
| body | city | string | No |
| body | state | string | No |
| body | postal_code | string | No |
| body | country | string | No |
| body | line_items | InvoiceLineItem[] | Yes |
| body | due_date | string | No |
| body | notes | string | No |
| body | terms | string | No |
| body | reference_id | string | No |
| body | metadata | Record<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: sk_test_YOUR_API_KEY"
List Ledgers/v1/list-ledgersGETPublic/JWT
/v1/list-ledgersList Ledgers
https://api.soledgic.com/v1/list-ledgers/functions/v1/list-ledgerssupabase/functions/list-ledgers/index.tsParameters
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"
Manage Bank Accounts/v1/manage-bank-accountsGETPOSTAPI key
/v1/manage-bank-accountsManage Bank Accounts
https://api.soledgic.com/v1/manage-bank-accounts/functions/v1/manage-bank-accountssupabase/functions/manage-bank-accounts/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | bank_name | string | Yes |
| body | account_name | string | Yes |
| body | account_type | 'checking' | 'savings' | 'credit_card' | 'paypal' | 'other' | Yes |
| body | account_last_four | string | No |
Example Request
curl -X GET "https://api.soledgic.com/v1/manage-bank-accounts" \ -H "x-api-key: sk_test_YOUR_API_KEY"
Manage Budgets/v1/manage-budgetsGETPOSTAPI key
/v1/manage-budgetsManage Budgets
https://api.soledgic.com/v1/manage-budgets/functions/v1/manage-budgetssupabase/functions/manage-budgets/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | name | string | Yes |
| body | category_code | string | No |
| body | budget_amount | number | Yes |
| body | budget_period | 'weekly' | 'monthly' | 'quarterly' | 'annual' | Yes |
| body | alert_at_percentage | number | No |
Example Request
curl -X GET "https://api.soledgic.com/v1/manage-budgets" \ -H "x-api-key: sk_test_YOUR_API_KEY"
Manage Contractors/v1/manage-contractorsGETPOSTAPI key
/v1/manage-contractorsManage Contractors
https://api.soledgic.com/v1/manage-contractors/functions/v1/manage-contractorssupabase/functions/manage-contractors/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | contractor_id | string | Yes |
| body | amount | number | Yes |
| body | payment_date | string | Yes |
| body | payment_method | string | No |
| body | payment_reference | string | No |
| body | description | string | No |
Example Request
curl -X GET "https://api.soledgic.com/v1/manage-contractors" \ -H "x-api-key: sk_test_YOUR_API_KEY"
Manage Recurring/v1/manage-recurringGETPOSTAPI key
/v1/manage-recurringManage Recurring Expenses
https://api.soledgic.com/v1/manage-recurring/functions/v1/manage-recurringsupabase/functions/manage-recurring/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| query | days | string | No |
| body | name | string | Yes |
| body | merchant_name | string | Yes |
| body | category_code | string | Yes |
| body | amount | number | Yes |
| body | recurrence_interval | 'weekly' | 'monthly' | 'quarterly' | 'annual' | Yes |
| body | recurrence_day | number | No |
| body | start_date | string | Yes |
| body | end_date | string | No |
| body | business_purpose | string | Yes |
| body | is_variable_amount | boolean | No |
Example Request
curl -X GET "https://api.soledgic.com/v1/manage-recurring?days=value" \ -H "x-api-key: sk_test_YOUR_API_KEY"
Manage Splits/v1/manage-splitsPOSTAPI key
/v1/manage-splitsManage Splits
https://api.soledgic.com/v1/manage-splits/functions/v1/manage-splitssupabase/functions/manage-splits/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | action | Action | Yes |
| body | creator_id | string | No |
| body | creator_percent | number | No |
| body | product_id | string | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/manage-splits" \
-H "x-api-key: sk_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"
}'Pay Bill/v1/pay-billPOSTAPI key
/v1/pay-billRecords payment of a bill (reduces A/P, reduces Cash)
https://api.soledgic.com/v1/pay-bill/functions/v1/pay-billsupabase/functions/pay-bill/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | bill_transaction_id | string | No |
| body | amount | number | Yes |
| body | vendor_name | string | No |
| body | reference_id | string | No |
| body | payment_method | string | No |
| body | payment_date | string | No |
| body | metadata | Record<string, any> | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/pay-bill" \
-H "x-api-key: sk_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": {}
}'Plaid/v1/plaidPOSTAPI key
/v1/plaidPlaid Integration
https://api.soledgic.com/v1/plaid/functions/v1/plaidsupabase/functions/plaid/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | action | 'create_link_token' | 'exchange_token' | 'list_connections' | 'sync' | 'disco... | Yes |
| body | connection_id | string | No |
| body | public_token | string | No |
| body | plaid_transaction_id | string | No |
| body | ledger_transaction_id | string | No |
| body | rule | { | No |
| body | name | string | Yes |
| body | conditions | Record<string, any> | Yes |
| body | action | string | Yes |
| body | action_config | Record<string, any> | No |
| body | rule_id | string | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/plaid" \
-H "x-api-key: sk_test_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"action": "value",
"name": "value",
"conditions": {},
"connection_id": "connection_id_123",
"public_token": "value",
"plaid_transaction_id": "plaid_transaction_id_123",
"ledger_transaction_id": "ledger_transaction_id_123"
}'Process Payout/v1/process-payoutPOSTAPI key
/v1/process-payoutProcess Payout
https://api.soledgic.com/v1/process-payout/functions/v1/process-payoutsupabase/functions/process-payout/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | creator_id | string | Yes |
| body | amount | number | Yes |
| body | reference_id | string | Yes |
| body | reference_type | string | No |
| body | description | string | No |
| body | payout_method | string | No |
| body | fees | number | No |
| body | fees_paid_by | 'platform' | 'creator' | No |
| body | metadata | Record<string, any> | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/process-payout" \
-H "x-api-key: sk_test_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"creator_id": "creator_id_123",
"amount": 1000,
"reference_id": "reference_id_123",
"reference_type": "value",
"description": "value",
"payout_method": "value",
"fees": 1000,
"fees_paid_by": "platform"
}'Process Webhooks/v1/process-webhooksPOSTCustom/internalInternal
/v1/process-webhooksProcess Webhooks
https://api.soledgic.com/v1/process-webhooks/functions/v1/process-webhookssupabase/functions/process-webhooks/index.tsParameters
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"
}'Profit Loss/v1/profit-lossGETPOSTAPI key
/v1/profit-lossProfit & Loss Report
https://api.soledgic.com/v1/profit-loss/functions/v1/profit-losssupabase/functions/profit-loss/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| query | year | string | No |
| query | month | string | No |
| query | quarter | string | No |
| query | breakdown | string | No |
| query | start_date | string | No |
| query | end_date | string | No |
Example Request
curl -X GET "https://api.soledgic.com/v1/profit-loss?year=value&month=value&quarter=value&breakdown=value" \ -H "x-api-key: sk_test_YOUR_API_KEY"
Project Intent/v1/project-intentPOSTAPI key
/v1/project-intentProject Intent
https://api.soledgic.com/v1/project-intent/functions/v1/project-intentsupabase/functions/project-intent/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | authorizing_instrument_id | string | Yes |
| body | until_date | string | Yes |
| body | horizon_count | number | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/project-intent" \
-H "x-api-key: sk_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
}'Receive Payment/v1/receive-paymentPOSTAPI key
/v1/receive-paymentReceive Payment
https://api.soledgic.com/v1/receive-payment/functions/v1/receive-paymentsupabase/functions/receive-payment/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | invoice_transaction_id | string | No |
| body | amount | number | Yes |
| body | customer_name | string | No |
| body | customer_id | string | No |
| body | reference_id | string | No |
| body | payment_method | string | No |
| body | payment_date | string | No |
| body | metadata | Record<string, any> | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/receive-payment" \
-H "x-api-key: sk_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": {}
}'Reconcile/v1/reconcilePOSTAPI key
/v1/reconcileReconciliation
https://api.soledgic.com/v1/reconcile/functions/v1/reconcilesupabase/functions/reconcile/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | action | Action | Yes |
| body | transaction_id | string | No |
| body | bank_transaction_id | string | No |
| body | period_id | string | No |
| body | as_of_date | string | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/reconcile" \
-H "x-api-key: sk_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"
}'Record Adjustment/v1/record-adjustmentPOSTAPI key
/v1/record-adjustmentRecord Adjustment Journal
https://api.soledgic.com/v1/record-adjustment/functions/v1/record-adjustmentsupabase/functions/record-adjustment/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | adjustment_type | string | Yes |
| body | adjustment_date | string | No |
| body | entries | AdjustmentEntry[] | Yes |
| body | reason | string | Yes |
| body | original_transaction_id | string | No |
| body | supporting_documentation | string | No |
| body | prepared_by | string | Yes |
Example Request
curl -X POST "https://api.soledgic.com/v1/record-adjustment" \
-H "x-api-key: sk_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-billPOSTAPI key
/v1/record-billRecord Bill
https://api.soledgic.com/v1/record-bill/functions/v1/record-billsupabase/functions/record-bill/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | amount | number | Yes |
| body | description | string | Yes |
| body | vendor_name | string | Yes |
| body | vendor_id | string | No |
| body | reference_id | string | No |
| body | due_date | string | No |
| body | expense_category | string | No |
| body | paid | boolean | No |
| body | metadata | Record<string, any> | No |
| body | authorizing_instrument_id | string | No |
| body | risk_evaluation_id | string | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/record-bill" \
-H "x-api-key: sk_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-expensePOSTAPI key
/v1/record-expenseRecord Expense
https://api.soledgic.com/v1/record-expense/functions/v1/record-expensesupabase/functions/record-expense/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | reference_id | string | Yes |
| body | amount | number | Yes |
| body | description | string | Yes |
| body | category | string | No |
| body | vendor_id | string | No |
| body | vendor_name | string | No |
| body | paid_from | 'cash' | 'credit_card' | string | No |
| body | receipt_url | string | No |
| body | tax_deductible | boolean | No |
| body | metadata | Record<string, any> | No |
| body | authorizing_instrument_id | string | No |
| body | risk_evaluation_id | string | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/record-expense" \
-H "x-api-key: sk_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-incomePOSTAPI key
/v1/record-incomeRecord Income
https://api.soledgic.com/v1/record-income/functions/v1/record-incomesupabase/functions/record-income/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | reference_id | string | Yes |
| body | amount | number | Yes |
| body | description | string | Yes |
| body | category | string | No |
| body | customer_id | string | No |
| body | customer_name | string | No |
| body | received_to | 'cash' | string | No |
| body | invoice_id | string | No |
| body | metadata | Record<string, any> | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/record-income" \
-H "x-api-key: sk_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-balancePOSTAPI key
/v1/record-opening-balanceRecord Opening Balances
https://api.soledgic.com/v1/record-opening-balance/functions/v1/record-opening-balancesupabase/functions/record-opening-balance/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | as_of_date | string | Yes |
| body | source | 'manual' | 'imported' | 'migrated' | 'year_start' | Yes |
| body | source_description | string | No |
| body | balances | OpeningBalanceEntry[] | Yes |
Example Request
curl -X POST "https://api.soledgic.com/v1/record-opening-balance" \
-H "x-api-key: sk_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 Refund/v1/record-refundPOSTAPI key
/v1/record-refundRecord Refund
https://api.soledgic.com/v1/record-refund/functions/v1/record-refundsupabase/functions/record-refund/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | original_sale_reference | string | Yes |
| body | amount | number | No |
| body | reason | string | Yes |
| body | refund_from | 'both' | 'platform_only' | 'creator_only' | No |
| body | external_refund_id | string | No |
| body | trigger_stripe_refund | boolean | No |
| body | metadata | Record<string, any> | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/record-refund" \
-H "x-api-key: sk_test_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"original_sale_reference": "value",
"reason": "value",
"amount": 1000,
"refund_from": "both",
"external_refund_id": "external_refund_id_123",
"trigger_stripe_refund": true,
"metadata": {}
}'Record Sale/v1/record-salePOSTAPI key
/v1/record-saleRecord Sale
https://api.soledgic.com/v1/record-sale/functions/v1/record-salesupabase/functions/record-sale/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | reference_id | string | Yes |
| body | creator_id | string | Yes |
| body | amount | number | Yes |
| body | processing_fee | number | No |
| body | processing_fee_paid_by | 'platform' | 'creator' | 'split' | No |
| body | product_id | string | No |
| body | product_name | string | No |
| body | creator_percent | number | No |
| body | skip_withholding | boolean | No |
| body | metadata | Record<string, any> | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/record-sale" \
-H "x-api-key: sk_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-transferPOSTAPI key
/v1/record-transferRecord Internal Transfer
https://api.soledgic.com/v1/record-transfer/functions/v1/record-transfersupabase/functions/record-transfer/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | from_account_type | string | Yes |
| body | to_account_type | string | Yes |
| body | amount | number | Yes |
| body | transfer_type | 'tax_reserve' | 'payout_reserve' | 'owner_draw' | | Yes |
| body | description | string | No |
| body | reference_id | string | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/record-transfer" \
-H "x-api-key: sk_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"
}'Register Instrument/v1/register-instrumentPOSTAPI key
/v1/register-instrumentRegister Authorizing Instrument
https://api.soledgic.com/v1/register-instrument/functions/v1/register-instrumentsupabase/functions/register-instrument/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | external_ref | string | Yes |
| body | extracted_terms | ExtractedTerms | Yes |
Example Request
curl -X POST "https://api.soledgic.com/v1/register-instrument" \
-H "x-api-key: sk_test_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"external_ref": "value",
"extracted_terms": "value"
}'Release Funds/v1/release-fundsPOSTAPI key
/v1/release-fundsRelease Funds
https://api.soledgic.com/v1/release-funds/functions/v1/release-fundssupabase/functions/release-funds/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | action | 'release' | 'batch_release' | 'void' | 'get_held' | 'get_summary' | 'auto_rel... | Yes |
| body | entry_id | string | No |
| body | entry_ids | string[] | No |
| body | void_reason | string | No |
| body | venture_id | string | No |
| body | creator_id | string | No |
| body | ready_only | boolean | No |
| body | limit | number | No |
| body | offset | number | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/release-funds" \
-H "x-api-key: sk_test_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"action": "release",
"entry_id": "entry_id_123",
"entry_ids": [
"item_1"
],
"void_reason": "void_reason_123",
"venture_id": "venture_id_123",
"creator_id": "creator_id_123",
"ready_only": true,
"limit": 1000
}'Reverse Transaction/v1/reverse-transactionPOSTAPI key
/v1/reverse-transactionReverse Transaction
https://api.soledgic.com/v1/reverse-transaction/functions/v1/reverse-transactionsupabase/functions/reverse-transaction/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | transaction_id | string | Yes |
| body | reason | string | Yes |
| body | partial_amount | number | No |
| body | metadata | Record<string, any> | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/reverse-transaction" \
-H "x-api-key: sk_test_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"transaction_id": "transaction_id_123",
"reason": "value",
"partial_amount": 1000,
"metadata": {}
}'Risk Evaluation/v1/risk-evaluationPOSTAPI key
/v1/risk-evaluationRisk Evaluation
https://api.soledgic.com/v1/risk-evaluation/functions/v1/risk-evaluationsupabase/functions/risk-evaluation/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | idempotency_key | string | Yes |
| body | amount | number | Yes |
| body | currency | string | No |
| body | counterparty_name | string | No |
| body | authorizing_instrument_id | string | No |
| body | expected_date | string | No |
| body | category | string | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/risk-evaluation" \
-H "x-api-key: sk_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"
}'Scheduled Payouts/v1/scheduled-payoutsPOSTAPI keyInternal
/v1/scheduled-payoutsScheduled Payouts
https://api.soledgic.com/v1/scheduled-payouts/functions/v1/scheduled-payoutssupabase/functions/scheduled-payouts/index.tsParameters
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: sk_test_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"example": "value"
}'Security Alerts/v1/security-alertsPOSTPublic/JWTInternal
/v1/security-alertsSecurity Alerts
https://api.soledgic.com/v1/security-alerts/functions/v1/security-alertssupabase/functions/security-alerts/index.tsParameters
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-alertPOSTAPI keyInternal
/v1/send-breach-alertSend Breach Alert
https://api.soledgic.com/v1/send-breach-alert/functions/v1/send-breach-alertsupabase/functions/send-breach-alert/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | cash_balance | number | Yes |
| body | pending_total | number | Yes |
| body | shortfall | number | Yes |
| body | coverage_ratio | number | Yes |
| body | triggered_by | 'project_intent' | 'get_runway' | 'manual' | Yes |
| body | instrument_id | string | No |
| body | external_ref | string | No |
| body | projections_created | number | No |
| body | channel | 'slack' | 'email' | 'webhook' | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/send-breach-alert" \
-H "x-api-key: sk_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
}'Send Statements/v1/send-statementsPOSTAPI key
/v1/send-statementsSoledgic Auto-Email Service
https://api.soledgic.com/v1/send-statements/functions/v1/send-statementssupabase/functions/send-statements/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | action | 'send_monthly_statements' | 'send_single_statement' | 'preview' | 'get_queue'... | Yes |
| body | ledger_id | string | No |
| body | creator_id | string | No |
| body | year | number | No |
| body | month | number | No |
| body | email_config | EmailConfig | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/send-statements" \
-H "x-api-key: sk_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"
}'Stripe/v1/stripePOSTAPI key
/v1/stripeStripe Management
https://api.soledgic.com/v1/stripe/functions/v1/stripesupabase/functions/stripe/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | action | 'list_transactions' | 'list_events' | 'match' | 'unmatch' | 'exclude' | | Yes |
| body | stripe_transaction_id | string | No |
| body | ledger_transaction_id | string | No |
| body | event_id | string | No |
| body | bank_transaction_id | string | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/stripe" \
-H "x-api-key: sk_test_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"action": "list_transactions",
"stripe_transaction_id": "stripe_transaction_id_123",
"ledger_transaction_id": "ledger_transaction_id_123",
"event_id": "event_id_123",
"bank_transaction_id": "bank_transaction_id_123"
}'Stripe Billing Webhook/v1/stripe-billing-webhookPOSTWebhook signature
/v1/stripe-billing-webhookStripe Billing Webhook
https://api.soledgic.com/v1/stripe-billing-webhook/functions/v1/stripe-billing-webhooksupabase/functions/stripe-billing-webhook/index.tsParameters
No formal parameters were inferred for this endpoint from source declarations.
Example Request
curl -X POST "https://api.soledgic.com/v1/stripe-billing-webhook" \
-H "x-webhook-signature: YOUR_SIGNATURE" \
-H "Content-Type: application/json" \
-d '{
"example": "value"
}'Stripe Connect Webhook/v1/stripe-connect-webhookPOSTWebhook signature
/v1/stripe-connect-webhookStripe Connect Webhook
https://api.soledgic.com/v1/stripe-connect-webhook/functions/v1/stripe-connect-webhooksupabase/functions/stripe-connect-webhook/index.tsParameters
No formal parameters were inferred for this endpoint from source declarations.
Example Request
curl -X POST "https://api.soledgic.com/v1/stripe-connect-webhook" \
-H "x-webhook-signature: YOUR_SIGNATURE" \
-H "Content-Type: application/json" \
-d '{
"example": "value"
}'Stripe Reconciliation/v1/stripe-reconciliationPOSTAPI key
/v1/stripe-reconciliationStripe Reconciliation
https://api.soledgic.com/v1/stripe-reconciliation/functions/v1/stripe-reconciliationsupabase/functions/stripe-reconciliation/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | action | 'sync_balance_transactions' | 'auto_match' | 'check_drift' | 'run_daily' | Yes |
| body | ledger_id | string | No |
| body | since | string | No |
| body | limit | number | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/stripe-reconciliation" \
-H "x-api-key: sk_test_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"action": "sync_balance_transactions",
"ledger_id": "ledger_id_123",
"since": "value",
"limit": 1000
}'Stripe Webhook/v1/stripe-webhookPOSTWebhook signatureDeprecated
/v1/stripe-webhookStripe Webhook
https://api.soledgic.com/v1/stripe-webhook/functions/v1/stripe-webhooksupabase/functions/stripe-webhook/index.tsParameters
No formal parameters were inferred for this endpoint from source declarations.
Example Request
curl -X POST "https://api.soledgic.com/v1/stripe-webhook" \
-H "x-webhook-signature: YOUR_SIGNATURE" \
-H "Content-Type: application/json" \
-d '{
"example": "value"
}'Submit Tax Info/v1/submit-tax-infoPOSTPublic/JWTDeprecated
/v1/submit-tax-infoSubmit Tax Info
https://api.soledgic.com/v1/submit-tax-info/functions/v1/submit-tax-infosupabase/functions/submit-tax-info/index.tsParameters
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"
}'Tax Documents/v1/tax-documentsPOSTAPI key
/v1/tax-documentsTax Documents
https://api.soledgic.com/v1/tax-documents/functions/v1/tax-documentssupabase/functions/tax-documents/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | action | 'calculate' | 'generate_all' | 'list' | 'get' | 'export' | 'mark_filed' | Yes |
| body | tax_year | number | No |
| body | creator_id | string | No |
| body | document_id | string | No |
| body | format | 'csv' | 'json' | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/tax-documents" \
-H "x-api-key: sk_test_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"action": "calculate",
"tax_year": 1000,
"creator_id": "creator_id_123",
"document_id": "document_id_123",
"format": "csv"
}'Test Cleanup/v1/test-cleanupPOSTAPI keyInternal
/v1/test-cleanupTest Data Cleanup
https://api.soledgic.com/v1/test-cleanup/functions/v1/test-cleanupsupabase/functions/test-cleanup/index.tsParameters
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: sk_test_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"example": "value"
}'Trial Balance/v1/trial-balanceGETPOSTAPI key
/v1/trial-balanceTrial Balance
https://api.soledgic.com/v1/trial-balance/functions/v1/trial-balancesupabase/functions/trial-balance/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| query | snapshot | string | No |
| query | as_of | string | No |
Example Request
curl -X GET "https://api.soledgic.com/v1/trial-balance?snapshot=value&as_of=value" \ -H "x-api-key: sk_test_YOUR_API_KEY"
Upload Receipt/v1/upload-receiptPOSTAPI key
/v1/upload-receiptUpload Receipt
https://api.soledgic.com/v1/upload-receipt/functions/v1/upload-receiptsupabase/functions/upload-receipt/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | file_url | string | Yes |
| body | file_name | string | No |
| body | file_size | number | No |
| body | mime_type | string | No |
| body | merchant_name | string | No |
| body | transaction_date | string | No |
| body | total_amount | number | No |
| body | transaction_id | string | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/upload-receipt" \
-H "x-api-key: sk_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"
}'Webhooks/v1/webhooksPOSTAPI key
/v1/webhooksWebhooks Management
https://api.soledgic.com/v1/webhooks/functions/v1/webhookssupabase/functions/webhooks/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | action | 'list' | 'create' | 'update' | 'delete' | 'test' | 'deliveries' | 'retry' | '... | Yes |
| body | endpoint_id | string | No |
| body | delivery_id | string | No |
| body | url | string | No |
| body | description | string | No |
| body | events | string[] | No |
| body | is_active | boolean | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/webhooks" \
-H "x-api-key: sk_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
}'Error Responses
All endpoints return a consistent error envelope.
{
"success": false,
"error": "Error message here",
"request_id": "req_xxx"
}| Code | Meaning |
|---|---|
400 | Validation or malformed request |
401 | Missing or invalid authentication |
403 | Forbidden or account inactive |
404 | Resource not found |
409 | State conflict (duplicate or invalid transition) |
413 | Payload too large |
429 | Rate limit exceeded |
500 | Internal server error |