Account Linkage
Linkage accounts and system integration in your application or business, electronic services can already be used.
Register
Integrate KasPro as the main wallet in partner applications to enable users to process transactions using KasPro balance as a source of funds.
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]
}
Upgrade Premium (OCR KYC)
Development Stage
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]
}
Pembayaran QRIS
This API is used to make QRIS payment transactions.
Endpoint
[POST]
https://{{hostname}}/qris-issuer/
Response (Success)
Headers
Content-Type:application/json
Body
{
"responseId": [string],
"code": [string],
"message": [string]
}
Response (Fail)
Headers
Content-Type:application/json
Body
{
"responseId": [string],
"code": [string],
"message": [string]
}
Cash Out
The Cash Out API is used to make cash withdrawals from the user’s wallet balance.
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],
UI/UX (design & structure) on partner side
Login
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
{
"message": [string],
"code": [int],
"data": {
"expiry": [int]
}
Response (Fail)
Headers
Content-Type:application/json
Body
{
"code": [int],
"message": [string]
}
Top Up / Isi Saldo KasPro
Transfer
Transfer API is used to make transfer transactions from a user’s wallet to a bank account.
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]
}
Transaction History
This API is used to view transaction history based on the transaction time.
Endpoint
[GET]
https:/ /pil-transaction/report-transaction- v2?mobileNumber=082185720070&dateFrom=2021-12-23&dateTo=2022-01-01
Response (Success)
Headers
Content-Type:application/json
Body
{
"id": 360385,
"referenceId": "1082112280000140",
"transactionDate": "2021-12-28 02:53:54 AM",
"status": "SUCCESS",
"amount": "7,500",
"balanceBefore": "324,963",
"balanceAfter": "317,463",
"transactionType": "GUITRANSFER",
"type": "Credit",
"fee": "0",
"transactionTotalAmount": 7500,
}
Response (Fail)
Headers
Content-Type:application/json
Body
{
"id": 360385,
"referenceId": "1082112280000140",
"transactionDate": "2021-12-28 02:53:54 AM",
"status": "SUCCESS",
"amount": "7,500",
"balanceBefore": "324,963",
"balanceAfter": "317,463",
"transactionType": "FUNDTRANSFER",
"type": "Debit",
"fee": "0","transactionTotalAmount": 7500,
}