---
# System prepended metadata

title: Paystack webhook response

---

# Paystack webhook response
```
let reply= {
    "event": "charge.success",
    "data": {
        "id": 696134701,
        "domain": "test",
        "status": "success",
        "reference": "test-transaction-reference-2",
        "amount": 10000,
        "message": null,
        "gateway_response": "Successful",
        "paid_at": "2020-05-27T12:29:51.000Z",
        "created_at": "2020-05-27T12:28:38.000Z",
        "channel": "card",
        "currency": "NGN",
        "ip_address": "102.89.3.101",
        "metadata": {
            "referrer": "http://127.0.0.1:5500/lab/fundwallet/index.html"
        },
        "log": {
            "start_time": 1590582519,
            "time_spent": 73,
            "attempts": 1,
            "errors": 0,
            "success": true,
            "mobile": false,
            "input": [],
            "history": [
                {
                    "type": "input",
                    "message": "Filled this field: card number",
                    "time": 44
                },
                {
                    "type": "input",
                    "message": "Filled this field: card expiry",
                    "time": 52
                },
                {
                    "type": "input",
                    "message": "Filled this field: card cvv",
                    "time": 63
                },
                {
                    "type": "action",
                    "message": "Attempted to pay with card",
                    "time": 72
                },
                {
                    "type": "success",
                    "message": "Successfully paid with card",
                    "time": 73
                }
            ]
        },
        "fees": 150,
        "fees_split": null,
        "authorization": {
            "authorization_code": "AUTH_cugqgk3paz",
            "bin": "408408",
            "last4": "4081",
            "exp_month": "09",
            "exp_year": "2020",
            "channel": "card",
            "card_type": "visa DEBIT",
            "bank": "Test Bank",
            "country_code": "NG",
            "brand": "visa",
            "reusable": true,
            "signature": "SIG_AEVrgS0gTYbqU7R7oDJ0",
            "account_name": null,
            "receiver_bank_account_number": null,
            "receiver_bank": null
        },
        "customer": {
            "id": 24494735,
            "first_name": null,
            "last_name": null,
            "email": "test.user@email.com",
            "customer_code": "CUS_ue8wm5gk1fjoepd",
            "phone": null,
            "metadata": null,
            "risk_action": "default"
        },
        "plan": {},
        "subaccount": {},
        "split": {},
        "order_id": null,
        "paidAt": "2020-05-27T12:29:51.000Z",
        "requested_amount": 10000
    }
}
```