Refund payment

Refund a payment that has previously been captured.

Path Params
string
required

Original transaction id to refund.

Body Params
integer
required

Amount is charged without a decimal place e.g. $1.5 = 150. Currencies can have different decimals/exponentials, see Currencies Section for more details. For Account Verification transactions, provide 0 as value for this field.

string

The reason of the refund.

string
enum
Defaults to TAX_NOT_PROVIDED

This field indicates the taxable status of the transaction (if any of the purchased items are taxable). This field is part of so-called Level 2 data. If the value TAX_PROVIDED is sent, tax_amount should also be provided

Allowed:
detailed_amount
object

A structure that represents a breakdown all of the different amounts that may appear on a single transaction.

string

A code defined by the merchant that affects the calculation of the total amount.

Headers
uuid
Responses

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json

Terms and conditions Website requirements Other fees and charges

This information is a general statement for information purposes only and should only be used as a guide. While all care has been taken in preparation of this document, no member of the Westpac Group, nor any of their employees or directors gives any warranty of accuracy or reliability nor accepts any liability in any other way, including by reason of negligence for any errors or omissions contained herein, to the extent permitted by law. Unless otherwise specified, the products and services described are available only in Australia.

Visa is a registered trademark of Visa International Service Association. Mastercard® is a registered trademark of Mastercard International Incorporated. American Express® is a registered trademark of American Express. UnionPay is a trademark of UnionPay International Co. Ltd.
Apple, the Apple logo, Apple Pay, Apple Watch and iPhone are trademarks of Apple Inc., registered in the U.S. and other countries. App Store is a service mark of Apple Inc. Google Pay™ is a trademark of Google LLC.
Bluetooth® is a registered trademark owned by Bluetooth SIG, Inc. and use of the mark by Westpac is under license.

© Westpac Banking Corporation ABN 33 007 457 141 AFSL and Australian credit licence 233714.