Skip to content

Get Application

Request URL

GET /ibis/credit-card/application/:applicationId

Description

This endpoint retrieves the current details of an existing credit card application for the indicated customer. The applicationId is passed as a path parameter.

Snippet Examples

javascript

const axios = require('axios');
const config = {
  method: 'GET',
  url: '${CONNECTFI_BASE_URL}/ibis/credit-card/application/:applicationId',
  headers: {
    'x-connectfi-token': "A long random string token received from /auth/get-token request"
  },
};

let result;
try {
  result = await axios.request(config);
  if (result.status === 200) {
    console.log(JSON.stringify(result.data));
  }
} catch (err) {
  console.log({
    errCode: err.code,
    responseStatus: err.response && err.response.status,
    data: err.response && JSON.stringify(err.response.data)
  });
}

cURL

curl --location "CONNECTFI_BASE_URL/ibis/credit-card/application/:applicationId"  --header "x-connectfi-token: A long random string token received from /auth/get-token request" 

Successful Response Examples

200 SUCCESSFUL RESPONSE

HEADERS

Header Value
x-connectfi-token A long random string token received from /auth/get-token request

PARAMETERS

Parameter Description Value
applicationId [required] gsa_34doT0IgvGnvDgHEmsi54l

REQUEST BODY

none

RESPONSE BODY

{
    "code": "0",
    "data": {
        "applicationId": "gsa_34doT0IgvGnvDgHEmsi54l",
        "customerId": "cstap_7uvAC6nLftLGCq7yic3TfI",
        "creditFreeze": false,
        "creditLimit": 2700,
        "creditLimitCurrency": "USD",
        "decision": "Approve",
        "adverseAction": []
    },
    "requestId": "1be628a078e011eeb5658f28ab5fe311"
}