API for delivery services that provide customers onboarding, payment, and wallet services.
Integrate KasPro as the main wallet in partner applications to enable users to process transactions using KasPro balance as a source of funds.
Endpoint
Main wallet
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] }
Customer Registration
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] }
Get 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] }
Validate OTP
This API is used for partners requesting customer details such as name, account type, account status, customer type, email, telephone number, KYC status, total balance.
Endpoint
[GET] https://{{hostname}}/customer-account-inquiry/?mobileNumber=
Response (Success)
Headers Content-Type:application/json Body { "code": [int] "message": [string] "data": { "firstName": [string], "middleName": [string], "lastName": [string], "fullName": [string], "accountType": [string], "accountStatus": [string], "customerType": [string], "email": [string], "mobileNumber": [numeric], "kycStatus": [string], "balance": { "pocketId": [string], "availableBalance": [string] } } }
Response (Fail)
Headers Content-Type:application/json Body { "code": [int], "message": [string] }
Customer Inquiry
Enable users to top up KasPro account balances using VA transfers and modern trade [Alfamart & Indomaret].
Endpoint
Top-Up [transfer VA and cash-in via modern trade]
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 { "responseId": [string], "code": [int], "data": { "bankAccount": [numeric], "bankName": [string], "bankAccountName": [string], "serviceFee": [money], "amount": [money], "totalAmount": [money], "balanceBefore": [money], "balanceAfter": [money], "date": [datetime], }, "message": [string] }
Response (Fail)
Headers Content-Type:application/json Body { "responseId": [string], "code": [int], "message": [string] }
Transfer to Bank
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], "message": [string] }
QRIS payment
This API is used to process in-app transaction payments using wallet balances.
Endpoint
[POST] https://{{hostname}}/bank-transfer/
Wallet Payment
Subscriber wallet & Corporate Wallet
Endpoint
Wallet Requirement
Contact our team to learn more about what we can help you build or create an account to get started right away.