[Omise] An example of the «charge.capture» event (being sent to a webhook)

{
    "object": "event",
    "id": "evnt_test_56ovkqpm9wj5va0okwl",
    "livemode": false,
    "location": "/events/evnt_test_56ovkqpm9wj5va0okwl",
    "key": "charge.capture",
    "created": "2017-01-17T03:17:52Z",
    "data": {
        "object": "charge",
        "id": "chrg_test_56oviy1lbc2r36ezo90",
        "livemode": false,
        "location": "/charges/chrg_test_56oviy1lbc2r36ezo90",
        "amount": 305660,
        "currency": "thb",
        "description": "ORD-2017/01-00705",
        "status": "successful",
        "capture": false,
        "authorized": true,
        "reversed": false,
        "paid": true,
        "transaction": "trxn_test_56ovkqp1h7ler1y3w69",
        "source_of_fund": "card",
        "refunded": 0,
        "refunds": {
            "object": "list",
            "from": "1970-01-01T00:00:00+00:00",
            "to": "2017-01-17T03:17:52+00:00",
            "offset": 0,
            "limit": 20,
            "total": 0,
            "order": null,
            "location": "/charges/chrg_test_56oviy1lbc2r36ezo90/refunds",
            "data": []
        },
        "return_uri": "https://localhost.com:900/store/dfe-omise/customerReturn/",
        "offsite": null,
        "reference": "paym_test_56oviy229ouyz6jiycv",
        "authorize_uri": "https://api.omise.co/payments/paym_test_56oviy229ouyz6jiycv/authorize",
        "failure_code": null,
        "failure_message": null,
        "card": {
            "object": "card",
            "id": "card_test_560jo0515dceb8ppwng",
            "livemode": false,
            "location": "/customers/cust_test_560jo109um78qcrcj2f/cards/card_test_560jo0515dceb8ppwng",
            "country": "us",
            "city": null,
            "postal_code": null,
            "financing": "",
            "bank": "",
            "last_digits": "4444",
            "brand": "MasterCard",
            "expiration_month": 7,
            "expiration_year": 2017,
            "fingerprint": "/uCzRPQQRUDr8JvGUjKf7Xn10VRJeQ7oBZ1Zt7gLvWs=",
            "name": "DMITRY FEDYUK",
            "security_code_check": true,
            "created": "2016-11-16T05:21:02+07:00"
        },
        "customer": "cust_test_560jo109um78qcrcj2f",
        "ip": null,
        "dispute": null,
        "created": "2017-01-17T10:12:46+07:00"
    }
}

See also: