Payments

Shipping Address Changed

Sent while a buyer picks a shipping address on PayPal's page, for a purchase the seller prices. Whop calls the account's oldest enabled https webhook with this event and waits up to 4 seconds for the reply: a Money total for every line in line_items, tax and shipping included, or { "decline": true }. A late, failed or invalid reply refuses the address, and the buyer picks another. The call isn't retried and has no test event

postWebhookshipping_address.changed

Headers

webhook-id, string required

A unique identifier for this webhook request

Example:msg_xxxxxxxxxxxxxxxxxxxxxxxx
webhook-signature, string required

The signature of the webhook request with the webhook version prepended

Example:v1,BASE64ENCODEDSIGNATURE
webhook-timestamp, string required

The timestamp in seconds since the Unix epoch that the webhook was sent at on the server

Example:1727606400

Payload

object required
account_id, string nullable

The account ID that this webhook event is associated with

api_version, 'v1' required

The API version for this webhook

api_version_date, string nullable required

The dated API version (Api-Version-Date) the payload is serialized to

data, ShippingAddressChangedWebhookData required
id, string required

A unique ID for every single webhook request

previous_attributes, object

For some .updated events, the old values of the payload fields that changed, keyed by field name. Omitted when no capture is available for the event

timestamp, string date-time required

The timestamp in ISO 8601 format that the webhook was sent at on the server

type, 'shipping_address.changed' required

The webhook event type

Example payload

{
  "account_id": "biz_xxxxxxxxxxxxxx",
  "api_version": "v1",
  "api_version_date": "2026-07-20",
  "data": {
    "amount": {
      "amount": "-1234.56",
      "currency": "usd",
      "decimals": 2,
      "display_decimals": 2
    },
    "line_items": [
      {
        "amount": {
          "amount": "-1234.56",
          "currency": "usd",
          "decimals": 2,
          "display_decimals": 2
        }
      }
    ]
  },
  "id": "msg_xxxxxxxxxxxxxxxxxxxxxxxx",
  "timestamp": "2025-01-01T00:00:00.000Z",
  "type": "shipping_address.changed"
}

Response

Your price for this address, or a decline.

union required
ShippingAddressChangedWebhookReply required
OR
object required

Example response

{
  "line_items": [
    {
      "amount": {
        "amount": "-1234.56",
        "currency": "usd",
        "decimals": 2,
        "display_decimals": 2
      }
    }
  ],
  "shipping_options": [
    {
      "amount": {
        "amount": "-1234.56",
        "currency": "usd",
        "decimals": 2,
        "display_decimals": 2
      }
    }
  ],
  "tax": {
    "amount": "-1234.56",
    "currency": "usd",
    "decimals": 2,
    "display_decimals": 2
  }
}

Changes

Webhooks have no change history: a webhook is keyed by its event name rather than a path and method, so no recorded change can name it.