For the complete documentation index, see llms.txt. This page is also available as Markdown.

Webhooks

Tes apakah webhook sudah berjalan. Lakukan ping dengan URL dibawah ini. Kami akan mengirim data ke url yang telah anda settings.

https://api.ilenpay.co.id/v1/webhook/ping/[Webhook ID]

// Contoh data yang kami kirim ke server anda.
{
  "data": {
    "webhook_id": "Tu9olJ9bLu0gDWv",
    "webhook_url": "https://ilenpay.id/webhook.php",
    "webhook_key": "alamat",
    "back_url": "https://ilenpay.id/tes-backurl.php"
  }
}

Contoh pengiriman dari server kami

> POST /gass HTTP/1.1
> Host: ilenpay.co.id:3220
> X-Ilen-Delivery: pwsO51H0hfBk8iddERvp1LTasm7gG4
> X-Ilen-Signature: key=7d6f016c23d03b696e76dada91c07f178cc0af4d
> User-Agent: Ilenpay-Hookshot
> Content-Type: application/json
> Content-Length: 445
> X-Ilen-Event: create
{
  "data": {
    "hash": "e8d51bbe59f7689f82b3897a87f1e17829187391",
    "reff_id": "trx68164endo_tes",
    "payment": "telkomsel",
    "rate": "0.80",
    "nominal": "15000",
    "total_tf": "20000",
    "sender" : "6281234567898",
    "status": "PAID"
    "saldo_ahir": "576546"
  }
}

Contoh untuk menerima event PHP Native

Last updated