Risk Management Service
string · requiredstring · uuidinteger · int32
string · uuidstringnumber · decimalstring · uuid
ledgers
Operations addressed under /ledgers — 1 operation.
get-risk-ledger-by-ledger-code
GET
https://dg-sandbox.dgpays.com/risk-management-service
/ledgers/by-ledger-code/{ledgerCode}
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Response body, read from the service source
The route declares its response as RiskLedgerDto.
| Field | Declared type | Nullable |
|---|---|---|
RiskDefinitionId | Guid? | yes |
Member names are the service's declaration names.
Error codes this operation is known to raise
| Code | Status | Meaning | Message |
|---|---|---|---|
ERR_RISKMNG_9 | 400 | RISK_DEFINITION_RISK_LEDGER_MUST_BE_NULL | Risk ledger cannot be found. Ledger Code:{0} |
path Parameters
ledgerCodeget-risk-ledger-by-ledger-code › Responses
Success. The catalog declares this returns a single record. Of 25 operations in this state with a probeable route, 8 answered and 6 returned a single record — the other two returned a collection and a bare boolean.
accountProductIdcurrencyRateTypePermitted values — validated against the currency_rate_type parameter. The service rejects any other value.
| Value | Token | Labels |
|---|---|---|
1 | CurrencyRateType1 | en: CurrencyRateType1 · tr: CurrencyRateType1 · ar: نوع سعر العملة 1 |
2 | CurrencyRateType2 | en: CurrencyRateType2 · tr: CurrencyRateType2 · ar: نوع معدل العملة 2 |
idledgerCoderateriskDefinitionId