marketplace-doc
    • Data Ingestion
    • Errors
    • Introduction
    • Loan API & Deduction Lifecycle
    • Getting Started
    • OAuth
    • Webhooks
    • Embedded Journey
    • OpenSylo Marketplace Integration API
      • OAuth 2.0
        • Start OAuth authorization
        • Exchange authorization code or refresh token
        • Revoke a token
        • Discover OAuth capabilities
      • Data Ingestion
        • Submit single merchant data
        • Submit bulk merchant data
        • Poll batch processing status
        • Get merchant credit score
        • Data ingestion health check
      • Sales & Events
        • Submit a sales event
        • Submit a repayment event
        • Submit an account flag
      • Loan API
        • Get active loans for a merchant
        • Get loan status
        • Validate deduction amounts
        • Bulk loan status
      • Inbound Webhooks
        • Repayment events
        • Settlement events
      • Outbound Webhooks
        • loan.approved
        • loan.disbursed
        • loan.repayment_updated
        • loan.nearly_complete
        • loan.completed
        • loan.defaulted
        • merchant.created
        • kyc.submitted
        • kyc.approved
        • kyc.rejected
        • funding_request.created
        • funding_request.fulfilled
        • funding_request.rejected
      • Embedded Journey (Marketplace API)
        • Create (or fetch) a merchant
        • Get merchant status (KYC, credit score, funding requests)
        • Update business KYC information
        • Add directors (bulk)
        • Attach a KYC document
        • Submit KYC for review
        • Submit sales data for credit scoring
        • Create a funding request
        • Mint an embed token for the hosted journey
      • Schemas
        • TokenRequest
        • TokenResponse
        • OAuthError
        • ClientMetadataResponse
        • MerchantIdentity
        • SalesPerformance
        • RevenueConsistency
        • FulfillmentMetrics
        • PayoutCashFlow
        • PlatformDependency
        • HistoricalCredit
        • BehavioralRisk
        • MonthlyHistoryEntry
        • MerchantDataRequest
        • CreditScore
        • LoanEligibilityResult
        • MerchantDataResponse
        • BulkMerchantDataRequest
        • AsyncBulkProcessingResponse
        • BatchStatusResponse
        • SalesEventRequest
        • RepaymentEventRequest
        • AccountFlagRequest
        • MerchantInfo
        • LenderInfo
        • RepaymentInfo
        • LoanTermsInfo
        • ActiveLoan
        • ActiveLoansSummary
        • ActiveLoansResponse
        • LoanStatusRepayment
        • LoanStatusResponse
        • ValidateDeductionsRequest
        • DeductionItem
        • DeductionSummary
        • ValidateDeductionsResponse
        • BulkLoanStatusRequest
        • BulkLoanStatusItem
        • BulkStatusSummary
        • BulkLoanStatusResponse
        • WebhookMarketplace
        • WebhookMerchant
        • WebhookLoan
        • DeductionDetails
        • SourceTransaction
        • LoanBalance
        • RepaymentDeductedWebhook
        • FailureDetails
        • RepaymentFailedWebhook
        • ReversalDetails
        • RepaymentReversedWebhook
        • SettlementDetails
        • SettlementSummaryByStatus
        • SettlementSummary
        • SettlementLoanIncluded
        • BankTransferDetails
        • SettlementCreatedWebhook
        • SettlementTransferredWebhook
        • TransferDetails
        • WebhookAckResponse
        • OutboundLoan
        • OutboundMerchant
        • OutboundLender
        • LoanTerms
        • RepaymentTerms
        • ScheduleInstallment
        • LoanApprovedPayload
        • DisbursementDetails
        • DisbursedRepayment
        • LoanDisbursedPayload
        • ChangeDetail
        • LoanRepaymentUpdatedPayload
        • RepaymentStatus
        • NearlyCompleteRecommendation
        • LoanNearlyCompletePayload
        • CompletionSummary
        • LoanCompletedPayload
        • DefaultDetails
        • CollectionInstructions
        • LoanDefaultedPayload
        • ApiError
        • RateLimitError
        • EmbedCreateMerchantRequest
        • EmbedCreateMerchantResponse
        • EmbedBusinessKyc
        • EmbedDirectorInfo
        • EmbedBulkDirectors
        • EmbedDirectorListItem
        • EmbedDocumentUpload
        • EmbedSalesDataAccepted
        • EmbedCreateFundingRequest
        • EmbedFundingRequestIntent
        • EmbedMerchantStatusResponse
        • EmbedTokenResponse
        • MarketplaceMerchantRef
        • MerchantCreatedPayload
        • KycStatusPayload
        • FundingRequestEventPayload
    • OpenSylo Marketplace API
      • OAuth 2.0
        • Start OAuth authorization
        • Exchange code or refresh token
        • Revoke a token
        • OAuth discovery / client metadata
      • Data Ingestion
        • Submit single merchant data
        • Submit bulk merchant data
        • Get merchant credit score
        • Integration health check
      • Loan API
        • Get active loans for a merchant
        • Get loan status
        • Validate deduction amounts
        • Bulk loan status check
      • Inbound Webhooks
        • Send repayment webhook
        • Send settlement webhook
      • Schemas
        • 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
        • 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#

    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
    DashboardManage OAuth credentials, redirect URIs, and webhook settings (via UI)
    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
    Sales & EventsSubmit sales transactions, repayment collection events, and account risk flags
    Inbound WebhooksYour marketplace sends repayment and settlement events to OpenSylo
    Outbound WebhooksOpenSylo sends loan lifecycle events to your marketplace
    SandboxIsolated test environment with mirrored marketplace data for integration testing

    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-04-08 18:18:53
    Previous
    Errors
    Next
    Loan API & Deduction Lifecycle
    Built with