Skip to main content
POST
/
v2
/
payin
/
notifications
/
resend
Resend Payin Webhooks (Bulk)
curl --request POST \
  --url https://api.sandbox.wepayout.com.br/v2/payin/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": 142
}

Overview

This endpoint allows you to resend webhook notifications in bulk for payin 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 payin 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 payin 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 payin 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 payin transactions will have notifications resent.If omitted, all notifiable statuses are included.Notifiable status IDs:
IDStatus
2Canceled
3Paid
4Credited
5Drop Requested
6Awaiting Approval
7Rejected
8Confirmed
9Partial Credited
10Pending Challenge
Example: [3, 4]
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 payin transactions matched and queued for webhook resend.Example: 142
{
  "job_id": "a3f1bc2e4d8f0a1b2c3d4e5f6a7b8c9d",
  "total": 142
}

Code Examples

curl -X POST "https://api.wepayments.com/v2/payin/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, 4],
    "dry_run": false
  }'

Job Status

Track the progress of a dispatched resend job

Payin Webhook

Understand the webhook payload structure

Status Flow

Understand payin status lifecycle