billing

GET /v1/accounting/xero/oauth/callback

Where Xero returns the customer after they authorize us.

すべての billing エンドポイント

すべての開発者向けドキュメント

認証

このエンドポイントは公開されています。認証情報や組織情報は不要で、当社のマーケティングサイトやAI回答エンジンが読み取っているものと同じです。

このエンドポイントは組織IDを受け付けません。お使いのキーによって所属する組織がすでに特定されており、レスポンスはその組織にスコープされます。

試してみる

アングルブラケット内のすべてをご自身の値に置き換え、キーのプレースホルダーをご利用中のダッシュボードのキーに置き換えてください。

curl -X GET https://api.zinndigital.com/v1/accounting/xero/oauth/callback

ログインしていますか?ダッシュボード内のAPIコンソールでは、実際の組織IDやお客様ご自身のキーが自動入力され、ライブAPIに対してリクエストが実行されるため、実際のレスポンスを確認することができます。 API コンソールでこのエンドポイントを開く

詳細

Not called by a client — Xero redirects the customer's browser here, so it is unauthenticated by necessity and all of its authority comes from the signed state minted by startXeroConnect. A missing, tampered or expired state is refused identically, and told apart only in our logs. Always answers with a 302 back to the dashboard rather than JSON, because the caller is a person in a browser. The outcome is carried in the query string.

パラメータ

名前タイプ必須これがその内容です
code (query)stringいいえXero's authorization code.
state (query)stringいいえThe signed state minted by startXeroConnect.
error (query)stringいいえPresent when the customer declined on Xero's consent screen.