Dokumentasi Webhook

Dipublish: 07 Nov 2025

Pengertian

Webhook adalah mekanisme komunikasi otomatis yang dengan cara mengirim HTTP call, (biasanya dengan method Post).
Webhook membawa informasi tertentu didalam request body.

Webhook di Webkus

Saat terjadi pembelian, sistem kami akan mengirimkan webhook jika website Anda mengisi url di bagian Webhook URL.

Berikut contoh webhook yang dikirimkan:

  • Method: POST
  • Body:
{
  "id": "eviaradiq",
  "created_at": "2025-12-15T23:55:09.119+07:00",
  "description": "Contoh produk 1",
  "status": "completed",
  "name": "john doe",
  "email": "[email protected]",
  "phone": "+6282123456789",
  "paid_at": "2025-12-15T23:56:14.406315767+07:00",
  "expires_at": "2025-12-16T00:55:08.061+07:00",
  "price": 10000,
  "received": 10000,
  "qr_string": "THIS.IS.JUST.AN.EXAMPLE.FOR.SANDBOX.00020101021226610016ID.CO.SHOPEE.WWW01189360091800216005230208216005230303UME51440014ID.CO.QRIS.WWW.11111",
  "fee": 380,
  "total_payment": 10380,
  "va_number": "123123123",
  "va_fee": 2000,
  "va_total_payment": 12000,
  "items": [
    {
      "discount": 0,
      "message": "test",
      "photo": "http://localhost:9178/eqiqpyniq/eaiqz96iq.webp",
      "price": 10000,
      "product_id": "eaiqg92iq",
      "product_name": "Contoh produk 1"
    }
  ]
}