> ## Documentation Index
> Fetch the complete documentation index at: https://docs.copby.digitalcop.shop/llms.txt
> Use this file to discover all available pages before exploring further.

# Retry due partner webhook deliveries

> Ops cron. `Authorization: Bearer $BREB_CRON_SECRET`.
Retries pending partner payout webhooks (1m → 5m → 30m → 2h → 12h).




## OpenAPI

````yaml /openapi.yaml post /api/integrations/webhooks/deliver
openapi: 3.1.0
info:
  title: COP By Integrations API
  version: 0.1.0
  description: |
    Non-custodial Celo API for partners. Prepare swaps and BRE-B COP payouts;
    the user signs from their wallet. Confirm with the transaction hash.
servers:
  - url: https://api.copby.digitalcop.shop
    description: Production API
security:
  - bearerAuth: []
tags:
  - name: BRE-B
    description: Quote, KYC, and COP payouts via Bridge Bre-B
  - name: Swaps
    description: Prepare and confirm onchain COPm swaps
  - name: Webhooks
    description: >
      Bridge → COP By inbound callbacks, plus outbound partner payout webhooks
      (REQ-INT-WH-01).

      Partners configure URL + signing secret in the dashboard; deliveries are
      HMAC-signed.
paths:
  /api/integrations/webhooks/deliver:
    post:
      tags:
        - Webhooks
      summary: Retry due partner webhook deliveries
      description: |
        Ops cron. `Authorization: Bearer $BREB_CRON_SECRET`.
        Retries pending partner payout webhooks (1m → 5m → 30m → 2h → 12h).
      operationId: deliverPartnerWebhooks
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
            example: Bearer cron_secret
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                limit:
                  type: integer
                  default: 50
                  maximum: 200
      responses:
        '200':
          description: Job result
          content:
            application/json:
              schema:
                type: object
                properties:
                  scanned:
                    type: integer
                  delivered:
                    type: integer
                  failed:
                    type: integer
        '401':
          description: Unauthorized
      security: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Integration API key. Send as `Bearer copby_live_pk_…`.

````