P2P
Pinjaman teknologi keuangan yang memberikan pinjaman, cicilan tanpa kartu kredit, pulsa ponsel, dan layanan PayLater.
Main wallet
Upgrade Customer Account with OCR
This API is used for users to upgrade using the OCR system, identify user ID by sending KTP photo data, selfie photos, and selfie photos holding KTP.
Endpoint
[POST]
https:// {{hostname}}/pil-partner/ekyc-upgrade-premium-inquiry/
Response (Success)
Headers
Content-Type:application/json
Body
{
"code": 0,
"message": "Berhasil",
"data": {
"requestId": "16xxxxxxxx242",
"idCardNumber": "19xxxxxxxxxx001",
"name": "Dxxxx Pxxxx Pxxxxxx",
"religion": "Ixxxx",
"rtrw": "xxx/yyy",
"address": "JL. xxxxxx",
"province": "Kxxxxxxx Bxxxxx Bxxxxxxx",
"district": "Txxxxxx Pxxxxx",
"subDistrict": "Kxxxxxx Bxxxxxxx",
"occupation": "Pxxxxxxxxxxxxx",
"birthPlace": "Txxxxxxxxxxx",
"gender": "Pxxxxxxxxx",
"birthDate": "dd-mm-yyyy",
"idExpiredDate": "SEUMUR HIDUP",
"bloodType": "-",
"villageDistrict": "Pxxxxx Lxxxxxx",
"nationality": "WNI",
"maritalStatus": "xxxxxxxxx"
}
}
Response (Fail)
Headers
Content-Type:application/json
Body
{
"code": 110005,
"message": "Customer not found"
}
Validate OTP
The Validate OTP API is used to validate the OTP code that has been input by the user.
Endpoint
[POST]
https://{{hostname}}/validate-otp/
Response (Success)
Headers
Content-Type:application/json
Body
{
"message": [string],
"code": [int]
}
Response (Fail)
Headers
Content-Type:application/json
Body
{
"code": [int],
"message": [string]
}
QRIS PayLater
The QRIS Paylater API is used to make payments for QRIS transactions using partner deposit balances as a source of funds.
Endpoint
[POST]
https://{{hostname}}/bank-transfer/
Response (Success)
Headers
Content-Type:application/json
Body
{
"code": 1,
"message": "In Process",
"responseId":
"OLSFQ20220214101951114",
"data": {
"account": "888xxxxxxxxx918",
"amount": "4xxx9",
"price": "4xxx9",
"serviceFee": "6xxx",
"reffId": "OLSFQ20220214101951114",
"flowType": "Async"
}
}
Response (Fail)
Headers
Content-Type:application/json
Body
{
"responseId": [string],
"code": [int],
"message": [string]
}
Customer Registration
This API is used for partners to register KasPro through partner applications.
Endpoint
[POST]
https://{{hostname}}/register-customer/
Response (Success)
Headers
Content-Type:application/json
Body
{
"responseId": [string],
"message": [string],
"code": [int]
}
Response (Fail)
Headers
Content-Type:application/json
Body
{
"responseId ": [string],
"code": [int],
"message": [string]
}
Get OTP
OTP Request API is used to trigger OTP for registered Mobile Numbers. The OTP will be sent to the registered mobile number via WhatsApp or SMS (if the registered mobile number is not registered on WhatsApp)
Endpoint
[GET]
https://{{hostname}}/pil-partner-get-otp/?mobileNumber=
Response (Success)
Headers
Content-Type:application/json
Body
{
"code": [int],
"message": [string]
}
Response (Fail)
Headers
Content-Type:application/json
Body
{
"responseId ": [string],
"code": [int],
"message": [string]
}
Top-up [transfer via VA and modern trade]
Enable users to top up Kaspro account balances using VA transfers and modern trade [Alfamart & Indomaret].
Endpoint
[POST]
https:// {{hostname}}/pil-partner/ekyc-upgrade-premium-inquiry/
Response (Success)
Headers
Content-Type:application/json
Body
{
"code": 0,
"message": "Berhasil",
"data": {
"requestId": "16xxxxxxxx242",
"idCardNumber": "19xxxxxxxxxx001",
"name": "Dxxxx Pxxxx Pxxxxxx",
"religion": "Ixxxx",
"rtrw": "xxx/yyy",
"address": "JL. xxxxxx",
"province": "Kxxxxxxx Bxxxxx Bxxxxxxx",
"district": "Txxxxxx Pxxxxx",
"subDistrict": "Kxxxxxx Bxxxxxxx",
"occupation": "Pxxxxxxxxxxxxx",
"birthPlace": "Txxxxxxxxxxx",
"gender": "Pxxxxxxxxx",
"birthDate": "dd-mm-yyyy",
"idExpiredDate": "SEUMUR HIDUP",
"bloodType": "-",
"villageDistrict": "Pxxxxx Lxxxxxx",
"nationality": "WNI",
"maritalStatus": "xxxxxxxxx"
}
}
Response (Fail)
Headers
Content-Type:application/json
Body
{
"code": 110005,
"message": "Customer not found"
}