- 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 couponsection for the buyer to provide a Square marketing coupon in the payment form.enable_loyalty. Indicates whether to include theREWARDSsection 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/graphqlfor production queries.https://connect.squareupsandbox.com/public/graphqlfor 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
errorobject is renamed toerrorsin the response. The format of theerrorsobject is upgraded to include thecategory,code, anddetailfields.
- CreateMobileAuthorizationCode endpoint. The
Payouts API:
Payout object. Added the
end_to_end_idfield. Theend_to_end_idfield is a unique ID for eachPayoutobject 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
CatalogSubscriptionPlanVariationdata 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.CatalogSubscriptionPlanobject. Added the following properties:subscription_plan_variations. The list of subscription plan variations available for this plan.eligible_item_ids. The list of IDs ofCatalogItemsthat are eligible for subscription by this plan.eligible_category_ids. The list of IDs ofCatalogCategoriesthat are eligible for subscription by this plan.all_items. Indicates whether all items in the seller's catalog are subscribable.
Subscriptionobject:- The new
plan_variation_idproperty replaces theplan_idproperty. - The new
phasesarray corresponds to thephasesof theCatalogSubscriptionPlanVariationassociated with the subscription.
- The new
CreateSubscriptionendpoint. Theplan_variation_idproperty replaces theplan_idproperty.SwapPlanendpoint. Thenew_plan_variation_idproperty replaces thenew_plan_idproperty.
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_idis 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_idfield. - ShiftWage object. Added the
job_idfield.
- 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_actionfield 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.