APi Dock Buka Lombok
  1. Payouts
APi Dock Buka Lombok
  • 📊 Kalau untuk **Dashboard**, yang ditampilkan cukup hasil agregat dari tabel-tabel ini:
  • Endpoint Fix
  • Model Bisnis
  • Super Admin
    • 🗂️ Backend REST API Task Management (Detail)
    • Managment Compamy
      • Fee Setting
        • Get All Fee Configuration
        • Get Fee Configuration By Id
        • Create Fee Configuration
        • Update Fee Configuration
        • Hard Delete Fee Configuration
        • Soft Delete Fee Configuration
        • Restore Fee Configuration
      • FAQ
        • Tambah FAQ
        • Bulk Edit Faq
        • FAQs (Super Admin)
        • Get All FAQs
      • Shiping Schedul
        • Add Shiping Schedul
        • Edit Shiping Schedul
        • Delete Shiping Schedul
        • GetShiping Schedul
        • Get Shiping Schedul By ID
      • Shipmeenr Fee Config
        • Add Shipemnt Services
        • Update Shipemnt Services
        • Delete Shipemnt Services
        • Add shiping Pricing
        • Update shiping Pricing
        • Delete shiping Pricing
        • Get Shipemnt Services
        • Get Shipemnt Services by Id
        • Get shiping Pricing
        • Get shiping Pricing by ID
      • Eraning Setting
        • Add Eraning Seting
        • Update Eraning Seting
        • Delete Eraning Seting
        • Get Eraning Seting
        • Get Eraning Seting by Id
    • Global Dashboard
      • Get All User
      • Update Status User
      • Delete User
      • Users Detail
    • Store Managment
      • Enpoin Etc vendor
      • Vendor
        • Get All Owner Vendor
        • Get Owner Vendor By Id
        • Get All Vendor
        • Get Single Vendor
        • Get All Product analysis Catagory
        • List Produk Vendor
        • Analisa Produk Count
        • All Reviw Vendor
        • Vendor Produk Review
        • Register Owner Vendor
        • Register Vendor
        • Add Image Vendor
        • Update Vendor
        • Update Owner Vendor
        • Create/Update Vendor Address
        • Update Vendor Media
        • Uppdate Bulk Vendor
        • Update Status Produk
        • Suspended Owner Vendor
        • Restore Owner Vendor
        • Suspended Vendor
        • Restore Vendor
        • Soft Delete Vendor
        • Soft Delete Owner Vendor
        • Delete Pemanet Owner Vendor
        • Delete Vendor Permanent
        • Delete Vendor Media
      • Catagory
        • Get Categories Manajemnt
        • Add Catagory Produks
        • Update Catagory
        • Delete Catagory
    • Courier Managment
      • Register Courier
      • Add Kurir Profile Motor
      • Add Kurir Profile Addres
      • Update Addres Courier
      • Uppdte Motor Kurir Profile
      • Suspanded Courier
      • Uproved Intenal Couriers
      • Get All Courier Super Admin
      • Get User Courier Super Admin By Id
      • Get All User Courier Super Admin
      • Get Singgel Courier Super Admin
      • Restore User Courier
      • Soft Delete Courier
      • Delete Permanet Courier
    • Shipping Center Management
      • Get All Shipping Centers
      • Get Single Shipping Centers
      • Add Shiping Center
      • Update Shiping Center
      • Update Addres Shiping Center
      • Restore Shiping Center
      • Soft Delete Shiping Center
      • Hard Delete Shiping Center
    • Boarcahs Mesage
      • Post Boarcash
      • Get All boarcah
      • Tandai sudah dilihat
    • Notifikasi
      • Notification
      • Detail Notification
    • Chet Room
      • Chet Room
      • Chet room Message
    • Address Managment
      • Add Addres Managment Contry
      • Add Managmnet Province
      • Add Managmnet Districts
      • Add Managmnet Regenci
      • Add Managmnet villages
      • Update Managment Contry
      • UIpdate Managmnet Province
      • Update Managmnet regency
      • Update Managmnet districts
      • Update Managmnet villages
      • Update Addres Admin
      • Delete Managment Contry
      • Delete Managmnet Province
      • Delete Managmnet regency
      • Hapus Managmnet districts
      • Hapus Managmnet villages
      • Get All Addres
    • Finace
      • Bank
        • Add Bank
        • Edit Bank
        • Delete Bank
        • Soft Delete Bank
        • Restore Bank
        • All Banks
        • Detail Banks
  • Finance
    • Bank
      • Get Avalaible Banks
    • Bank Setting
      • Add Banks Setting
      • Updat Bank Setting
      • Delete Bank Setting
    • Withdraw
      • Withdraw
      • Withdraw Avalaible Banks
      • Withdraw History
    • Balance
      • Comition Balance
      • Comition Transaksi
      • Comition Statistik
  • Courier (Pickup & Internal - Delivery)
    • 📦 Penjelasan Tabel Skima `pickup_task_shipments`
    • Couriers
      • Pickup Tasks
        • Update status order Couriers Pickup
        • Update Coplated Tast Bulk
        • Get All Task Couris
        • Get Siggle Task Cuurier
      • Dc Transit Meting Point
        • Get Order Distribution Center
        • Get Detail Invetory
        • DC Inventory assign-courir
      • Triping Log
        • Get All Logs
        • Siggle Task log
        • Update Realtime Couriers
      • Shummery
        • Trip Summary Kurir
        • All Summary Couriers - Super Admin
        • Detail Summary Couriers - Super Admin
      • Profile
        • Gel Profile Couriers
      • Delivery
        • Get Delivery Courier Task
        • Get Delivery Courier Task Detail
        • Update Status Delivery Task
      • Get Shipment Barcode
  • Global
    • Products
      • Get All Products
      • Get a Product By Id
      • Get Product Variants
      • Get a Product Variant By Id
      • Get Product Images
      • Get a Product Image By Id
      • Get Product Details
      • Get a Product Detail By Id
      • Get Product Attributes
      • Get a Product Attribute By Id
    • Reviews
      • Product Review
        • Get Product Review
        • Get Single Product Review
        • Get Product Review Summary
      • Get Vendor Reviews
      • Get All Couriers Reviews || Based On Type of The Courier
      • Get Single Courier Review
      • Get Single Vendor Review
    • Categories
      • Get Categories
    • Vendors
      • Get All Vendors
      • Get Single Vendor
    • Location
      • Get Location
    • Information
      • Get FAQ
      • Get Company Profile
      • Get FAQ by Id
    • Fee Configuration
      • Fee Configuration Active
    • Xendit
      • Webhook
        • Webhook Payment Request
        • Webhook Invoice
      • Payment Method
        • Get All Payment Methods
  • Auth
    • Forgot Password
      • Forgot Password
      • Verify Forgot Password
      • Reset Password
    • Customer Registration
    • Customer Email Activation
    • Email Activation
    • Resend Email Activation
    • Login
    • Logout
    • Refresh Token
    • Change Password
    • Resend OTP
    • OTP Confirmation
  • Customer
    • Profiles
      • Get Customer Profile
      • Create Customer Profile
      • Add addres custemer
      • Edit Customer Profile
      • Update addres custemer
      • Delete addres custemer
      • Get All Address Cutemer
    • Reviews
      • Product
        • Product Review Media
          • Update Product Review Media
          • Add Product Review Media
          • Delete Product Review Media
        • Get My Reviews
        • Create a Product Review
        • Edit Product Review
        • Delete a Product Review
    • Carts
      • Get Cart Items
      • Get Cart Summary
    • Cart Items
      • Add an Item to Cart
      • Update a Cart Item
      • Remove Multiple Cart Items
      • Remove a Cart Item
    • Wishlists
      • Get All Wishlists
      • Get Wishlist By Product Id
      • Add a Product to Wishlist
      • Delete a Wishlist Product
    • Orders
      • Payment Request
        • Get All Payment Requests
        • Get Payment Request By Id
        • Simulate Payment Request
      • Get My Orders
      • Get Single Order
      • Checkout
      • Cancel Order
      • Get Available Service
      • Get Available Service Detail
      • Sumery Pree Order
    • Refund
      • Refund Request
      • Get Refund Requests
      • Get Detail Refund Request
  • Vendor
    • Products
      • Get All Vendor Products
      • Get a Vendor Product By ID
      • Create a Vendor Product
      • Update a Vendor Product Basic
      • Soft Delete a Vendor Product
    • Product Images
      • Get All Product Images
      • Get a Product Image
      • Add an Image Product
      • Update an Image Product
      • Delete an Image Product
    • Product Details
      • Get All Product Details
      • Get a Product Detail
      • Create a Product Details
      • Update a Product Detail
      • Delete a Product Detail
    • Product Variants
      • Get All Product Variants
      • Get a Product Variant
      • Add a Product Variant
      • Update a Product Variant
      • Delete a Product Variant
    • Product Attributes
      • Get All Product Attributes
      • Get a Product Attribute
      • Add a Product Attribute
      • Update a Product Attribute
      • Delete a Product Attribute
    • Discount
      • With Variants
        • Get All Variants Discounts
        • Get Spesific Variant Discount
        • Get Variant Discount By Discount Id
        • Add Discount For Product With Variants
        • Update Discount For Product With Variants
        • Delete Discounts For Product With Variants
      • Without Variants
        • Get Product Discounts
        • Get Discount Product With Discount Id
        • Add Product Discount
        • Update Product Discount
        • Delete Product Discount
    • Reviews
      • Product Review
        • Get Vendor Product Reviews
        • Get Vendor Product Reviews Summary
    • Orders
      • Get All Order (Vendor POV)
      • Get an Order Detail (Vendor POV)
      • Update Order Status
    • Notifications
      • Vendor Notification
    • Earnings
      • Get Earnings Summary
    • Internal Couriers
      • Get All Internal Couriers
      • Get a Internal Courier
      • Internal Courier Registration
    • Profile
      • Get Vendor Profile
    • Pickup Couriers
      • Get Avalibel Pickup Couriers
      • Get a Deliveries Courier
      • Assign Pickup Courier Task
      • Assign Delivery Courier Task
      • Get Order Shipment By Pickup Courier
      • Get Pickup Courier Orders
      • Get All Shipments Vendor
      • Get Detail Shipment ID
    • Refund Request From Customer
      • Get Refund Request From Customer
      • Get Detail Refund Request From Customer
      • Approve Refund Request From Customer
      • Reject Refund Request From Customer
  • Comiton Balance
    • Distribution
      • Distribusi Komisi
      • Get Earning
      • List Commissions
    • Payouts
      • Widthdrow
        POST
      • Widthrow
        GET
      • Detail Widthrow
        GET
      • Webhook
        POST
  • GIS
    • Get All Countries
    • Get All Provinces Within a Specific Country
    • Get All Regencies Within a Specific Province
    • Get All Districts Within a Specific Regency
    • Get All Villages Within a Specific District
  • Notification
    • Test Post Notification
    • Get Notifications
    • Unread Count Notifications
    • Count By Notification Type
    • Mark As Read Notification
    • Mark As Read All Notification
    • Delete Notification
  • FCM
    • Register FCM Token
    • Unregister FCM Token
    • Get All Devices
    • Test Push Notification (Dev Only)
  • Chat
    • Chat Rooms
      • Create or Get Chat Rooms
      • Get Chat Room
      • Get Chat Room By Id
    • Messages
      • Send Message
      • Upload Attachments
      • Get Messages
      • Mark as Read
      • Delete Message
    • Utilities
      • Get Unread Count
      • Mute Message
      • Typing Indicator
    • Pusher Auth
  • Withdraw Detail
    GET
  • Get Profile Kurir Me
    GET
  • Schemas
    • Global
      • Addres Scema
        • Country Scema
        • Province Scema
        • Regency Scema
        • District Scema
        • Village Scame
        • Addres Schema
      • Product Schema
      • Vendor Schema
      • Category Schema (Can Include Sub and Sub Sub Category)
      • Product Detail Schema
      • Get Sub/Sub Sub Category Schema (Children)
    • Auth
      • Registration Schema
    • User Scema
      • User Tabel Scema
    • Customer
      • customer_profile Schema
    • Products
      • product_reviews Schema
      • products Scime
      • product_images Schema
      • product_attributes Schema
      • product_variants Schema
      • wishlists Schema
    • Vendors
      • Vendors Scema
      • Vendors Image Scema
      • vendor_reviews Schema
    • Order Schema
      • Tabel Order Schema
      • DC transit inventory
      • carts Schema
      • cart_item Schema
      • order_items Scema
      • Order Shipment
    • Chet Room
      • chat_room Scema
      • notifications Schema
      • message Scema
      • broadcast_receiver Scima
      • broadcast_message Scima
    • Curir Puckup
      • Shiping Schedul
        • Shiping Schedul
      • Activity Log
        • activity_log
        • courier_trip_logs Scima
        • courier_shumery_day
      • Couriers
        • couriers Schema
        • internal_courier_approvals Scema
        • courier_reviews Schema
      • Rewsponse Task
    • Payment and Payout
      • Payment Method
      • payout_request_history Scima
    • Super Admin
      • faq
      • super_admin Schema
      • company_profile
      • commission_setting Scima
      • fee_configuration Scima
      • commission_distribution_log Scima
      • order_commission_history Scima
      • user_commission_balance Scima
      • bank_accounts Scima
      • payout Scima
    • Shipping & DC
      • Shipping Center Schema
      • shipping_trip_log Scime
      • shipping_trip_summary Scema
      • shipping_proves Scima
      • pickup_tasks Scima
      • pickup_task_shipments Scima
      • delivery_tasks Scima
      • delivery_task_shipments
    • All Vendor
    • Analize Produks
    • Get All Vendors
  1. Payouts

Webhook

Prod Env
https://v1.dev.bukalombok.com
Prod Env
https://v1.dev.bukalombok.com
POST
/v1/webhook/payout

📌 Mapping Endpoint, Fungsi, dan Tabel DB#

EndpointMethodDigunakan OlehFungsi / TujuanTabel yang TerlibatStatus Data / Catatan
/v1/commissions/distributePOSTSistem (auto trigger)Distribusi komisi setelah order completed & paidcommission_distribution_log, order_commission_history, user_commission_balanceStatus komisi: success, update saldo display-only
/v1/earningsGETVendor, KurirMenampilkan pendapatan (angka saja)user_commission_balanceHanya display, uang tetap di rekening marketplace
/v1/bank-accountsPOSTVendor, KurirMenambahkan rekening untuk penarikanbank_accountsBisa set default_bank=true
/v1/bank-accountsGETVendor, KurirMelihat daftar rekening yang terdaftarbank_accounts-
/v1/payoutPOSTVendor, KurirRequest withdraw berdasarkan saldo yang tersediapayout, payout_request_history, user_commission_balanceStatus payout: pending → processing → completed / failed
/v1/payoutGETAdmin, Vendor, KurirMelihat daftar payout requestpayout, payout_request_historyBisa filter berdasarkan status & user_id
/v1/payout/{id}GETAdmin, Vendor, KurirMelihat detail payout tertentupayout, payout_request_history-
/v1/webhook/payoutPOSTProvider (Xendit)Callback status payout dari payment providerpayout, payout_request_history, user_commission_balanceUpdate status, jika failed → saldo dikembalikan
/v1/commission-settingsGETAdminMelihat aturan persentase pembagian komisicommission_setting-
/v1/commission-settingsPOSTAdminMenambah atau mengubah aturan pembagian komisicommission_setting-
/v1/orders/{id}/commissionGETAdminMelihat detail pembagian komisi untuk order tertentucommission_distribution_log, order_commission_history-

