GET/api/orgs/{org_id}/provider/wallet

プロバイダーのウォレットを取得

獲得残高、台帳エントリ、支払い履歴。すべて米ドル建てで、すべて請求済みの金額です(見積もり値がウォレットに入ることはありません)。出金はAPIキーではなくコンソールから申請します。組織の任意のメンバーまたは組織自身のキーで利用できます。

認証: AuthorizationヘッダーにBearer形式のAPIキー

パスパラメーター

  • org_idstring必須

    お客様の組織ID(uuid)。GET /api/whoamiで取得できます。

レスポンス

  • 200

    ウォレット。

    レスポンス
    • summaryobject必須

      米ドル建ての残高。符号は台帳の記録どおりです。

      summary
      • earned_usdnumber必須
      • adjustments_usdnumber必須
      • paid_out_usdnumber必須

        支払いエントリの合計(0または負の値)。

      • pending_payout_usdnumber必須
      • available_usdnumber必須
    • minimum_payout_usdnumber必須

      実行された最小の引き出し額(米ドル)。

    • entriesarray<object>必須
      entries
      • kindenum必須
        "earnings""payout""adjustment"
      • daystring | null必須

        収益が発生した日(収益エントリのみ)。

      • amount_usdnumber必須

        符号付きの金額(米ドル)。

      • notestring | null必須
      • created_atstring必須
    • payoutsarray<object>必須
      payouts
      • idstring必須
      • amount_usdnumber必須
      • statusenum必須
        "requested""approved""paid""rejected""cancelled"
      • destinationobject必須

        提出された支払い指示。

      • review_notestring | null必須
      • created_atstring必須
      • reviewed_atstring | null必須
      • paid_atstring | null必須
  • 401

    APIキーがない、不明、または失効しています。

    レスポンス
    • errorstring必須

      人が読めるメッセージ。

    • codestring

      エンドポイントが定義している場合の、安定した機械可読の理由(例:pro_required)。

    • actionstring

      エンドポイントが定義している場合の、安定した対処アクション。

    • detailsobject

      呼び出し元が対処するために必要な、顧客に提示して安全な文字列情報(推奨される識別子など)。

  • 404

    リソースが存在しないか、他の組織に属しています。

    レスポンス
    • errorstring必須

      人が読めるメッセージ。

    • codestring

      エンドポイントが定義している場合の、安定した機械可読の理由(例:pro_required)。

    • actionstring

      エンドポイントが定義している場合の、安定した対処アクション。

    • detailsobject

      呼び出し元が対処するために必要な、顧客に提示して安全な文字列情報(推奨される識別子など)。

リクエスト

curl 'https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/provider/wallet' \
  -H "Authorization: Bearer <YOUR_API_KEY>"

レスポンス

{
  "summary": {
    "earned_usd": 1843.2207,
    "adjustments_usd": -12.5,
    "paid_out_usd": -1000,
    "pending_payout_usd": 250,
    "available_usd": 580.7207
  },
  "minimum_payout_usd": 25,
  "entries": [
    {
      "kind": "earnings",
      "day": "2026-11-18",
      "amount_usd": 82.3341,
      "note": null,
      "created_at": "2026-11-19T01:05:00.000Z"
    },
    {
      "kind": "payout",
      "day": null,
      "amount_usd": -1000,
      "note": "October payout",
      "created_at": "2026-11-02T15:44:21.009Z"
    }
  ],
  "payouts": [
    {
      "id": "0f9e3d27-6c1b-4a85-b7e2-91d4c6a8f053",
      "amount_usd": 250,
      "status": "requested",
      "destination": {
        "stripe_account_id": "acct_1Q2w3E4r5T6y7U8i"
      },
      "review_note": null,
      "created_at": "2026-11-18T20:11:09.774Z",
      "reviewed_at": null,
      "paid_at": null
    }
  ]
}

https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/provider/wallet