Skip to main content
POST
/
v2
/
payout
/
notifications
/
resend
Resend Payout Webhooks (Bulk)
curl --request POST \
  --url https://api.sandbox.wepayout.com.br/v2/payout/notifications/resend \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "merchant_id": 123,
  "start_time": "<string>",
  "end_time": "<string>",
  "status_ids": [
    {}
  ],
  "dry_run": true
}
'
{
  "job_id": "a3f1bc2e4d8f0a1b2c3d4e5f6a7b8c9d",
  "total": 87
}

Overview

This endpoint allows you to resend webhook notifications in bulk for payout transactions within a specified time window. It dispatches an asynchronous job and returns a job_id that can be used to track progress via the Job Status endpoint.
The time range is limited to a maximum of 3 hours between start_time and end_time.
Only one resend job can run at a time per merchant and start time. If a job is already running for the same merchant and start time, the request will return 409 Conflict.

Request Body

merchant_id
integer
required
The ID of the merchant whose payout notifications will be resent.Must be one of the merchant IDs associated with your account.
start_time
string
required
Start of the time range for filtering payout transactions.Format: YYYY-MM-DD HH:MM:SSExample: "2026-03-24 08:00:00"
end_time
string
required
End of the time range for filtering payout transactions. Must be after start_time.Maximum range: 3 hours from start_time.Format: YYYY-MM-DD HH:MM:SSExample: "2026-03-24 11:00:00"
status_ids
array
Optional list of status IDs to filter which payout transactions will have notifications resent.If omitted, all notifiable statuses are included.Notifiable status IDs:
IDStatus
1Received
3Paid
4Rejected
5In Review
6Canceled
10Expired
11Invalid Data
Example: [3, 6]
dry_run
boolean
When true, the job is not dispatched. Instead, only the count of matching transactions is returned.Useful for estimating volume before triggering the actual resend.Default: false

Response

job_id
string
Unique identifier for the dispatched job. Use this to query the job status.Example: "a3f1bc2e4d8f0a1b2c3d4e5f6a7b8c9d"
total
integer
Total number of payout transactions matched and queued for webhook resend.Example: 87
{
  "job_id": "a3f1bc2e4d8f0a1b2c3d4e5f6a7b8c9d",
  "total": 87
}

Code Examples

curl -X POST "https://api.wepayments.com/v2/payout/notifications/resend" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "merchant_id": 303,
    "start_time": "2026-03-24 08:00:00",
    "end_time": "2026-03-24 11:00:00",
    "status_ids": [3, 6],
    "dry_run": false
  }'

Job Status

Track the progress of a dispatched resend job

Payout Webhook

Understand the webhook payload structure

Status Flow

Understand payout status lifecycle