0

Closed

Support payment.get

description

http://developers.freshbooks.com/docs/payments/
 
payment.get
 
Retrieve payment details according to payment_id.
 
Request
 
view plaincopy to clipboardprint?
 
  • <?xml version="1.0" encoding="utf-8"?> 
  • <request method="payment.get"> 
  •   <payment_id>322</payment_id> 
  • </request> 
     
    Response
     
    view plaincopy to clipboardprint?
     
  • <?xml version="1.0" encoding="utf-8"?> 
  • <response xmlns="http://www.freshbooks.com/api/" status="ok"> 
  •   <payment> 
  •     <payment_id>109</payment_id> 
  •     <client_id>13</client_id> 
  •     <invoice_id>207</invoice_id> 
  •     <date>2007-05-30 00:00:00</date> 
  •     <amount>129.88</amount> 
  •     <currency_code>CAD</currency_code> <!-- Only returned for credits --> 
  •     <type>VISA</type> 
  •     <notes>Prompt payment!</notes> 
  •     <updated>2009-08-12 09:00:00</updated> <!-- (Read-only) --> 
  •     <gateway_transaction> <!-- (Read-only) --> <!-- Only returned for online payments --> 
  •         <reference_id>2156858189</reference_id> 
  •         <gateway_name>Authorize.Net</gateway_name> 
  •     </gateway_transaction> 
  •   </payment> 
  • </response>
Closed Jul 23, 2012 at 5:18 PM by stemarie

comments

wrote Jul 23, 2012 at 5:18 PM

Resolved with changeset 94086.

wrote Jan 31, 2013 at 11:24 PM

wrote May 13, 2013 at 6:24 PM