Failed invoice payments now return an HTTP errorBreaking changes
What’s new
Updates the Pay invoice call to return an error when the charge isn’t successful. Previously, the API would return a 200 status and set the invoice’s paid property to false.
Impact
The Pay invoice call now returns an error for unsuccessful charges, improving error handling and consistency.