OpenSylo Marketplace API
  1. Loan 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
  1. Loan API

Get active loans for a merchant

GET
/api/v1/marketplace/loans/active
Retrieve all active (disbursed) loans for a merchant, including repayment terms and outstanding balances.
Required scope: repayment.report

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Query Params

Responses

🟢200
application/json
Active loans retrieved
Body

🟠401
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.opensylo.com/api/v1/marketplace/loans/active?merchant_id=your_merchant_id&merchant_id_type' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - Success
{
    "merchant": {
        "opensylo_id": "merchant_uuid",
        "marketplace_id": "your_merchant_id",
        "name": "Yakoyo Foods Ltd"
    },
    "active_loans": [
        {
            "loan_id": "loan_uuid",
            "reference": "LOAN-2026-001",
            "lender": {
                "id": "lender_uuid",
                "name": "FinCo Lending"
            },
            "status": "DISBURSED",
            "disbursed_at": "2026-01-15T10:00:00.000Z",
            "due_date": "2026-04-15T00:00:00.000Z",
            "terms": {
                "principal_amount": 500000,
                "total_repayment": 525000,
                "currency": "NGN"
            },
            "repayment": {
                "deduction_percentage": 10,
                "minimum_deduction": 500,
                "total_repaid": 200000,
                "outstanding": 325000,
                "is_overdue": false,
                "days_overdue": 0
            },
            "deduction_active": true
        }
    ],
    "summary": {
        "total_active_loans": 1,
        "total_outstanding": 325000,
        "combined_deduction_percentage": 10
    },
    "timestamp": "2026-01-29T12:00:00.000Z"
}
Modified at 2026-01-29 23:19:05
Previous
Integration health check
Next
Get loan status
Built with