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
      • View OAuth credentials
      • Regenerate client secret
    • 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
    • Sandbox
      • Sandbox environment info
      • Get sandbox test credentials
      • Get sandbox test merchants
    • 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

    RepaymentWebhookRequest

    {
        "event": "repayment.deducted",
        "event_id": "evt_rep_001",
        "timestamp": "2026-01-29T10:30:00.000Z",
        "marketplace": {
            "id": "marketplace_uuid",
            "name": "Your Marketplace"
        },
        "merchant": {
            "marketplace_id": "your_internal_merchant_id",
            "opensylo_id": "opensylo_merchant_uuid"
        },
        "loan": {
            "opensylo_id": "loan_uuid",
            "opensylo_reference": "LOAN-2026-001"
        },
        "deduction": {
            "reference": "deduct_ref_001",
            "amount": 5000,
            "currency": "NGN",
            "deducted_at": "2026-01-29T10:30:00.000Z"
        },
        "source_transaction": {
            "id": "order_123",
            "type": "sale",
            "gross_amount": 25000,
            "timestamp": "2026-01-29T10:25:00.000Z"
        },
        "loan_balance": {
            "total_due": 100000,
            "total_paid": 55000,
            "outstanding": 45000
        }
    }
    Built with