Deskripsi

Response dari webhook anda wajib mengembalikan response dalam bentuk JSON sebagai berikut
{
  status: true
}
Tokopay hanya akan mengirim 3x ke webhook anda dengan jeda waktu 2 menit per hit, jika belum mendapatkan response tersebut

Ini merupakan sampel webhook yang kami kirimkan kepada anda jika menggunakan transaksi melalui metode POST / GET

Jangan lupa untuk Whitelist IP kami 178.128.104.179 di sistem anda
Untuk formula signature adalah md5 dari merchant_id:secret:ref_id

Sample Webhook Sukses

{
  "data": {
    "created_at": "2023-10-05 14:38:47",
    "customer_email": "[email protected]",
    "customer_name": "Customer",
    "customer_phone": "082217784294",
    "merchant_id": "M230906SQFGQ527",
    "payment_channel": "QRISREALTIME",
    "total_dibayar": 68931,
    "total_diterima": 67759,
    "updated_at": "2023-10-05 14:38:47"
  },
  "reference": "TP231005NPNX005088",
  "reff_id": "INV231005PKTS000153",
  "signature": "f7ab1cca0f6919efd3c9a4868a75ba60",
  "status": "Success"
}

atau

{
  "data": {
    "created_at": "2023-10-05 14:38:47",
    "customer_email": "[email protected]",
    "customer_name": "Customer",
    "customer_phone": "082217784294",
    "merchant_id": "M230906SQFGQ527",
    "payment_channel": "QRISREALTIME",
    "total_dibayar": 68931,
    "total_diterima": 67759,
    "updated_at": "2023-10-05 14:38:47"
  },
  "reference": "TP231005NPNX005088",
  "reff_id": "INV231005PKTS000153",
  "signature": "f7ab1cca0f6919efd3c9a4868a75ba60",
  "status": "Completed"
}