Refunding Credit Balances
From API Documentation
Refunds issue money back to customers.
To refund money from a customer's credit balance, the following happens:
- A refund is issue
- Funds (money) is given to the customer
- The customer's credit balance is lowered by the amount of the refund
To refund all or part of a customer's credit balance, you issue one API call, by
- Creating a Refund object
- Specify the Account Id of the customer
- Specify the amount you wish to refund
- Set the SourceType to CreditBalance
This can be done in a single SOAP call.
Sample SOAP
<ns1:create xmlns:ns1="http://api.zuora.com/"> <ns1:zObjects xmlns:ns2="http://object.api.zuora.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns2:Refund"> <ns2:AccountId>402892c72b9e3319012b9e34b88e0001</ns2:AccountId> <ns2:Amount>10</ns2:Amount> <ns2:SourceType>CreditBalance</ns2:SourceType> <ns2:Type>External</ns2:Type> </ns1:zObjects> </ns1:create>
