Title: Square Refund Failed: Invalid API Method
Last modified: February 1, 2023

---

# Square Refund Failed: Invalid API Method

 *  Resolved [judah75](https://wordpress.org/support/users/judah75/)
 * (@judah75)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/square-refund-failed-invalid-api-method/)
 * A client texted this morning about a failed refund. The message was “Square Refund
   Failed: Invalid API Method.” Can’t find anything about this and I am hoping someone
   can help figure out what the problem is and how to fix it.
 * Thank you,
 * Judah
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fsquare-refund-failed-invalid-api-method%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Igor H](https://wordpress.org/support/users/ihereira/)
 * (@ihereira)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/square-refund-failed-invalid-api-method/#post-16430967)
 * Hello,
 * I understand you are receiving this message: `Square Refund Failed: Invalid API
   Method` When processing a refund.
 * As a first step, please share a copy of your site’s **_System Status Report_**:
   You can get it via **_WooCommerce > Status_**. Select “Get system report” and
   then “Copy for support”. 
 * Looking forward to hearing from you.
 *  Thread Starter [judah75](https://wordpress.org/support/users/judah75/)
 * (@judah75)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/square-refund-failed-invalid-api-method/#post-16433835)
 * Thank you Igor,
 * Here it is:
 *     ```wp-block-code
       WordPress Environment
   
       WordPress address (URL): https://waywestwellness.com
       Site address (URL): https://waywestwellness.com
       WC Version: 7.3.0
       REST API Version: ✔</img> 7.3.0
       WC Blocks Version: ✔</img> 9.1.5
       Action Scheduler Version: ✔</img> 3.4.0
       Log Directory Writable: ✔</img>
       WP Version: 6.1.1
       WP Multisite: –
       WP Memory Limit: 768 MB
       WP Debug Mode: –
       WP Cron: ✔</img>
       Language: en_US
       External object cache: –
   
       Server Environment
   
       Server Info: Apache
       PHP Version: 7.4.33
       PHP Post Max Size: 256 MB
       PHP Time Limit: 120
       PHP Max Input Vars: 3000
       cURL Version: 7.66.0
       OpenSSL/1.1.1q-fips
   
       SUHOSIN Installed: –
       MySQL Version: 5.7.39-42-log
       Max Upload Size: 256 MB
       Default Timezone is UTC: ✔</img>
       fsockopen/cURL: ✔</img>
       SoapClient: ✔</img>
       DOMDocument: ✔</img>
       GZip: ✔</img>
       Multibyte String: ✔</img>
       Remote Post: ✔</img>
       Remote Get: ✔</img>
   
       Database
   
       WC Database Version: 7.3.0
       WC Database Prefix: lcm_
       Total Database Size: 73.34MB
       Database Data Size: 65.37MB
       Database Index Size: 7.97MB
       lcm_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       lcm_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
       lcm_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       lcm_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
       lcm_woocommerce_order_items: Data: 0.06MB + Index: 0.02MB + Engine InnoDB
       lcm_woocommerce_order_itemmeta: Data: 0.39MB + Index: 0.30MB + Engine InnoDB
       lcm_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
       lcm_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
       lcm_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       lcm_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
       lcm_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       lcm_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       lcm_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
       lcm_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       lcm_actionscheduler_actions: Data: 0.34MB + Index: 0.53MB + Engine InnoDB
       lcm_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       lcm_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       lcm_actionscheduler_logs: Data: 0.27MB + Index: 0.23MB + Engine InnoDB
       lcm_bv_ip_store: Data: 0.20MB + Index: 0.17MB + Engine InnoDB
       lcm_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
       lcm_comments: Data: 0.39MB + Index: 0.38MB + Engine InnoDB
       lcm_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       lcm_e_notes: Data: 0.02MB + Index: 0.17MB + Engine InnoDB
       lcm_e_notes_users_relations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
       lcm_e_submissions: Data: 0.06MB + Index: 0.27MB + Engine InnoDB
       lcm_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
       lcm_e_submissions_values: Data: 0.08MB + Index: 0.03MB + Engine InnoDB
       lcm_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       lcm_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       lcm_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       lcm_options: Data: 5.03MB + Index: 0.14MB + Engine InnoDB
       lcm_postmeta: Data: 35.47MB + Index: 3.94MB + Engine InnoDB
       lcm_posts: Data: 20.47MB + Index: 0.33MB + Engine InnoDB
       lcm_sbi_feeds: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       lcm_sbi_feed_caches: Data: 0.08MB + Index: 0.02MB + Engine InnoDB
       lcm_sbi_instagram_feeds_posts: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
       lcm_sbi_instagram_feed_locator: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
       lcm_sbi_instagram_posts: Data: 0.11MB + Index: 0.00MB + Engine InnoDB
       lcm_sbi_sources: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
       lcm_sgs_log_events: Data: 1.02MB + Index: 0.00MB + Engine InnoDB
       lcm_sgs_log_visitors: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
       lcm_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
       lcm_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
       lcm_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       lcm_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
       lcm_usermeta: Data: 0.19MB + Index: 0.14MB + Engine InnoDB
       lcm_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
       lcm_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
       lcm_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
       lcm_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       lcm_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
       lcm_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
       lcm_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
       lcm_wc_order_product_lookup: Data: 0.06MB + Index: 0.06MB + Engine InnoDB
       lcm_wc_order_stats: Data: 0.05MB + Index: 0.05MB + Engine InnoDB
       lcm_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
       lcm_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       lcm_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       lcm_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
       lcm_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       lcm_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       lcm_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       lcm_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       lcm_woocommerce_square_customers: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
       lcm_wpstg_queue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
   
       Post Type Counts
   
       attachment: 171
       elementor_library: 31
       elementor_snippet: 1
       epkb_post_type_1: 90
       nav_menu_item: 18
       page: 21
       post: 10
       product: 8
       product_variation: 13
       recipe: 15
       revision: 1144
       shop_coupon: 15
       shop_order: 268
       shop_order_refund: 4
       wp_global_styles: 1
   
       Security
   
       Secure connection (HTTPS): ✔</img>
       Hide errors from visitors: ✔</img>
   
       Active Plugins (23)
   
       Autoship Cloud powered by QPilot: by Patterns In the Cloud LLC – 2.3.9
       Delicious Recipes: by WP Delicious – 1.4.9
       Duplicate Page: by mndpsingh287 – 4.5
       Knowledge Base for Documents and FAQs: by Echo Plugins – 9.20.0
       Elementor Pro: by Elementor.com – 3.10.3
       Elementor: by Elementor.com – 3.10.2
       Facebook for WooCommerce: by Facebook – 3.0.9
       Import and export users and customers: by codection – 1.21.4
       Smash Balloon Instagram Feed: by Smash Balloon – 6.1.1
       Jetpack: by Automattic – 11.7.1
       Klaviyo: by Klaviyo
       Inc. – 3.0.7
   
       SiteGround Optimizer: by SiteGround – 7.3.0
       SiteGround Security: by SiteGround – 1.4.0
       UpdraftPlus - Backup/Restore: by UpdraftPlus.Com
       DavidAnderson – 1.22.24
   
       Multi-Carrier Shippo Shipping Rates & Address Validation for WooCommerce: by OneTeamSoftware – 1.5.8
       Ajax add to cart for WooCommerce: by QuadLayers – 1.3.9
       WooCommerce Manual Payment: by bfl – 2.6.12
       WooCommerce Shipping & Tax: by WooCommerce – 2.2.1
       WooCommerce Square: by WooCommerce – 3.5.0
       WooCommerce: by Automattic – 7.3.0
       WordPress Importer: by wordpressdotorg – 0.8
       WP Global Site Tag: by Digital Apps – 1.0.6
       WPC Variations Radio Buttons for WooCommerce: by WPClever – 3.2.4
   
       Inactive Plugins (4)
   
       Backup Duplicator & Migration - WP STAGING: by WP-STAGING
       WPStagingBackup – 2.12.0
   
       Mailchimp for WooCommerce: by Mailchimp – 2.7.6
       Phone Orders for WooCommerce: by AlgolPlus – 3.8.0
       Yoast Duplicate Post: by Enrico Battocchi & Team Yoast – 4.5
   
       Settings
   
       API Enabled: –
       Force SSL: –
       Currency: USD ($)
       Currency Position: left
       Thousand Separator: ,
       Decimal Separator: .
       Number of Decimals: 2
       Taxonomies: Product Types: external (external)
       grouped (grouped)
       simple (simple)
       variable (variable)
   
       Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
       exclude-from-search (exclude-from-search)
       featured (featured)
       outofstock (outofstock)
       rated-1 (rated-1)
       rated-2 (rated-2)
       rated-3 (rated-3)
       rated-4 (rated-4)
       rated-5 (rated-5)
   
       Connected to WooCommerce.com: ✔</img>
       Enforce Approved Product Download Directories: –
       Order datastore: WC_Order_Data_Store_CPT
   
       WC Pages
   
       Shop base: #134 - /shop/
       Cart: #135 - /cart/
       Checkout: #136 - /checkout/
       My account: #137 - /my-account/
       Terms and conditions: ❌</img> Page not set
   
       Theme
   
       Name: Way West
       Version: 1.0
       Author URL: https://webgenius.io/
       Child Theme: ✔</img>
       Parent Theme Name: Hello Elementor
       Parent Theme Version: 2.6.1
       Parent Theme Author URL: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
       WooCommerce Support: ✔</img>
   
       Templates
   
       Overrides: wwh-child/woocommerce/single-product/rating.php
   
       Square
   
       Environment: Production
       Tokenization Enabled:
       Debug Mode: Off
   
       Admin
   
       Enabled Features: activity-panels
       analytics
       coupons
       customer-effort-score-tracks
       experimental-products-task
       experimental-import-products-task
       experimental-fashion-sample-products
       shipping-smart-defaults
       shipping-setting-tour
       homescreen
       marketing
       multichannel-marketing
       mobile-app-banner
       navigation
       onboarding
       onboarding-tasks
       remote-inbox-notifications
       remote-free-extensions
       payment-gateway-suggestions
       shipping-label-banner
       subscriptions
       store-alerts
       transient-notices
       woo-mobile-welcome
       wc-pay-promotion
       wc-pay-welcome-page
   
       Disabled Features: minified-js
       new-product-management-experience
       settings
   
       Daily Cron: ✔</img> Next scheduled: 2023-02-02 15:21:47 -05:00
       Options: ✔</img>
       Notes: 115
       Onboarding: completed
   
       Action Scheduler
   
       Complete: 1,007
       Oldest: 2023-01-02 10:14:14 -0500
       Newest: 2023-02-02 09:00:31 -0500
   
       Pending: 3
       Oldest: 2023-02-02 11:54:30 -0500
       Newest: 2023-02-04 06:55:23 -0500
   
       Status report information
   
       Generated at: 2023-02-02 09:44:18 -05:00
       `
       ```
   
 *  [Igor H](https://wordpress.org/support/users/ihereira/)
 * (@ihereira)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/square-refund-failed-invalid-api-method/#post-16434088)
 * Hello,
 * Thanks for sending the system status report.
 * I understand you are receiving a `Square Refund Failed: Invalid API method` when
   processing a refund.
 * I am wondering if the plugin “_Autoship Cloud_” is related to this, or if it 
   is able to work with the Square API, can you please temporarily disable this 
   plugin on your site, create a test order, and then try to process the refund?
 * If the refund goes through, I’d recommend to reach out to the Autoship Cloud 
   plugin support, they can provide you with more information.
 * In the meantime, if your customer is not able to wait, or if it is an urgent 
   request, you can manually process the original refund from your Square account
   dashboard and then make sure to change the order status to “Refunded”.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Square Refund Failed: Invalid API Method’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-square/assets/icon-256x256.png?rev=3234354)
 * [WooCommerce Square](https://wordpress.org/plugins/woocommerce-square/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-square/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-square/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-square/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-square/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-square/reviews/)

## Tags

 * [api](https://wordpress.org/support/topic-tag/api/)
 * [Failed](https://wordpress.org/support/topic-tag/failed/)
 * [invalid](https://wordpress.org/support/topic-tag/invalid/)

 * 3 replies
 * 2 participants
 * Last reply from: [Igor H](https://wordpress.org/support/users/ihereira/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/square-refund-failed-invalid-api-method/#post-16434088)
 * Status: resolved