Skip to main content
PUT
Customers can use this endpoint to respond to a loan offer. If the offer is accepted, the application status changes to ACCEPTED. If withdrawn, the status changes to WITHDRAWN.
This endpoint can only be used when the loan application status is OFFER_SENT. Attempting to use it with any other status will result in an error.

Request Headers

string
required
The JWT Access Token obtained from the /login or /refresh-token endpoint.
string
required
Unique idempotency key for the request to prevent duplicate processing.
string
required
The date and time at which the request was initiated (ISO 8601 format).
string
required
The IP address of the customer making the request.
string
required
Unique identifier for the interaction/session.

Path Parameters

string
required
The unique identifier (UUID) of the loan application to update.

Query Parameters

boolean
required
  • true: Accept the loan offer (status changes to ACCEPTED)
  • false: Withdraw from the loan offer (status changes to WITHDRAWN)

Response

Returns the updated loan application details.
string
default:"SUCCESS"
Overall status of the API request.
object
Updated loan application details.

Code Examples