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

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

RESPONSES

status: OK

{&quot;Id&quot;:&quot;7ed8b3c0-2155-49ee-a583-f2dce6607dfb&quot;,&quot;Status&quot;:&quot;OK&quot;,&quot;ProviderName&quot;:&quot;Provider Name Example&quot;,&quot;DateTimeUTC&quot;:&quot;/Date(1552488712813)/&quot;,&quot;PaymentServices&quot;:[{&quot;PaymentServiceID&quot;:&quot;54b3b4f6-0443-4fba-bcd1-61ec0c35ca55&quot;,&quot;PaymentServiceName&quot;:&quot;PayUpNow&quot;,&quot;PaymentServiceUrl&quot;:&quot;https://www.payupnow.com/&quot;,&quot;PaymentServiceType&quot;:&quot;Custom&quot;,&quot;PayNowText&quot;:&quot;Time To Pay&quot;,&quot;ValidationErrors&quot;:[{&quot;Message&quot;:&quot;Payment service could not be found&quot;}]}]}