Loan Service
string · uuid · requiredstring · date · requiredinteger · int32 · required
loans--close
Operations addressed under /loans — 79 operations.
Rendered section: This page contains the close route group from loans. This is a presentation-only partition; it does not change the API contract or operation tags in the downloadable OpenAPI.
close-loan
PUT
https://dg-sandbox.dgpays.com/loan-service
/loans/{id}/close
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Error codes this operation is known to raise
| Code | Status | Meaning |
|---|---|---|
ERR_LOAN_17 | 400 | LOAN_MUST_NOT_BE_NULL |
path Parameters
idclose-loan › Request Body
closeDatecloseTypePermitted values — validated against the loan_close_type parameter.
| Value | Meaning |
|---|---|
1 | Early Payment |
2 | On Time Payment |
3 | Cancelled |
4 | Legal Follow |
5 | Restructure |
Permitted values — validated against the loan_close_type parameter. The service rejects any other value.
| Value | Token | Labels |
|---|---|---|
1 | Early Payment | en: Early Payment · tr: Erken Ödeme · ar: الدفع المبكر |
2 | On Time Payment | en: On Time Payment · tr: Zamanında Ödeme · ar: الدفع في الوقت المحدد |
3 | Cancelled | en: Cancelled · tr: İptal Edildi · ar: ملغاة |
4 | Legal Follow | en: Legal Follow · tr: Yasal Takip · ar: متابعة قانونية |
5 | Restructure | en: Restructure · tr: Yapılandırma |
close-loan › Responses
Success. The catalog declares no response fields for this operation. The body is UNKNOWN CONTENT. The response type this route registers was read from the service's own source and is published on this operation as x-aura-code-response.
No data returned