Xero - beautiful accounting software

Xero Developer Help Center

Xero Developer Community

Community > API Endpoints >

Removing payment service from branding theme through API

Started by Commercial Solutions -   in API Endpoints

I saw that using the API for branding themes you can apply a custom payment service to it and I was able to successfully use it, but I couldn't find a way to unapply(i.e. delete) that custom payment service once it has been applied.

I've tried to send null, empty list, a list with a service having null id to this endpoint: POST https://api.xero.com/api.xro/2.0/BrandingThemes/{BrandingThemeID}/PaymentServices, but nothing worked.
I there a way to accomplish this through API, i.e. remove the custom payment service from a branding theme?

ref:https://developer.xero.com/documentation/api/branding-themes

Thank you!
I gave up, it seems it is not possible.
 

Commercial Solutions