Development
  • Guides
  • API Reference
  • API Explorer
  • SDKs
  • Sample apps
  • System status
Support
  • Developer forums
  • Developer blog
  • YouTube
  • X
More
  • Square Home
  • Square Developer
  • App Marketplace
  • Partner with Square
  • Solutions Partner Program
  • Pricing
  • Sales

© 2026 Square, Inc.

  • Developer terms of service
  • Developer Integration and Marketing Agreement
  • Privacy policy
  • Partnerships
  • Sign In
  • Sign In

    Subscriptions

  • Create subscription

  • Bulk swap plan

  • Search subscriptions

  • Retrieve subscription

  • Update subscription

  • Delete subscription action

  • Change billing anchor date

  • Cancel subscription

  • List subscription events

  • Pause subscription

  • Resume subscription

  • Swap plan

  • Webhooks

  • subscription.created

  • subscription.updated

<- Subscriptions API

Subscriptions API

All versions ->

Change billing anchor dateBeta

POST

 /v2/subscriptions/{subscription_id}/billing-anchor

Changes the billing anchor date for a subscription.

Permissions:ITEMS_READ, SUBSCRIPTIONS_READ, SUBSCRIPTIONS_WRITE
Try in API Explorer
Link to section

Path parameters

Example code

Link to section

subscription_id

string

Required

The ID of the subscription to update the billing anchor date.

Link to section

Request body

Link to section

monthly_billing_anchor_date

integer(32-bit)

The anchor day for the billing cycle.

Min
1
Max
31
Link to section

effective_date

string

The YYYY-MM-DD-formatted date when the scheduled BILLING_ANCHOR_CHANGE action takes place on the subscription.

When this date is unspecified or falls within the current billing cycle, the billing anchor date is changed immediately.

Link to section

Response fields

Link to section

errors

Errors encountered during the request.

Link to section

subscription

The specified subscription for updating billing anchor date.

Link to section

actions

A list of a single billing anchor date change for the subscription.

Link to section

Examples

All versions ->

POST /v2/subscriptions/{subscription_id}/billing-anchor
curl https://connect.squareup.com/v2/subscriptions/9ba40961-995a-4a3d-8c53-048c40cafc13/billing-anchor \ -X POST \ -H 'Square-Version: 2026-11-18' \ -H 'Authorization: Bearer ACCESS_TOKEN' \ -H 'Content-Type: application/json' \ -d '{ "monthly_billing_anchor_date": 1 }'

Response JSON

{ "subscription": { "id": "9ba40961-995a-4a3d-8c53-048c40cafc13", "location_id": "S8GWD5R9QB376", "plan_variation_id": "FQ7CDXXWSLUJRPM3GFJSJGZ7", "customer_id": "CHFGVKYY8RSV93M5KCYTG4PN0G", "status": "ACTIVE", "price_override_money": { "amount": 2000, "currency": "USD" }, "version": 3, "created_at": "2023-06-20T21:53:10Z", "timezone": "America/Los_Angeles", "source": { "name": "My Application" }, "phases": [ { "uid": "98d6f53b-40e1-4714-8827-032fd923be25", "ordinal": 0, "order_template_id": "E6oBY5WfQ2eN4pkYZwq4ka6n7KeZY", "plan_phase_uid": "C66BKH3ASTDYGJJCEZXQQSS7" } ], "monthly_billing_anchor_date": 20 }, "actions": [ { "id": "f0a1dfdc-675b-3a14-a640-99f7ac1cee83", "type": "CHANGE_BILLING_ANCHOR_DATE", "effective_date": "2023-11-01", "monthly_billing_anchor_date": 1 } ] }

Error descriptions

400 Bad request

{ "errors": [ { "code": "INVALID_DATE", "category": "INVALID_REQUEST_ERROR" } ] }