Decline Offer
Loans
Decline Offer
Decline the loan offer on behalf of the customer.
POST
Decline Offer
Overview
Declines the loan offer. The application status transitions toOFFER_DECLINED. A reason must be provided from the allowed enum.
Request
Method:POSTURL:
/v1/loans/:applicationId/offer/decline
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
x-carbon-key | Header | string | Yes | API key for authentication. |
applicationId | Path | string | Yes | Application ID. |
Request Body
| Field | Type | Required | Allowed values |
|---|---|---|---|
decline_reason | string | Yes | HIGH_INTEREST · OFFER_SMALL · REPAYMENT_PERIOD · CHECKING · OTHERS |
Response
200 OK
Error Responses
| Status | Message | Cause |
|---|---|---|
| 400 | decline_reason is required | Field missing |
| 400 | decline_reason must be one of: ... | Invalid enum value |
| 400 | Application not found | Invalid applicationId |
Authorizations
Provide your API key in the 'apikey' header.
Headers
Path Parameters
Body
application/json
Provide the required values for the request body.
Example:
"HIGH_INTEREST"
Response
200 - application/json
Successful response
The response is of type object.