Akulaku is a platform that provides installment loan services to users in Southeast Asian countries.
Features #
Processing currencies | IDR,GBP |
---|---|
Settlement currencies | GBP |
Minimum transaction amount | 0.01 IDR |
Maximum transaction amount | 25,000,000 IDR |
Refunds | ✅ |
Partial Refunds | ✅ |
Multiple partial refund | ❌ |
Chargeback | ❌ |
Integration Method #
Payment method enumeration values: akulaku
There is integration method for Akulaku
- Direct API
- Checkout
Direct API #
How to integration #
For direct API integration, you can create a PaymentIntent and get url in only one step. The following is the demo of creating payment intent:
A PaymentIntent is an object that represents your intent to collect payment from your customer and tracks the lifecycle of the payment process. Create a PaymentIntent on your server and specify the amount to collect and a supported currency. If you have an existing Payment Intents integration, add akulaku
to the list of payment method types.
Request
{
"amount":200,
"currency":"IDR",
"confirm":true,
"payment_method_options":{
"akulaku":{
"terminal_type":"WEB"
}
},
"payment_method_types":[
"akulaku"
],
"return_url":"https://wooshpay.com"
}
Response
{
"id": "pi_1680915072676790272",
"object": "payment_intent",
"created": 1689596358000,
"livemode": true,
"currency": "IDR",
"amount": 200,
"status": "requires_payment_method",
"client_secret": "pi_1680915072676790272_secret_xZI3hEn7rWXB8nS73IqqbQ5h",
"payment_method_types": [
"akulaku"
],
"confirmation_method": "automatic",
"payment_method_options": {
"akulaku": {
"terminal_type": "WEB"
}
},
"return_url": "https://wooshpay.com",
"capture_method": "automatic"
}
Checkout #
Payment flow #
- Customer selects Akulaku from the list of payment methods available and clicks on the Pay botton
- Customers will be redirected to Akulaku’s page. Scan QR and approve the payment
Create a seesion #
Request Create a Session
{
"cancel_url": "www.wooshpay.com",
"mode": "payment",
"success_url": "https://wooshpay.com/",
"payment_method_options": {
"akulaku": {
"terminal_type": "WEB"
}
},
"payment_method_types": [
"akulaku"
],
"line_items": [
{
"price_data": {
"currency": "IDR",
"unit_amount": 2000,
"product_data": {
"name": "apple"
},
"billing_scheme": "testscheme",
"lookup_key": "test_lookup_key"
},
"quantity": 1
}
]
}
Response
{
"id": "cs_1680914308084531200",
"object": "checkout.session",
"created": 1689596176000,
"livemode": true,
"currency": "IDR",
"customer": "",
"mode": "payment",
"status": "open",
"url": "https://checkout.wooshpay.com/pay/cs_1680914308084531200?key=pk_live_NTE2Njg0OTM2Nzc3ODc0ODQxNjAxOmRoQTJNdTJSQnBUMVA4bHpjWkY4eG9IcjE2ODY2MzQ4NjY1ODQ",
"cancel_url": "www.wooshpay.com",
"line_items": {
"object": "list",
"data": [
{
"id": "li_1680914308118085632",
"object": "item",
"currency": "IDR",
"description": "apple",
"price": {
"id": "price_1680914308134862848",
"object": "price",
"created": 1689596176000,
"livemode": true,
"active": false,
"currency": "IDR",
"product": {
"id": "prod_1680914308151640064",
"object": "product",
"created": 1689596176000,
"livemode": true,
"active": false,
"name": "apple",
"updated": 1689596176000
},
"type": "one_time",
"unit_amount": 2000,
"billing_scheme": "per_unit",
"lookup_key": "test_lookup_key"
},
"quantity": 1,
"amount_subtotal": 2000,
"amount_total": 2000
}
]
},
"payment_intent": "pi_1680914308331995136",
"payment_method_types": [
"akulaku"
],
"payment_status": "unpaid",
"success_url": "https://wooshpay.com/",
"amount_subtotal": 2000,
"amount_total": 2000,
"billing_address_collection": "auto",
"expires_at": 1689682575585,
"payment_link": "",
"client_secret": "pi_1680914308331995136_secret_1NvXV9SuDNyGdKaghRON3mbF"
}
Next step #
You can add more features to your integration as needed
Create a Webhook #
Listen to events on your WooshPay account so your integration can automatically trigger reactions. Create a webhook that mainly focuses on enabled_events and url.
Create a Refund #
Create a refund to repay funds to your customer. You can also perform partial refunds, but not every payment method supports them. A partial refund is when you refund only part of the original transaction amount.