requests
post/api/requests/

Request

  • The document declares no server URL.
  • Auth: none declared

Headers

authorizationstring nullable

Cookies

session_idstring nullable

Request body

borrower_idinteger required
phone_numberstring required
start_datestring date-time required
end_datestring date-time required
reasonstring nullable

Response

Successful Response

idinteger required
phone_numberstring required
start_datestring date-time required
end_datestring date-time required
reasonstring nullable
created_atstring date-time required
processedboolean required
refusedboolean required
status'pending' | 'refused' | 'approved' required

Represents the status of a request.

loan_idinteger nullable

Changes

    • info

      added the optional property to the response with the status

    • info

      removed the unauthenticated enum value from the / response property for the response status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • breaking

      removed the required property from the response with the status

    • info

      added the new optional header request parameter authorization

    • info

      added the non-success response with the status

    • info

      added the required property to the response with the status