Islamic Payment Gateway
  1. Webhook
Islamic Payment Gateway
  • Passive Client API
    • Inquiry
      POST
    • Payment
      POST
    • Reversal
      POST
    • Check Status
      POST
  • Active Client API
    • Bill
      • Create New Bill
      • Get Bill List
      • Get Bill Information
      • Revoke Bill
      • Get Bill Payments
      • Fake/Mock Payment & Reversal
    • Payment
      • Get Payment List
    • Account
      • Get Account Mutations
    • Institution
      • Institution Account List
      • Institution List
      • Institution Detail
    • Webhook
      • Webhook Call
        POST
  • Payment Channel API
    • Inquiry
      POST
    • Payment
      POST
    • Reversal
      POST
  • Authentication
    • OAuth 2.0
      POST
    • Signature
      VIEW
  1. Webhook

Webhook Call

POST
/{webhook-call-url}
We will send payment event to your application with this schema. You have to return 200 Http status response, we will send this call every minute with maximum tries of 3.

Request

Path Params

Header Params

Body Params application/json

Example
{
    "event": "payment.received",
    "context": {
        "hash": "x24da1dF",
        "va_number": "8673011234567890",
        "type": "open",
        "invoice_number": "INV-001-ABC01",
        "name": "SPP Bulan Januari",
        "customer_name": "John Doe",
        "customer_email": "john.doe@example.com",
        "customer_phone": "+621234567890",
        "customer_address": "Surabaya, Indonesia",
        "total_amount": 100000,
        "billed_amount": 100000,
        "paid_amount": 0,
        "description": "Pembayaran SPP Bulan Januari",
        "ext_description": "-",
        "valid_until": "2022-04-05T13:32:08+07:00",
        "status": "active",
        "created_at": "2022-04-12T11:22:52+07:00",
        "components": [
            {
                "id": "95f5c77f-79de-4c12-a151-ef7c68e9b7d2",
                "name": "SPP Januari",
                "qty": "1",
                "price": "100000",
                "total": "100000"
            }
        ]
    },
    "payload": {
        "id": "string",
        "payment_ref_id": "string",
        "channel": "muamalat",
        "amount": 100000,
        "type": "payment",
        "created_at": "2022-04-04T09:22:38+07:00",
        "account": {
            "bank_code": "AMET",
            "account_holder": "Mr. Roosevelt Hessel I",
            "account_number": "6011930096256781",
            "hash": "aq8vwKj2"
        }
    }
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/' \
--header 'Signature;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "event": "payment.received",
    "context": {
        "hash": "x24da1dF",
        "va_number": "8673011234567890",
        "type": "open",
        "invoice_number": "INV-001-ABC01",
        "name": "SPP Bulan Januari",
        "customer_name": "John Doe",
        "customer_email": "john.doe@example.com",
        "customer_phone": "+621234567890",
        "customer_address": "Surabaya, Indonesia",
        "total_amount": 100000,
        "billed_amount": 100000,
        "paid_amount": 0,
        "description": "Pembayaran SPP Bulan Januari",
        "ext_description": "-",
        "valid_until": "2022-04-05T13:32:08+07:00",
        "status": "active",
        "created_at": "2022-04-12T11:22:52+07:00",
        "components": [
            {
                "id": "95f5c77f-79de-4c12-a151-ef7c68e9b7d2",
                "name": "SPP Januari",
                "qty": "1",
                "price": "100000",
                "total": "100000"
            }
        ]
    },
    "payload": {
        "id": "string",
        "payment_ref_id": "string",
        "channel": "muamalat",
        "amount": 100000,
        "type": "payment",
        "created_at": "2022-04-04T09:22:38+07:00",
        "account": {
            "bank_code": "AMET",
            "account_holder": "Mr. Roosevelt Hessel I",
            "account_number": "6011930096256781",
            "hash": "aq8vwKj2"
        }
    }
}'

Responses

🟢200Response from your server
application/json
Body

Example
{}
Modified at 2023-10-06 12:49:35
Previous
Institution Detail
Next
Payment Channel API
Built with