Skip to content

Commit 4608993

Browse files
authored
Merge pull request #524 from XeroAPI/OAS-2.33.0
update createbrandingthemepaymentservices method and bump version
2 parents 2b4e8fb + a4e9840 commit 4608993

11 files changed

+38
-21
lines changed

xero-app-store.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
openapi: 3.0.0
22
info:
3-
version: "2.32.0"
3+
version: "2.33.0"
44
title: Xero AppStore API
55
description: These endpoints are for Xero Partners to interact with the App Store Billing platform
66
termsOfService: "https://developer.xero.com/xero-developer-platform-terms-conditions/"

xero-finance.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
openapi: 3.0.0
22
info:
3-
version: "2.32.0"
3+
version: "2.33.0"
44
title: Xero Finance API
55
description: The Finance API is a collection of endpoints which customers can use in the course of a loan application, which may assist lenders to gain the confidence they need to provide capital.
66
termsOfService: "https://developer.xero.com/xero-developer-platform-terms-conditions/"

xero-identity.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
openapi: 3.0.0
22
info:
3-
version: "2.32.0"
3+
version: "2.33.0"
44
title: Xero OAuth 2 Identity Service API
55
description: These endpoints are related to managing authentication tokens and identity for Xero API
66
termsOfService: "https://developer.xero.com/xero-developer-platform-terms-conditions/"

xero-payroll-au.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
openapi: 3.0.0
22
info:
3-
version: '2.32.0'
3+
version: '2.33.0'
44
title: 'Xero Payroll AU API'
55
description: 'This is the Xero Payroll API for orgs in Australia region.'
66
termsOfService: "https://developer.xero.com/xero-developer-platform-terms-conditions/"

xero-payroll-nz.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
openapi: 3.0.0
22
info:
3-
version: '2.32.0'
3+
version: '2.33.0'
44
title: 'Xero Payroll NZ'
55
description: 'This is the Xero Payroll API for orgs in the NZ region.'
66
termsOfService: "https://developer.xero.com/xero-developer-platform-terms-conditions/"

xero-payroll-uk.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
openapi: 3.0.0
22
info:
3-
version: '2.32.0'
3+
version: '2.33.0'
44
title: 'Xero Payroll UK'
55
description: 'This is the Xero Payroll API for orgs in the UK region.'
66
termsOfService: "https://developer.xero.com/xero-developer-platform-terms-conditions/"

xero-projects.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
openapi: 3.0.0
22
info:
3-
version: "2.32.0"
3+
version: "2.33.0"
44
title: Xero Projects API
55
description: This is the Xero Projects API
66
termsOfService: "https://developer.xero.com/xero-developer-platform-terms-conditions/"

xero_accounting.yaml

Lines changed: 28 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
openapi: 3.0.0
22
info:
33
title: Xero Accounting API
4-
version: "2.32.0"
4+
version: "2.33.0"
55
termsOfService: "https://developer.xero.com/xero-developer-platform-terms-conditions/"
66
contact:
77
name: "Xero Platform Team"
@@ -3413,6 +3413,18 @@ paths:
34133413
keySnake: pay_now_text
34143414
default: Pay Now
34153415
object: paymentService
3416+
- paymentServices:
3417+
is_object: true
3418+
key: paymentServices
3419+
keyPascal: PaymentServices
3420+
- add_paymentService:
3421+
is_last: true
3422+
is_array_add: true
3423+
key: paymentServices
3424+
keyPascal: PaymentServices
3425+
java: PaymentServices
3426+
csharp: PaymentService
3427+
object: paymentService
34163428
parameters:
34173429
- $ref: '#/components/parameters/BrandingThemeID'
34183430
responses:
@@ -3441,17 +3453,22 @@ paths:
34413453
$ref: '#/components/responses/400Error'
34423454
requestBody:
34433455
required: true
3444-
description: PaymentService object in body of request
3456+
description: PaymentServices array with PaymentService object in body of request
34453457
content:
3446-
application/json:
3447-
schema:
3448-
$ref: '#/components/schemas/PaymentService'
3449-
example: '{
3450-
"PaymentServiceID": "00000000-0000-0000-0000-000000000000",
3451-
"PaymentServiceName": "Payments Service",
3452-
"PaymentServiceUrl": "https://www.paymentservice.com/",
3453-
"PayNowText": "Pay Now"
3454-
}'
3458+
application/json:
3459+
schema:
3460+
$ref: '#/components/schemas/PaymentServices'
3461+
example: '{
3462+
"PaymentServices": [
3463+
{
3464+
"PaymentServiceID": "54b3b4f6-0443-4fba-bcd1-61ec0c35ca55",
3465+
"PaymentServiceName": "PayUpNow",
3466+
"PaymentServiceUrl": "https://www.payupnow.com/",
3467+
"PaymentServiceType": "Custom",
3468+
"PayNowText": "Time To Pay"
3469+
}
3470+
]
3471+
}'
34553472
'/Budgets':
34563473
parameters:
34573474
- $ref: '#/components/parameters/requiredHeader'

xero_assets.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
openapi: 3.0.0
22
info:
3-
version: "2.32.0"
3+
version: "2.33.0"
44
title: Xero Assets API
55
description: The Assets API exposes fixed asset related functions of the Xero Accounting application and can be used for a variety of purposes such as creating assets, retrieving asset valuations etc.
66
termsOfService: "https://developer.xero.com/xero-developer-platform-terms-conditions/"

xero_bankfeeds.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
openapi: 3.0.0
22
info:
3-
version: "2.32.0"
3+
version: "2.33.0"
44
title: Xero Bank Feeds API
55
description: The Bank Feeds API is a closed API that is only available to financial institutions that have an established financial services partnership with Xero.
66
If you're an existing financial services partner that wants access, contact your local Partner Manager.

xero_files.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ servers:
44
url: https://api.xero.com/files.xro/1.0/
55
info:
66
title: Xero Files API
7-
version: "2.32.0"
7+
version: "2.33.0"
88
description: "These endpoints are specific to Xero Files API"
99
termsOfService: "https://developer.xero.com/xero-developer-platform-terms-conditions/"
1010
contact:

0 commit comments

Comments
 (0)