Square Subscriptions API is one of 45 APIs that Square publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.
Tagged areas include Subscription. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, and an AsyncAPI specification.
This API exposes
12 operations
across 11 paths,
and defines 39 schemas.
It is described by OpenAPI 3.2.0, at version 2.0.
Requests are made against a single base URL, https://connect.squareup.com.
The identity and technical contract details declared by the specification.
Currency
string
Indicates the associated currency for an amount of money. Values correspond to [ISO 4217](https://wikipedia.org/wiki/ISO4217).
SubscriptionEvent
object
Describes changes to a subscription and the subscription status.
7 properties
4 required
SearchSubscriptionsFilter
object
Represents a set of query expressions (filters) to narrow the scope of targeted subscriptions returned by the [SearchSubscriptions](api-endpoint:Subscriptions-…
3 properties
RetrieveSubscriptionResponse
object
Defines output parameters in a response from the [RetrieveSubscription](api-endpoint:Subscriptions-RetrieveSubscription) endpoint.
2 properties
BulkSwapPlanRequest
object
Defines input parameters in a call to the [BulkSwapPlan](api-endpoint:Subscriptions-BulkSwapPlan) endpoint.
3 properties
3 required
Phase
object
Represents a phase, which can override subscription phases as defined by planid
4 properties
SearchSubscriptionsResponse
object
Defines output parameters in a response from the [SearchSubscriptions](api-endpoint:Subscriptions-SearchSubscriptions) endpoint.
3 properties
SubscriptionStatus
string
Supported subscription statuses.
UpdateSubscriptionResponse
object
Defines output parameters in a response from the [UpdateSubscription](api-endpoint:Subscriptions-UpdateSubscription) endpoint.
2 properties
SwapPlanRequest
object
Defines input parameters in a call to the [SwapPlan](api-endpoint:Subscriptions-SwapPlan) endpoint.
2 properties
ChangeTiming
string
Supported timings when a pending change, as an action, takes place to a subscription.
SearchSubscriptionsRequest
object
Defines input parameters in a request to the [SearchSubscriptions](api-endpoint:Subscriptions-SearchSubscriptions) endpoint.
4 properties
PhaseInput
object
Represents the arguments used to construct a new phase.
2 properties
1 required
SubscriptionActionType
string
Supported types of an action as a pending change to a subscription.
ResumeSubscriptionResponse
object
Defines output parameters in a response from the [ResumeSubscription](api-endpoint:Subscriptions-ResumeSubscription) endpoint.
3 properties
Subscription
object
Represents a subscription purchased by a customer. For more information, see [Manage Subscriptions](https://developer.squareup.com/docs/subscriptions-api/manag…
19 properties
Money
object
Represents an amount of money. Money fields can be signed or unsigned. Fields that do not explicitly define whether they are signed or unsigned are considered…
2 properties
BulkSwapPlanResponse
object
Defines output parameters in a response of the [BulkSwapPlan](api-endpoint:Subscriptions-BulkSwapPlan) endpoint.
2 properties
SubscriptionEventSubscriptionEventType
string
Supported types of an event occurred to a subscription.
CancelSubscriptionResponse
object
Defines output parameters in a response from the [CancelSubscription](api-endpoint:Subscriptions-CancelSubscription) endpoint.
3 properties
SubscriptionEventInfo
object
Provides information about the subscription event.
2 properties
SubscriptionAction
object
Represents an action as a pending change to a subscription.
6 properties
UpdateSubscriptionRequest
object
Defines input parameters in a request to the [UpdateSubscription](api-endpoint:Subscriptions-UpdateSubscription) endpoint.
1 property
SubscriptionEventInfoCode
string
Supported info codes of a subscription event.
SwapPlanResponse
object
Defines output parameters in a response of the [SwapPlan](api-endpoint:Subscriptions-SwapPlan) endpoint.
3 properties
ChangeBillingAnchorDateRequest
object
Defines input parameters in a request to the [ChangeBillingAnchorDate](api-endpoint:Subscriptions-ChangeBillingAnchorDate) endpoint.
2 properties
PauseSubscriptionRequest
object
Defines input parameters in a request to the [PauseSubscription](api-endpoint:Subscriptions-PauseSubscription) endpoint.
5 properties
Error
object
Represents an error encountered during a request to the Connect API. See [Handling errors](https://developer.squareup.com/docs/build-basics/handling-errors) fo…
4 properties
2 required
ErrorCode
string
Indicates the specific error that occurred during a request to a Square API.
SubscriptionSource
object
The origination details of the subscription.
1 property
CreateSubscriptionResponse
object
Defines output parameters in a response from the [CreateSubscription](api-endpoint:Subscriptions-CreateSubscription) endpoint.
2 properties
DeleteSubscriptionActionResponse
object
Defines output parameters in a response of the [DeleteSubscriptionAction](api-endpoint:Subscriptions-DeleteSubscriptionAction) endpoint.
2 properties
ChangeBillingAnchorDateResponse
object
Defines output parameters in a request to the [ChangeBillingAnchorDate](api-endpoint:Subscriptions-ChangeBillingAnchorDate) endpoint.
3 properties
SearchSubscriptionsQuery
object
Represents a query, consisting of specified query expressions, used to search for subscriptions.
1 property
CreateSubscriptionRequest
object
Defines input parameters in a request to the [CreateSubscription](api-endpoint:Subscriptions-CreateSubscription) endpoint.
13 properties
2 required
ResumeSubscriptionRequest
object
Defines input parameters in a request to the [ResumeSubscription](api-endpoint:Subscriptions-ResumeSubscription) endpoint.
2 properties
ErrorCategory
string
Indicates which high-level category of error has occurred during a request to the Connect API.
PauseSubscriptionResponse
object
Defines output parameters in a response from the [PauseSubscription](api-endpoint:Subscriptions-PauseSubscription) endpoint.
3 properties
ListSubscriptionEventsResponse
object
Defines output parameters in a response from the [ListSubscriptionEvents](api-endpoint:Subscriptions-ListSubscriptionEvents).
3 properties
The full machine-readable OpenAPI contract behind this narrative.
Other APIs Square publishes across the network.