Skip to content

seller.payout.batch.processing ​

Type: Webhook
Method: POST

Tags: Marketplace

Summary ​

Seller payout batch processing

Description ​

Fires when payment of an auto payout batch starts, on schedule or when an admin chooses to pay it automatically, and on the seller store's copy when it first appears there in this status.

TypeScript Definition ​

typescript
"seller-payout-batch-processing": {
        parameters: {
            query?: never;
            header: {
                /** @description Event name; equals the body `event`. */
                "X-CE-Event": components["parameters"]["WebhookEventHeader"];
                /** @description `sha256=` followed by the hex HMAC-SHA256 of the raw request body, keyed with the webhook secret. Verify with a constant-time comparison before processing. */
                "X-CE-Signature": components["parameters"]["WebhookSignatureHeader"];
                /** @description Equals the body `event_id`. Stable across retries — use as the idempotency key. */
                "X-CE-Event-ID": components["parameters"]["WebhookEventIdHeader"];
                /** @description Equals the body `delivery_id`. Unique per delivery attempt. */
                "X-CE-Delivery-ID": components["parameters"]["WebhookDeliveryIdHeader"];
            };
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["WebhookEnvelope"] & {
                    /** @enum {string} */
                    event?: "seller.payout.batch.processing";
                    payload?: {
                        /** @enum {string} */
                        event?: "seller.payout.batch.processing";
                        payout_batch_id: string;
                        seller_id?: string;
                        marketplace_id?: string;
                        properties?: components["schemas"]["SellerPayoutBatch"];
                    };
                };
            };
        };
        responses: {
            200: components["responses"]["WebhookAccepted"];
            400: components["responses"]["BadRequest"];
            401: components["responses"]["Unauthorized"];
            410: components["responses"]["WebhookGone"];
            "2XX": components["responses"]["WebhookAccepted"];
            "5XX": components["responses"]["WebhookServerError"];
        };
    };

Component References ​

ReferenceResolves To
components["parameters"]["WebhookEventHeader"]WebhookEventHeader
components["parameters"]["WebhookSignatureHeader"]WebhookSignatureHeader
components["parameters"]["WebhookEventIdHeader"]WebhookEventIdHeader
components["parameters"]["WebhookDeliveryIdHeader"]WebhookDeliveryIdHeader
components["schemas"]["WebhookEnvelope"]WebhookEnvelope
components["schemas"]["SellerPayoutBatch"]SellerPayoutBatch
components["responses"]["WebhookAccepted"]WebhookAccepted
components["responses"]["BadRequest"]BadRequest
components["responses"]["Unauthorized"]Unauthorized
components["responses"]["WebhookGone"]WebhookGone
components["responses"]["WebhookServerError"]WebhookServerError

Webhook Payload ​

Content Types: application/json

Expected Responses ​

200 ​

400 ​

Bad request

401 ​

Not authorized for given operation on the Resource

410 ​

2XX ​

5XX ​

OpenAPI Definition ​

json
{
  "tags": [
    "Marketplace"
  ],
  "operationId": "seller-payout-batch-processing",
  "summary": "Seller payout batch processing",
  "description": "Fires when payment of an `auto` payout batch starts, on schedule or when an admin chooses to pay it automatically, and on the seller store's copy when it first appears there in this status.",
  "parameters": [
    {
      "$ref": "#/components/parameters/WebhookEventHeader"
    },
    {
      "$ref": "#/components/parameters/WebhookSignatureHeader"
    },
    {
      "$ref": "#/components/parameters/WebhookEventIdHeader"
    },
    {
      "$ref": "#/components/parameters/WebhookDeliveryIdHeader"
    }
  ],
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "allOf": [
            {
              "$ref": "#/components/schemas/WebhookEnvelope"
            },
            {
              "type": "object",
              "properties": {
                "event": {
                  "type": "string",
                  "enum": [
                    "seller.payout.batch.processing"
                  ]
                },
                "payload": {
                  "type": "object",
                  "properties": {
                    "event": {
                      "type": "string",
                      "enum": [
                        "seller.payout.batch.processing"
                      ]
                    },
                    "payout_batch_id": {
                      "type": "string"
                    },
                    "seller_id": {
                      "type": "string"
                    },
                    "marketplace_id": {
                      "type": "string"
                    },
                    "properties": {
                      "$ref": "#/components/schemas/SellerPayoutBatch"
                    }
                  },
                  "required": [
                    "payout_batch_id"
                  ]
                }
              }
            }
          ]
        }
      }
    }
  },
  "responses": {
    "200": {
      "$ref": "#/components/responses/WebhookAccepted"
    },
    "400": {
      "$ref": "#/components/responses/BadRequest"
    },
    "401": {
      "$ref": "#/components/responses/Unauthorized"
    },
    "410": {
      "$ref": "#/components/responses/WebhookGone"
    },
    "2XX": {
      "$ref": "#/components/responses/WebhookAccepted"
    },
    "5XX": {
      "$ref": "#/components/responses/WebhookServerError"
    }
  }
}

Auto-generated from OpenAPI spec and TypeScript definitions

Last updated: