Comment on page

Credit Application

Get a single application

To fetch a single application, only the application ID is needed to be passed as the parameter in the API call
get
https://api.kaped.io/partner
/single-application
single-application
curl
Python
Java
PHP
1
curl -X GET\
2
-H "Authorization: Bearer [[accessToken]]"\
3
"https://api.kaped.io/partner/single-application?applicationID="
1
from __future__ import print_statement
2
import time
3
import swagger_client
4
from swagger_client.rest import ApiException
5
from pprint import pprint
6
7
8
# create an instance of the API class
9
api_instance = swagger_client.RESTCallsApi()
10
apiKey = apiKey_example # String |
11
applicationID = applicationID_example # String |
12
13
try:
14
# single-application
15
api_instance.single_application_get(apiKey, applicationID)
16
except ApiException as e:
17
print("Exception when calling RESTCallsApi->singleApplicationGet: %s\n" % e)
1
import io.swagger.client.*;
2
import io.swagger.client.auth.*;
3
import io.swagger.client.model.*;
4
import io.swagger.client.api.RESTCallsApi;
5
6
import java.io.File;
7
import java.util.*;
8
9
public class RESTCallsApiExample {
10
11
public static void main(String[] args) {
12
ApiClient defaultClient = Configuration.getDefaultApiClient();
13
14
15
RESTCallsApi apiInstance = new RESTCallsApi();
16
String apiKey = apiKey_example; // String |
17
String applicationID = applicationID_example; // String |
18
try {
19
apiInstance.singleApplicationGet(apiKey, applicationID);
20
} catch (ApiException e) {
21
System.err.println("Exception when calling RESTCallsApi#singleApplicationGet");
22
e.printStackTrace();
23
}
24
}
25
}
1
<?php
2
require_once(__DIR__ . '/vendor/autoload.php');
3
4
5
$api_instance = new Swagger\Client\ApiRESTCallsApi();
6
$apiKey = apiKey_example; // String |
7
$applicationID = applicationID_example; // String |
8
9
try {
10
$api_instance->singleApplicationGet($apiKey, $applicationID);
11
} catch (Exception $e) {
12
echo 'Exception when calling RESTCallsApi->singleApplicationGet: ', $e->getMessage(), PHP_EOL;
13
}
14
?>

Listing all applications & their status

To fetch a full list of applications, make an API call to the list-applications endpoint.
If you're only looking for applications under a certain status, you will need to pass the correct status number will your API call.
get
https://api.kaped.io/partner
/list-application
list-application
Application Status Codes
{
"0" = pending at partner side,
"1" = sent to underwriting,
"2" = underwriting started,
"3" = need more information,
"4" = approved by admin,
"5" = rejected by admin,
"6" = rejected by partner,
"7" = started, not finished,
"8" = security deposit pending,
"9" = card issued
}
To display the status of an application to your end users, you will need to pass the applicationid as a parameter with your API call
get
https://api.kaped.io/partner
/check-status
check-status
If partner want to update the status of any application pending at their side. There are only two options available for the partner i.e. either partner can reject the application or can send the same to admin for underwriting. Partner need to pass the Boolean value in the key in the body of the API request.
{
"applicationID": "CCA20XXXX91",
"sentToUnderwriting": true,
"reject": true
}
Both cannot be true or false at the same time
post
https://api.kaped.io/partner
/application-status-update
Application Status Update

After viewing all listed applications, you are able to complete any unfinished ones and submit them for underwriting

Partner can send a resume application email to the end user to pay the application fee and to validate the banking details. Just the application ID is supposed to be passed in the body of the request and user will receive the email to resume the application.
post
https://api.kaped.io/partner
/resume-application
Resume Application
post
https://api.kaped.io/partner
/submit-b2b2c-application
Submit Application B2B2C

Updating an application

More commonly there will instances where the end user submits an application with a small error. Instead of making them complete a new application, you can simply correct the error for them using this API
post
https://api.kaped.io/partner
/edit-b2b2c-application
Edit Application