Akulaku PayLater

In addition to their shopping mall business, Akulaku has been enabling E-commerce to sell their merchandise in installment. It allows their customers to pay in installment without a payment card as long as they are registered to Akulaku.

The steps to integrate with Akulaku PayLater Cardless Credit are given below.

  1. Send the charge API request to Midtrans with the selected acquirer.
  2. Redirect the customer to the provider's website.
  3. Redirect your customer back to your page by configuring Finish URL in Midtrans's Dashboard > Settings > Payments.
  4. Handle notifications.

Send a Charge API request with the details of the transaction such as payment_type, transaction_details, item_details, and customer_details. Successful request returns a URL to Akulaku's website.

By default, Akulaku's transaction expiry is 2 hours (min 20s, max 180 days).




Akulaku PayLater Charge API Request


{
  "payment_type": "akulaku",
  "transaction_details": {
    "order_id": "orderid-01",
    "gross_amount": 11000
  },
  "item_details": [
    {
      "id": "1",
      "price": 11000,
      "quantity": 1,
      "name": "Sepatu "
    }
  ],
  "customer_details":{
    "first_name": "John",
    "last_name": "Baker",
    "email": "[email protected]",
    "phone": "08123456789"
  }
}
JSON AttributeDescriptionTypeRequired
payment_typeThe Cardless Credit payment method used by the customer. Value: akulaku.
Note: Currently only akulaku is supported.
StringRequired
transaction_detailsThe details of the specific transaction such as order_id and gross_amount.ObjectRequired
item_detailsDetails of the item(s) purchased by the customer.ObjectRequired
customer_detailsDetails of the customer.ObjectRequired



Akulaku PayLater Charge API Response and Notifications


{
	"status_code": "201",
	"status_message": "Success, Akulaku transaction is created",
	"transaction_id": "b3a40398-d95d-4bb9-afe8-9a57bc0786ea",
	"order_id": "orderid-01",
	"redirect_url": "https://api.sandbox.veritrans.co.id/v2/akulaku/redirect/b3a40398-d95d-4bb9-afe8-9a57bc0786ea",
	"gross_amount": "11000.00",
	"currency": "IDR",
	"payment_type": "akulaku",
	"transaction_time": "2018-08-24 16:20:36",
	"transaction_status": "pending",
	"fraud_status": "accept",
	"channel_response_code": "",
	"channel_response_message": ""
}
{
  "transaction_time": "2018-08-24 16:20:36",
  "gross_amount": "11000.00",
  "order_id": "orderid-01",
  "payment_type": "akulaku",
  "signature_key": "e47d73b2a10347d291e85a7c39c5fa2a7b760f0af7d9882f9c1b26db06e1af948968184b78f67112158cdeddd2141fe41068fdb37361ce11c3d2509354224a80",
  "status_code": "201",
  "transaction_id": "b3a40398-d95d-4bb9-afe8-9a57bc0786ea",
  "transaction_status": "pending",
  "fraud_status": "accept",
  "status_message": "midtrans payment notification"
}
{
  "transaction_time": "2018-08-24 16:20:36",
  "gross_amount": "11000.00",
  "order_id": "orderid-01",
  "payment_type": "akulaku",
  "signature_key": "35c4111539e184b268b7c1cd62a9c254e5d27c992c8fd55084f930b69b09eaafcfe14b0d512c697648295fdb45de777e1316b401f4729846a91b3de88cde3f05",
  "status_code": "200",
  "transaction_id": "b3a40398-d95d-4bb9-afe8-9a57bc0786ea",
  "transaction_status": "settlement",
  "fraud_status": "accept",
  "status_message": "midtrans payment notification"
}
{
  "transaction_time": "2018-08-24 16:20:36",
  "gross_amount": "11000.00",
  "order_id": "orderid-01",
  "payment_type": "akulaku",
  "signature_key": "62a8c432bb5a288a0495dd4f868b0aede4535e0c8a9fbebb3c6e9d4ea0db6f1963e551e70a99e80512030afa5ba8268f9be7b17b13a422ebef4620988c55d5ed",
  "status_code": "202",
  "transaction_id": "b3a40398-d95d-4bb9-afe8-9a57bc0786ea",
  "transaction_status": "expire",
  "fraud_status": "accept",
  "status_message": "midtrans payment notification"
}
{
  "transaction_time": "2018-08-24 16:20:36",
  "gross_amount": "11000.00",
  "order_id": "orderid-01",
  "payment_type": "akulaku",
  "signature_key": "c2bdfd8d1b25100f5512b2573ecad8f2d324837a731362491b5a6b0bbd7ec74a032010754129f4c74f77a21796f747258ea611a3d5710648f63342570cdd0bb4",
  "status_code": "202",
  "transaction_id": "b3a40398-d95d-4bb9-afe8-9a57bc0786ea",
  "transaction_status": "deny",
  "fraud_status": "accept",
  "status_message": "midtrans payment notification"
}
JSON AttributeDescriptionType
status_codeStatus code of transaction charge result.String
status_messageStatus message describing the result of the API request.String
transaction_idTransaction ID given by Midtrans.String
order_idOrder ID specified by the merchant.String
redirect_urlThe redirect URL to Akulaku payment page.String
gross_amountTotal transaction amount in IDR.String
currencyISO-4217 representation of three-letter alphabetic currency code. Value: IDR.
Note: Currently only IDR is supported.
String
payment_typePayment method used by the customer.String
transaction_timeTimestamp of transaction in ISO 8601 format. Time Zone: GMT+7.String
transaction_statusTransaction status of Akulaku transaction. Possible values are pending, deny, settlement, expire.String
fraud_statusDetection result by Fraud Detection System (FDS). Possible values are accept : Approved by FDS and challenge: Questioned by FDS.
Note: You have to approve the transaction to accept it or transaction will get cancelled automatically during settlement.
deny: Denied by FDS. Transaction is automatically failed.
String
channel_response_codeResponse code from the channel.Integer
channel_response_messageResponse message from the channel.String
Language
Credentials
Basic
base64
:
Click Try It! to start a request and see the response here!