# Application Details To check whether a credit application received a decision from Inbank and display the credit offer, the partner needs to get the data of the application and credit details using the GET /partner/v2/shops/:shop_uuid/applications/:application_uuid request. As the decision process might take some time, the endpoint may need to be polled once a second for a maximum of 30 seconds. The response includes the decision_status parameter which can have one of the following values: pending, positive, manual_negative, income_proof_required, negative, failed. It can be considered that the application received a positive decision from Inbank if its decision_status is positive. Once the partner receives a positive credit decision from Inbank, it can display the offer to the customer. Note that there are situations when the application data may be altered by Inbank systems during processing, in that case the application is also assigned a new UUID and the returned application data contains the attribute changed_conditions with value true. The changed_conditions attribute informs you if the application has undergone changes or not. If you persist Inbank application UUID in your system - you should always compare the returned UUID with the one you requested and update the UUID on your side respectively. If the response includes the income_proof_required decision status, the customer needs to submit their income proof documents to Inbank. Note for partners integrating in Estonia The income_proof_type parameter in the response indicates the manner in which the documents need to be submitted, either via the AIS upload process or the manual upload, or via a manual upload only. Possible values are: - ais_with_fallback_manual_upload_option - the customer can submit their income proof statement via AIS upload process or manual upload. To perform the AIS upload process, you need to redirect the customer to a third party URL. After the AIS upload process is complete, the customer will be redirected back to the flow on your site. - manual_internal_verification - the customer can submit their income proof statement via the manual upload only. Please note that after the AIS upload process, the application might once again receive the income_proof_required decision status with the manual_internal_verification verification type in cases when Inbank needs additional data from the customer to make a decision. Endpoint: GET /partner/v2/shops/{shop_uuid}/applications/{application_uuid} Security: bearerAuth ## Path parameters: - `shop_uuid` (string, required) The unique identifier of the shop. Example: "a93f1f44-d5dd-4469-bfcc-c1de9e969213" - `application_uuid` (string, required) The unique identifier of the application. Example: "471e6282-3384-412b-af7b-646eb8f04391" ## Query parameters: - `type` (string) Enum: "latest", "initial", "exact" ## Response 200 fields (application/json): - `product` (object) - `product.code` (string) E.g. example_product9 - `product.name` (string) E.g. Hire-purchase - `product.subtype` (string) E.g. hire_purchase - `product.type` (string) E.g. loan - `shop` (object) - `shop.name` (string) E.g. Online testshop - `shop.type` (string) E.g. online_partner - `shop.uuid` (string) E.g. a93f1f44-d5dd-4469-bfcc-c1de9e969213 - `credit_application` (object) - `credit_application.uuid` (string) E.g. 471e6282-3384-412b-af7b-646eb8f04391 - `credit_application.number` (number) E.g. 89002917222 - `credit_application.credit_application_status` (string) E.g. pre_request - `credit_application.offer_valid_to` (string) E.g. 2020-11-15 - `credit_application.created_at` (string) E.g. 2020-11-05T13:01:42+02:00 - `credit_application.creator_name` (string) Name of creator. - `credit_application.process_status` (string) E.g. offer - `credit_application.down_payment_amount_total` (number) E.g. 0.0 - `credit_application.salesperson_reference` (string) E.g. Earl James - `credit_application.period` (integer) E.g. 12 - `credit_application.amount` (number) E.g. 1001.0 - `credit_application.payment_day` (integer) E.g. 15 - `credit_application.max_limit` (number) E.g. 3000.0 - `credit_application.decision_status` (string) It can be considered that the application received a positive decision if its decision_status is positive. Enum: "pending", "positive", "manual_negative", "income_proof_required", "negative", "failed" - `credit_application.decision_messages` (string) Contain a list of messages to be displayed to the customer on why the application decision received the corresponding status. E.g. Positive decision - `credit_application.down_payment_amount_prc` (number) E.g. 0 - `credit_application.income_source` (string) E.g. Salary - `credit_application.civil_status` (string) E.g. Married - `credit_application.housing_status` (string) E.g. Tenant - `credit_application.monthly_income` (number) E.g. 2900.0 - `credit_application.monthly_household_costs` (number) E.g. 0.0 - `credit_application.monthly_financial_obligations` (number) E.g. 0.0 - `credit_application.employer_name` (string) E.g. Employer Name - `credit_application.employer_registry_code` (number) E.g. 12345 - `credit_application.employer_phone` (string) E.g. 51231412 - `credit_application.employment_start_year` (string) E.g. 2004 - `credit_application.employment_start_month` (string) E.g. 11 - `credit_application.employment_end_year` (string) E.g. 2016 - `credit_application.employment_end_month` (string) E.g. 10 - `credit_application.dependants_count` (number) E.g. 0 - `credit_application.dependants_over_18` (number) E.g. 0 - `credit_application.changed_conditions` (boolean) E.g. false - `credit_application.previous_uuid` (string) E.g. previous_uuid - `credit_application.confirmed_at` (string) E.g. 2020-11-05T13:01:42+02:00 - `purchase` (string) Purchase. - `contract` (string) Contract. - `payment_schedule` (object) - `payment_schedule.period` (integer) Payment schedule in months. E.g. 12 - `payment_schedule.contract_fee_amount_total` (number) E.g. 11.0 - `payment_schedule.contract_fee_prc` (number) E.g. 0.011 - `payment_schedule.contract_fee_type` (string) E.g. is_paid_according_to_repayment_schedule - `payment_schedule.credit_cost_amount_total` (number) E.g. 157.84 - `payment_schedule.credit_cost_rate_annual` (number) E.g. 0.301 - `payment_schedule.first_payment_amount` (number) E.g. 96.57 - `payment_schedule.first_payment_date` (string) E.g. 2020-12-15 - `payment_schedule.interest_rate_annual` (number) E.g. 0.149 - `payment_schedule.last_payment_amount` (number) E.g. 96.57 - `payment_schedule.last_payment_date` (string) E.g. 2021-11-15 - `payment_schedule.net_credit_amount` (number) E.g. 1001.0 - `payment_schedule.payment_amount_monthly` (number) E.g. 96.57 - `payment_schedule.repayments_amount_total` (number) E.g. 1158.84 - `payment_schedule.down_payment_main_part` (number) E.g. 0.0 - `payment_schedule.admin_fee_amount_monthly` (number) E.g. 0.0 - `payment_schedule.admin_fee_amount_total` (number) E.g. 0.0 - `payment_schedule.insurance_fee_amount_total` (number) E.g. 0.0 - `payment_schedule.residual_amount_total` (number) E.g. 0.0 - `payment_schedule.residual_amount_prc` (number) E.g. 0.0 - `payment_schedule.interest_bearing_amount` (number) E.g. 1001.0 - `payment_schedule.interest_amount_total` (number) E.g. 146.84 ## Response 401 fields (application/json): - `message` (string) Unauthorized Example: "unauthorized" ## Response 403 fields (application/json): - `message` (string) Unauthorized access Example: "User is not authorized to access this resource with an explicit deny" ## Response 404 fields (application/json): - `message` (string) Not Found Example: "not_found" ## Response 500 fields (application/json): - `message` (string) Internal server error Example: "internal_server_error"