Skip to main content
Update a widget’s configuration.
POST /api/v1/businesses/:businessId/widgets/:widgetId/update-widget All body parameters are optional — only provide the fields you want to change.

Parameters

Path

NameTypeRequiredDescription
businessIdstringYesThe business ID
widgetIdstringYesThe widget ID

Body

Same shape as Create Widget, but all fields are optional.

Request example

curl --request POST 'https://payments.bleepay.com/api/v1/businesses/biz_abc123/widgets/wdgt_abc/update-widget' \
  --header 'Authorization: Bearer <business_token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "name": "Updated Checkout",
    "maxAmount": "5000"
  }'

Response

Returns HTTP 200 with an empty body.