> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Square OAuth 2.0 connector profile – StackOne setup guide

> Set up the OAuth 2.0 connector profile for Square in StackOne. One-time admin setup required before your users can link Square accounts via Hub.

<Warning>You need a Square Developer account to create an OAuth application. Production and Sandbox environments use separate Application IDs and Application Secrets — ensure you copy the correct credentials for the environment you are connecting.</Warning>

<Panel>
  <div className="not-prose guides-scope-selector" data-guides-scope-selector data-guide-actions-json="[{&#x22;id&#x22;:&#x22;square_list_payments&#x22;,&#x22;label&#x22;:&#x22;List Payments&#x22;,&#x22;scopes&#x22;:[&#x22;PAYMENTS_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_create_payment&#x22;,&#x22;label&#x22;:&#x22;Create Payment&#x22;,&#x22;scopes&#x22;:[&#x22;PAYMENTS_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_get_payment&#x22;,&#x22;label&#x22;:&#x22;Get Payment&#x22;,&#x22;scopes&#x22;:[&#x22;PAYMENTS_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_update_payment&#x22;,&#x22;label&#x22;:&#x22;Update Payment&#x22;,&#x22;scopes&#x22;:[&#x22;PAYMENTS_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_cancel_payment&#x22;,&#x22;label&#x22;:&#x22;Cancel Payment&#x22;,&#x22;scopes&#x22;:[&#x22;PAYMENTS_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_cancel_payment_by_idempotency_key&#x22;,&#x22;label&#x22;:&#x22;Cancel Payment By Idempotency Key&#x22;,&#x22;scopes&#x22;:[&#x22;PAYMENTS_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_complete_payment&#x22;,&#x22;label&#x22;:&#x22;Complete Payment&#x22;,&#x22;scopes&#x22;:[&#x22;PAYMENTS_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_list_payment_refunds&#x22;,&#x22;label&#x22;:&#x22;List Payment Refunds&#x22;,&#x22;scopes&#x22;:[&#x22;PAYMENTS_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_refund_payment&#x22;,&#x22;label&#x22;:&#x22;Refund Payment&#x22;,&#x22;scopes&#x22;:[&#x22;PAYMENTS_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_get_payment_refund&#x22;,&#x22;label&#x22;:&#x22;Get Payment Refund&#x22;,&#x22;scopes&#x22;:[&#x22;PAYMENTS_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_create_order&#x22;,&#x22;label&#x22;:&#x22;Create Order&#x22;,&#x22;scopes&#x22;:[&#x22;ORDERS_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_search_orders&#x22;,&#x22;label&#x22;:&#x22;Search Orders&#x22;,&#x22;scopes&#x22;:[&#x22;ORDERS_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_retrieve_order&#x22;,&#x22;label&#x22;:&#x22;Retrieve Order&#x22;,&#x22;scopes&#x22;:[&#x22;ORDERS_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_update_order&#x22;,&#x22;label&#x22;:&#x22;Update Order&#x22;,&#x22;scopes&#x22;:[&#x22;ORDERS_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_pay_order&#x22;,&#x22;label&#x22;:&#x22;Pay Order&#x22;,&#x22;scopes&#x22;:[&#x22;ORDERS_WRITE&#x22;,&#x22;PAYMENTS_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_calculate_order&#x22;,&#x22;label&#x22;:&#x22;Calculate Order&#x22;,&#x22;scopes&#x22;:[&#x22;ORDERS_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_batch_retrieve_orders&#x22;,&#x22;label&#x22;:&#x22;Batch Retrieve Orders&#x22;,&#x22;scopes&#x22;:[&#x22;ORDERS_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_clone_order&#x22;,&#x22;label&#x22;:&#x22;Clone Order&#x22;,&#x22;scopes&#x22;:[&#x22;ORDERS_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_list_customers&#x22;,&#x22;label&#x22;:&#x22;List Customers&#x22;,&#x22;scopes&#x22;:[&#x22;CUSTOMERS_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_create_customer&#x22;,&#x22;label&#x22;:&#x22;Create Customer&#x22;,&#x22;scopes&#x22;:[&#x22;CUSTOMERS_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_search_customers&#x22;,&#x22;label&#x22;:&#x22;Search Customers&#x22;,&#x22;scopes&#x22;:[&#x22;CUSTOMERS_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_retrieve_customer&#x22;,&#x22;label&#x22;:&#x22;Retrieve Customer&#x22;,&#x22;scopes&#x22;:[&#x22;CUSTOMERS_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_update_customer&#x22;,&#x22;label&#x22;:&#x22;Update Customer&#x22;,&#x22;scopes&#x22;:[&#x22;CUSTOMERS_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_delete_customer&#x22;,&#x22;label&#x22;:&#x22;Delete Customer&#x22;,&#x22;scopes&#x22;:[&#x22;CUSTOMERS_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_add_group_to_customer&#x22;,&#x22;label&#x22;:&#x22;Add Group To Customer&#x22;,&#x22;scopes&#x22;:[&#x22;CUSTOMERS_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_remove_group_from_customer&#x22;,&#x22;label&#x22;:&#x22;Remove Group From Customer&#x22;,&#x22;scopes&#x22;:[&#x22;CUSTOMERS_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_list_customer_groups&#x22;,&#x22;label&#x22;:&#x22;List Customer Groups&#x22;,&#x22;scopes&#x22;:[&#x22;CUSTOMERS_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_create_customer_group&#x22;,&#x22;label&#x22;:&#x22;Create Customer Group&#x22;,&#x22;scopes&#x22;:[&#x22;CUSTOMERS_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_retrieve_customer_group&#x22;,&#x22;label&#x22;:&#x22;Retrieve Customer Group&#x22;,&#x22;scopes&#x22;:[&#x22;CUSTOMERS_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_update_customer_group&#x22;,&#x22;label&#x22;:&#x22;Update Customer Group&#x22;,&#x22;scopes&#x22;:[&#x22;CUSTOMERS_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_delete_customer_group&#x22;,&#x22;label&#x22;:&#x22;Delete Customer Group&#x22;,&#x22;scopes&#x22;:[&#x22;CUSTOMERS_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_bulk_create_customers&#x22;,&#x22;label&#x22;:&#x22;Bulk Create Customers&#x22;,&#x22;scopes&#x22;:[&#x22;CUSTOMERS_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_bulk_retrieve_customers&#x22;,&#x22;label&#x22;:&#x22;Bulk Retrieve Customers&#x22;,&#x22;scopes&#x22;:[&#x22;CUSTOMERS_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_bulk_update_customers&#x22;,&#x22;label&#x22;:&#x22;Bulk Update Customers&#x22;,&#x22;scopes&#x22;:[&#x22;CUSTOMERS_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_bulk_delete_customers&#x22;,&#x22;label&#x22;:&#x22;Bulk Delete Customers&#x22;,&#x22;scopes&#x22;:[&#x22;CUSTOMERS_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_list_customer_segments&#x22;,&#x22;label&#x22;:&#x22;List Customer Segments&#x22;,&#x22;scopes&#x22;:[&#x22;CUSTOMERS_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_retrieve_customer_segment&#x22;,&#x22;label&#x22;:&#x22;Retrieve Customer Segment&#x22;,&#x22;scopes&#x22;:[&#x22;CUSTOMERS_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_list_catalog&#x22;,&#x22;label&#x22;:&#x22;List Catalog&#x22;,&#x22;scopes&#x22;:[&#x22;ITEMS_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_search_catalog_objects&#x22;,&#x22;label&#x22;:&#x22;Search Catalog Objects&#x22;,&#x22;scopes&#x22;:[&#x22;ITEMS_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_search_catalog_items&#x22;,&#x22;label&#x22;:&#x22;Search Catalog Items&#x22;,&#x22;scopes&#x22;:[&#x22;ITEMS_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_retrieve_catalog_object&#x22;,&#x22;label&#x22;:&#x22;Retrieve Catalog Object&#x22;,&#x22;scopes&#x22;:[&#x22;ITEMS_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_upsert_catalog_object&#x22;,&#x22;label&#x22;:&#x22;Upsert Catalog Object&#x22;,&#x22;scopes&#x22;:[&#x22;ITEMS_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_delete_catalog_object&#x22;,&#x22;label&#x22;:&#x22;Delete Catalog Object&#x22;,&#x22;scopes&#x22;:[&#x22;ITEMS_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_batch_upsert_catalog_objects&#x22;,&#x22;label&#x22;:&#x22;Batch Upsert Catalog Objects&#x22;,&#x22;scopes&#x22;:[&#x22;ITEMS_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_batch_retrieve_catalog_objects&#x22;,&#x22;label&#x22;:&#x22;Batch Retrieve Catalog Objects&#x22;,&#x22;scopes&#x22;:[&#x22;ITEMS_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_batch_delete_catalog_objects&#x22;,&#x22;label&#x22;:&#x22;Batch Delete Catalog Objects&#x22;,&#x22;scopes&#x22;:[&#x22;ITEMS_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_retrieve_inventory_count&#x22;,&#x22;label&#x22;:&#x22;Retrieve Inventory Count&#x22;,&#x22;scopes&#x22;:[&#x22;INVENTORY_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_batch_retrieve_inventory_counts&#x22;,&#x22;label&#x22;:&#x22;Batch Retrieve Inventory Counts&#x22;,&#x22;scopes&#x22;:[&#x22;INVENTORY_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_batch_retrieve_inventory_changes&#x22;,&#x22;label&#x22;:&#x22;Batch Retrieve Inventory Changes&#x22;,&#x22;scopes&#x22;:[&#x22;INVENTORY_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_retrieve_inventory_adjustment&#x22;,&#x22;label&#x22;:&#x22;Retrieve Inventory Adjustment&#x22;,&#x22;scopes&#x22;:[&#x22;INVENTORY_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_retrieve_inventory_physical_count&#x22;,&#x22;label&#x22;:&#x22;Retrieve Inventory Physical Count&#x22;,&#x22;scopes&#x22;:[&#x22;INVENTORY_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_batch_change_inventory&#x22;,&#x22;label&#x22;:&#x22;Batch Change Inventory&#x22;,&#x22;scopes&#x22;:[&#x22;INVENTORY_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_list_locations&#x22;,&#x22;label&#x22;:&#x22;List Locations&#x22;,&#x22;scopes&#x22;:[&#x22;MERCHANT_PROFILE_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_create_location&#x22;,&#x22;label&#x22;:&#x22;Create Location&#x22;,&#x22;scopes&#x22;:[&#x22;MERCHANT_PROFILE_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_retrieve_location&#x22;,&#x22;label&#x22;:&#x22;Retrieve Location&#x22;,&#x22;scopes&#x22;:[&#x22;MERCHANT_PROFILE_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_update_location&#x22;,&#x22;label&#x22;:&#x22;Update Location&#x22;,&#x22;scopes&#x22;:[&#x22;MERCHANT_PROFILE_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_list_merchants&#x22;,&#x22;label&#x22;:&#x22;List Merchants&#x22;,&#x22;scopes&#x22;:[&#x22;MERCHANT_PROFILE_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_retrieve_merchant&#x22;,&#x22;label&#x22;:&#x22;Retrieve Merchant&#x22;,&#x22;scopes&#x22;:[&#x22;MERCHANT_PROFILE_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_list_payouts&#x22;,&#x22;label&#x22;:&#x22;List Payouts&#x22;,&#x22;scopes&#x22;:[&#x22;PAYOUTS_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_get_payout&#x22;,&#x22;label&#x22;:&#x22;Get Payout&#x22;,&#x22;scopes&#x22;:[&#x22;PAYOUTS_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_list_payout_entries&#x22;,&#x22;label&#x22;:&#x22;List Payout Entries&#x22;,&#x22;scopes&#x22;:[&#x22;PAYOUTS_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_list_invoices&#x22;,&#x22;label&#x22;:&#x22;List Invoices&#x22;,&#x22;scopes&#x22;:[&#x22;INVOICES_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_create_invoice&#x22;,&#x22;label&#x22;:&#x22;Create Invoice&#x22;,&#x22;scopes&#x22;:[&#x22;INVOICES_WRITE&#x22;,&#x22;ORDERS_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_search_invoices&#x22;,&#x22;label&#x22;:&#x22;Search Invoices&#x22;,&#x22;scopes&#x22;:[&#x22;INVOICES_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_get_invoice&#x22;,&#x22;label&#x22;:&#x22;Get Invoice&#x22;,&#x22;scopes&#x22;:[&#x22;INVOICES_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_update_invoice&#x22;,&#x22;label&#x22;:&#x22;Update Invoice&#x22;,&#x22;scopes&#x22;:[&#x22;INVOICES_WRITE&#x22;,&#x22;ORDERS_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_delete_invoice&#x22;,&#x22;label&#x22;:&#x22;Delete Invoice&#x22;,&#x22;scopes&#x22;:[&#x22;INVOICES_WRITE&#x22;,&#x22;ORDERS_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_publish_invoice&#x22;,&#x22;label&#x22;:&#x22;Publish Invoice&#x22;,&#x22;scopes&#x22;:[&#x22;INVOICES_WRITE&#x22;,&#x22;ORDERS_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_cancel_invoice&#x22;,&#x22;label&#x22;:&#x22;Cancel Invoice&#x22;,&#x22;scopes&#x22;:[&#x22;INVOICES_WRITE&#x22;,&#x22;ORDERS_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_create_subscription&#x22;,&#x22;label&#x22;:&#x22;Create Subscription&#x22;,&#x22;scopes&#x22;:[&#x22;CUSTOMERS_READ&#x22;,&#x22;INVOICES_WRITE&#x22;,&#x22;ITEMS_READ&#x22;,&#x22;ORDERS_WRITE&#x22;,&#x22;PAYMENTS_WRITE&#x22;,&#x22;SUBSCRIPTIONS_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_search_subscriptions&#x22;,&#x22;label&#x22;:&#x22;Search Subscriptions&#x22;,&#x22;scopes&#x22;:[&#x22;SUBSCRIPTIONS_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_retrieve_subscription&#x22;,&#x22;label&#x22;:&#x22;Retrieve Subscription&#x22;,&#x22;scopes&#x22;:[&#x22;SUBSCRIPTIONS_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_update_subscription&#x22;,&#x22;label&#x22;:&#x22;Update Subscription&#x22;,&#x22;scopes&#x22;:[&#x22;CUSTOMERS_READ&#x22;,&#x22;INVOICES_WRITE&#x22;,&#x22;ITEMS_READ&#x22;,&#x22;ORDERS_WRITE&#x22;,&#x22;PAYMENTS_WRITE&#x22;,&#x22;SUBSCRIPTIONS_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_cancel_subscription&#x22;,&#x22;label&#x22;:&#x22;Cancel Subscription&#x22;,&#x22;scopes&#x22;:[&#x22;SUBSCRIPTIONS_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_list_subscription_events&#x22;,&#x22;label&#x22;:&#x22;List Subscription Events&#x22;,&#x22;scopes&#x22;:[&#x22;SUBSCRIPTIONS_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_resume_subscription&#x22;,&#x22;label&#x22;:&#x22;Resume Subscription&#x22;,&#x22;scopes&#x22;:[&#x22;SUBSCRIPTIONS_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_list_cards&#x22;,&#x22;label&#x22;:&#x22;List Cards&#x22;,&#x22;scopes&#x22;:[&#x22;PAYMENTS_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_create_card&#x22;,&#x22;label&#x22;:&#x22;Create Card&#x22;,&#x22;scopes&#x22;:[&#x22;PAYMENTS_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_retrieve_card&#x22;,&#x22;label&#x22;:&#x22;Retrieve Card&#x22;,&#x22;scopes&#x22;:[&#x22;PAYMENTS_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_disable_card&#x22;,&#x22;label&#x22;:&#x22;Disable Card&#x22;,&#x22;scopes&#x22;:[&#x22;PAYMENTS_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_list_gift_cards&#x22;,&#x22;label&#x22;:&#x22;List Gift Cards&#x22;,&#x22;scopes&#x22;:[&#x22;GIFTCARDS_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_create_gift_card&#x22;,&#x22;label&#x22;:&#x22;Create Gift Card&#x22;,&#x22;scopes&#x22;:[&#x22;GIFTCARDS_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_retrieve_gift_card&#x22;,&#x22;label&#x22;:&#x22;Retrieve Gift Card&#x22;,&#x22;scopes&#x22;:[&#x22;GIFTCARDS_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_retrieve_gift_card_from_gan&#x22;,&#x22;label&#x22;:&#x22;Retrieve Gift Card From GAN&#x22;,&#x22;scopes&#x22;:[&#x22;GIFTCARDS_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_link_customer_to_gift_card&#x22;,&#x22;label&#x22;:&#x22;Link Customer To Gift Card&#x22;,&#x22;scopes&#x22;:[&#x22;GIFTCARDS_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_unlink_customer_from_gift_card&#x22;,&#x22;label&#x22;:&#x22;Unlink Customer From Gift Card&#x22;,&#x22;scopes&#x22;:[&#x22;GIFTCARDS_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_create_gift_card_activity&#x22;,&#x22;label&#x22;:&#x22;Create Gift Card Activity&#x22;,&#x22;scopes&#x22;:[&#x22;GIFTCARDS_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_list_gift_card_activities&#x22;,&#x22;label&#x22;:&#x22;List Gift Card Activities&#x22;,&#x22;scopes&#x22;:[&#x22;GIFTCARDS_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_create_team_member&#x22;,&#x22;label&#x22;:&#x22;Create Team Member&#x22;,&#x22;scopes&#x22;:[&#x22;EMPLOYEES_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_search_team_members&#x22;,&#x22;label&#x22;:&#x22;Search Team Members&#x22;,&#x22;scopes&#x22;:[&#x22;EMPLOYEES_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_retrieve_team_member&#x22;,&#x22;label&#x22;:&#x22;Retrieve Team Member&#x22;,&#x22;scopes&#x22;:[&#x22;EMPLOYEES_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_update_team_member&#x22;,&#x22;label&#x22;:&#x22;Update Team Member&#x22;,&#x22;scopes&#x22;:[&#x22;EMPLOYEES_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_list_jobs&#x22;,&#x22;label&#x22;:&#x22;List Jobs&#x22;,&#x22;scopes&#x22;:[&#x22;EMPLOYEES_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_create_job&#x22;,&#x22;label&#x22;:&#x22;Create Job&#x22;,&#x22;scopes&#x22;:[&#x22;EMPLOYEES_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_retrieve_job&#x22;,&#x22;label&#x22;:&#x22;Retrieve Job&#x22;,&#x22;scopes&#x22;:[&#x22;EMPLOYEES_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_update_job&#x22;,&#x22;label&#x22;:&#x22;Update Job&#x22;,&#x22;scopes&#x22;:[&#x22;EMPLOYEES_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_retrieve_wage_setting&#x22;,&#x22;label&#x22;:&#x22;Retrieve Wage Setting&#x22;,&#x22;scopes&#x22;:[&#x22;EMPLOYEES_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_update_wage_setting&#x22;,&#x22;label&#x22;:&#x22;Update Wage Setting&#x22;,&#x22;scopes&#x22;:[&#x22;EMPLOYEES_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_bulk_create_team_members&#x22;,&#x22;label&#x22;:&#x22;Bulk Create Team Members&#x22;,&#x22;scopes&#x22;:[&#x22;EMPLOYEES_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_bulk_update_team_members&#x22;,&#x22;label&#x22;:&#x22;Bulk Update Team Members&#x22;,&#x22;scopes&#x22;:[&#x22;EMPLOYEES_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_list_break_types&#x22;,&#x22;label&#x22;:&#x22;List Break Types&#x22;,&#x22;scopes&#x22;:[&#x22;TIMECARDS_SETTINGS_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_create_break_type&#x22;,&#x22;label&#x22;:&#x22;Create Break Type&#x22;,&#x22;scopes&#x22;:[&#x22;TIMECARDS_SETTINGS_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_get_break_type&#x22;,&#x22;label&#x22;:&#x22;Retrieve Break Type&#x22;,&#x22;scopes&#x22;:[&#x22;TIMECARDS_SETTINGS_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_search_timecards&#x22;,&#x22;label&#x22;:&#x22;Search Timecards&#x22;,&#x22;scopes&#x22;:[&#x22;TIMECARDS_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_retrieve_timecard&#x22;,&#x22;label&#x22;:&#x22;Retrieve Timecard&#x22;,&#x22;scopes&#x22;:[&#x22;TIMECARDS_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_create_timecard&#x22;,&#x22;label&#x22;:&#x22;Create Timecard&#x22;,&#x22;scopes&#x22;:[&#x22;TIMECARDS_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_update_break_type&#x22;,&#x22;label&#x22;:&#x22;Update Break Type&#x22;,&#x22;scopes&#x22;:[&#x22;TIMECARDS_SETTINGS_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_delete_break_type&#x22;,&#x22;label&#x22;:&#x22;Delete Break Type&#x22;,&#x22;scopes&#x22;:[&#x22;TIMECARDS_SETTINGS_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_update_timecard&#x22;,&#x22;label&#x22;:&#x22;Update Timecard&#x22;,&#x22;scopes&#x22;:[&#x22;TIMECARDS_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_delete_timecard&#x22;,&#x22;label&#x22;:&#x22;Delete Timecard&#x22;,&#x22;scopes&#x22;:[&#x22;TIMECARDS_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_list_disputes&#x22;,&#x22;label&#x22;:&#x22;List Disputes&#x22;,&#x22;scopes&#x22;:[&#x22;DISPUTES_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_retrieve_dispute&#x22;,&#x22;label&#x22;:&#x22;Retrieve Dispute&#x22;,&#x22;scopes&#x22;:[&#x22;DISPUTES_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_accept_dispute&#x22;,&#x22;label&#x22;:&#x22;Accept Dispute&#x22;,&#x22;scopes&#x22;:[&#x22;DISPUTES_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_list_dispute_evidence&#x22;,&#x22;label&#x22;:&#x22;List Dispute Evidence&#x22;,&#x22;scopes&#x22;:[&#x22;DISPUTES_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_submit_evidence&#x22;,&#x22;label&#x22;:&#x22;Submit Evidence&#x22;,&#x22;scopes&#x22;:[&#x22;DISPUTES_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_list_bank_accounts&#x22;,&#x22;label&#x22;:&#x22;List Bank Accounts&#x22;,&#x22;scopes&#x22;:[&#x22;BANK_ACCOUNTS_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_get_bank_account&#x22;,&#x22;label&#x22;:&#x22;Get Bank Account&#x22;,&#x22;scopes&#x22;:[&#x22;BANK_ACCOUNTS_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_create_dispute_evidence_text&#x22;,&#x22;label&#x22;:&#x22;Create Dispute Evidence Text&#x22;,&#x22;scopes&#x22;:[&#x22;DISPUTES_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_retrieve_dispute_evidence&#x22;,&#x22;label&#x22;:&#x22;Retrieve Dispute Evidence&#x22;,&#x22;scopes&#x22;:[&#x22;DISPUTES_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_delete_dispute_evidence&#x22;,&#x22;label&#x22;:&#x22;Delete Dispute Evidence&#x22;,&#x22;scopes&#x22;:[&#x22;DISPUTES_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_list_payment_links&#x22;,&#x22;label&#x22;:&#x22;List Payment Links&#x22;,&#x22;scopes&#x22;:[&#x22;ORDERS_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_create_payment_link&#x22;,&#x22;label&#x22;:&#x22;Create Payment Link&#x22;,&#x22;scopes&#x22;:[&#x22;ORDERS_WRITE&#x22;,&#x22;PAYMENTS_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_retrieve_payment_link&#x22;,&#x22;label&#x22;:&#x22;Retrieve Payment Link&#x22;,&#x22;scopes&#x22;:[&#x22;ORDERS_READ&#x22;]},{&#x22;id&#x22;:&#x22;square_update_payment_link&#x22;,&#x22;label&#x22;:&#x22;Update Payment Link&#x22;,&#x22;scopes&#x22;:[&#x22;ORDERS_WRITE&#x22;,&#x22;PAYMENTS_WRITE&#x22;]},{&#x22;id&#x22;:&#x22;square_delete_payment_link&#x22;,&#x22;label&#x22;:&#x22;Delete Payment Link&#x22;,&#x22;scopes&#x22;:[&#x22;ORDERS_WRITE&#x22;]}]" style={{ borderRadius: '8px', padding: '16px', marginBottom: '24px' }}>
    <div className="guides-scope-selector__title" style={{ fontSize: '16px', fontWeight: '600', marginBottom: '12px' }}>Select Actions to adjust the guide</div>
    <div className="guides-scope-selector__muted" style={{ fontSize: '13px', marginBottom: '12px' }}>Some actions may require additional configuration in the provider to be accessible. Choose the actions you need and the guide will be updated.</div>

    <div style={{ display: 'flex', gap: '8px', marginBottom: '12px', flexWrap: 'wrap' }}>
      <input type="text" placeholder="Search actions..." className="guides-scope-selector__input" data-guide-action-search style={{ padding: '8px 12px', borderRadius: '6px', fontSize: '13px', flex: 1, minWidth: '160px' }} />

      <button type="button" className="guides-scope-selector__quick-btn" data-guide-select-all style={{ padding: '6px 10px', borderRadius: '6px', fontSize: '12px', cursor: 'pointer' }}>Select all</button>
      <button type="button" className="guides-scope-selector__quick-btn" data-guide-clear style={{ padding: '6px 10px', borderRadius: '6px', fontSize: '12px', cursor: 'pointer' }}>Clear</button>
    </div>

    <div className="guides-scope-selector__list" style={{ maxHeight: '240px', overflowY: 'auto', borderRadius: '6px', marginBottom: '12px' }}>
      <div className="guides-scope-selector__list-header" style={{ display: 'flex', alignItems: 'center', gap: '10px', padding: '8px 12px', fontSize: '12px', fontWeight: '600', position: 'sticky', top: 0, zIndex: 1 }}>
        <div style={{ width: '16px', flexShrink: 0 }} />

        <div style={{ flex: 1, textAlign: 'left' }}>Action</div>
        <div style={{ minWidth: '120px', marginLeft: 'auto', textAlign: 'right' }}>Scope(s)</div>
      </div>

      <div className="guides-scope-selector__muted" data-guide-loading style={{ padding: '16px', textAlign: 'center', fontSize: '13px' }}>Loading actions...</div>
      <div className="guides-scope-selector__muted" data-guide-no-results hidden style={{ padding: '16px', textAlign: 'center', fontSize: '13px' }}>No actions match your search.</div>
    </div>

    <div className="guides-scope-selector__url-section" style={{ marginTop: '12px', paddingTop: '12px' }}>
      <div className="guides-scope-selector__muted" style={{ fontSize: '12px', fontWeight: '500', marginBottom: '6px' }}>Dynamic Guide URL</div>

      <div style={{ display: 'flex', alignItems: 'center', gap: '8px', flexWrap: 'wrap' }}>
        <input type="text" readOnly className="guides-scope-selector__input" data-guide-url style={{ flex: 1, minWidth: '200px', padding: '8px 10px', borderRadius: '6px', fontSize: '12px', fontFamily: 'monospace' }} />

        <button type="button" className="guides-scope-selector__copy-btn" data-guide-copy-url style={{ width: '120px', padding: '8px 14px', borderRadius: '6px', fontSize: '13px', fontWeight: '500', cursor: 'pointer', whiteSpace: 'nowrap', marginLeft: 'auto' }}>Copy URL</button>
      </div>

      <div style={{ marginTop: '12px' }}>
        <div className="guides-scope-selector__muted" style={{ fontSize: '12px', fontWeight: '500', marginBottom: '6px' }}>Scopes Selected</div>

        <div style={{ display: 'flex', alignItems: 'stretch', gap: '8px', flexWrap: 'wrap' }}>
          <pre className="guides-scope-selector__input" role="textbox" aria-readonly="true" tabIndex={0} data-guide-scopes-output style={{ flex: 1, minWidth: '200px', minHeight: '88px', maxHeight: '120px', overflowY: 'auto', margin: 0, padding: '8px 10px', borderRadius: '6px', fontSize: '12px', fontFamily: 'monospace', whiteSpace: 'pre-wrap' }} />

          <div className="guides-scope-selector__muted" style={{ display: 'flex', flexDirection: 'column', gap: '8px', fontSize: '12px', fontWeight: '500', flexShrink: 0, alignItems: 'flex-start' }}>
            <div style={{ whiteSpace: 'nowrap' }}>Separator</div>

            <select className="guides-scope-selector__input" data-guide-scope-delimiter style={{ width: '100%', padding: '6px 10px', borderRadius: '6px', fontSize: '12px' }}>
              <option value="space">Space</option>
              <option value="comma">Comma</option>
              <option value="semicolon">Semicolon</option>
              <option value="pipe">Pipe</option>
              <option value="newline">Newline</option>
            </select>

            <button type="button" className="guides-scope-selector__copy-btn" data-guide-copy-scopes style={{ width: '120px', padding: '8px 14px', borderRadius: '6px', fontSize: '13px', fontWeight: '500', cursor: 'pointer', whiteSpace: 'nowrap' }}>Copy scopes</button>
          </div>
        </div>
      </div>
    </div>
  </div>
</Panel>

<section data-guide-section data-guide-scopes="">
  <h2>Prerequisites</h2>

  <p>Verify you have the necessary permissions before starting setup.</p>

  <ul>
    <li>A Square Developer account at developer.squareup.com</li>
    <li>Access to create applications in the Square Developer Console</li>
  </ul>
</section>

<section data-guide-section data-guide-scopes="">
  <h2>Create a Square Application</h2>

  <p>Register an OAuth application in the Square Developer Console. One application covers both Production and Sandbox environments.</p>

  <Steps>
    <Step title="Sign in to Square Developer Console">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Sign in to the <a href="https://developer.squareup.com/apps" target="_blank" rel="noopener noreferrer">Square Developer Console</a>.</p>
      </div>
    </Step>

    <Step title="Create a new application">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Click <strong>Create your first application</strong> or <strong>New Application</strong>.</p>

        <ul>
          <li>Enter an <strong>Application Name</strong> (e.g., `StackOne Integration`).</li>
          <li>Click <strong>Save</strong>.</li>
        </ul>
      </div>
    </Step>
  </Steps>
</section>

<section data-guide-section data-guide-scopes="">
  <h2>Configure OAuth settings</h2>

  <p>Set up the redirect URL and permission scopes for your application. The redirect URL must be added separately for Production and Sandbox using the environment toggle.</p>

  <Steps>
    <Step title="Add Production redirect URL">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Use the environment toggle at the top of the page to select <strong>Production</strong>, then navigate to the <strong>OAuth</strong> tab.</p>

        <ul>
          <li>In the <strong>Redirect URL</strong> field, enter exactly: `https://api.stackone.com/connect/oauth2/square/callback`</li>
          <li>Click <strong>Save</strong>.</li>
        </ul>
      </div>
    </Step>

    <Step title="Add Sandbox redirect URL">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Use the environment toggle to switch to <strong>Sandbox</strong>, then navigate to the <strong>OAuth</strong> tab.</p>

        <ul>
          <li>In the <strong>Redirect URL</strong> field, enter exactly: `https://api.stackone.com/connect/oauth2/square/callback`</li>
          <li>Click <strong>Save</strong>.</li>
        </ul>
      </div>
    </Step>

    <Step title="Configure permission scopes">
      <div data-guide-step data-guide-scopes="PAYMENTS_READ,PAYMENTS_WRITE,ORDERS_READ,ORDERS_WRITE,CUSTOMERS_READ,CUSTOMERS_WRITE,ITEMS_READ,ITEMS_WRITE,INVENTORY_READ,INVENTORY_WRITE,MERCHANT_PROFILE_READ,MERCHANT_PROFILE_WRITE,INVOICES_READ,INVOICES_WRITE,SUBSCRIPTIONS_READ,SUBSCRIPTIONS_WRITE,GIFTCARDS_READ,GIFTCARDS_WRITE,LOYALTY_READ,LOYALTY_WRITE,EMPLOYEES_READ,EMPLOYEES_WRITE,TIMECARDS_READ,TIMECARDS_WRITE,TIMECARDS_SETTINGS_READ,TIMECARDS_SETTINGS_WRITE,DISPUTES_READ,DISPUTES_WRITE,BANK_ACCOUNTS_READ,PAYOUTS_READ" data-guide-display-scopes-list="PAYMENTS_READ,PAYMENTS_WRITE,ORDERS_READ,ORDERS_WRITE,CUSTOMERS_READ,CUSTOMERS_WRITE,ITEMS_READ,ITEMS_WRITE,INVENTORY_READ,INVENTORY_WRITE,MERCHANT_PROFILE_READ,MERCHANT_PROFILE_WRITE,INVOICES_READ,INVOICES_WRITE,SUBSCRIPTIONS_READ,SUBSCRIPTIONS_WRITE,GIFTCARDS_READ,GIFTCARDS_WRITE,LOYALTY_READ,LOYALTY_WRITE,EMPLOYEES_READ,EMPLOYEES_WRITE,TIMECARDS_READ,TIMECARDS_WRITE,TIMECARDS_SETTINGS_READ,TIMECARDS_SETTINGS_WRITE,DISPUTES_READ,DISPUTES_WRITE,BANK_ACCOUNTS_READ,PAYOUTS_READ">
        <div className="connector-guide-actions-badge" data-guide-actions-badge data-guide-actions-badge-scopes="PAYMENTS_READ,PAYMENTS_WRITE,ORDERS_READ,ORDERS_WRITE,CUSTOMERS_READ,CUSTOMERS_WRITE,ITEMS_READ,ITEMS_WRITE,INVENTORY_READ,INVENTORY_WRITE,MERCHANT_PROFILE_READ,MERCHANT_PROFILE_WRITE,INVOICES_READ,INVOICES_WRITE,SUBSCRIPTIONS_READ,SUBSCRIPTIONS_WRITE,GIFTCARDS_READ,GIFTCARDS_WRITE,LOYALTY_READ,LOYALTY_WRITE,EMPLOYEES_READ,EMPLOYEES_WRITE,TIMECARDS_READ,TIMECARDS_WRITE,TIMECARDS_SETTINGS_READ,TIMECARDS_SETTINGS_WRITE,DISPUTES_READ,DISPUTES_WRITE,BANK_ACCOUNTS_READ,PAYOUTS_READ" style={{ display: 'block', width: 'fit-content', maxWidth: '100%', padding: '2px 8px', borderRadius: '8px', fontSize: '12px', marginBottom: '8px', marginTop: '-10px', whiteSpace: 'nowrap', overflowX: 'auto', overflowY: 'hidden', msOverflowStyle: 'none', scrollbarWidth: 'none' }}>
          <span>Enables actions: </span><span data-guide-actions-badge-labels>Accept Dispute, Add Group To Customer, Batch Change Inventory, Batch Delete Catalog Objects, Batch Retrieve Catalog Objects, Batch Retrieve Inventory Changes, Batch Retrieve Inventory Counts, Batch Retrieve Orders, Batch Upsert Catalog Objects, Bulk Create Customers, Bulk Create Team Members, Bulk Delete Customers, Bulk Retrieve Customers, Bulk Update Customers, Bulk Update Team Members, Calculate Order, Cancel Invoice, Cancel Payment, Cancel Payment By Idempotency Key, Cancel Subscription, Clone Order, Complete Payment, Create Break Type, Create Card, Create Customer, Create Customer Group, Create Dispute Evidence Text, Create Gift Card, Create Gift Card Activity, Create Invoice, Create Job, Create Location, Create Order, Create Payment, Create Payment Link, Create Subscription, Create Team Member, Create Timecard, Delete Break Type, Delete Catalog Object, Delete Customer, Delete Customer Group, Delete Dispute Evidence, Delete Invoice, Delete Payment Link, Delete Timecard, Disable Card, Get Bank Account, Get Invoice, Get Payment, Get Payment Refund, Get Payout, Link Customer To Gift Card, List Bank Accounts, List Break Types, List Cards, List Catalog, List Customer Groups, List Customer Segments, List Customers, List Dispute Evidence, List Disputes, List Gift Card Activities, List Gift Cards, List Invoices, List Jobs, List Locations, List Merchants, List Payment Links, List Payment Refunds, List Payments, List Payout Entries, List Payouts, List Subscription Events, Pay Order, Publish Invoice, Refund Payment, Remove Group From Customer, Resume Subscription, Retrieve Break Type, Retrieve Card, Retrieve Catalog Object, Retrieve Customer, Retrieve Customer Group, Retrieve Customer Segment, Retrieve Dispute, Retrieve Dispute Evidence, Retrieve Gift Card, Retrieve Gift Card From GAN, Retrieve Inventory Adjustment, Retrieve Inventory Count, Retrieve Inventory Physical Count, Retrieve Job, Retrieve Location, Retrieve Merchant, Retrieve Order, Retrieve Payment Link, Retrieve Subscription, Retrieve Team Member, Retrieve Timecard, Retrieve Wage Setting, Search Catalog Items, Search Catalog Objects, Search Customers, Search Invoices, Search Orders, Search Subscriptions, Search Team Members, Search Timecards, Submit Evidence, Unlink Customer From Gift Card, Update Break Type, Update Customer, Update Customer Group, Update Invoice, Update Job, Update Location, Update Order, Update Payment, Update Payment Link, Update Subscription, Update Team Member, Update Timecard, Update Wage Setting, Upsert Catalog Object</span>
        </div>

        <p>In the <strong>Permissions</strong> section of the OAuth tab, select the required permissions for the integration.</p>

        <div style={{ marginTop: '8px' }} data-guide-display-scopes>
          <div className="connector-guide-scopes-container connector-guide-scopes-container--scrollable">
            <ul className="not-prose" style={{ listStyleType: "'- '", paddingLeft: '1em', margin: 0 }}>
              <li style={{ overflowWrap: 'anywhere', wordBreak: 'break-word' }} data-guide-display-scope="PAYMENTS_READ">
                <button type="button" className="connector-guide-scope-copy" aria-label="Copy PAYMENTS_READ" title="Copy scope" data-copy="PAYMENTS_READ">
                  <span className="connector-guide-scope-copy__label">PAYMENTS\_READ</span>
                  <span className="connector-guide-scope-copy__icon" aria-hidden="true">⧉</span>
                </button>
              </li>

              <li style={{ overflowWrap: 'anywhere', wordBreak: 'break-word' }} data-guide-display-scope="PAYMENTS_WRITE">
                <button type="button" className="connector-guide-scope-copy" aria-label="Copy PAYMENTS_WRITE" title="Copy scope" data-copy="PAYMENTS_WRITE">
                  <span className="connector-guide-scope-copy__label">PAYMENTS\_WRITE</span>
                  <span className="connector-guide-scope-copy__icon" aria-hidden="true">⧉</span>
                </button>
              </li>

              <li style={{ overflowWrap: 'anywhere', wordBreak: 'break-word' }} data-guide-display-scope="ORDERS_READ">
                <button type="button" className="connector-guide-scope-copy" aria-label="Copy ORDERS_READ" title="Copy scope" data-copy="ORDERS_READ">
                  <span className="connector-guide-scope-copy__label">ORDERS\_READ</span>
                  <span className="connector-guide-scope-copy__icon" aria-hidden="true">⧉</span>
                </button>
              </li>

              <li style={{ overflowWrap: 'anywhere', wordBreak: 'break-word' }} data-guide-display-scope="ORDERS_WRITE">
                <button type="button" className="connector-guide-scope-copy" aria-label="Copy ORDERS_WRITE" title="Copy scope" data-copy="ORDERS_WRITE">
                  <span className="connector-guide-scope-copy__label">ORDERS\_WRITE</span>
                  <span className="connector-guide-scope-copy__icon" aria-hidden="true">⧉</span>
                </button>
              </li>

              <li style={{ overflowWrap: 'anywhere', wordBreak: 'break-word' }} data-guide-display-scope="CUSTOMERS_READ">
                <button type="button" className="connector-guide-scope-copy" aria-label="Copy CUSTOMERS_READ" title="Copy scope" data-copy="CUSTOMERS_READ">
                  <span className="connector-guide-scope-copy__label">CUSTOMERS\_READ</span>
                  <span className="connector-guide-scope-copy__icon" aria-hidden="true">⧉</span>
                </button>
              </li>

              <li style={{ overflowWrap: 'anywhere', wordBreak: 'break-word' }} data-guide-display-scope="CUSTOMERS_WRITE">
                <button type="button" className="connector-guide-scope-copy" aria-label="Copy CUSTOMERS_WRITE" title="Copy scope" data-copy="CUSTOMERS_WRITE">
                  <span className="connector-guide-scope-copy__label">CUSTOMERS\_WRITE</span>
                  <span className="connector-guide-scope-copy__icon" aria-hidden="true">⧉</span>
                </button>
              </li>

              <li style={{ overflowWrap: 'anywhere', wordBreak: 'break-word' }} data-guide-display-scope="ITEMS_READ">
                <button type="button" className="connector-guide-scope-copy" aria-label="Copy ITEMS_READ" title="Copy scope" data-copy="ITEMS_READ">
                  <span className="connector-guide-scope-copy__label">ITEMS\_READ</span>
                  <span className="connector-guide-scope-copy__icon" aria-hidden="true">⧉</span>
                </button>
              </li>

              <li style={{ overflowWrap: 'anywhere', wordBreak: 'break-word' }} data-guide-display-scope="ITEMS_WRITE">
                <button type="button" className="connector-guide-scope-copy" aria-label="Copy ITEMS_WRITE" title="Copy scope" data-copy="ITEMS_WRITE">
                  <span className="connector-guide-scope-copy__label">ITEMS\_WRITE</span>
                  <span className="connector-guide-scope-copy__icon" aria-hidden="true">⧉</span>
                </button>
              </li>

              <li style={{ overflowWrap: 'anywhere', wordBreak: 'break-word' }} data-guide-display-scope="INVENTORY_READ">
                <button type="button" className="connector-guide-scope-copy" aria-label="Copy INVENTORY_READ" title="Copy scope" data-copy="INVENTORY_READ">
                  <span className="connector-guide-scope-copy__label">INVENTORY\_READ</span>
                  <span className="connector-guide-scope-copy__icon" aria-hidden="true">⧉</span>
                </button>
              </li>

              <li style={{ overflowWrap: 'anywhere', wordBreak: 'break-word' }} data-guide-display-scope="INVENTORY_WRITE">
                <button type="button" className="connector-guide-scope-copy" aria-label="Copy INVENTORY_WRITE" title="Copy scope" data-copy="INVENTORY_WRITE">
                  <span className="connector-guide-scope-copy__label">INVENTORY\_WRITE</span>
                  <span className="connector-guide-scope-copy__icon" aria-hidden="true">⧉</span>
                </button>
              </li>

              <li style={{ overflowWrap: 'anywhere', wordBreak: 'break-word' }} data-guide-display-scope="MERCHANT_PROFILE_READ">
                <button type="button" className="connector-guide-scope-copy" aria-label="Copy MERCHANT_PROFILE_READ" title="Copy scope" data-copy="MERCHANT_PROFILE_READ">
                  <span className="connector-guide-scope-copy__label">MERCHANT\_PROFILE\_READ</span>
                  <span className="connector-guide-scope-copy__icon" aria-hidden="true">⧉</span>
                </button>
              </li>

              <li style={{ overflowWrap: 'anywhere', wordBreak: 'break-word' }} data-guide-display-scope="MERCHANT_PROFILE_WRITE">
                <button type="button" className="connector-guide-scope-copy" aria-label="Copy MERCHANT_PROFILE_WRITE" title="Copy scope" data-copy="MERCHANT_PROFILE_WRITE">
                  <span className="connector-guide-scope-copy__label">MERCHANT\_PROFILE\_WRITE</span>
                  <span className="connector-guide-scope-copy__icon" aria-hidden="true">⧉</span>
                </button>
              </li>

              <li style={{ overflowWrap: 'anywhere', wordBreak: 'break-word' }} data-guide-display-scope="INVOICES_READ">
                <button type="button" className="connector-guide-scope-copy" aria-label="Copy INVOICES_READ" title="Copy scope" data-copy="INVOICES_READ">
                  <span className="connector-guide-scope-copy__label">INVOICES\_READ</span>
                  <span className="connector-guide-scope-copy__icon" aria-hidden="true">⧉</span>
                </button>
              </li>

              <li style={{ overflowWrap: 'anywhere', wordBreak: 'break-word' }} data-guide-display-scope="INVOICES_WRITE">
                <button type="button" className="connector-guide-scope-copy" aria-label="Copy INVOICES_WRITE" title="Copy scope" data-copy="INVOICES_WRITE">
                  <span className="connector-guide-scope-copy__label">INVOICES\_WRITE</span>
                  <span className="connector-guide-scope-copy__icon" aria-hidden="true">⧉</span>
                </button>
              </li>

              <li style={{ overflowWrap: 'anywhere', wordBreak: 'break-word' }} data-guide-display-scope="SUBSCRIPTIONS_READ">
                <button type="button" className="connector-guide-scope-copy" aria-label="Copy SUBSCRIPTIONS_READ" title="Copy scope" data-copy="SUBSCRIPTIONS_READ">
                  <span className="connector-guide-scope-copy__label">SUBSCRIPTIONS\_READ</span>
                  <span className="connector-guide-scope-copy__icon" aria-hidden="true">⧉</span>
                </button>
              </li>

              <li style={{ overflowWrap: 'anywhere', wordBreak: 'break-word' }} data-guide-display-scope="SUBSCRIPTIONS_WRITE">
                <button type="button" className="connector-guide-scope-copy" aria-label="Copy SUBSCRIPTIONS_WRITE" title="Copy scope" data-copy="SUBSCRIPTIONS_WRITE">
                  <span className="connector-guide-scope-copy__label">SUBSCRIPTIONS\_WRITE</span>
                  <span className="connector-guide-scope-copy__icon" aria-hidden="true">⧉</span>
                </button>
              </li>

              <li style={{ overflowWrap: 'anywhere', wordBreak: 'break-word' }} data-guide-display-scope="GIFTCARDS_READ">
                <button type="button" className="connector-guide-scope-copy" aria-label="Copy GIFTCARDS_READ" title="Copy scope" data-copy="GIFTCARDS_READ">
                  <span className="connector-guide-scope-copy__label">GIFTCARDS\_READ</span>
                  <span className="connector-guide-scope-copy__icon" aria-hidden="true">⧉</span>
                </button>
              </li>

              <li style={{ overflowWrap: 'anywhere', wordBreak: 'break-word' }} data-guide-display-scope="GIFTCARDS_WRITE">
                <button type="button" className="connector-guide-scope-copy" aria-label="Copy GIFTCARDS_WRITE" title="Copy scope" data-copy="GIFTCARDS_WRITE">
                  <span className="connector-guide-scope-copy__label">GIFTCARDS\_WRITE</span>
                  <span className="connector-guide-scope-copy__icon" aria-hidden="true">⧉</span>
                </button>
              </li>

              <li style={{ overflowWrap: 'anywhere', wordBreak: 'break-word' }} data-guide-display-scope="LOYALTY_READ">
                <button type="button" className="connector-guide-scope-copy" aria-label="Copy LOYALTY_READ" title="Copy scope" data-copy="LOYALTY_READ">
                  <span className="connector-guide-scope-copy__label">LOYALTY\_READ</span>
                  <span className="connector-guide-scope-copy__icon" aria-hidden="true">⧉</span>
                </button>
              </li>

              <li style={{ overflowWrap: 'anywhere', wordBreak: 'break-word' }} data-guide-display-scope="LOYALTY_WRITE">
                <button type="button" className="connector-guide-scope-copy" aria-label="Copy LOYALTY_WRITE" title="Copy scope" data-copy="LOYALTY_WRITE">
                  <span className="connector-guide-scope-copy__label">LOYALTY\_WRITE</span>
                  <span className="connector-guide-scope-copy__icon" aria-hidden="true">⧉</span>
                </button>
              </li>

              <li style={{ overflowWrap: 'anywhere', wordBreak: 'break-word' }} data-guide-display-scope="EMPLOYEES_READ">
                <button type="button" className="connector-guide-scope-copy" aria-label="Copy EMPLOYEES_READ" title="Copy scope" data-copy="EMPLOYEES_READ">
                  <span className="connector-guide-scope-copy__label">EMPLOYEES\_READ</span>
                  <span className="connector-guide-scope-copy__icon" aria-hidden="true">⧉</span>
                </button>
              </li>

              <li style={{ overflowWrap: 'anywhere', wordBreak: 'break-word' }} data-guide-display-scope="EMPLOYEES_WRITE">
                <button type="button" className="connector-guide-scope-copy" aria-label="Copy EMPLOYEES_WRITE" title="Copy scope" data-copy="EMPLOYEES_WRITE">
                  <span className="connector-guide-scope-copy__label">EMPLOYEES\_WRITE</span>
                  <span className="connector-guide-scope-copy__icon" aria-hidden="true">⧉</span>
                </button>
              </li>

              <li style={{ overflowWrap: 'anywhere', wordBreak: 'break-word' }} data-guide-display-scope="TIMECARDS_READ">
                <button type="button" className="connector-guide-scope-copy" aria-label="Copy TIMECARDS_READ" title="Copy scope" data-copy="TIMECARDS_READ">
                  <span className="connector-guide-scope-copy__label">TIMECARDS\_READ</span>
                  <span className="connector-guide-scope-copy__icon" aria-hidden="true">⧉</span>
                </button>
              </li>

              <li style={{ overflowWrap: 'anywhere', wordBreak: 'break-word' }} data-guide-display-scope="TIMECARDS_WRITE">
                <button type="button" className="connector-guide-scope-copy" aria-label="Copy TIMECARDS_WRITE" title="Copy scope" data-copy="TIMECARDS_WRITE">
                  <span className="connector-guide-scope-copy__label">TIMECARDS\_WRITE</span>
                  <span className="connector-guide-scope-copy__icon" aria-hidden="true">⧉</span>
                </button>
              </li>

              <li style={{ overflowWrap: 'anywhere', wordBreak: 'break-word' }} data-guide-display-scope="TIMECARDS_SETTINGS_READ">
                <button type="button" className="connector-guide-scope-copy" aria-label="Copy TIMECARDS_SETTINGS_READ" title="Copy scope" data-copy="TIMECARDS_SETTINGS_READ">
                  <span className="connector-guide-scope-copy__label">TIMECARDS\_SETTINGS\_READ</span>
                  <span className="connector-guide-scope-copy__icon" aria-hidden="true">⧉</span>
                </button>
              </li>

              <li style={{ overflowWrap: 'anywhere', wordBreak: 'break-word' }} data-guide-display-scope="TIMECARDS_SETTINGS_WRITE">
                <button type="button" className="connector-guide-scope-copy" aria-label="Copy TIMECARDS_SETTINGS_WRITE" title="Copy scope" data-copy="TIMECARDS_SETTINGS_WRITE">
                  <span className="connector-guide-scope-copy__label">TIMECARDS\_SETTINGS\_WRITE</span>
                  <span className="connector-guide-scope-copy__icon" aria-hidden="true">⧉</span>
                </button>
              </li>

              <li style={{ overflowWrap: 'anywhere', wordBreak: 'break-word' }} data-guide-display-scope="DISPUTES_READ">
                <button type="button" className="connector-guide-scope-copy" aria-label="Copy DISPUTES_READ" title="Copy scope" data-copy="DISPUTES_READ">
                  <span className="connector-guide-scope-copy__label">DISPUTES\_READ</span>
                  <span className="connector-guide-scope-copy__icon" aria-hidden="true">⧉</span>
                </button>
              </li>

              <li style={{ overflowWrap: 'anywhere', wordBreak: 'break-word' }} data-guide-display-scope="DISPUTES_WRITE">
                <button type="button" className="connector-guide-scope-copy" aria-label="Copy DISPUTES_WRITE" title="Copy scope" data-copy="DISPUTES_WRITE">
                  <span className="connector-guide-scope-copy__label">DISPUTES\_WRITE</span>
                  <span className="connector-guide-scope-copy__icon" aria-hidden="true">⧉</span>
                </button>
              </li>

              <li style={{ overflowWrap: 'anywhere', wordBreak: 'break-word' }} data-guide-display-scope="BANK_ACCOUNTS_READ">
                <button type="button" className="connector-guide-scope-copy" aria-label="Copy BANK_ACCOUNTS_READ" title="Copy scope" data-copy="BANK_ACCOUNTS_READ">
                  <span className="connector-guide-scope-copy__label">BANK\_ACCOUNTS\_READ</span>
                  <span className="connector-guide-scope-copy__icon" aria-hidden="true">⧉</span>
                </button>
              </li>

              <li style={{ overflowWrap: 'anywhere', wordBreak: 'break-word' }} data-guide-display-scope="PAYOUTS_READ">
                <button type="button" className="connector-guide-scope-copy" aria-label="Copy PAYOUTS_READ" title="Copy scope" data-copy="PAYOUTS_READ">
                  <span className="connector-guide-scope-copy__label">PAYOUTS\_READ</span>
                  <span className="connector-guide-scope-copy__icon" aria-hidden="true">⧉</span>
                </button>
              </li>
            </ul>
          </div>
        </div>
      </div>
    </Step>
  </Steps>
