This project is read-only.
0

Closed

Support payment.update

description

http://developers.freshbooks.com/docs/payments/
 
 
payment.update
 
Update an existing payment. All fields besides payment_id are optional – unpassed fields will retain their existing value.
Note that ‘currency_code’ can only be provided when updating a credit, not a regular payment. Regular payments will default to the currency code of the invoice they are being made against.
 
Request
 
view plaincopy to clipboardprint?
 
  • <?xml version="1.0" encoding="utf-8"?> 
  • <request method="payment.update"> 
  •   <payment> 
  •     <payment_id>103</payment_id> 
  •     <amount>0.00</amount> 
  •     <notes>Payment refunded.</notes> 
  •     <currency_code>CAD</currency_code> 
  •   </payment> 
  • </request> 
     
    Response
     
    view plaincopy to clipboardprint?
     
  • <?xml version="1.0" encoding="utf-8"?> 
  • <response status="ok"/>
Closed Jul 23, 2012 at 6:18 PM by stemarie

comments

wrote Jul 23, 2012 at 6:18 PM

Resolved with changeset 94086.

wrote Feb 1, 2013 at 12:24 AM

wrote May 13, 2013 at 7:24 PM

wrote Nov 27 at 7:32 PM