Credit rating

Request format

GET /api/v2/creditrating/{wmid}

Alternative: GET /api/v2/creditrating?wmid={wmid} (supported for compatibility).

Request parameters

Name Type Where Purpose Description
wmid string path or query Participant's WMID 12 digits

Response format (example)

{
  "wmid": "YYYYYYYYYYYY",
  "state": 1,
  "dateStart": "2024-01-01T00:00:00Z",
  "dateLast": "2025-01-01T00:00:00Z",
  "owedTo": [
    { "pt": "WMT", "limitCount": 2, "limitSum": 200.00, "creditCount": 1, "creditSum": 50.00 }
  ],
  "owedBy": [
    { "pt": "WMT", "limitCount": 1, "limitSum": 100.00, "creditCount": 0, "creditSum": 0.00 }
  ],
  "debtCeiling": { "pt": "WMZ", "amount": 1000.00 }
}

Explanations of the fields

Field Type Purpose
wmid string Participant's WMID
state int Profile status in the service
dateStart string Activity start date (ISO 8601 UTC)
dateLast string Date of last activity (ISO 8601 UTC)
owedTo array Aggregated parameters for loans received (by currency)
owedBy array Aggregated parameters for issued loans (by currency)
debtCeiling object Maximum limit (for the calling WMID), in WMZ

Example call (curl)

curl -s -X GET "https://debt.webmoney.com/api/v2/creditrating/111122223333" \
  -H "Authorization: Bearer <JWT>" \
  -H "Accept: application/json" 

See also

Program Interfaces (API) of Debt Service V2