Fraser Mayfield Posted March 15, 2023 Share Posted March 15, 2023 We currently create new sales invoice transactions via the API and email a copy of the invoice to the client via our application. We would like to be able to embed a link within the email we send that allows the recipient to make payment via Sage using the Stripe payment service. Is there a way to get the URL to use to include as part of our email? Link to comment Share on other sites More sharing options...
Steel, Mark Posted March 16, 2023 Share Posted March 16, 2023 Hi Fraser, Thank you for your question. If the business is associated with a Stripe account you should see the payment link in the sales_invoice response body as per the below response. "href": "https://accounts-extra.sageone.com/advanced_uk/online_payment/. "links": [ { "href": "https://accounts-extra.sageone.com/invoicing/sales_invoices/43e95187a15b47bcbc5872549ed69078", "rel": "alternate", "type": "text/html" }, { "href": "https://accounts-extra.sageone.com/advanced_uk/online_payment/gba25967de2129e9d659ca7c3e01efa563dd4dae73158332757a2ba89d9563588f65f9df632a42d56b87213cf9d6a579532a825c5b8639f72a9c184127456f3503ad4a6a3b8229086df787cfc253a513369c3201940365ea9385f4e3c28e", "rel": "bookmark", "type": "text/html" } ], Thanks Mark Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now