Angkutan

Mobile-based transporting marketplace that allows users to find and book for taxi bike, taxi, and on-demand delivery.

Main wallet

Get OTP

The OTP Request API is used to trigger an OTP for the registered Mobile Number. 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]
}
				
			

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"
}
				
			

Top-up User wallet [transfer VA and cash-in via modern trade]

Cash-out user & driver [Bank transfer and modern trade]

The Cash Out API is used to make transfer transactions from a user’s wallet to a bank account or withdraw cash via modern trade.

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]
}
				
			

Tips Ride Hailing

This API is used to process tip payments to drivers using a wallet balance.

Endpoint

				
					-
				
			

Response (Fail)

Pembayaran QRIS

This API is used to make QRIS payment transactions.

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]
}
				
			

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]
}
				
			

Wallet Payment (Ride Hailing Payment)

This API is used to process in-app transaction payments using wallet balances

Endpoint

				
					-
				
			

Deposit/Top Up Driver wallet [transfer VA and cash-in via modern trade] using Prefix

P2P Transaction

The P2P transaction API is used to make transfers to fellow KasPro user wallets.

Endpoint

				
					[POST]
https://{{hostname}}/p2p-transaction/
				
			

Response (Success)

				
					Headers
Content-Type:application/json
Body
{
"responseId": [string], "code": [int],
"data": {
"pocketId": [int], "walletTransactions": [
{
"account": [string], "amount": [numeric], "reference": [numeric], "balanceBefore": [money], "balanceAfter": [money]
} ],
}
"message": [string] }

				
			

Response (Fail)

				
					Headers
Content-Type:application/json
Body
{
"responseId": [string], "code": [int], "message": [string]
}
				
			

Wallet requirement: Corporate Wallet, Escrow Wallet, Merchant Wallet, Subscriber Wallet

id_IDBahasa Indonesia