Dompet Digital
You can embed our digital wallet into your native apps with account linkage to enhance your customer experience, with a seamless transaction journey to improve loyalty on your apps. At the same time, we take care of regulatory compliance and technology provision.
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
[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]
}
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]
}
Cash Out [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]
}
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]
}
Customer Inquiry
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
[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 Inquiry
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
[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]
}