[Paymill] An example of the «transaction.succeeded» event (being sent to a webhook)

{
    "event": {
        "event_type": "transaction.succeeded",
        "event_resource": {
            "id": "tran_5390b8a15831cadd1e45dd8c5cd1",
            "amount": 33784,
            "origin_amount": 33784,
            "status": "closed",
            "description": "Превед, Медвед!",
            "livemode": false,
            "refunds": null,
            "client": {
                "id": "client_083b0f1e925753e8cedd",
                "email": "dfediuk@gmail.com",
                "description": "Dmitry Fedyuk",
                "app_id": null,
                "updated_at": 1486900412,
                "created_at": 1486900412,
                "payment": [
                    "pay_cc677fe0db5c80d6cb5904fa",
                    "pay_8a9f61df0a819ad24bf4db89",
                    "pay_d33e6166c0a4e18c7c3418e9",
                    "pay_a9a45192a397f1997ea659cc"
                ],
                "subscription": null
            },
            "currency": "EUR",
            "created_at": 1487054013,
            "updated_at": 1487054492,
            "response_code": 20000,
            "short_id": "0000.9999.0000",
            "is_fraud": false,
            "invoices": [],
            "app_id": null,
            "preauthorization": {
                "id": "preauth_c4f1d951e8753d8457df",
                "amount": "33784",
                "currency": "EUR",
                "description": "mage2.pro",
                "status": "closed",
                "livemode": false,
                "created_at": 1487054013,
                "updated_at": 1487054016,
                "app_id": null,
                "payment": "pay_cc677fe0db5c80d6cb5904fa",
                "client": "client_083b0f1e925753e8cedd",
                "transaction": "tran_5390b8a15831cadd1e45dd8c5cd1"
            },
            "fees": [],
            "payment": {
                "id": "pay_cc677fe0db5c80d6cb5904fa",
                "type": "creditcard",
                "client": "client_083b0f1e925753e8cedd",
                "card_type": "visa",
                "country": "DE",
                "expire_month": "7",
                "expire_year": "2018",
                "card_holder": "DMITRY FEDYUK",
                "last4": "1111",
                "updated_at": 1486900412,
                "created_at": 1486900409,
                "app_id": null,
                "is_recurring": true,
                "is_usable_for_preauthorization": true
            },
            "mandate_reference": null,
            "is_refundable": true,
            "is_markable_as_fraud": true
        },
        "created_at": 1487054492,
        "app_id": null
    }
}

See also: