- Square Version:
2023-06-08
- Java:
30.0.0.20230608
- .NET:
28.0.0
- Node.js:
28.0.0
- PHP:
28.0.0.20230608
- Python:
28.0.0.20230608
- Ruby:
29.0.0.20230608
2023-06-08 Changelog
Checkout API:
CheckoutOptions object. Added the following fields:
enable_coupon
. Indicates whether to include theAdd coupon
section for the buyer to provide a Square marketing coupon in the payment form.enable_loyalty
. Indicates whether to include theREWARDS
section for the buyer to opt in to loyalty, redeem rewards in the payment form, or both.
For more information, see Specify checkout options.
GraphQL:
Square GraphQL is moved to beta. You can now send your queries to the following endpoints:
https://connect.squareup.com/public/graphql
for production queries.https://connect.squareupsandbox.com/public/graphql
for Sandbox queries.
With this release, Square GraphQL continues to provide more access to Square data. Currently, you can query the following Square graphs:
- Cards
- Catalog
- Customers
- Inventory
- Merchants
- Orders
- Payments
- Refunds
OAuth API:
- CreateMobileAuthorizationCode endpoint. The
error
object is renamed toerrors
in the response. The format of theerrors
object is upgraded to include thecategory
,code
, anddetail
fields.
- CreateMobileAuthorizationCode endpoint. The
Payouts API:
Payout object. Added the
end_to_end_id
field. Theend_to_end_id
field is a unique ID for eachPayout
object that might also appear on the seller's bank statement. For more information, see Payout object.PayoutEntry object. Added the following types for a payout entry:
AUTOMATIC_BITCOIN_CONVERSIONS
. Indicates that the portion of each payment withheld by Square was automatically converted into bitcoin using Cash App. The seller manages their bitcoin in their Cash App account.AUTOMATIC_BITCOIN_CONVERSIONS_REVERSED
. Indicates that a withheld payment, which was scheduled to be converted into bitcoin using Cash App, was deposited back to the Square payments balance.CREDIT_CARD_REPAYMENT
. Indicates that a repayment toward the outstanding balance on the seller's Square credit card was made.CREDIT_CARD_REPAYMENT_REVERSED
. Indicates that a repayment toward the outstanding balance on the seller's Square credit card was reversed.
For more information, see Payout type details.
Subscriptions API:
The Subscriptions API now allows for itemized subscriptions; sellers can set specific items or categories in their catalog to be subscribable.
Added the
CatalogSubscriptionPlanVariation
data type. Subscriptions created with this API version use this object to configure how items are sold in a subscription, rather than theCatalogSubscriptionPlan
. Subscriptions created prior to this API version continue to work as previously configured using theCatalogSubscriptionPlan
.CatalogSubscriptionPlan
object. Added the following properties:subscription_plan_variations
. The list of subscription plan variations available for this plan.eligible_item_ids
. The list of IDs ofCatalogItems
that are eligible for subscription by this plan.eligible_category_ids
. The list of IDs ofCatalogCategories
that are eligible for subscription by this plan.all_items
. Indicates whether all items in the seller's catalog are subscribable.
Subscription
object:- The new
plan_variation_id
property replaces theplan_id
property. - The new
phases
array corresponds to thephases
of theCatalogSubscriptionPlanVariation
associated with the subscription.
- The new
CreateSubscription
endpoint. Theplan_variation_id
property replaces theplan_id
property.SwapPlan
endpoint. Thenew_plan_variation_id
property replaces thenew_plan_id
property.
Team API and Labor API:
To support the linking of global seller-editable job titles to a team member's default job title and shift job title, a
job_id
is added to two objects. This job ID can't be used to retrieve the global job record. To learn about team member titles and shift job titles, see Update job assignments.- TeamMemberWage object. Added the
job_id
field. - ShiftWage object. Added the
job_id
field.
- TeamMemberWage object. Added the
Terminal API:
- TerminalAction object:
- Added Terminal action types (beta) that launch various custom screen workflows on the Square Terminal.
- Added the
await_next_action
field to link multiple custom screen workflows.
- DismissTerminalAction endpoint. A new endpoint that dismisses the "Please wait..." screen on the Square Terminal and transitions to the next screen workflow.
- TerminalAction object:
Webhook Subscriptions API:
- The Webhook Subscriptions API is moved to general availability (GA).
Payouts API:
- Documented descriptions for all payout types.
Subscriptions API:
Terminal API:
- New documentation for custom workflows (beta):
- Updated Advanced Square Terminal Features to mention custom workflows and idle screen customization.
- Square Terminal now supports customizing the Square Terminal idle screen. For more information about the customization process, see Customize the Square Terminal Idle Screen.