---
swagger: "2.0"
info:
title: In Principle Approvals
description: This API is used to check the In Priniciple Approval eligiblity for
the Customer.
version: 1.0.0
x-ibm-name: in-principle-approvals
schemes:
- https
basePath: /api
produces:
- application/json
paths:
/v1/emea/onboarding/applications/{applicationId}/inPrincipleApprovals:
post:
summary: Check In Principal approval eligiblity for a customer.
description: This API is used to check In Principal approval eligiblity.
tags:
- In Principle Approvals
parameters:
- name: applicationId
in: path
description: the unique identifier of an application
type: string
required: true
- name: client_id
in: header
description: The client ID you received while Onboarding with Citi to use
these API's. This will be generated and shared while registring in the developer
portal.
type: string
required: true
- name: countryCode
in: header
description: Country code in 2 character ISO 3166 format.
required: true
type: string
- name: Authorization
in: header
description: The Authorization Token.
type: string
required: true
- name: uuid
in: header
description: A 128 bit universally unique identifier (UUID) that you generate
for every request and is used for tracking. It is recommended to use the
output from Java UUID class or an equivalent
type: string
required: true
- name: Accept
in: header
description: Content-Types that are acceptable for the response. Currently
we support application/json
type: string
required: true
- name: Content-Type
in: header
description: The media type of the body of the request (used with POST and
PUT requests) Currently we support application/json
type: string
required: true
- name: clientDetails
in: header
description: Device and browser information. Refer the developer portal for
more information. Please ensure the header is base64 encoded
type: string
required: false
- name: InPrincipleApprovalRequest
required: true
in: body
description: In principle approval request.
schema:
$ref: '#/definitions/InPrincipleApprovalRequest'
responses:
200:
description: The request has succeeded
schema:
$ref: '#/definitions/InPrincipleApprovalResponse'
400:
description:
Type | Code | Details |
invalid | invalidRequest | Missing
or invalid Parameters |
error | applicationRejected | Application
Rejected.Cannot process further |
error | applicationNeedsManualReview | Application
needs manual review. IPA not applicable. Please fill all details and do
final submission |
error | awaitingBackgroundScreeningResult | Please
trigger after sometime. Awaiting background screening response |
error | performBackgroundScreeningFirst | Please
perform background screening first |
error | inPrincipalApprovalAlreadyGiven | InPrincipalApproval
already given |
invalid | productAgreementExpired | Agreement
duration of this product is expired |
error | invalidRequestSequence | Request
sequence is not correct. |
error | ipaNotInitiated | IPA
not initiated due to background screening failedscreening failed |
error | ipaFailed | IPA
failed |
schema:
$ref: '#/definitions/ErrorList'
401:
description: