Title: Refund API &amp; VOID API USage
Last modified: March 21, 2025

---

# Refund API & VOID API USage

 *  Resolved [sailioaie](https://wordpress.org/support/users/sailioaie/)
 * (@sailioaie)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/refund-api-void-api-usage/)
 * We are selling show tickets with immediate delivery and sometimes the clients
   call back straight away to request a cancellation.
 * We do this from WooCommerce as the Braintree Refund is linked to an API Cancellation
   to the show owner.
 * Braintree settles transactions in batches so it could take a few minutes to 1-
   2 hours from status to change from Submitted for Settlement to Settling or Settled.
 * At the moment, we cannot refund a ticket immediately, because the status can 
   remain Submitted for Settlement up to 2 hours.
 * Braintree’s Refund API requires the status be either Settling or Settled.
   [https://developer.paypal.com/braintree/docs/reference/request/transaction/refund/ruby](https://developer.paypal.com/braintree/docs/reference/request/transaction/refund/ruby)
 * It would be great if the plugin would also work with the VOID API and if the 
   status is Submitted for Settlement and we want a refund, for us to VOID the transaction
   instead of waiting for it to be settled so that we can then refund it.
 * Void API can be used if status is still in Submitted for Settlement state.
   [https://developer.paypal.com/braintree/docs/reference/request/transaction/void/ruby](https://developer.paypal.com/braintree/docs/reference/request/transaction/void/ruby)
 * Does the plugin know how to do this or the only refund it does is using the Refund
   API only when the status is Settling or Settled instead of Submitted for Settlement?

Viewing 1 replies (of 1 total)

 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/refund-api-void-api-usage/#post-18375036)
 * Hi [@sailioaie](https://wordpress.org/support/users/sailioaie/)
 * This Braintree plugin already supports the ability to void a transaction that
   is not settled yet. If you click the information icon on the order details page,
   where it says `Transaction Data / Actions` you will see the void transaction 
   button.
 * Kind Regards

Viewing 1 replies (of 1 total)

The topic ‘Refund API & VOID API USage’ is closed to new replies.

 * ![](https://ps.w.org/woo-payment-gateway/assets/icon-256x256.png?rev=2142799)
 * [Payment Plugins Braintree For WooCommerce](https://wordpress.org/plugins/woo-payment-gateway/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-payment-gateway/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-payment-gateway/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-payment-gateway/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-payment-gateway/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-payment-gateway/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * Last activity: [1 year, 2 months ago](https://wordpress.org/support/topic/refund-api-void-api-usage/#post-18375036)
 * Status: resolved