Allows you to create payment services
PUT {{baseUrl}}/PaymentServices
Request Body
{"PaymentServices"=>[{"PaymentServiceID"=>"<uuid>", "PaymentServiceName"=>"<string>", "PaymentServiceUrl"=>"<string>", "PayNowText"=>"<string>", "PaymentServiceType"=>"<string>", "ValidationErrors"=>[{"Message"=>"<string>"}, {"Message"=>"<string>"}]}, {"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":"7ed8b3c0-2155-49ee-a583-f2dce6607dfb","Status":"OK","ProviderName":"Provider Name Example","DateTimeUTC":"/Date(1552488712813)/","PaymentServices":[{"PaymentServiceID":"54b3b4f6-0443-4fba-bcd1-61ec0c35ca55","PaymentServiceName":"PayUpNow","PaymentServiceUrl":"https://www.payupnow.com/","PaymentServiceType":"Custom","PayNowText":"Time To Pay","ValidationErrors":[{"Message":"Payment service could not be found"}]}]}