get
https://api.somossimpay.com.br/v3/webhooks/resend
Lists webhook resend request logs created by the authenticated user. Returns a paginated history of all resend requests, allowing filtering by status, reference object, and account mirror.
Headers
| Parameter | Type | Description | Example |
|---|---|---|---|
| Authorization | String | Bearer + Access_token | Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzEzMzAwOTMxLCJpYXQiOjE3MTMyOTczMzEsImp0aSI6Ijc2ZWI4ZTE5ZjM4YjQ4NmZiODdmNzNjNTdkMWVmNDJhIiwidXNlcl9pZCI6MjQ2fQ.5zekMa7CUj9p-MvNHns5ke4ZPhYV3Y1CLOsYL7hDUUo |
Query Parameters
| Parameter | Type | Description | Required or Optional |
|---|---|---|---|
| limit | Integer | Maximum number of results per page. Minimum: 1, Maximum: 100. Default: 20. | optional |
| status | String | Filter by resend log status. Valid values: PENDING, PROCESSING, COMPLETED, FAILED. | optional |
| object_reference_id | Integer | Filter by specific object ID (QR Code ID for CASHIN or Transaction ID for CASHOUT). | optional |
| account_mirror_id | Integer | Filter by account ID. | optional |
| cursor_datetime | DateTime | Cursor datetime for pagination (ISO 8601 format). Used together with cursor_id. | optional |
| cursor_id | Integer | Cursor ID for pagination. Used together with cursor_datetime. | optional |
| cursor_direction | String | Direction of pagination. Valid values: NEXT, PREVIOUS. Default: NEXT. | optional |
Request Examples
List all resend logs (default pagination):
GET /v3/webhooks/resend?limit=20
Authorization: Bearer <access_token>
Filter by status:
GET /v3/webhooks/resend?status=COMPLETED&limit=50
Authorization: Bearer <access_token>
Filter by object reference ID:
GET /v3/webhooks/resend?object_reference_id=12345&limit=20
Authorization: Bearer <access_token>
Navigate to next page using cursor:
GET /v3/webhooks/resend?cursor_datetime=2026-05-12T10:30:00Z&cursor_id=7890&cursor_direction=NEXT&limit=20
Authorization: Bearer <access_token>
Response Details
{
"next": "https://api.example.com/v3/webhooks/resend?cursor_datetime=2026-05-12T10:30:00Z&cursor_id=7890&cursor_direction=NEXT&limit=20",
"previous": null,
"results": [
{
"id": 7890,
"resend_type": "CASHIN",
"status": "COMPLETED",
"object_reference_id": "12345",
"account_mirror_id": 456,
"start_datetime": "2026-05-01T00:00:00Z",
"end_datetime": "2026-05-12T23:59:59Z",
"user_id": 246,
"created_at": "2026-05-12T08:15:30Z",
"updated_at": "2026-05-12T08:30:45Z",
"processed_at": "2026-05-12T08:30:45Z",
"error_message": null
},
{
"id": 7889,
"resend_type": "CASHOUT",
"status": "FAILED",
"object_reference_id": "98765",
"account_mirror_id": null,
"start_datetime": null,
"end_datetime": null,
"user_id": 246,
"created_at": "2026-05-11T14:20:10Z",
"updated_at": "2026-05-11T14:25:30Z",
"processed_at": "2026-05-11T14:25:30Z",
"error_message": "Transaction webhook could not be resent: external service unavailable"
}
]
}
| Field | Type | Description |
|---|---|---|
| next | String | URL for the next page of results. null when there are no more results. |
| previous | String | URL for the previous page of results. null when on the first page. |
| results | Array | Array of webhook resend log objects. |
Results Object Fields
| Field | Type | Description |
|---|---|---|
| id | Integer | Unique identifier of the resend log. |
| resend_type | String | Type of webhook resend. Values: CASHIN or CASHOUT. |
| status | String | Current status of the resend request. Values: PENDING, PROCESSING, COMPLETED, FAILED. |
| object_reference_id | String | ID of the specific object (QR Code or Transaction). null for bulk resends. |
| account_mirror_id | Integer | ID of the account. null for specific object resends. |
| start_datetime | DateTime | Start date and time for bulk resend. null for specific object resends. |
| end_datetime | DateTime | End date and time for bulk resend. null for specific object resends. |
| user_id | Integer | ID of the user who created the resend request. |
| created_at | DateTime | Date and time when the resend request was created. |
| updated_at | DateTime | Date and time when the resend log was last updated. |
| processed_at | DateTime | Date and time when the resend was processed. null if not yet processed. |
| error_message | String | Error message if the resend failed. null for successful resends or pending requests. |
Error Responses
| HTTP Code | Error Message | Description |
|---|---|---|
| 401 | Unauthorized | Invalid or missing authentication token. Ensure you are sending a valid Bearer token. |
| 422 | Validation error | Request validation failed. Check that query parameters are in the correct format. |
Business Rules
Authentication:
- Requires valid authentication token
- User must be authenticated
- Only logs created by the authenticated user are returned
Pagination:
- Results are ordered by creation date (newest first)
- Use cursor-based pagination with
cursor_datetime,cursor_id, andcursor_directionto navigate through pages - The
limitparameter controls how many results are returned per page (minimum 1, maximum 100)
Filters:
- All filters are optional and can be combined
- Filter by
statusto track specific stages of resend processing - Filter by
object_reference_idto find resends for a specific QR Code or Transaction - Filter by
account_mirror_idto find all resends for a specific account
Status Values:
PENDING: Resend request created but not yet started processingPROCESSING: Resend is currently being processedCOMPLETED: Resend completed successfullyFAILED: Resend failed. Checkerror_messagefor details
