OpenSylo Marketplace API
    OpenSylo Marketplace API
    • Introduction
    • Getting Started
    • OAuth 2.0 Flow
    • Webhook Integration
    • Sandbox Testing
    • Error Reference
    • Marketplace Dashboard
      • Login to the marketplace dashboard
        POST
      • View OAuth credentials
        GET
      • Regenerate client secret
        POST
    • OAuth 2.0
      • Start OAuth authorization
        GET
      • Exchange code or refresh token
        POST
      • Revoke a token
        POST
      • OAuth discovery / client metadata
        GET
    • Data Ingestion
      • Submit single merchant data
        POST
      • Submit bulk merchant data
        POST
      • Get merchant credit score
        GET
      • Integration health check
        GET
    • Loan API
      • Get active loans for a merchant
        GET
      • Get loan status
        GET
      • Validate deduction amounts
        POST
      • Bulk loan status check
        POST
    • Inbound Webhooks
      • Send repayment webhook
        POST
      • Send settlement webhook
        POST
    • Sandbox
      • Sandbox environment info
        GET
      • Get sandbox test credentials
        GET
      • Get sandbox test merchants
        GET
    • Schemas
      • DashboardLoginRequest
      • DashboardLoginResponse
      • CredentialsResponse
      • RegenerateSecretResponse
      • TokenRequest
      • TokenResponse
      • RevokeRequest
      • ClientMetadataResponse
      • MerchantIdentity
      • SalesPerformance
      • RevenueConsistency
      • FulfillmentMetrics
      • PayoutCashFlow
      • PlatformDependency
      • HistoricalCredit
      • BehavioralRisk
      • MerchantDataRequest
      • ScoreBreakdown
      • CreditScore
      • MerchantDataResponse
      • BulkMerchantDataRequest
      • BulkMerchantDataResponse
      • CreditScoreResponse
      • HealthResponse
      • ActiveLoansResponse
      • LoanStatusResponse
      • ValidateDeductionsRequest
      • ValidateDeductionsResponse
      • BulkLoanStatusRequest
      • BulkLoanStatusResponse
      • RepaymentWebhookRequest
      • SettlementWebhookRequest
      • WebhookAckResponse
      • SandboxInfoResponse
      • SandboxCredentialsResponse
      • SandboxMerchantsResponse
      • OAuthError
      • ApiError

    Introduction

    What is OpenSylo?#

    OpenSylo is a credit infrastructure platform that enables marketplaces to share merchant data for credit scoring and lending. Marketplace partners connect via OAuth 2.0, share merchant performance data, and receive credit scores that lenders use to make loan decisions.

    Architecture Overview#

                    Marketplace (Partner)          OpenSylo Platform  
                    +------------------+          +------------------+
                    |                  |  OAuth   |                  |
                    |  Your Platform   |<-------->|   API Gateway    |
                    |                  |          |                  | 
                    |  Merchant Data   |--------->|  Credit Scoring  |
                    |  Submission      |  Data    |  Engine          |
                    |                  | Ingest   |                  | 
                    |  Webhook         |<---------|  Webhook         |
                    |  Handler         | Events   |  Dispatcher      |
                    +------------------+          +------------------+   

    Integration Flow#

    The end-to-end integration follows these steps:
    1.
    Invitation — An OpenSylo admin invites your marketplace. You receive an email with a registration link.
    2.
    Registration — Complete the multi-step onboarding process (business info, phone verification, signatory details, documents).
    3.
    Credentials — After registration, your client_id and client_secret are available in the dashboard. The secret is shown only once at creation.
    4.
    OAuth Authorization — A merchant on your platform grants consent via the OAuth 2.0 Authorization Code flow with PKCE. You receive an access token and refresh token.
    5.
    Data Submission — Submit the merchant's performance data (sales, fulfillment, payout, risk metrics) to OpenSylo using the access token.
    6.
    Credit Scoring — OpenSylo calculates a credit score and returns it in the data submission response.
    7.
    Loan Decision — Lenders on the OpenSylo platform use the credit score to make loan decisions.
    8.
    Webhook Notifications — OpenSylo sends outbound webhooks to notify your marketplace of loan lifecycle events (approval, disbursement, repayment changes, completion).
    9.
    Repayment Collection — Your marketplace deducts repayments from merchant settlements and reports them to OpenSylo via inbound webhooks.

    Key Concepts#

    ConceptDescription
    MarketplaceYour platform — an e-commerce marketplace, payment gateway, or similar platform with merchant data.
    MerchantA seller/vendor on your marketplace who consents to share data for credit scoring.
    OAuth ConsentThe merchant explicitly grants permission for your marketplace to share their data with OpenSylo.
    Credit ScoreA 0-100 score calculated from submitted merchant data, with risk tiers A (best) through E (worst).
    Lending CapThe maximum loan amount a lender can offer to a merchant, derived from the credit score.
    DeductionA percentage of each merchant sale that is withheld to repay an active loan.

    API Groups#

    The marketplace API is organized into these groups:
    GroupPurpose
    Marketplace DashboardLogin, view and manage OAuth credentials
    OAuth 2.0Authorization code flow, token exchange, revocation, discovery
    Data IngestionSubmit merchant data, retrieve credit scores, health check
    Loan APIQuery active loans, check status, validate deduction amounts
    Inbound WebhooksYour marketplace sends repayment and settlement events to OpenSylo
    Outbound WebhooksOpenSylo sends loan lifecycle events to your marketplace
    SandboxTest environment with pre-seeded merchants and simulated credit scores

    Base URL#

    All API requests use the same base URL for both production and sandbox:
    https://api.opensylo.com
    Sandbox mode is automatically detected by the sb_ prefix on your client_id. No separate URL or configuration is needed.
    Modified at 2026-01-30 09:11:22
    Next
    Getting Started
    Built with