API Reference
Every Soledgic endpoint explained in plain language. Start with the job you are trying to do, then open the endpoint card for the required fields and an example request.
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.
Start with the job
Create creator participants, buyer wallets, creator earnings wallets, and wallet activity feeds.
Create checkout sessions, split platform fees and creator earnings, then show receipts and balances.
Check payout eligibility, keep unavailable funds held, and request payouts only when creators are ready.
Reconcile Soledgic activity with external records so support and finance teams can trust the numbers.
Configure webhook endpoints so your app knows when checkouts, refunds, and payouts change state.
Generate reports, exports, statements, and activity views for users, creators, and operators.
How to read an endpoint
The user-facing purpose of the endpoint.
The product moment that should call it.
IDs, URLs, amount, or setup required before calling.
The status or resource your app should store or show.
Base URLs
https://api.soledgic.com/v1https://soledgic.com/v1Use https://api.soledgic.com/v1 for server integrations. The root domain proxy is available for browser-visible links and diagnostics. Most endpoints usex-api-key. Billing, bootstrap, and webhook endpoints use JWT or signature-based auth as shown per endpoint below.
Quick Reference
112 endpoints (104 public, 8 internal) organized into 17 resource groups.
Treasury
| Endpoint | Methods | Auth | Status | Details |
|---|---|---|---|---|
Release Hold /v1/holds/{hold_id}/release | POST | API key | Public | View details |
Holds /v1/holds | GET | API key | Public | View details |
Holds Summary /v1/holds/summary | GET | API key | Public | View details |
Participant Detail /v1/participants/{participant_id} | GET | API key | Public | View details |
Participant Payout Eligibility /v1/participants/{participant_id}/payout-eligibility | GET | API key | Public | View details |
Participants /v1/participants | GETPOST | API key | Public | View details |
Transfers /v1/transfers | POST | API key | Public | View details |
Wallet Topup /v1/wallets/{wallet_id}/topups | POST | API key | Public | View details |
Wallet Detail /v1/wallets/{wallet_id} | GET | API key | Public | View details |
Wallet Entries /v1/wallets/{wallet_id}/entries | GET | API key | Public | View details |
Wallet Withdrawal /v1/wallets/{wallet_id}/withdrawals | POST | API key | Public | View details |
Release Hold/v1/holds/{hold_id}/releasePOSTAPI key
/v1/holds/{hold_id}/releaseRelease a held-funds entry and optionally execute the transfer.
Release a hold when money is allowed to become available.
Call this from an approved admin or automated release process.
Confirm the hold is ready and the release policy allows it.
Required: hold_id (path)
Release status, amount, and transfer details if the release executed.
Method meaning: POST: Create something or run a controlled action.
https://api.soledgic.com/v1/holds/{hold_id}/release/functions/v1/hold-releasesupabase/functions/holds/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| path | hold_id | string | Yes |
| body | execute_transfer | boolean | No |
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/holdsGETAPI key
/v1/holdsList held funds across participants, with optional readiness filtering.
List money that is held instead of immediately available.
Call this for admin dashboards, delayed release policies, disputes, or payout review.
Optionally filter by participant id or show only holds ready for release.
Required: No required fields were inferred. Check the example body for the normal call shape.
Held-fund rows with reason, age, release readiness, and related transaction references.
Method meaning: GET: Read existing information.
https://api.soledgic.com/v1/holds/functions/v1/holdssupabase/functions/holds/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| query | participant_id | string | No |
| query | venture_id | string | No |
| query | ready_only | boolean | No |
| query | limit | number | No |
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/summaryGETAPI key
/v1/holds/summaryGet an aggregate summary of held and releasable funds.
Create and inspect the money-facing people and wallets inside a platform.
Use these endpoints when your app needs a buyer wallet, a creator earnings wallet, a balance, a transfer, or a held-funds view.
Know the external user or creator id from your app and whether the account is a buyer wallet or creator earnings account.
Required: No required fields were inferred. Check the example body for the normal call shape.
A Soledgic resource id, current balance information, or an activity list that your app can show back to the user.
Method meaning: GET: Read existing information.
https://api.soledgic.com/v1/holds/summary/functions/v1/holds-summarysupabase/functions/holds/index.tsParameters
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
/v1/participants/{participant_id}Get a participant balance snapshot, including active holds.
Look up one creator or participant balance.
Call this when showing a creator balance page or checking held versus available earnings.
You need the `participant_id` you used when creating the participant.
Required: participant_id (path)
The participant balance, available amount, held amount, and active holds.
Method meaning: GET: Read existing information.
https://api.soledgic.com/v1/participants/{participant_id}/functions/v1/participant-detailsupabase/functions/participants/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| path | participant_id | string | Yes |
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-eligibilityGETAPI key
/v1/participants/{participant_id}/payout-eligibilityCheck whether a participant is currently eligible for payout.
Ask whether a creator can request or receive a payout right now.
Call this before showing a payout button or explaining why payouts are blocked.
The participant must already exist and have any required identity, tax, and payout setup.
Required: participant_id (path)
An eligibility result, available balance, and a list of blocking issues if payout is not ready.
Method meaning: GET: Read existing information.
https://api.soledgic.com/v1/participants/{participant_id}/payout-eligibility/functions/v1/participant-payout-eligibilitysupabase/functions/participants/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| path | participant_id | string | Yes |
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/participantsGETPOSTAPI key
/v1/participantsList treasury participants or create a new participant-backed account.
Create or list creators/sellers that can earn money in your platform.
Call this when your app adds a creator, seller, teacher, artist, or other earning participant.
Choose a stable `participant_id` from your app, such as your creator id. You can also include name, email, split percent, and payout preferences.
Required: participant_id (body)
A participant-backed account that Soledgic can use for earnings, holds, reports, and payout checks.
Method meaning: GET: Read existing information. POST: Create something or run a controlled action.
https://api.soledgic.com/v1/participants/functions/v1/participantssupabase/functions/participants/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | participant_id | string | Yes |
| body | user_id | string | No |
| body | display_name | string | No |
| body | email | string | No |
| body | default_split_percent | number | No |
| body | tax_info | { | No |
| body | payout_preferences | { | No |
| body | metadata | Record<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/transfersPOSTAPI key
/v1/transfersMove funds between wallets when both wallets explicitly permit transfer.
Create and inspect the money-facing people and wallets inside a platform.
Use these endpoints when your app needs a buyer wallet, a creator earnings wallet, a balance, a transfer, or a held-funds view.
Know the external user or creator id from your app and whether the account is a buyer wallet or creator earnings account.
Required: amount (body), reference_id (body)
A Soledgic resource id, current balance information, or an activity list that your app can show back to the user.
Method meaning: POST: Create something or run a controlled action.
https://api.soledgic.com/v1/transfers/functions/v1/transferssupabase/functions/transfers/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | from_wallet_id | string | No |
| body | to_wallet_id | string | No |
| body | from_participant_id | string | No |
| body | to_participant_id | string | No |
| body | amount | number | Yes |
| body | reference_id | string | Yes |
| body | description | string | No |
| body | metadata | Record<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}/topupsPOSTAPI key
/v1/wallets/{wallet_id}/topupsTop up a wallet when its wallet type supports external funding.
Create and inspect the money-facing people and wallets inside a platform.
Use these endpoints when your app needs a buyer wallet, a creator earnings wallet, a balance, a transfer, or a held-funds view.
Know the external user or creator id from your app and whether the account is a buyer wallet or creator earnings account.
Required: wallet_id (path), amount (body), reference_id (body)
A Soledgic resource id, current balance information, or an activity list that your app can show back to the user.
Method meaning: POST: Create something or run a controlled action.
https://api.soledgic.com/v1/wallets/{wallet_id}/topups/functions/v1/wallet-depositsupabase/functions/wallets/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| path | wallet_id | string | Yes |
| body | amount | number | Yes |
| body | reference_id | string | Yes |
| body | description | string | No |
| body | metadata | Record<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
/v1/wallets/{wallet_id}Get a wallet object by wallet id.
Get one wallet and its current balance.
Call this for wallet screens, balance checks, or support review.
You need the Soledgic `wallet_id`.
Required: wallet_id (path)
The wallet status, balance, available amount, held amount, and supported actions.
Method meaning: GET: Read existing information.
https://api.soledgic.com/v1/wallets/{wallet_id}/functions/v1/wallet-detailsupabase/functions/wallets/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| path | wallet_id | string | Yes |
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}/entriesGETAPI key
/v1/wallets/{wallet_id}/entriesList wallet ledger entries for a wallet object.
Show the activity feed for a wallet.
Call this for receipts, transaction history, or user wallet activity screens.
You need the `wallet_id`; use `limit` and `offset` for pagination.
Required: wallet_id (path)
Ledger entries with amounts, debit/credit direction, references, descriptions, and timestamps.
Method meaning: GET: Read existing information.
https://api.soledgic.com/v1/wallets/{wallet_id}/entries/functions/v1/wallet-entriessupabase/functions/wallets/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| path | wallet_id | string | Yes |
| query | limit | number | No |
| query | offset | number | No |
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}/withdrawalsPOSTAPI key
/v1/wallets/{wallet_id}/withdrawalsWithdraw or debit funds from a wallet when the wallet is redeemable.
Create and inspect the money-facing people and wallets inside a platform.
Use these endpoints when your app needs a buyer wallet, a creator earnings wallet, a balance, a transfer, or a held-funds view.
Know the external user or creator id from your app and whether the account is a buyer wallet or creator earnings account.
Required: wallet_id (path), amount (body), reference_id (body)
A Soledgic resource id, current balance information, or an activity list that your app can show back to the user.
Method meaning: POST: Create something or run a controlled action.
https://api.soledgic.com/v1/wallets/{wallet_id}/withdrawals/functions/v1/wallet-withdrawalsupabase/functions/wallets/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| path | wallet_id | string | Yes |
| body | amount | number | Yes |
| body | reference_id | string | Yes |
| body | description | string | No |
| body | metadata | Record<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
| Endpoint | Methods | Auth | Status | Details |
|---|---|---|---|---|
Checkout Sessions /v1/checkout-sessions | POST | API key | Public | View details |
Payouts /v1/payouts | POST | API key | Public | View details |
Generate Receipt /v1/receipts/generate | POST | API key | Public | View details |
Get Receipt /v1/receipts/{receipt_id} | GET | API key | Public | View details |
Refunds /v1/refunds | GETPOST | API key | Public | View details |
Checkout Sessions/v1/checkout-sessionsPOSTAPI key
/v1/checkout-sessionsCreate a hosted or direct checkout session for a participant sale.
Create a purchase flow for a buyer.
Call this when a user buys a product, session, content item, membership, or order in your app.
Have the creator participant id, amount in cents, product/order ids, and either a hosted success URL or a direct payment method/source.
Required: participant_id (body), amount (body)
A checkout URL or direct payment result, plus sale references and split breakdowns.
Method meaning: POST: Create something or run a controlled action.
https://api.soledgic.com/v1/checkout-sessions/functions/v1/checkout-sessionssupabase/functions/checkout-sessions/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | participant_id | string | Yes |
| body | amount | number | Yes |
| body | currency | 'USD' | No |
| body | product_id | string | No |
| body | product_name | string | No |
| body | customer_email | string | No |
| body | customer_id | string | No |
| body | buyer_user_id | string | No |
| body | purchase_mode | 'direct_funded_wallet' | No |
| body | sandbox_checkout_provider | 'soledgic' | 'stripe' | No |
| body | payment_method_id | string | No |
| body | success_url | string | No |
| body | cancel_url | string | No |
| body | idempotency_key | string | No |
| body | metadata | Record<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": "USD",
"product_id": "product_id_123",
"product_name": "value",
"customer_email": "user@example.com",
"customer_id": "customer_id_123",
"buyer_user_id": "buyer_user_id_123"
}'Payouts/v1/payoutsPOSTAPI key
/v1/payoutsCreate a payout for a creator earnings wallet or participant. Sandbox payouts are simulated; live payouts use the configured processor payout rail.
Request a payout from available creator earnings.
Call this after payout eligibility says the creator is ready and has available balance.
Have the participant id, amount, and a stable `reference_id` for idempotency.
Required: amount (body), reference_id (body)
A payout object with gross amount, fees, net amount, transaction id, and balance movement.
Method meaning: POST: Create something or run a controlled action.
https://api.soledgic.com/v1/payouts/functions/v1/payoutssupabase/functions/payouts/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | wallet_id | string | No |
| body | participant_id | string | No |
| 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, 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
}'Generate Receipt/v1/receipts/generatePOSTAPI key
/v1/receipts/generateGenerate a Soledgic-owned financial receipt for a checkout or sale transaction.
Generate or fetch Soledgic-owned financial receipts.
Call this after checkout completion when your app needs a durable receipt reference.
Have the checkout id or sale transaction id plus any external order reference your app uses.
Required: No required fields were inferred. Check the example body for the normal call shape.
A receipt id and hosted URL your app can store and display.
Method meaning: POST: Create something or run a controlled action.
https://api.soledgic.com/v1/receipts/generate/functions/v1/receiptssupabase/functions/receipts/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | checkout_id | string | No |
| body | sale_transaction_id | string | No |
| body | order_id | string | No |
| body | external_order_id | string | No |
| body | metadata | object | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/receipts/generate" \
-H "x-api-key: slk_test_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"checkout_id": "checkout_id_123",
"sale_transaction_id": "sale_transaction_id_123",
"order_id": "order_id_123",
"external_order_id": "external_order_id_123",
"metadata": {}
}'Get Receipt/v1/receipts/{receipt_id}GETAPI key
/v1/receipts/{receipt_id}Fetch a Soledgic-owned receipt reference by id.
Generate or fetch Soledgic-owned financial receipts.
Call this after checkout completion when your app needs a durable receipt reference.
Have the checkout id or sale transaction id plus any external order reference your app uses.
Required: receipt_id (path)
A receipt id and hosted URL your app can store and display.
Method meaning: GET: Read existing information.
https://api.soledgic.com/v1/receipts/{receipt_id}/functions/v1/receiptssupabase/functions/receipts/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| path | receipt_id | string | Yes |
Example Request
curl -X GET "https://api.soledgic.com/v1/receipts/receipt_id_123" \ -H "x-api-key: slk_test_YOUR_API_KEY"
Refunds/v1/refundsGETPOSTAPI key
/v1/refundsList refunds or create a Soledgic-routed refund against a recorded sale.
Execute or list refunds through Soledgic.
Call this after your platform approves a refund. Buyers should start with refund requests; do not route users to request refunds through the processor directly.
Use the original `sale_reference`, the refund reason, and optionally the amount for partial refunds.
Required: original_sale_reference (body), reason (body)
A refund object, status, refund amount, and the split of funds returned from platform and creator balances.
Method meaning: GET: Read existing information. POST: Create something or run a controlled action.
https://api.soledgic.com/v1/refunds/functions/v1/refundssupabase/functions/refunds/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| query | sale_reference | string | No |
| query | limit | number | No |
| body | original_sale_reference | string | Yes |
| body | reason | string | Yes |
| body | amount | number | No |
| body | refund_from | 'both' | 'platform_only' | 'creator_only' | No |
| body | external_refund_id | string | No |
| body | idempotency_key | string | No |
| body | metadata | Record<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
| Endpoint | Methods | Auth | Status | Details |
|---|---|---|---|---|
Get Transactions /v1/get-transactions | GET | API key | Public | View details |
Import Transactions /v1/import-transactions | POST | API key | Public | View details |
Pay Bill /v1/pay-bill | 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 Transfer /v1/record-transfer | POST | API key | Public | View details |
Reverse Transaction /v1/reverse-transaction | POST | API key | Public | View details |
Get Transactions/v1/get-transactionsGETAPI key
/v1/get-transactionsGet Transactions
Record accounting activity that is not the standard checkout flow.
Use these endpoints for expenses, income, bills, transfers, reversals, imports, and corrections.
Use a stable reference id and only call these when your app intentionally wants a ledger record.
Required: No required fields were inferred. Check the example body for the normal call shape.
A transaction id and accounting status that can be reconciled later.
Method meaning: GET: Read existing information.
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: slk_test_YOUR_API_KEY"
Import Transactions/v1/import-transactionsPOSTAPI key
/v1/import-transactionsImport Transactions
Record accounting activity that is not the standard checkout flow.
Use these endpoints for expenses, income, bills, transfers, reversals, imports, and corrections.
Use a stable reference id and only call these when your app intentionally wants a ledger record.
Required: action (body)
A transaction id and accounting status that can be reconciled later.
Method meaning: POST: Create something or run a controlled action.
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' | 'camt053' | 'bai2' | 'mt940' | '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: 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-billPOSTAPI key
/v1/pay-billRecords payment of a bill (reduces A/P, reduces Cash)
Record accounting activity that is not the standard checkout flow.
Use these endpoints for expenses, income, bills, transfers, reversals, imports, and corrections.
Use a stable reference id and only call these when your app intentionally wants a ledger record.
Required: amount (body)
A transaction id and accounting status that can be reconciled later.
Method meaning: POST: Create something or run a controlled action.
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: 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-adjustmentPOSTAPI key
/v1/record-adjustmentRecord Adjustment Journal
Record accounting activity that is not the standard checkout flow.
Use these endpoints for expenses, income, bills, transfers, reversals, imports, and corrections.
Use a stable reference id and only call these when your app intentionally wants a ledger record.
Required: idempotency_key (body), adjustment_type (body), entries (body), reason (body), prepared_by (body)
A transaction id and accounting status that can be reconciled later.
Method meaning: POST: Create something or run a controlled action.
https://api.soledgic.com/v1/record-adjustment/functions/v1/record-adjustmentsupabase/functions/record-adjustment/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | idempotency_key | string | Yes |
| 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: slk_test_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"idempotency_key": "idempotency_key_123",
"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
Record accounting activity that is not the standard checkout flow.
Use these endpoints for expenses, income, bills, transfers, reversals, imports, and corrections.
Use a stable reference id and only call these when your app intentionally wants a ledger record.
Required: amount (body), description (body), vendor_name (body)
A transaction id and accounting status that can be reconciled later.
Method meaning: POST: Create something or run a controlled action.
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: 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-expensePOSTAPI key
/v1/record-expenseRecord Expense
Record accounting activity that is not the standard checkout flow.
Use these endpoints for expenses, income, bills, transfers, reversals, imports, and corrections.
Use a stable reference id and only call these when your app intentionally wants a ledger record.
Required: reference_id (body), amount (body), description (body)
A transaction id and accounting status that can be reconciled later.
Method meaning: POST: Create something or run a controlled action.
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: 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-incomePOSTAPI key
/v1/record-incomeRecord Income
Record accounting activity that is not the standard checkout flow.
Use these endpoints for expenses, income, bills, transfers, reversals, imports, and corrections.
Use a stable reference id and only call these when your app intentionally wants a ledger record.
Required: reference_id (body), amount (body), description (body)
A transaction id and accounting status that can be reconciled later.
Method meaning: POST: Create something or run a controlled action.
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: 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-balancePOSTAPI key
/v1/record-opening-balanceRecord Opening Balances
Record accounting activity that is not the standard checkout flow.
Use these endpoints for expenses, income, bills, transfers, reversals, imports, and corrections.
Use a stable reference id and only call these when your app intentionally wants a ledger record.
Required: as_of_date (body), source (body), balances (body)
A transaction id and accounting status that can be reconciled later.
Method meaning: POST: Create something or run a controlled action.
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: 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 Transfer/v1/record-transferPOSTAPI key
/v1/record-transferRecord Internal Transfer
Record accounting activity that is not the standard checkout flow.
Use these endpoints for expenses, income, bills, transfers, reversals, imports, and corrections.
Use a stable reference id and only call these when your app intentionally wants a ledger record.
Required: from_account_type (body), to_account_type (body), amount (body), transfer_type (body)
A transaction id and accounting status that can be reconciled later.
Method meaning: POST: Create something or run a controlled action.
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: 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-transactionPOSTAPI key
/v1/reverse-transactionReverse Transaction
Record accounting activity that is not the standard checkout flow.
Use these endpoints for expenses, income, bills, transfers, reversals, imports, and corrections.
Use a stable reference id and only call these when your app intentionally wants a ledger record.
Required: transaction_id (body), reason (body)
A transaction id and accounting status that can be reconciled later.
Method meaning: POST: Create something or run a controlled action.
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 | idempotency_key | string | No |
| body | metadata | Record<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
| Endpoint | Methods | Auth | Status | Details |
|---|---|---|---|---|
Scheduled Payouts /v1/scheduled-payouts | POST | API key | Internal | View details |
Scheduled Payouts/v1/scheduled-payoutsPOSTAPI keyInternal
/v1/scheduled-payoutsScheduled Payouts
Move available creator earnings out of Soledgic tracking and into the payout workflow.
Use this when a creator requests money or an approved platform process releases earnings.
Check payout eligibility first, including active access, tax profile, payout setup, and available balance.
Required: No required fields were inferred. Check the example body for the normal call shape.
A payout request or transaction status, including amounts and balance changes.
Method meaning: POST: Create something or run a controlled action.
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: slk_test_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"example": "value"
}'Checkouts
| Endpoint | Methods | Auth | Status | Details |
|---|---|---|---|---|
Preflight Authorization /v1/preflight-authorization | POST | API key | Public | View details |
Receive Payment /v1/receive-payment | POST | API key | Public | View details |
Receive Payment/v1/receive-paymentPOSTAPI key
/v1/receive-paymentReceive Payment
Create or finish a buyer purchase flow.
Use this when a user is buying access, content, a session, a product, or another app item.
Know the buyer, creator, amount, success URL, and a stable order id from your app.
Required: amount (body)
A checkout URL or direct payment result plus the sale reference Soledgic will use for receipts and refunds.
Method meaning: POST: Create something or run a controlled action.
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: 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
| Endpoint | Methods | Auth | Status | Details |
|---|---|---|---|---|
Delete Creator /v1/delete-creator | POST | API key | Public | View details |
Manage Splits /v1/manage-splits | POST | API key | Public | View details |
Register Instrument /v1/register-instrument | POST | API key | Public | View details |
Delete Creator/v1/delete-creatorPOSTAPI key
/v1/delete-creatorSoft-delete a creator (sets is_active = false with transaction guard)
Manage creator-facing account setup and account lifecycle.
Use these endpoints when onboarding, updating, or deactivating creator account records.
Confirm the creator belongs to your platform and that deactivation will not break open transactions.
Required: creator_id (body)
Updated creator/account status or split settings.
Method meaning: POST: Create something or run a controlled action.
https://api.soledgic.com/v1/delete-creator/functions/v1/delete-creatorsupabase/functions/delete-creator/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | creator_id | string | Yes |
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-splitsPOSTAPI key
/v1/manage-splitsManage Splits
Manage creator-facing account setup and account lifecycle.
Use these endpoints when onboarding, updating, or deactivating creator account records.
Confirm the creator belongs to your platform and that deactivation will not break open transactions.
Required: action (body)
Updated creator/account status or split settings.
Method meaning: POST: Create something or run a controlled action.
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: 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-instrumentPOSTAPI key
/v1/register-instrumentRegister Authorizing Instrument
Manage creator-facing account setup and account lifecycle.
Use these endpoints when onboarding, updating, or deactivating creator account records.
Confirm the creator belongs to your platform and that deactivation will not break open transactions.
Required: external_ref (body), extracted_terms (body)
Updated creator/account status or split settings.
Method meaning: POST: Create something or run a controlled action.
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: slk_test_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"external_ref": "value",
"extracted_terms": "value"
}'Ledgers
| Endpoint | Methods | Auth | Status | Details |
|---|---|---|---|---|
Close Period /v1/close-period | POST | API key | Public | View details |
Frozen Statements /v1/frozen-statements | POST | API key | Public | View details |
List Ledgers /v1/list-ledgers | GET | API key | Public | View details |
Close Period/v1/close-periodPOSTAPI key
/v1/close-periodClose Accounting Period
Manage the platform ledger and accounting periods.
Use these endpoints when setting up a platform, closing a period, or producing locked statements.
Know the ledger you are operating on and whether the action affects reporting periods.
Required: year (body)
Ledger, period, or statement information.
Method meaning: POST: Create something or run a controlled action.
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: slk_test_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"year": 1000,
"month": 1000,
"quarter": 1000,
"notes": "value"
}'Frozen Statements/v1/frozen-statementsPOSTAPI key
/v1/frozen-statementsFrozen Statements
Manage the platform ledger and accounting periods.
Use these endpoints when setting up a platform, closing a period, or producing locked statements.
Know the ledger you are operating on and whether the action affects reporting periods.
Required: action (body)
Ledger, period, or statement information.
Method meaning: POST: Create something or run a controlled action.
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: 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-ledgersGETAPI key
/v1/list-ledgersList Ledgers
Manage the platform ledger and accounting periods.
Use these endpoints when setting up a platform, closing a period, or producing locked statements.
Know the ledger you are operating on and whether the action affects reporting periods.
Required: No required fields were inferred. Check the example body for the normal call shape.
Ledger, period, or statement information.
Method meaning: GET: Read existing information.
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 "x-api-key: slk_test_YOUR_API_KEY"
Reports
| 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 |
Export Report /v1/export-report | 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 |
Get Runway /v1/get-runway | GET | API key | Public | View details |
Profit Loss /v1/profit-loss | GETPOST | API key | Public | View details |
Send Statements /v1/send-statements | POST | API key | Public | View details |
Trial Balance /v1/trial-balance | GETPOST | API key | Public | View details |
Ap Aging/v1/ap-agingGETAPI key
/v1/ap-agingAccounts Payable Aging Report
Read financial summaries that explain what happened.
Use these endpoints for dashboards, exports, statements, runway, and accounting reports.
Use a date range for large reports so exports stay small and fast.
Required: No required fields were inferred. Check the example body for the normal call shape.
Report rows, totals, CSV files, PDFs, or summary metrics.
Method meaning: GET: Read existing information.
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: slk_test_YOUR_API_KEY"
Ar Aging/v1/ar-agingGETAPI key
/v1/ar-agingAccounts Receivable Aging Report
Read financial summaries that explain what happened.
Use these endpoints for dashboards, exports, statements, runway, and accounting reports.
Use a date range for large reports so exports stay small and fast.
Required: No required fields were inferred. Check the example body for the normal call shape.
Report rows, totals, CSV files, PDFs, or summary metrics.
Method meaning: GET: Read existing information.
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: slk_test_YOUR_API_KEY"
Balance Sheet/v1/balance-sheetGETAPI key
/v1/balance-sheetBalance Sheet Report
Read financial summaries that explain what happened.
Use these endpoints for dashboards, exports, statements, runway, and accounting reports.
Use a date range for large reports so exports stay small and fast.
Required: No required fields were inferred. Check the example body for the normal call shape.
Report rows, totals, CSV files, PDFs, or summary metrics.
Method meaning: GET: Read existing information.
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: slk_test_YOUR_API_KEY"
Export Report/v1/export-reportPOSTAPI key
/v1/export-reportExport Report
Read financial summaries that explain what happened.
Use these endpoints for dashboards, exports, statements, runway, and accounting reports.
Use a date range for large reports so exports stay small and fast.
Required: report_type (body), format (body)
Report rows, totals, CSV files, PDFs, or summary metrics.
Method meaning: POST: Create something or run a controlled action.
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: 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-pdfPOSTAPI key
/v1/generate-pdfGenerate PDF Reports
Read financial summaries that explain what happened.
Use these endpoints for dashboards, exports, statements, runway, and accounting reports.
Use a date range for large reports so exports stay small and fast.
Required: report_type (body)
Report rows, totals, CSV files, PDFs, or summary metrics.
Method meaning: POST: Create something or run a controlled action.
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: 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-reportPOSTAPI key
/v1/generate-reportGenerate Report
Read financial summaries that explain what happened.
Use these endpoints for dashboards, exports, statements, runway, and accounting reports.
Use a date range for large reports so exports stay small and fast.
Required: report_type (body)
Report rows, totals, CSV files, PDFs, or summary metrics.
Method meaning: POST: Create something or run a controlled action.
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: 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-runwayGETAPI key
/v1/get-runwayGet Runway
Read financial summaries that explain what happened.
Use these endpoints for dashboards, exports, statements, runway, and accounting reports.
Use a date range for large reports so exports stay small and fast.
Required: No required fields were inferred. Check the example body for the normal call shape.
Report rows, totals, CSV files, PDFs, or summary metrics.
Method meaning: GET: Read existing information.
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: slk_test_YOUR_API_KEY"
Profit Loss/v1/profit-lossGETPOSTAPI key
/v1/profit-lossProfit & Loss Report
Read financial summaries that explain what happened.
Use these endpoints for dashboards, exports, statements, runway, and accounting reports.
Use a date range for large reports so exports stay small and fast.
Required: No required fields were inferred. Check the example body for the normal call shape.
Report rows, totals, CSV files, PDFs, or summary metrics.
Method meaning: GET: Read existing information. POST: Create something or run a controlled action.
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: slk_test_YOUR_API_KEY"
Send Statements/v1/send-statementsPOSTAPI key
/v1/send-statementsSoledgic Auto-Email Service
Read financial summaries that explain what happened.
Use these endpoints for dashboards, exports, statements, runway, and accounting reports.
Use a date range for large reports so exports stay small and fast.
Required: action (body)
Report rows, totals, CSV files, PDFs, or summary metrics.
Method meaning: POST: Create something or run a controlled action.
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: 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-balanceGETPOSTAPI key
/v1/trial-balanceTrial Balance
Read financial summaries that explain what happened.
Use these endpoints for dashboards, exports, statements, runway, and accounting reports.
Use a date range for large reports so exports stay small and fast.
Required: No required fields were inferred. Check the example body for the normal call shape.
Report rows, totals, CSV files, PDFs, or summary metrics.
Method meaning: GET: Read existing information. POST: Create something or run a controlled action.
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: slk_test_YOUR_API_KEY"
Invoices
| Endpoint | Methods | Auth | Status | Details |
|---|---|---|---|---|
Invoices /v1/invoices | GETPOST | API key | Public | View details |
Invoices/v1/invoicesGETPOSTAPI key
/v1/invoicesInvoice Management
Create and settle invoice-style receivables.
Use this when your platform needs invoice records instead of an instant checkout.
Know the customer, invoice line items, due date, and payment status.
Required: customer_name (body), line_items (body)
Invoice status and related accounting transactions.
Method meaning: GET: Read existing information. POST: Create something or run a controlled action.
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 | tax_amount | number | No |
| body | discount_amount | number | No |
| 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: slk_test_YOUR_API_KEY"
Budgets & Recurring
| Endpoint | Methods | Auth | Status | 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 Budgets/v1/manage-budgetsGETPOSTAPI key
/v1/manage-budgetsManage Budgets
Track planned spending, recurring work, and contractor activity.
Use these endpoints for internal platform operations that need recurring accounting records.
Know the schedule, counterparty, category, and amount.
Required: name (body), budget_amount (body), budget_period (body)
Budget, recurring, contractor, or payment records.
Method meaning: GET: Read existing information. POST: Create something or run a controlled action.
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: slk_test_YOUR_API_KEY"
Manage Contractors/v1/manage-contractorsGETPOSTAPI key
/v1/manage-contractorsManage Contractors
Track planned spending, recurring work, and contractor activity.
Use these endpoints for internal platform operations that need recurring accounting records.
Know the schedule, counterparty, category, and amount.
Required: contractor_id (body), amount (body), payment_date (body)
Budget, recurring, contractor, or payment records.
Method meaning: GET: Read existing information. POST: Create something or run a controlled action.
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: slk_test_YOUR_API_KEY"
Manage Recurring/v1/manage-recurringGETPOSTAPI key
/v1/manage-recurringManage Recurring Expenses
Track planned spending, recurring work, and contractor activity.
Use these endpoints for internal platform operations that need recurring accounting records.
Know the schedule, counterparty, category, and amount.
Required: name (body), merchant_name (body), category_code (body), amount (body), recurrence_interval (body), start_date (body), business_purpose (body)
Budget, recurring, contractor, or payment records.
Method meaning: GET: Read existing information. POST: Create something or run a controlled action.
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: slk_test_YOUR_API_KEY"
Webhooks
| Endpoint | Methods | Auth | Status | Details |
|---|---|---|---|---|
Configure Alerts /v1/configure-alerts | POST | API key | Public | View details |
Webhooks /v1/webhooks | POST | API key | Public | View details |
Configure Alerts/v1/configure-alertsPOSTAPI key
/v1/configure-alertsConfigure Alerts
Tell Soledgic where to send event notifications.
Use these endpoints when your app wants to receive checkout, refund, payout, or ledger lifecycle events.
Have a public HTTPS endpoint in your app and decide which events it should receive.
Required: action (body)
Webhook endpoint configuration, delivery records, test results, or secret rotation status.
Method meaning: POST: Create something or run a controlled action.
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 |
| body | limit | number | No |
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/webhooksPOSTAPI key
/v1/webhooksWebhooks Management
Create and manage where Soledgic sends event notifications.
Call this when your app wants to be notified about checkouts, refunds, payouts, or ledger events.
Your endpoint must be HTTPS and able to verify Soledgic webhook signatures.
Required: action (body)
Webhook endpoint records, test results, delivery logs, or rotated secrets.
Method meaning: POST: Create something or run a controlled action.
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' | 'replay' | 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 |
| body | event_type | string | No |
| body | status | 'pending' | 'delivering' | 'delivered' | 'failed' | 'blocked' | No |
| body | checkout_id | string | No |
| body | order_id | string | No |
| body | payment_id | string | No |
| body | limit | number | No |
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,
"event_type": "value"
}'Tax
| Endpoint | Methods | Auth | Status | Details |
|---|---|---|---|---|
Tax Calculation /v1/tax/calculations/{participant_id} | GET | API key | Public | View details |
Tax Document Detail /v1/tax/documents/{document_id} | GET | API key | Public | View details |
Mark Tax Document Filed /v1/tax/documents/{document_id}/mark-filed | POST | API key | Public | View details |
Export Tax Documents /v1/tax/documents/export | GET | API key | Public | View details |
Generate Tax Documents /v1/tax/documents/generate | POST | API key | Public | View details |
Tax Documents /v1/tax/documents | GET | API key | Public | View details |
Tax Summary /v1/tax/summaries/{tax_year} | GET | API key | Public | View details |
Tax Calculation/v1/tax/calculations/{participant_id}GETAPI key
/v1/tax/calculations/{participant_id}Calculate participant-level tax totals and shared tax profile status for a year.
Prepare tax summaries and document workflows for creators and participants.
Use these endpoints when reviewing tax readiness, generating summaries, or exporting tax documents.
Have the participant id and tax year, and make sure tax profiles are collected through the supported flow.
Required: participant_id (path)
Tax calculations, summaries, document statuses, or exports.
Method meaning: GET: Read existing information.
https://api.soledgic.com/v1/tax/calculations/{participant_id}/functions/v1/tax-calculationsupabase/functions/tax/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| path | participant_id | string | Yes |
| query | tax_year | number | No |
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
/v1/tax/documents/{document_id}Fetch a single generated tax document.
Prepare tax summaries and document workflows for creators and participants.
Use these endpoints when reviewing tax readiness, generating summaries, or exporting tax documents.
Have the participant id and tax year, and make sure tax profiles are collected through the supported flow.
Required: document_id (path)
Tax calculations, summaries, document statuses, or exports.
Method meaning: GET: Read existing information.
https://api.soledgic.com/v1/tax/documents/{document_id}/functions/v1/tax-document-detailsupabase/functions/tax/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| path | document_id | string | Yes |
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-filedPOSTAPI key
/v1/tax/documents/{document_id}/mark-filedMark a generated tax document as filed.
Prepare tax summaries and document workflows for creators and participants.
Use these endpoints when reviewing tax readiness, generating summaries, or exporting tax documents.
Have the participant id and tax year, and make sure tax profiles are collected through the supported flow.
Required: document_id (path)
Tax calculations, summaries, document statuses, or exports.
Method meaning: POST: Create something or run a controlled action.
https://api.soledgic.com/v1/tax/documents/{document_id}/mark-filed/functions/v1/tax-document-mark-filedsupabase/functions/tax/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| path | document_id | string | Yes |
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/exportGETAPI key
/v1/tax/documents/exportExport generated tax documents as CSV or JSON.
Prepare tax summaries and document workflows for creators and participants.
Use these endpoints when reviewing tax readiness, generating summaries, or exporting tax documents.
Have the participant id and tax year, and make sure tax profiles are collected through the supported flow.
Required: No required fields were inferred. Check the example body for the normal call shape.
Tax calculations, summaries, document statuses, or exports.
Method meaning: GET: Read existing information.
https://api.soledgic.com/v1/tax/documents/export/functions/v1/tax-documents-exportsupabase/functions/tax/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| query | tax_year | number | No |
| query | format | '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/generatePOSTAPI key
/v1/tax/documents/generateGenerate tax documents for all participants that cross the filing threshold.
Prepare tax summaries and document workflows for creators and participants.
Use these endpoints when reviewing tax readiness, generating summaries, or exporting tax documents.
Have the participant id and tax year, and make sure tax profiles are collected through the supported flow.
Required: No required fields were inferred. Check the example body for the normal call shape.
Tax calculations, summaries, document statuses, or exports.
Method meaning: POST: Create something or run a controlled action.
https://api.soledgic.com/v1/tax/documents/generate/functions/v1/tax-documents-generatesupabase/functions/tax/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | tax_year | number | No |
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/documentsGETAPI key
/v1/tax/documentsList generated tax documents for a tax year.
Prepare tax summaries and document workflows for creators and participants.
Use these endpoints when reviewing tax readiness, generating summaries, or exporting tax documents.
Have the participant id and tax year, and make sure tax profiles are collected through the supported flow.
Required: No required fields were inferred. Check the example body for the normal call shape.
Tax calculations, summaries, document statuses, or exports.
Method meaning: GET: Read existing information.
https://api.soledgic.com/v1/tax/documents/functions/v1/tax-documents-v2supabase/functions/tax/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| query | tax_year | number | No |
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
/v1/tax/summaries/{tax_year}Generate and return tax summary totals for one year, optionally filtered to a participant.
Prepare tax summaries and document workflows for creators and participants.
Use these endpoints when reviewing tax readiness, generating summaries, or exporting tax documents.
Have the participant id and tax year, and make sure tax profiles are collected through the supported flow.
Required: tax_year (path)
Tax calculations, summaries, document statuses, or exports.
Method meaning: GET: Read existing information.
https://api.soledgic.com/v1/tax/summaries/{tax_year}/functions/v1/tax-summarysupabase/functions/tax/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| path | tax_year | number | Yes |
| query | participant_id | string | No |
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"
Reconciliation
| Endpoint | Methods | Auth | Status | Details |
|---|---|---|---|---|
Import Bank Statement /v1/import-bank-statement | POST | API key | Public | View details |
Manage Bank Accounts /v1/manage-bank-accounts | GETPOST | API key | Public | View details |
Auto Match Settlement Transaction /v1/reconciliations/auto-match | POST | API key | Public | View details |
Create Reconciliation Match /v1/reconciliations/matches | POST | API key | Public | View details |
Delete Reconciliation Match /v1/reconciliations/matches/{transaction_id} | DELETE | API key | Public | View details |
Create Reconciliation Snapshot /v1/reconciliations/snapshots | POST | API key | Public | View details |
Reconciliation Snapshot Detail /v1/reconciliations/snapshots/{period_id} | GET | API key | Public | View details |
Reconciliations Unmatched /v1/reconciliations/unmatched | GET | API key | Public | View details |
Import Bank Statement/v1/import-bank-statementPOSTAPI key
/v1/import-bank-statementImport Bank Statement
Match Soledgic records to external bank or processor records.
Use these endpoints when checking whether money records line up across systems.
Import or identify the external transaction and the Soledgic transaction you want to compare.
Required: bank_account_id (body), lines (body)
Matched/unmatched status, reconciliation snapshots, or suggested matches.
Method meaning: POST: Create something or run a controlled action.
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: 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-accountsGETPOSTAPI key
/v1/manage-bank-accountsManage Bank Accounts
Match Soledgic records to external bank or processor records.
Use these endpoints when checking whether money records line up across systems.
Import or identify the external transaction and the Soledgic transaction you want to compare.
Required: bank_name (body), account_name (body), account_type (body)
Matched/unmatched status, reconciliation snapshots, or suggested matches.
Method meaning: GET: Read existing information. POST: Create something or run a controlled action.
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' | '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: slk_test_YOUR_API_KEY"
Auto Match Settlement Transaction/v1/reconciliations/auto-matchPOSTAPI key
/v1/reconciliations/auto-matchAttempt to automatically match a bank aggregator transaction to a ledger transaction.
Match Soledgic records to external bank or processor records.
Use these endpoints when checking whether money records line up across systems.
Import or identify the external transaction and the Soledgic transaction you want to compare.
Required: bank_aggregator_transaction_id (body)
Matched/unmatched status, reconciliation snapshots, or suggested matches.
Method meaning: POST: Create something or run a controlled action.
https://api.soledgic.com/v1/reconciliations/auto-match/functions/v1/reconciliations-auto-matchsupabase/functions/reconciliations/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | bank_aggregator_transaction_id | string | Yes |
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/matchesPOSTAPI key
/v1/reconciliations/matchesMatch a ledger transaction to an external bank or settlement transaction.
Match Soledgic records to external bank or processor records.
Use these endpoints when checking whether money records line up across systems.
Import or identify the external transaction and the Soledgic transaction you want to compare.
Required: transaction_id (body), bank_transaction_id (body)
Matched/unmatched status, reconciliation snapshots, or suggested matches.
Method meaning: POST: Create something or run a controlled action.
https://api.soledgic.com/v1/reconciliations/matches/functions/v1/reconciliations-match-createsupabase/functions/reconciliations/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | transaction_id | string | Yes |
| body | bank_transaction_id | string | Yes |
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
/v1/reconciliations/matches/{transaction_id}Remove an existing reconciliation match for a transaction.
Match Soledgic records to external bank or processor records.
Use these endpoints when checking whether money records line up across systems.
Import or identify the external transaction and the Soledgic transaction you want to compare.
Required: transaction_id (path)
Matched/unmatched status, reconciliation snapshots, or suggested matches.
Method meaning: DELETE: Delete, revoke, or disable a resource.
https://api.soledgic.com/v1/reconciliations/matches/{transaction_id}/functions/v1/reconciliations-match-deletesupabase/functions/reconciliations/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| path | transaction_id | string | Yes |
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/snapshotsPOSTAPI key
/v1/reconciliations/snapshotsCreate a reconciliation snapshot for an accounting period or as-of date.
Match Soledgic records to external bank or processor records.
Use these endpoints when checking whether money records line up across systems.
Import or identify the external transaction and the Soledgic transaction you want to compare.
Required: No required fields were inferred. Check the example body for the normal call shape.
Matched/unmatched status, reconciliation snapshots, or suggested matches.
Method meaning: POST: Create something or run a controlled action.
https://api.soledgic.com/v1/reconciliations/snapshots/functions/v1/reconciliations-snapshot-createsupabase/functions/reconciliations/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | period_id | string | No |
| body | as_of_date | string | No |
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
/v1/reconciliations/snapshots/{period_id}Fetch the latest reconciliation snapshot for a period and verify its integrity hash.
Match Soledgic records to external bank or processor records.
Use these endpoints when checking whether money records line up across systems.
Import or identify the external transaction and the Soledgic transaction you want to compare.
Required: period_id (path)
Matched/unmatched status, reconciliation snapshots, or suggested matches.
Method meaning: GET: Read existing information.
https://api.soledgic.com/v1/reconciliations/snapshots/{period_id}/functions/v1/reconciliations-snapshot-detailsupabase/functions/reconciliations/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| path | period_id | string | Yes |
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/unmatchedGETAPI key
/v1/reconciliations/unmatchedList unmatched ledger transactions that still need settlement or bank reconciliation.
Match Soledgic records to external bank or processor records.
Use these endpoints when checking whether money records line up across systems.
Import or identify the external transaction and the Soledgic transaction you want to compare.
Required: No required fields were inferred. Check the example body for the normal call shape.
Matched/unmatched status, reconciliation snapshots, or suggested matches.
Method meaning: GET: Read existing information.
https://api.soledgic.com/v1/reconciliations/unmatched/functions/v1/reconciliations-unmatchedsupabase/functions/reconciliations/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| query | limit | number | No |
Example Request
curl -X GET "https://api.soledgic.com/v1/reconciliations/unmatched?limit=1000" \ -H "x-api-key: slk_test_YOUR_API_KEY"
Risk & Security
| Endpoint | Methods | Auth | Status | Details |
|---|---|---|---|---|
Compliance Access Patterns /v1/compliance/access-patterns | GET | API key | Public | View details |
Compliance Financial Activity /v1/compliance/financial-activity | GET | API key | Public | View details |
Compliance Overview /v1/compliance/overview | GET | API key | Public | View details |
Compliance Security Summary /v1/compliance/security-summary | GET | API key | Public | View details |
Fraud Evaluation Detail /v1/fraud/evaluations/{evaluation_id} | GET | API key | Public | View details |
Fraud Evaluations /v1/fraud/evaluations | POST | API key | Public | View details |
Fraud Policies /v1/fraud/policies | GETPOST | API key | Public | View details |
Delete Fraud Policy /v1/fraud/policies/{policy_id} | DELETE | API key | Public | 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 |
Compliance Access Patterns/v1/compliance/access-patternsGETAPI key
/v1/compliance/access-patternsList suspicious or high-volume access patterns for the current ledger.
Review risky activity, fraud signals, security alerts, and compliance summaries.
Use these endpoints for operator dashboards, policy checks, or incident review.
Use admin-approved keys and keep outputs internal to platform operators.
Required: No required fields were inferred. Check the example body for the normal call shape.
Risk evaluations, policy records, compliance summaries, or alert details.
Method meaning: GET: Read existing information.
https://api.soledgic.com/v1/compliance/access-patterns/functions/v1/compliance-access-patternssupabase/functions/compliance/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| query | hours | number | No |
| query | limit | number | No |
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-activityGETAPI key
/v1/compliance/financial-activitySummarize payout, sale, refund, and dispute activity for compliance review.
Review risky activity, fraud signals, security alerts, and compliance summaries.
Use these endpoints for operator dashboards, policy checks, or incident review.
Use admin-approved keys and keep outputs internal to platform operators.
Required: No required fields were inferred. Check the example body for the normal call shape.
Risk evaluations, policy records, compliance summaries, or alert details.
Method meaning: GET: Read existing information.
https://api.soledgic.com/v1/compliance/financial-activity/functions/v1/compliance-financial-activitysupabase/functions/compliance/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| query | days | number | No |
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/overviewGETAPI key
/v1/compliance/overviewGet a ledger-scoped overview of compliance and monitoring signals.
Review risky activity, fraud signals, security alerts, and compliance summaries.
Use these endpoints for operator dashboards, policy checks, or incident review.
Use admin-approved keys and keep outputs internal to platform operators.
Required: No required fields were inferred. Check the example body for the normal call shape.
Risk evaluations, policy records, compliance summaries, or alert details.
Method meaning: GET: Read existing information.
https://api.soledgic.com/v1/compliance/overview/functions/v1/compliance-overviewsupabase/functions/compliance/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| query | days | number | No |
| query | hours | number | No |
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-summaryGETAPI key
/v1/compliance/security-summarySummarize risk-scored security and audit events for the current ledger.
Review risky activity, fraud signals, security alerts, and compliance summaries.
Use these endpoints for operator dashboards, policy checks, or incident review.
Use admin-approved keys and keep outputs internal to platform operators.
Required: No required fields were inferred. Check the example body for the normal call shape.
Risk evaluations, policy records, compliance summaries, or alert details.
Method meaning: GET: Read existing information.
https://api.soledgic.com/v1/compliance/security-summary/functions/v1/compliance-security-summarysupabase/functions/compliance/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| query | days | number | No |
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
/v1/fraud/evaluations/{evaluation_id}Get a previously created fraud evaluation.
Review risky activity, fraud signals, security alerts, and compliance summaries.
Use these endpoints for operator dashboards, policy checks, or incident review.
Use admin-approved keys and keep outputs internal to platform operators.
Required: evaluation_id (path)
Risk evaluations, policy records, compliance summaries, or alert details.
Method meaning: GET: Read existing information.
https://api.soledgic.com/v1/fraud/evaluations/{evaluation_id}/functions/v1/fraud-evaluation-detailsupabase/functions/fraud/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| path | evaluation_id | string | Yes |
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/evaluationsPOSTAPI key
/v1/fraud/evaluationsEvaluate a proposed transaction against configured fraud and policy rules.
Review risky activity, fraud signals, security alerts, and compliance summaries.
Use these endpoints for operator dashboards, policy checks, or incident review.
Use admin-approved keys and keep outputs internal to platform operators.
Required: idempotency_key (body), amount (body)
Risk evaluations, policy records, compliance summaries, or alert details.
Method meaning: POST: Create something or run a controlled action.
https://api.soledgic.com/v1/fraud/evaluations/functions/v1/fraud-evaluationssupabase/functions/fraud/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/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/policiesGETPOSTAPI key
/v1/fraud/policiesList configured fraud policies or create a new policy rule.
Review risky activity, fraud signals, security alerts, and compliance summaries.
Use these endpoints for operator dashboards, policy checks, or incident review.
Use admin-approved keys and keep outputs internal to platform operators.
Required: No required fields were inferred. Check the example body for the normal call shape.
Risk evaluations, policy records, compliance summaries, or alert details.
Method meaning: GET: Read existing information. POST: Create something or run a controlled action.
https://api.soledgic.com/v1/fraud/policies/functions/v1/fraud-policiessupabase/functions/fraud/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | policy_type | 'require_instrument' | 'budget_cap' | 'projection_guard' | No |
| body | config | Record<string, unknown> | No |
| body | severity | 'hard' | 'soft' | No |
| body | priority | number | No |
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
/v1/fraud/policies/{policy_id}Delete a configured fraud policy.
Review risky activity, fraud signals, security alerts, and compliance summaries.
Use these endpoints for operator dashboards, policy checks, or incident review.
Use admin-approved keys and keep outputs internal to platform operators.
Required: policy_id (path)
Risk evaluations, policy records, compliance summaries, or alert details.
Method meaning: DELETE: Delete, revoke, or disable a resource.
https://api.soledgic.com/v1/fraud/policies/{policy_id}/functions/v1/fraud-policy-deletesupabase/functions/fraud/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| path | policy_id | string | Yes |
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-alertsPOSTPublic/JWTInternal
/v1/security-alertsSecurity Alerts
Review risky activity, fraud signals, security alerts, and compliance summaries.
Use these endpoints for operator dashboards, policy checks, or incident review.
Use admin-approved keys and keep outputs internal to platform operators.
Required: No required fields were inferred. Check the example body for the normal call shape.
Risk evaluations, policy records, compliance summaries, or alert details.
Method meaning: POST: Create something or run a controlled action.
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
Review risky activity, fraud signals, security alerts, and compliance summaries.
Use these endpoints for operator dashboards, policy checks, or incident review.
Use admin-approved keys and keep outputs internal to platform operators.
Required: cash_balance (body), pending_total (body), shortfall (body), coverage_ratio (body), triggered_by (body)
Risk evaluations, policy records, compliance summaries, or alert details.
Method meaning: POST: Create something or run a controlled action.
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: 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
}'Billing
| Endpoint | Methods | Auth | Status | Details |
|---|---|---|---|---|
Billing /v1/billing | POST | Public/JWT | Public | View details |
Project Intent /v1/project-intent | POST | API key | Public | View details |
Billing/v1/billingPOSTPublic/JWT
/v1/billingBilling status and usage summary. Subscription collection and billing payment methods are disabled; Soledgic platform billing collects from wallet balance when enabled.
Manage platform billing configuration and projected obligations.
Use this for internal billing state or future planned obligations, not for wallet checkout purchases.
Confirm billing is enabled for the platform and that wallet-based collection rules apply.
Required: action (body)
Billing state or projection records.
Method meaning: POST: Create something or run a controlled action.
https://api.soledgic.com/v1/billing/functions/v1/billingsupabase/functions/billing/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | action | 'get_subscription' | 'get_usage' | 'get_plans' | 'get_invoices' | 'get_payment_methods' | Yes |
| body | organization_id | string | 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"
}'Project Intent/v1/project-intentPOSTAPI key
/v1/project-intentProject Intent
Manage platform billing configuration and projected obligations.
Use this for internal billing state or future planned obligations, not for wallet checkout purchases.
Confirm billing is enabled for the platform and that wallet-based collection rules apply.
Required: authorizing_instrument_id (body), until_date (body)
Billing state or projection records.
Method meaning: POST: Create something or run a controlled action.
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: 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
| Endpoint | Methods | Auth | Status | Details |
|---|---|---|---|---|
Health Check /v1/health-check | POST | API key | Public | View details |
Health Check/v1/health-checkPOSTAPI key
/v1/health-checkHealth Check
Check whether the API and ledger systems are responding correctly.
Call this from uptime checks, deploy smoke tests, or operator dashboards.
Choose the health action your monitor needs.
Required: action (body)
A status response or diagnostic result.
Method meaning: POST: Create something or run a controlled action.
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 "x-api-key: slk_test_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"action": "run",
"ledger_id": "ledger_id_123"
}'Internal
| Endpoint | Methods | Auth | Status | Details |
|---|---|---|---|---|
Ops Monitor /v1/ops-monitor | POST | Custom/internal | Internal | View details |
Process Processor Inbox /v1/process-processor-inbox | POST | Custom/internal | Internal | View details |
Process Webhooks /v1/process-webhooks | POST | Custom/internal | Internal | View details |
Reconcile Checkout Ledger /v1/reconcile-checkout-ledger | POST | Custom/internal | Internal | View details |
Test Cleanup /v1/test-cleanup | POST | API key | Internal | View details |
Upload Receipt /v1/upload-receipt | POST | API key | Public | View details |
Ops Monitor/v1/ops-monitorPOSTCustom/internalInternal
/v1/ops-monitorProduction observability: monitors payment pipeline health
Run Soledgic-controlled background or repair work.
Most external integrators should not call this directly. These endpoints exist for internal workers, cron jobs, and operator tooling.
Use only with the documented internal credential or dashboard flow.
Required: No required fields were inferred. Check the example body for the normal call shape.
Worker, reconciliation, cleanup, or monitoring results.
Method meaning: POST: Create something or run a controlled action.
https://api.soledgic.com/v1/ops-monitor/functions/v1/ops-monitorsupabase/functions/ops-monitor/index.tsParameters
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-inboxPOSTCustom/internalInternal
/v1/process-processor-inboxProcess pending processor webhook inbox events
Run Soledgic-controlled background or repair work.
Most external integrators should not call this directly. These endpoints exist for internal workers, cron jobs, and operator tooling.
Use only with the documented internal credential or dashboard flow.
Required: No required fields were inferred. Check the example body for the normal call shape.
Worker, reconciliation, cleanup, or monitoring results.
Method meaning: POST: Create something or run a controlled action.
https://api.soledgic.com/v1/process-processor-inbox/functions/v1/process-processor-inboxsupabase/functions/process-processor-inbox/index.tsParameters
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-webhooksPOSTCustom/internalInternal
/v1/process-webhooksProcess Webhooks
Run Soledgic-controlled background or repair work.
Most external integrators should not call this directly. These endpoints exist for internal workers, cron jobs, and operator tooling.
Use only with the documented internal credential or dashboard flow.
Required: No required fields were inferred. Check the example body for the normal call shape.
Worker, reconciliation, cleanup, or monitoring results.
Method meaning: POST: Create something or run a controlled action.
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"
}'Reconcile Checkout Ledger/v1/reconcile-checkout-ledgerPOSTCustom/internalInternal
/v1/reconcile-checkout-ledgerRetry charged-but-unrecorded checkout sessions (charged_pending_ledger → sale)
Run Soledgic-controlled background or repair work.
Most external integrators should not call this directly. These endpoints exist for internal workers, cron jobs, and operator tooling.
Use only with the documented internal credential or dashboard flow.
Required: No required fields were inferred. Check the example body for the normal call shape.
Worker, reconciliation, cleanup, or monitoring results.
Method meaning: POST: Create something or run a controlled action.
https://api.soledgic.com/v1/reconcile-checkout-ledger/functions/v1/reconcile-checkout-ledgersupabase/functions/reconcile-checkout-ledger/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | limit | number | No |
| body | dry_run | boolean | No |
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-cleanupPOSTAPI keyInternal
/v1/test-cleanupTest Data Cleanup
Run Soledgic-controlled background or repair work.
Most external integrators should not call this directly. These endpoints exist for internal workers, cron jobs, and operator tooling.
Use only with the documented internal credential or dashboard flow.
Required: No required fields were inferred. Check the example body for the normal call shape.
Worker, reconciliation, cleanup, or monitoring results.
Method meaning: POST: Create something or run a controlled action.
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: slk_test_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"example": "value"
}'Upload Receipt/v1/upload-receiptPOSTAPI key
/v1/upload-receiptUpload Receipt
Attach an app-owned proof document to a transaction.
Use generated receipts for checkout receipts. Keep this for non-financial proof documents that your app already stores.
Have the file URL and any known merchant, date, total, or transaction id.
Required: file_url (body)
A receipt/proof record that can be shown in support, activity, or reporting views.
Method meaning: POST: Create something or run a controlled action.
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: 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
| Endpoint | Methods | Auth | Status | Details |
|---|---|---|---|---|
Business KYB /v1/kyc/business | GETPOST | API key | Public | View details |
Creator KYC /v1/kyc/creators/{participant_id} | GETPOST | API key | Public | View details |
Credits /v1/credits | POST | API key | Public | View details |
Creator Earnings /v1/earnings | GET | API key | Public | View details |
Invoice Detail /v1/invoices/{invoice_id} | GET | API key | Public | View details |
Record Invoice Payment /v1/invoices/{invoice_id}/record-payment | POST | API key | Public | View details |
Send Invoice /v1/invoices/{invoice_id}/send | POST | API key | Public | View details |
Void Invoice /v1/invoices/{invoice_id}/void | POST | API key | Public | View details |
Contractor Payment /v1/manage-contractors/payment | POST | API key | Public | View details |
Due Recurring Transactions /v1/manage-recurring/due | GET | API key | Public | View details |
Approve Refund Request /v1/refund-requests/{id}/approve | POST | API key | Public | View details |
Cancel Refund Request /v1/refund-requests/{id}/cancel | POST | API key | Public | View details |
Reject Refund Request /v1/refund-requests/{id}/reject | POST | API key | Public | View details |
Refund Requests /v1/refund-requests | GETPOST | API key | Public | View details |
Sandbox Complete Checkout /v1/sandbox/checkouts/{checkout_id}/complete | POST | API key | Public | View details |
Sandbox Fail Checkout /v1/sandbox/checkouts/{checkout_id}/fail | POST | API key | Public | View details |
Sandbox Cleanup /v1/sandbox/cleanup | POST | API key | Public | View details |
Sandbox Events /v1/sandbox/events | GET | API key | Public | View details |
Sandbox Test Webhook /v1/sandbox/webhooks/test | POST | API key | Public | View details |
Submit Tax Info /v1/submit-tax-info | POST | API key | Public | View details |
Bulk Mark Tax Documents Filed /v1/tax/documents/mark-filed | POST | API key | Public | View details |
Correct Tax Document /v1/tax/documents/{document_id}/correct | POST | API key | Public | View details |
Deliver Tax Document Copy B /v1/tax/documents/deliver-copy-b | POST | API key | Public | View details |
Tax Document PDF /v1/tax/documents/{document_id}/pdf | POST | API key | Public | View details |
Batch Tax Document PDFs /v1/tax/documents/pdf/batch | POST | API key | Public | View details |
Wallet Sessions /v1/wallet-sessions | POST | API key | Public | View details |
Wallets /v1/wallets | GETPOST | API key | Public | View details |
Business KYB/v1/kyc/businessGETPOSTAPI key
/v1/kyc/businessRetrieve or submit the API key organization KYB profile for review. Submission never auto-approves KYB.
Submit or retrieve the business verification packet for the API key organization.
Call this when your platform collects business legal name, contacts, address, beneficial owners, and document evidence for KYB review.
Use the platform ledger API key. This stores a review packet and can mark the business `under_review`; it does not approve KYB.
Required: business_type (body), legal_name (body), primary_contact (body), business_address (body), document_evidence (body)
The business KYB status, missing fields, and latest submission summary.
Method meaning: GET: Read existing information. POST: Create something or run a controlled action.
https://api.soledgic.com/v1/kyc/business/functions/v1/business-kybsupabase/functions/kyc/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | business_type | 'individual' | 'sole_proprietor' | 'llc' | 'corporation' | 'partnership' | 'nonprofit' | Yes |
| body | legal_name | string | Yes |
| body | tax_id_type | 'ssn' | 'ein' | 'itin' | No |
| body | tax_id_last4 | string | No |
| body | primary_contact | Record<string, unknown> | Yes |
| body | business_address | Record<string, unknown> | Yes |
| body | beneficial_owners | Array<Record<string, unknown>> | No |
| body | document_evidence | Array<Record<string, unknown>> | Yes |
| body | submit_for_review | boolean | No |
| body | metadata | Record<string, unknown> | No |
Example Request
curl -X GET "https://api.soledgic.com/v1/kyc/business" \ -H "x-api-key: slk_test_YOUR_API_KEY"
Creator KYC/v1/kyc/creators/{participant_id}GETPOSTAPI key
/v1/kyc/creators/{participant_id}Retrieve or submit a creator KYC packet bound to the participant creator_balance, not the consumer wallet.
Submit or retrieve a creator verification packet bound to a participant.
Call this when your platform collects creator identity details and document evidence for payout readiness.
Create the participant first. The packet is anchored to `creator_balance`; `certify_tax_info` also requires an active `participant_identity_links` record.
Required: participant_id (path), legal_name (body), email (body), date_of_birth (body), address (body), document_evidence (body)
The creator KYC status, connected account id, missing fields, and latest submission summary.
Method meaning: GET: Read existing information. POST: Create something or run a controlled action.
https://api.soledgic.com/v1/kyc/creators/{participant_id}/functions/v1/creator-kycsupabase/functions/kyc/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| path | participant_id | string | Yes |
| body | legal_name | string | Yes |
| body | display_name | string | No |
| body | email | string | Yes |
| body | date_of_birth | string | Yes |
| body | tax_id_type | 'ssn' | 'ein' | 'itin' | No |
| body | tax_id_last4 | string | No |
| body | business_type | 'individual' | 'sole_proprietor' | 'llc' | 'corporation' | 'partnership' | No |
| body | address | Record<string, unknown> | Yes |
| body | document_evidence | Array<Record<string, unknown>> | Yes |
| body | certify_tax_info | boolean | No |
| body | submit_for_review | boolean | No |
| body | metadata | Record<string, unknown> | No |
Example Request
curl -X GET "https://api.soledgic.com/v1/kyc/creators/participant_id_123" \ -H "x-api-key: slk_test_YOUR_API_KEY"
Credits/v1/creditsPOSTAPI key
/v1/creditsIssue, convert, redeem, and inspect platform credits.
Issue, convert, redeem, and inspect platform credits.
Use this endpoint when your integration needs this resource or action.
Review the required fields and authentication method before calling it.
Required: action (body)
A JSON response with the resource state or action result.
Method meaning: POST: Create something or run a controlled action.
https://api.soledgic.com/v1/credits/functions/v1/creditssupabase/functions/credits/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | action | 'issue' | 'convert' | 'redeem' | 'balance' | Yes |
| body | user_id | string | No |
| body | creator_id | string | No |
| body | credits | number | No |
| body | amount | number | No |
| body | reference_id | string | No |
| body | reason | string | No |
| body | description | string | No |
| body | split_percent | number | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/credits" \
-H "x-api-key: slk_test_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"action": "issue",
"user_id": "user_id_123",
"creator_id": "creator_id_123",
"credits": 1000,
"amount": 1000,
"reference_id": "reference_id_123",
"reason": "value",
"description": "value"
}'Creator Earnings/v1/earningsGETAPI key
/v1/earningsReturn historical creator earnings for dashboard and reconciliation views.
Return historical creator earnings for dashboard and reconciliation views.
Use this endpoint when your integration needs this resource or action.
Review the required fields and authentication method before calling it.
Required: No required fields were inferred. Check the example body for the normal call shape.
A JSON response with the resource state or action result.
Method meaning: GET: Read existing information.
https://api.soledgic.com/v1/earnings/functions/v1/earningssupabase/functions/earnings/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| query | creator_id | string | No |
| query | start_date | string | No |
| query | end_date | string | No |
| query | granularity | 'day' | 'week' | 'month' | No |
Example Request
curl -X GET "https://api.soledgic.com/v1/earnings?creator_id=creator_id_123&start_date=2026-01-01&end_date=2026-01-01&granularity=day" \ -H "x-api-key: slk_test_YOUR_API_KEY"
Invoice Detail/v1/invoices/{invoice_id}GETAPI key
/v1/invoices/{invoice_id}Fetch a single invoice by id.
Fetch a single invoice by id.
Use this endpoint when your integration needs this resource or action.
Review the required fields and authentication method before calling it.
Required: invoice_id (path)
A JSON response with the resource state or action result.
Method meaning: GET: Read existing information.
https://api.soledgic.com/v1/invoices/{invoice_id}/functions/v1/invoice-detailsupabase/functions/invoices/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| path | invoice_id | string | Yes |
Example Request
curl -X GET "https://api.soledgic.com/v1/invoices/invoice_id_123" \ -H "x-api-key: slk_test_YOUR_API_KEY"
Record Invoice Payment/v1/invoices/{invoice_id}/record-paymentPOSTAPI key
/v1/invoices/{invoice_id}/record-paymentRecord a payment against an invoice.
Record a payment against an invoice.
Use this endpoint when your integration needs this resource or action.
Review the required fields and authentication method before calling it.
Required: invoice_id (path)
A JSON response with the resource state or action result.
Method meaning: POST: Create something or run a controlled action.
https://api.soledgic.com/v1/invoices/{invoice_id}/record-payment/functions/v1/invoice-record-paymentsupabase/functions/invoices/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| path | invoice_id | string | Yes |
| body | amount_cents | number | No |
| body | payment_date | string | No |
| body | reference_id | string | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/invoices/invoice_id_123/record-payment" \
-H "x-api-key: slk_test_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"amount_cents": 1000,
"payment_date": "2026-01-01",
"reference_id": "reference_id_123"
}'Send Invoice/v1/invoices/{invoice_id}/sendPOSTAPI key
/v1/invoices/{invoice_id}/sendMark an invoice as sent and record the send event.
Mark an invoice as sent and record the send event.
Use this endpoint when your integration needs this resource or action.
Review the required fields and authentication method before calling it.
Required: invoice_id (path)
A JSON response with the resource state or action result.
Method meaning: POST: Create something or run a controlled action.
https://api.soledgic.com/v1/invoices/{invoice_id}/send/functions/v1/invoice-sendsupabase/functions/invoices/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| path | invoice_id | string | Yes |
Example Request
curl -X POST "https://api.soledgic.com/v1/invoices/invoice_id_123/send" \
-H "x-api-key: slk_test_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"example": "value"
}'Void Invoice/v1/invoices/{invoice_id}/voidPOSTAPI key
/v1/invoices/{invoice_id}/voidVoid an invoice with an optional reason.
Void an invoice with an optional reason.
Use this endpoint when your integration needs this resource or action.
Review the required fields and authentication method before calling it.
Required: invoice_id (path)
A JSON response with the resource state or action result.
Method meaning: POST: Create something or run a controlled action.
https://api.soledgic.com/v1/invoices/{invoice_id}/void/functions/v1/invoice-voidsupabase/functions/invoices/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| path | invoice_id | string | Yes |
| body | reason | string | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/invoices/invoice_id_123/void" \
-H "x-api-key: slk_test_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"reason": "value"
}'Contractor Payment/v1/manage-contractors/paymentPOSTAPI key
/v1/manage-contractors/paymentRecord a contractor payment.
Record a contractor payment.
Use this endpoint when your integration needs this resource or action.
Review the required fields and authentication method before calling it.
Required: contractor_id (body), amount (body)
A JSON response with the resource state or action result.
Method meaning: POST: Create something or run a controlled action.
https://api.soledgic.com/v1/manage-contractors/payment/functions/v1/manage-contractors-paymentsupabase/functions/manage-contractors/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | contractor_id | string | Yes |
| body | amount | number | Yes |
| body | reference_id | string | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/manage-contractors/payment" \
-H "x-api-key: slk_test_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"contractor_id": "contractor_id_123",
"amount": 1000,
"reference_id": "reference_id_123"
}'Due Recurring Transactions/v1/manage-recurring/dueGETAPI key
/v1/manage-recurring/dueList recurring transactions due for processing.
List recurring transactions due for processing.
Use this endpoint when your integration needs this resource or action.
Review the required fields and authentication method before calling it.
Required: No required fields were inferred. Check the example body for the normal call shape.
A JSON response with the resource state or action result.
Method meaning: GET: Read existing information.
https://api.soledgic.com/v1/manage-recurring/due/functions/v1/manage-recurring-duesupabase/functions/manage-recurring/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| query | as_of | string | No |
Example Request
curl -X GET "https://api.soledgic.com/v1/manage-recurring/due?as_of=value" \ -H "x-api-key: slk_test_YOUR_API_KEY"
Approve Refund Request/v1/refund-requests/{id}/approvePOSTAPI key
/v1/refund-requests/{id}/approveApprove a pending refund request and execute the Soledgic-routed refund.
Approve a buyer refund request and execute the refund.
Call this from platform support/admin tooling after deciding the buyer should be refunded.
Confirm the request is pending and the original sale still has refundable balance.
Required: id (path)
The completed refund request and the refund transaction created by Soledgic.
Method meaning: POST: Create something or run a controlled action.
https://api.soledgic.com/v1/refund-requests/{id}/approve/functions/v1/refund-request-approvesupabase/functions/refund-requests/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| path | id | string | Yes |
| body | reviewed_by_actor | string | No |
| body | metadata | Record<string, unknown> | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/refund-requests/id_123/approve" \
-H "x-api-key: slk_test_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"reviewed_by_actor": "value",
"metadata": {}
}'Cancel Refund Request/v1/refund-requests/{id}/cancelPOSTAPI key
/v1/refund-requests/{id}/cancelCancel a pending buyer refund request before approval.
Cancel a pending buyer refund request.
Call this when the buyer withdraws the request or your app closes it before review.
The request must still be pending.
Required: id (path)
The cancelled refund request.
Method meaning: POST: Create something or run a controlled action.
https://api.soledgic.com/v1/refund-requests/{id}/cancel/functions/v1/refund-request-cancelsupabase/functions/refund-requests/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| path | id | string | Yes |
| body | reason | string | No |
| body | metadata | Record<string, unknown> | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/refund-requests/id_123/cancel" \
-H "x-api-key: slk_test_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"reason": "value",
"metadata": {}
}'Reject Refund Request/v1/refund-requests/{id}/rejectPOSTAPI key
/v1/refund-requests/{id}/rejectReject a pending refund request without moving funds.
Reject a buyer refund request without moving funds.
Call this when support denies a request or needs the buyer to resolve the issue another way.
Provide a clear rejection reason for the buyer/support trail.
Required: id (path), reason (body)
The rejected refund request and rejection reason.
Method meaning: POST: Create something or run a controlled action.
https://api.soledgic.com/v1/refund-requests/{id}/reject/functions/v1/refund-request-rejectsupabase/functions/refund-requests/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| path | id | string | Yes |
| body | reason | string | Yes |
| body | reviewed_by_actor | string | No |
| body | metadata | Record<string, unknown> | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/refund-requests/id_123/reject" \
-H "x-api-key: slk_test_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"reason": "value",
"reviewed_by_actor": "value",
"metadata": {}
}'Refund Requests/v1/refund-requestsGETPOSTAPI key
/v1/refund-requestsCreate and review buyer-facing refund requests before money movement is approved.
Create a pending refund request from your buyer-facing app.
Call this from your server after an authenticated buyer clicks Request refund. This creates review state only; it does not move money.
Have the original `sale_reference`, buyer `customer_id` or `customer_email`, reason, and optional amount in cents.
Required: sale_reference (body), reason (body)
A refund request with pending status, amount, sale reference, and review timestamps.
Method meaning: GET: Read existing information. POST: Create something or run a controlled action.
https://api.soledgic.com/v1/refund-requests/functions/v1/refund-requestssupabase/functions/refund-requests/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| query | status | 'pending' | 'processing' | 'completed' | 'rejected' | 'cancelled' | 'failed' | No |
| query | sale_reference | string | No |
| query | customer_id | string | No |
| query | limit | number | No |
| body | sale_reference | string | Yes |
| body | customer_id | string | No |
| body | customer_email | string | No |
| body | amount | number | No |
| body | reason | string | Yes |
| body | refund_from | 'both' | 'platform_only' | 'creator_only' | No |
| body | idempotency_key | string | No |
| body | metadata | Record<string, unknown> | No |
Example Request
curl -X GET "https://api.soledgic.com/v1/refund-requests?status=pending&sale_reference=value&customer_id=customer_id_123&limit=1000" \ -H "x-api-key: slk_test_YOUR_API_KEY"
Sandbox Complete Checkout/v1/sandbox/checkouts/{checkout_id}/completePOSTAPI key
/v1/sandbox/checkouts/{checkout_id}/completeComplete a sandbox checkout without contacting a payment processor. Test API keys only.
Complete a sandbox checkout without contacting a payment processor. Test API keys only.
Use this endpoint when your integration needs this resource or action.
Review the required fields and authentication method before calling it.
Required: checkout_id (path), idempotency_key (body)
A JSON response with the resource state or action result.
Method meaning: POST: Create something or run a controlled action.
https://api.soledgic.com/v1/sandbox/checkouts/{checkout_id}/complete/functions/v1/sandbox-checkout-completesupabase/functions/sandbox/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| path | checkout_id | string | Yes |
| body | idempotency_key | string | Yes |
| body | payment_id | string | No |
| body | metadata | Record<string, unknown> | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/sandbox/checkouts/checkout_id_123/complete" \
-H "x-api-key: slk_test_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"idempotency_key": "idempotency_key_123",
"payment_id": "payment_id_123",
"metadata": {}
}'Sandbox Fail Checkout/v1/sandbox/checkouts/{checkout_id}/failPOSTAPI key
/v1/sandbox/checkouts/{checkout_id}/failFail a sandbox checkout and queue the matching sandbox webhook. Test API keys only.
Fail a sandbox checkout and queue the matching sandbox webhook. Test API keys only.
Use this endpoint when your integration needs this resource or action.
Review the required fields and authentication method before calling it.
Required: checkout_id (path), idempotency_key (body)
A JSON response with the resource state or action result.
Method meaning: POST: Create something or run a controlled action.
https://api.soledgic.com/v1/sandbox/checkouts/{checkout_id}/fail/functions/v1/sandbox-checkout-failsupabase/functions/sandbox/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| path | checkout_id | string | Yes |
| body | idempotency_key | string | Yes |
| body | reason | string | No |
| body | metadata | Record<string, unknown> | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/sandbox/checkouts/checkout_id_123/fail" \
-H "x-api-key: slk_test_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"idempotency_key": "idempotency_key_123",
"reason": "value",
"metadata": {}
}'Sandbox Cleanup/v1/sandbox/cleanupPOSTAPI key
/v1/sandbox/cleanupPreview or clean run-scoped sandbox data, or reset all sandbox runtime data for a test ledger. Test API keys only; webhook endpoints are preserved.
Preview or clean run-scoped sandbox data, or reset all sandbox runtime data for a test ledger. Test API keys only; webhook endpoints are preserved.
Use this endpoint when your integration needs this resource or action.
Review the required fields and authentication method before calling it.
Required: No required fields were inferred. Check the example body for the normal call shape.
A JSON response with the resource state or action result.
Method meaning: POST: Create something or run a controlled action.
https://api.soledgic.com/v1/sandbox/cleanup/functions/v1/sandbox-cleanupsupabase/functions/sandbox/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | dry_run | boolean | No |
| body | scope | 'run' | 'sandbox_ledger' | No |
| body | source | string | No |
| body | run_id | string | No |
| body | confirm | 'cleanup_sandbox_run_data' | 'cleanup_sandbox_runtime_data' | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/sandbox/cleanup" \
-H "x-api-key: slk_test_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"dry_run": true,
"scope": "run",
"source": "value",
"run_id": "run_id_123",
"confirm": "cleanup_sandbox_run_data"
}'Sandbox Events/v1/sandbox/eventsGETAPI key
/v1/sandbox/eventsList recent sandbox webhook delivery events for this ledger.
List recent sandbox webhook delivery events for this ledger.
Use this endpoint when your integration needs this resource or action.
Review the required fields and authentication method before calling it.
Required: No required fields were inferred. Check the example body for the normal call shape.
A JSON response with the resource state or action result.
Method meaning: GET: Read existing information.
https://api.soledgic.com/v1/sandbox/events/functions/v1/sandbox-eventssupabase/functions/sandbox/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| query | event_type | string | No |
| query | checkout_id | string | No |
| query | order_id | string | No |
| query | payment_id | string | No |
| query | limit | number | No |
Example Request
curl -X GET "https://api.soledgic.com/v1/sandbox/events?event_type=value&checkout_id=checkout_id_123&order_id=order_id_123&payment_id=payment_id_123" \ -H "x-api-key: slk_test_YOUR_API_KEY"
Sandbox Test Webhook/v1/sandbox/webhooks/testPOSTAPI key
/v1/sandbox/webhooks/testQueue a predefined sandbox webhook event for the ledger webhook endpoints. Test API keys only.
Queue a predefined sandbox webhook event for the ledger webhook endpoints. Test API keys only.
Use this endpoint when your integration needs this resource or action.
Review the required fields and authentication method before calling it.
Required: idempotency_key (body)
A JSON response with the resource state or action result.
Method meaning: POST: Create something or run a controlled action.
https://api.soledgic.com/v1/sandbox/webhooks/test/functions/v1/sandbox-webhook-testsupabase/functions/sandbox/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | idempotency_key | string | Yes |
| body | event_type | 'sandbox.test' | 'checkout.completed' | 'checkout.failed' | 'dispute.created' | 'dispute.funds_withdrawn' | 'chargeback.created' | 'chargeback.funds_withdrawn' | 'hold.created' | 'hold.released' | 'hold.failed' | 'refund_request.created' | 'refund_request.completed' | 'refund_request.rejected' | 'refund_request.cancelled' | 'payout_request.created' | 'payout_request.approved' | 'payout_request.rejected' | 'payout_request.cancelled' | 'payout_request.failed' | 'payout_request.completed' | 'refund.created' | 'sale.refunded' | 'payout.created' | 'payout.processing' | 'payout.executed' | 'payout.failed' | No |
| body | payload | Record<string, unknown> | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/sandbox/webhooks/test" \
-H "x-api-key: slk_test_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"idempotency_key": "idempotency_key_123",
"event_type": "sandbox.test",
"payload": {}
}'Submit Tax Info/v1/submit-tax-infoPOSTAPI key
/v1/submit-tax-infoSubmit participant tax profile details for payout readiness.
Submit participant tax profile details for payout readiness.
Use this endpoint when your integration needs this resource or action.
Review the required fields and authentication method before calling it.
Required: participant_id (body), legal_name (body), tax_id_type (body), tax_id_last4 (body)
A JSON response with the resource state or action result.
Method meaning: POST: Create something or run a controlled action.
https://api.soledgic.com/v1/submit-tax-info/functions/v1/submit-tax-infosupabase/functions/submit-tax-info/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | participant_id | string | Yes |
| body | legal_name | string | Yes |
| body | tax_id_type | string | Yes |
| body | tax_id_last4 | string | Yes |
| body | business_type | string | No |
| body | certify | boolean | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/submit-tax-info" \
-H "x-api-key: slk_test_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"participant_id": "participant_id_123",
"legal_name": "value",
"tax_id_type": "tax_id_type_123",
"tax_id_last4": "tax_id_last4_123",
"business_type": "value",
"certify": true
}'Bulk Mark Tax Documents Filed/v1/tax/documents/mark-filedPOSTAPI key
/v1/tax/documents/mark-filedMark generated tax documents filed for a tax year.
Mark generated tax documents filed for a tax year.
Use this endpoint when your integration needs this resource or action.
Review the required fields and authentication method before calling it.
Required: tax_year (body)
A JSON response with the resource state or action result.
Method meaning: POST: Create something or run a controlled action.
https://api.soledgic.com/v1/tax/documents/mark-filed/functions/v1/tax-document-bulk-mark-filedsupabase/functions/tax/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | tax_year | number | Yes |
Example Request
curl -X POST "https://api.soledgic.com/v1/tax/documents/mark-filed" \
-H "x-api-key: slk_test_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"tax_year": 1000
}'Correct Tax Document/v1/tax/documents/{document_id}/correctPOSTAPI key
/v1/tax/documents/{document_id}/correctCreate a correction workflow for a generated tax document.
Create a correction workflow for a generated tax document.
Use this endpoint when your integration needs this resource or action.
Review the required fields and authentication method before calling it.
Required: document_id (path)
A JSON response with the resource state or action result.
Method meaning: POST: Create something or run a controlled action.
https://api.soledgic.com/v1/tax/documents/{document_id}/correct/functions/v1/tax-document-correctsupabase/functions/tax/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| path | document_id | string | Yes |
| body | reason | string | No |
| body | updates | Record<string, unknown> | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/tax/documents/document_id_123/correct" \
-H "x-api-key: slk_test_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"reason": "value",
"updates": {}
}'Deliver Tax Document Copy B/v1/tax/documents/deliver-copy-bPOSTAPI key
/v1/tax/documents/deliver-copy-bDeliver recipient tax document copies for a tax year.
Deliver recipient tax document copies for a tax year.
Use this endpoint when your integration needs this resource or action.
Review the required fields and authentication method before calling it.
Required: tax_year (body)
A JSON response with the resource state or action result.
Method meaning: POST: Create something or run a controlled action.
https://api.soledgic.com/v1/tax/documents/deliver-copy-b/functions/v1/tax-document-deliver-copy-bsupabase/functions/tax/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | tax_year | number | Yes |
Example Request
curl -X POST "https://api.soledgic.com/v1/tax/documents/deliver-copy-b" \
-H "x-api-key: slk_test_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"tax_year": 1000
}'Tax Document PDF/v1/tax/documents/{document_id}/pdfPOSTAPI key
/v1/tax/documents/{document_id}/pdfGenerate or retrieve a PDF for one tax document.
Generate or retrieve a PDF for one tax document.
Use this endpoint when your integration needs this resource or action.
Review the required fields and authentication method before calling it.
Required: document_id (path)
A JSON response with the resource state or action result.
Method meaning: POST: Create something or run a controlled action.
https://api.soledgic.com/v1/tax/documents/{document_id}/pdf/functions/v1/tax-document-pdfsupabase/functions/tax/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| path | document_id | string | Yes |
| body | regenerate | boolean | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/tax/documents/document_id_123/pdf" \
-H "x-api-key: slk_test_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"regenerate": true
}'Batch Tax Document PDFs/v1/tax/documents/pdf/batchPOSTAPI key
/v1/tax/documents/pdf/batchGenerate tax document PDFs in batch.
Generate tax document PDFs in batch.
Use this endpoint when your integration needs this resource or action.
Review the required fields and authentication method before calling it.
Required: tax_year (body)
A JSON response with the resource state or action result.
Method meaning: POST: Create something or run a controlled action.
https://api.soledgic.com/v1/tax/documents/pdf/batch/functions/v1/tax-document-pdf-batchsupabase/functions/tax/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | tax_year | number | Yes |
| body | document_ids | string[] | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/tax/documents/pdf/batch" \
-H "x-api-key: slk_test_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"tax_year": 1000,
"document_ids": [
"item_1"
]
}'Wallet Sessions/v1/wallet-sessionsPOSTAPI key
/v1/wallet-sessionsCreate a short-lived hosted wallet page session for a customer wallet or an explicit creator earnings account. Consumer sessions use `user_wallet` and default to balance, activity, and top-up access; creator sessions use `participant_identity_links` and `creator_balance` with read-only balance/activity access.
Create a hosted wallet link for a buyer wallet or creator earnings balance.
Use `owner_type: consumer` or `user` for buyer wallet sessions, and `owner_type: participant` or `creator` for creator earnings sessions.
Buyer sessions need a `wallet_id` or stable customer `owner_id`; they default to top-up capable. Creator sessions need a `creator_balance` wallet id or the creator `participant_id`, plus an active participant identity link, and stay read-only.
Required: No required fields were inferred. Check the example body for the normal call shape.
A short-lived `wallet_url` scoped to `user_wallet` for buyers or `creator_balance` for creator earnings.
Method meaning: POST: Create something or run a controlled action.
https://api.soledgic.com/v1/wallet-sessions/functions/v1/wallet-sessionssupabase/functions/wallet-sessions/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| body | wallet_id | string | No |
| body | owner_id | string | No |
| body | external_user_id | string | No |
| body | owner_type | 'user' | 'consumer' | 'participant' | 'creator' | No |
| body | customer_email | string | No |
| body | permissions | Array<'view_balance' | 'list_activity' | 'top_up' | 'request_refund'> | No |
| body | success_url | string | No |
| body | cancel_url | string | No |
| body | expires_in_minutes | number | No |
| body | idempotency_key | string | No |
| body | metadata | Record<string, unknown> | No |
Example Request
curl -X POST "https://api.soledgic.com/v1/wallet-sessions" \
-H "x-api-key: slk_test_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"wallet_id": "wallet_id_123",
"owner_id": "owner_id_123",
"external_user_id": "external_user_id_123",
"owner_type": "user",
"customer_email": "user@example.com",
"permissions": "view_balance",
"success_url": "value",
"cancel_url": "value"
}'Wallets/v1/walletsGETPOSTAPI key
/v1/walletsList scoped wallets or create a consumer credit wallet.
Create or list wallets for buyers and creators.
Call this when your app needs a buyer wallet, a creator earnings wallet, or a list of scoped wallets.
Know whether this is a `consumer_credit` wallet or a `creator_earnings` wallet.
Required: wallet_type (body)
Wallet objects with balances, supported actions, owner ids, and metadata.
Method meaning: GET: Read existing information. POST: Create something or run a controlled action.
https://api.soledgic.com/v1/wallets/functions/v1/walletssupabase/functions/wallets/index.tsParameters
| Location | Name | Type | Required |
|---|---|---|---|
| query | owner_id | string | No |
| query | owner_type | string | No |
| query | wallet_type | 'consumer_credit' | 'creator_earnings' | No |
| query | limit | number | No |
| query | offset | number | No |
| body | owner_id | string | No |
| body | participant_id | string | No |
| body | owner_type | string | No |
| body | wallet_type | 'consumer_credit' | 'creator_earnings' | Yes |
| body | name | string | No |
| body | metadata | Record<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"
}| 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 |