📌 Status yang Digunakan#

Order & Pengiriman#

delivery_status: created, verified, assigned, delivery_in_progress, completed, failed, cancelled

Status Komisi (commission_status)#

pending → komisi belum dibagikan
success → komisi sudah dibagikan ke saldo display
cancelled → pembagian dibatalkan

Status Payout (payout_status)#

pending → request dibuat, belum diproses provider
processing → sedang diproses provider
completed → berhasil dicairkan
failed → gagal dicairkan, saldo dikembalikan

📌 Catatan Penting#

Semua angka di user_commission_balance adalah display-only, uang fisik tetap di rekening marketplace.
Distribusi komisi (/v1/commissions/distribute) hanya dijalankan sekali per order setelah order selesai.
Withdraw (/v1/payout) hanya bisa dilakukan jika available_balance mencukupi.
Webhook (/v1/webhook/payout) wajib diamankan dengan secret key dari provider.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://v1.dev.bukalombok.com/v1/webhook/payout' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
  "event": "payout.succeeded",
  "business_id": "5785e6334d7b410667d355c4",
  "created": "2025-08-13T15:00:00Z",
  "data": {
    "id": "disb-571f3644d2b4edf0745e9703",
    "amount": 10000,
    "channel_code": "ID_BCA",
    "currency": "IDR",
    "reference_id": "myref-1482928194",
    "status": "SUCCEEDED",
    "created": "2025-08-13T14:55:00Z",
    "updated": "2025-08-13T15:00:00Z",
    "estimated_arrival_time": "2025-08-14T10:00:00Z",
    "failure_code": null,
    "business_id": "5785e6334d7b410667d355c4",
    "channel_properties": {
      "account_holder_name": "Michael Chen",
      "account_number": "000000000099",
      "account_type": "Savings"
    },
    "receipt_notification": {
      "email_to": ["user@example.com"],
      "email_cc": [],
      "email_bcc": []
    },
    "metadata": {
      "my_custom_id": "merchant-123",
      "my_custom_order_id": "order-123"
    }
  }
}'
Response Response Example
{
    "meta": {
        "success": true,
        "status": 0,
        "message": "string"
    },
    "data": {}
}
Modified at 2025-08-13 04:38:30
Previous
Detail Widthrow
Next
Get All Countries
Built with