Retry a Webhook
POST {{url}}/webhooks/{{webhook}}/actions/retry
Requests for a previous webhook to be sent again https://developer.gocardless.com/api-reference/#webhooks-retry-a-webhook
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
RESPONSES
status OK
{
"webhooks": {
"id": "WB002KK5HPCPWD",
"created_at": "2024-03-22T17:05:31.530Z",
"url": "https://enx61ycpru6rtvg.m.pipedream.net",
"request_headers": {
"Origin": "https://api-sandbox.gocardless.com",
"User-Agent": "gocardless-webhook-service/1.2",
"Content-Type": "application/json",
"Webhook-Signature": "2ada4fc57eb4b07ee8efebf51d7b8da189a7cb1bb5a929a9f316e7f7d4864dfb"
},
"request_body": "{\"events\":[{\"id\":\"EV01J7QRF0KJWR\",\"created_at\":\"2024-03-22T17:05:25.054Z\",\"resource_type\":\"mandates\",\"action\":\"active\",\"metadata\":{},\"details\":{\"origin\":\"gocardless\",\"cause\":\"mandate_activated\",\"description\":\"The time window after submission for the banks to refuse a mandate has ended without any errors being received, so this mandate is now active.\"},\"links\":{\"mandate\":\"MD000ZQT5CPCVV\"},\"resource_metadata\":{\"customer_id\":\"abc123\"}}],\"meta\":{\"webhook_id\":\"WB002KK5HPCPWD\"}}",
"response_code": 200,
"response_body": "{\"about\":\"Pipedream is a production-scale serverless platform to connect APIs remarkably fast.\",\"event_id\":\"2e3J3tL2BosOzyaAffKFvTp7g3U\",\"workflow_id\":\"p_pWCgAxl\",\"owner_id\":\"u_RBhDZVz\",\"deployment_id\":\"d_QAsevlY\",\"timestamp\":\"2024-03-22T17:05:31.898Z\",\"inspect\":\"https://pipedream.com/@/p_pWCgAxl\",\"quickstart\":\"https://pipedream.com/quickstart/\"}",
"response_body_truncated": false,
"response_headers": {
"date": "Fri, 22 Mar 2024 17:05:34 GMT",
"connection": "close",
"x-pd-status": "sent to coordinator",
"content-type": "application/json; charset=utf-8",
"x-powered-by": "Express",
"content-length": "348",
"access-control-allow-origin": "*"
},
"response_headers_content_truncated": false,
"response_headers_count_truncated": false,
"is_test": false,
"successful": true
}
} |
ENDPOINTS