Allow for the creation of new custom payment service for specified Branding Theme

POST {{baseUrl}}/BrandingThemes/:BrandingThemeID/PaymentServices

Request Body

{"PaymentServiceID"=>"<uuid>", "PaymentServiceName"=>"<string>", "PaymentServiceUrl"=>"<string>", "PayNowText"=>"<string>", "PaymentServiceType"=>"<string>", "ValidationErrors"=>[{"Message"=>"<string>"}, {"Message"=>"<string>"}]}

HEADERS

KeyDatatypeRequiredDescription
xero-tenant-idstring(Required) Xero identifier for Tenant
Content-Typestring

RESPONSES

status: OK

{&quot;Id&quot;:&quot;918feecb-067a-4ed9-841b-571c04eaada3&quot;,&quot;Status&quot;:&quot;OK&quot;,&quot;ProviderName&quot;:&quot;Xero API Partner&quot;,&quot;DateTimeUTC&quot;:&quot;/Date(1551139338915)/&quot;,&quot;PaymentServices&quot;:[{&quot;PaymentServiceID&quot;:&quot;00000000-0000-0000-0000-000000000000&quot;,&quot;PaymentServiceName&quot;:&quot;ACME Payments&quot;,&quot;PaymentServiceUrl&quot;:&quot;https://www.payupnow.com/&quot;,&quot;PaymentServiceType&quot;:&quot;Custom&quot;,&quot;PayNowText&quot;:&quot;Pay Now&quot;}]}