SAQ DigitalDocs

    List Webhook Resend Logs

    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.

    GEThttps://api.saq.digital/v3/webhooks/resend
    curl --request GET \
      --url 'https://api.saq.digital/v3/webhooks/resend' \
      --header 'Authorization: Bearer <ACCESS_TOKEN>'
    Response200
    {
      "next": "https://api.saq.digital/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"
        }
      ]
    }

    Endpoint

    GET /v3/webhooks/resend

    Send all dates and times in UTC-0. Date-times must use ISO 8601 with the Z suffix (YYYY-MM-DDTHH:MM:SSZ, e.g., 2026-05-12T10:30:00Z). Do not send local time or timezone offsets such as -03:00.

    Headers

    ParameterTypeDescriptionExample
    AuthorizationStringBearer + Access_tokenBearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzEzMzAwOTMxLCJpYXQiOjE3MTMyOTczMzEsImp0aSI6Ijc2ZWI4ZTE5ZjM4YjQ4NmZiODdmNzNjNTdkMWVmNDJhIiwidXNlcl9pZCI6MjQ2fQ.5zekMa7CUj9p-MvNHns5ke4ZPhYV3Y1CLOsYL7hDUUo

    Query Parameters

    ParameterTypeDescriptionRequired or Optional
    limitIntegerMaximum number of results per page. Minimum: 1, Maximum: 100. Default: 20.optional
    statusStringFilter by resend log status. Valid values: PENDING, PROCESSING, COMPLETED, FAILED.optional
    object_reference_idIntegerFilter by specific object ID (QR Code ID for CASHIN or Transaction ID for CASHOUT).optional
    account_mirror_idIntegerFilter by account ID.optional
    cursor_datetimeDateTimeCursor datetime for pagination (ISO 8601 in UTC-0, with the Z suffix). Used together with cursor_id.optional
    cursor_idIntegerCursor ID for pagination. Used together with cursor_datetime.optional
    cursor_directionStringDirection 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.saq.digital/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"
        }
      ]
    }
    FieldTypeDescription
    nextStringURL for the next page of results. null when there are no more results.
    previousStringURL for the previous page of results. null when on the first page.
    resultsArrayArray of webhook resend log objects.

    Results Object Fields

    FieldTypeDescription
    idIntegerUnique identifier of the resend log.
    resend_typeStringType of webhook resend. Values: CASHIN or CASHOUT.
    statusStringCurrent status of the resend request. Values: PENDING, PROCESSING, COMPLETED, FAILED.
    object_reference_idStringID of the specific object (QR Code or Transaction). null for bulk resends.
    account_mirror_idIntegerID of the account. null for specific object resends.
    start_datetimeDateTimeStart date and time for bulk resend. null for specific object resends.
    end_datetimeDateTimeEnd date and time for bulk resend. null for specific object resends.
    user_idIntegerID of the user who created the resend request.
    created_atDateTimeDate and time when the resend request was created.
    updated_atDateTimeDate and time when the resend log was last updated.
    processed_atDateTimeDate and time when the resend was processed. null if not yet processed.
    error_messageStringError message if the resend failed. null for successful resends or pending requests.

    Error Responses

    HTTP CodeError MessageDescription
    401UnauthorizedInvalid or missing authentication token. Ensure you are sending a valid Bearer token.
    422Validation errorRequest 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, and cursor_direction to navigate through pages
    • The limit parameter controls how many results are returned per page (minimum 1, maximum 100)

    Filters:

    • All filters are optional and can be combined
    • Filter by status to track specific stages of resend processing
    • Filter by object_reference_id to find resends for a specific QR Code or Transaction
    • Filter by account_mirror_id to find all resends for a specific account

    Status Values:

    • PENDING: Resend request created but not yet started processing
    • PROCESSING: Resend is currently being processed
    • COMPLETED: Resend completed successfully
    • FAILED: Resend failed. Check error_message for details