Jump to content

Webhooks - sending payment when marked paid in Sage


 Share

Recommended Posts

Hi Carl, thanks for your question.

There are currently no webhooks exposed for Sage Business Cloud Accounting.

You would need to filter a GET request using the updated_or_created_since parameter. 

You can call either the sales_invoices API
sales_invoices?updated_or_created_since=2022-03-29T00:00:00Z

Or, if you require additional information about the allocation, the contact_payments API and include the allocated_artefacts 
contact_payments?updated_or_created_since=2022-03-29T00:00:00Z&attributes=allocated_artefacts

Thanks

Mark

  • Like 1
Link to comment
Share on other sites

Posted (edited)
On 3/29/2022 at 4:25 PM, Steel, Mark said:

Hi Carl, thanks for your question.

You can call either the sales_invoices API
sales_invoices?updated_or_created_since=2022-03-29T00:00:00Z

Or, if you require additional information about the allocation, the contact_payments API and include the allocated_artefacts 
contact_payments?updated_or_created_since=2022-03-29T00:00:00Z&attributes=allocated_artefacts

Thanks

Mark

Please ignore, by changing attributes=all returns all the information I need!

Regards
Carl.

Edited by Carl Ogden
  • Like 1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...