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
Key | Datatype | Required | Description |
---|---|---|---|
xero-tenant-id | string | (Required) Xero identifier for Tenant | |
Content-Type | string |
RESPONSES
status: OK
{"Id":"918feecb-067a-4ed9-841b-571c04eaada3","Status":"OK","ProviderName":"Xero API Partner","DateTimeUTC":"/Date(1551139338915)/","PaymentServices":[{"PaymentServiceID":"00000000-0000-0000-0000-000000000000","PaymentServiceName":"ACME Payments","PaymentServiceUrl":"https://www.payupnow.com/","PaymentServiceType":"Custom","PayNowText":"Pay Now"}]}