</section>

<section data-guide-section data-guide-scopes="">
  <h2>Copy Production Credentials</h2>

  <p>Retrieve your Production Application ID and Application Secret for connecting to the Production environment.</p>

  <Steps>
    <Step title="Switch to Production environment">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>In your application, use the environment toggle at the top of the page to select <strong>Production</strong>.</p>
      </div>
    </Step>

    <Step title="Navigate to the Credentials tab">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Click the <strong>Credentials</strong> tab in your application settings.</p>

        <ul>
          <li>Copy the <strong>Application ID</strong> — it starts with `sq0idp-`. This is your Production Client ID.</li>
          <li>Click <strong>Show</strong> next to <strong>Application Secret</strong> and copy it — it starts with `sq0csp-`. This is your Production Client Secret.</li>
          <li>Store both values securely for use later.</li>
        </ul>
      </div>
    </Step>
  </Steps>
</section>

<section data-guide-section data-guide-scopes="">
  <h2>Copy Sandbox Credentials</h2>

  <p>Retrieve your Sandbox Application ID and Application Secret for connecting to the Sandbox environment.</p>

  <Steps>
    <Step title="Switch to Sandbox environment">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>In your application, use the environment toggle at the top of the page to select <strong>Sandbox</strong>.</p>
      </div>
    </Step>

    <Step title="Navigate to the Credentials tab">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Click the <strong>Credentials</strong> tab in your application settings.</p>

        <ul>
          <li>Copy the <strong>Sandbox Application ID</strong> — it starts with `sandbox-sq0idb-`. This is your Sandbox Client ID.</li>
          <li>Click <strong>Show</strong> next to <strong>Sandbox Application Secret</strong> and copy it — it starts with `sandbox-sq0csp-`. This is your Sandbox Client Secret.</li>
          <li>Store both values securely for use later.</li>
        </ul>
      </div>
    </Step>
  </Steps>
</section>

## Creating the StackOne Connector Profile

To create the Connector Profile in StackOne for <strong>Square</strong>:

<Steps>
  <Step title="Navigate to Connector Profiles">
    Login to StackOne and navigate to [Connector Profiles](https://app.stackone.com/connector_profiles)
  </Step>

  <Step title="Create New Connector Profile">
    <ul>
      <li>Click <strong>+ Connector Profile</strong></li>
      <li>Search for and select <strong>Square</strong></li>
      <li>Select <strong>Type</strong> as <strong>OAuth 2.0</strong></li>

      <li>
        Fill out the fields using details retrieved from your provider:

        <ul style={{ marginLeft: '20px' }}>
          <li><strong>Application ID</strong></li>
          <li><strong>Application Secret</strong></li>
          <li><strong>Scopes</strong> (Optional)</li>
        </ul>
      </li>

      <li>(Optional) Select <strong>Actions</strong> to be enabled for this Connector Profile</li>
      <li>Click <strong>Create profile</strong></li>
    </ul>
  </Step>
</Steps>

Congratulations! The new Connector Profile will now show up in your project ready to be used. You can now continue to <a href="/guides/accounts-section#linking-accounts">Link Accounts</a> for <strong>Square</strong>.
