Webhook History

Retrieves past events and alerts that Paddle has sent to webhooks on your account.

Example Request


curl -X POST \
     -d 'vendor_id=1234' \
     -d 'vendor_auth_code=a1b3bdid73bdfjb' \
     -d 'page=2' \
     -d 'alerts_per_page=30' \
     -d 'query_head=2015-07-17 14:04:05.000000' \
     https://vendors.paddle.com/api/2.0/alert/webhooks

Example Response


{
    "success": true,
    "response": {
        "current_page": 1,
        "total_pages": 46,
        "alerts_per_page": 10,
        "total_alerts": 460,
        "query_head": {
            "date": "2015-07-17 14:04:05.000000",
            "timezone_type": 3,
            "timezone": "UTC"
        },
        "data": [
            {
                "id": 22257,
                "alert_name": "payment_refunded",
                "status": "success",
                "created_at": "2015-07-17 14:04:05",
                "updated_at": "2015-08-14 13:28:19",
                "attempts": 1,
                "fields": {
                    "order_id": 384920,
                    "amount": "100",
                    "currency": "USD",
                    "email": "xxxxx@xxxxx.com",
                    "marketing_consent": 1
                }
            },
            {
                "id": 22256,
                "alert_name": "payment_refunded",
                "status": "success",
                "created_at": "2015-07-17 14:02:57",
                "updated_at": "2015-07-17 14:02:57",
                "attempts": 0,
                "fields": {
                    "order_id": 384798,
                    "amount": "10",
                    "currency": "USD",
                    "email": "xxxxx@xxxxx.com",
                    "marketing_consent": 1
                }
            },
            {
                "id": 22254,
                "alert_name": "payment_refunded",
                "status": "success",
                "created_at": "2015-07-17 13:46:39",
                "updated_at": "2015-07-17 13:46:39",
                "attempts": 0,
                "fields": {
                    "order_id": 384803,
                    "amount": "20",
                    "currency": "USD",
                    "email": "xxxxx@xxxxx.com",
                    "marketing_consent": 1
                }
            }
        ]
    }
}
Was this page helpful?