Xero AppStore API
These endpoints are for Xero Partners to interact with the App Store Billing platform
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
These endpoints are for Xero Partners to interact with the App Store Billing platform
Endpoints 4
AppStore
- GETRetrieves a subscription for a given subscriptionId
/subscriptions/:subscriptionId - POSTSend metered usage belonging to this subscription and subscription item
/subscriptions/:subscriptionId/items/:subscriptionItemId/usage-records - PUTUpdate and existing metered usage belonging to this subscription and subscription item
/subscriptions/:subscriptionId/items/:subscriptionItemId/usage-records/:usageRecordId - GETGets all usage records related to the subscription
/subscriptions/:subscriptionId/usage-records
API details
- Base URL
https://api.xero.com/appstore/2.0- Authentication
- OAuth 2.0 (client credentials flow) with 1 scope
- Operations
- 4 operations on 4 pathsGET 2PUT 1POST 1
- Main resources
- AppStore 4
- Response formats
application/json- Description format
- OpenAPI 3.0.0, API version
20.1.0 - Links
- OpenAPI document · Terms of service · Support
- Listed from
- Xero's published OpenAPI description (XeroAPI/Xero-OpenAPI) (MIT)
How to test the Xero AppStore API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Xero AppStore API collection, without the publisher's secrets.
- Add your credentialsThis API uses OAuth 2.0 (client credentials flow) with 1 scope. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Retrieves a subscription for a given subscriptionId” (GET /subscriptions/:subscriptionId), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Xero AppStore API?
These endpoints are for Xero Partners to interact with the App Store Billing platform It is listed under Finance & banking and has 4 endpoints.
Who publishes the Xero AppStore API?
It is listed from Xero's public API description (an OpenAPI document), not published by Xero on Swastik Codes. Anyone who controls xero.com can claim the profile by adding a DNS TXT record.
What is the base URL of the Xero AppStore API?
Requests go to https://api.xero.com/appstore/2.0. Endpoint paths are added to this base URL.
How do I authenticate with the Xero AppStore API?
With OAuth 2.0 (client credentials flow) with 1 scope.
How many endpoints does the Xero AppStore API have?
4 operations on 4 paths (2 GET, 1 PUT, 1 POST). The largest groups are AppStore.
Is forking the Xero AppStore API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.