{"openapi":"3.1.0","info":{"title":"Stripe Connect (BYOK) API","version":"0.1.0","description":"Stripe Connect (BYOK) lets an AI assistant read your own Stripe Connect data through the Stripe Connect API with a key you supply (restricted API key with read permissions only (starts with rk_live_ or rk_test_)). Read-only: 11 tools (get_platform_account, list_connected_accounts, get_connected_account, list_account_capabilities, list_application_fees, get_application_fee, list_transfers,...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-stripe-connect.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-stripe-connect/docs"},"termsOfService":"https://connectorbay.com/byok-stripe-connect/terms"},"servers":[{"url":"https://byok-stripe-connect.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-stripe-connect/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/get_platform_account":{"post":{"operationId":"get_platform_account","summary":"Show the Stripe account the key belongs to: country, default currency, whether charges and payouts are enabled, and busi","description":"Show the Stripe account the key belongs to: country, default currency, whether charges and payouts are enabled, and business name and website. Works with a restricted key that has read access to this resource only. Use for \"Which Stripe account is my key connected to\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"get_platform_accountArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_connected_accounts":{"post":{"operationId":"list_connected_accounts","summary":"List the connected accounts of a Connect platform with type, country, capabilities flags and business name. No contact o","description":"List the connected accounts of a Connect platform with type, country, capabilities flags and business name. No contact or bank details are returned. Works with a restricted key that has read access to this resource only. Use for \"Which connected accounts can already take payouts\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"created_after":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Only objects created at or after this time, as a Unix timestamp in seconds.","title":"Created After"},"created_before":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Only objects created at or before this time, as a Unix timestamp in seconds.","title":"Created Before"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many objects to return (1 to 100).","title":"Limit"},"starting_after":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor for the next page: the id of the last object on the previous page. Use it while has_more is true.","title":"Starting After"}},"title":"list_connected_accountsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_connected_account":{"post":{"operationId":"get_connected_account","summary":"Get one connected account by id: type, country, currency, charge and payout flags, business name and website. Works with","description":"Get one connected account by id: type, country, currency, charge and payout flags, business name and website. Works with a restricted key that has read access to this resource only. Use for \"Is connected account acct_1032D82eZvKYlo2C ready for payouts\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"account":{"description":"Connected account id, for example acct_1032D82eZvKYlo2C.","maxLength":200,"title":"Account","type":"string"}},"required":["account"],"title":"get_connected_accountArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_account_capabilities":{"post":{"operationId":"list_account_capabilities","summary":"List the capabilities of one connected account (such as card_payments or transfers) with requested flag and status. Work","description":"List the capabilities of one connected account (such as card_payments or transfers) with requested flag and status. Works with a restricted key that has read access to this resource only. Use for \"Which capabilities are active for acct_1032D82eZvKYlo2C\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"account":{"description":"Connected account id, for example acct_1032D82eZvKYlo2C.","maxLength":200,"title":"Account","type":"string"}},"required":["account"],"title":"list_account_capabilitiesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_application_fees":{"post":{"operationId":"list_application_fees","summary":"List application fees the platform collected on connected accounts' charges. Amounts are in the smallest currency unit. ","description":"List application fees the platform collected on connected accounts' charges. Amounts are in the smallest currency unit. Works with a restricted key that has read access to this resource only. Use for \"How much in application fees did my platform collect recently\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"charge":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only fees for this charge id.","title":"Charge"},"created_after":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Only objects created at or after this time, as a Unix timestamp in seconds.","title":"Created After"},"created_before":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Only objects created at or before this time, as a Unix timestamp in seconds.","title":"Created Before"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many objects to return (1 to 100).","title":"Limit"},"starting_after":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor for the next page: the id of the last object on the previous page. Use it while has_more is true.","title":"Starting After"}},"title":"list_application_feesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_application_fee":{"post":{"operationId":"get_application_fee","summary":"Get one application fee by id with amount, refunded amount, currency and the charge it came from. Works with a restricte","description":"Get one application fee by id with amount, refunded amount, currency and the charge it came from. Works with a restricted key that has read access to this resource only. Use for \"Show application fee fee_1B73DOKbnvuxQXGuhY8Aw0gu\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"id":{"description":"Application fee id, for example fee_1B73DOKbnvuxQXGuhY8Aw0gu.","maxLength":200,"title":"Id","type":"string"}},"required":["id"],"title":"get_application_feeArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_transfers":{"post":{"operationId":"list_transfers","summary":"List transfers from the platform balance to connected accounts, newest first, with amount, destination and reversal stat","description":"List transfers from the platform balance to connected accounts, newest first, with amount, destination and reversal state. Amounts are in the smallest currency unit. Works with a restricted key that has read access to this resource only. Use for \"What transfers did I send to acct_1032D82eZvKYlo2C\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"destination":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only transfers to this connected account id.","title":"Destination"},"transfer_group":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only transfers in this transfer group.","title":"Transfer Group"},"created_after":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Only objects created at or after this time, as a Unix timestamp in seconds.","title":"Created After"},"created_before":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Only objects created at or before this time, as a Unix timestamp in seconds.","title":"Created Before"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many objects to return (1 to 100).","title":"Limit"},"starting_after":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor for the next page: the id of the last object on the previous page. Use it while has_more is true.","title":"Starting After"}},"title":"list_transfersArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_transfer":{"post":{"operationId":"get_transfer","summary":"Get one transfer by id: amount, destination account, reversed amount and transfer group. Works with a restricted key tha","description":"Get one transfer by id: amount, destination account, reversed amount and transfer group. Works with a restricted key that has read access to this resource only. Use for \"Show transfer tr_1MiN3gLkdIwHu7ixNCZvFdgA\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"transfer":{"description":"Transfer id, for example tr_1MiN3gLkdIwHu7ixNCZvFdgA.","maxLength":200,"title":"Transfer","type":"string"}},"required":["transfer"],"title":"get_transferArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_transfer_reversals":{"post":{"operationId":"list_transfer_reversals","summary":"List the reversals of one transfer with amount, currency and creation time. Works with a restricted key that has read ac","description":"List the reversals of one transfer with amount, currency and creation time. Works with a restricted key that has read access to this resource only. Use for \"Was transfer tr_1MiN3gLkdIwHu7ixNCZvFdgA reversed\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"id":{"description":"Transfer id, for example tr_1MiN3gLkdIwHu7ixNCZvFdgA.","maxLength":200,"title":"Id","type":"string"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many objects to return (1 to 100).","title":"Limit"},"starting_after":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor for the next page: the id of the last object on the previous page. Use it while has_more is true.","title":"Starting After"}},"required":["id"],"title":"list_transfer_reversalsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_topups":{"post":{"operationId":"list_topups","summary":"List top-ups (funds added to the Stripe balance from a bank source) with amount, status and expected availability. Amoun","description":"List top-ups (funds added to the Stripe balance from a bank source) with amount, status and expected availability. Amounts are in the smallest currency unit. Works with a restricted key that has read access to this resource only. Use for \"Which top-ups are still pending\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"status":{"anyOf":[{"enum":["canceled","failed","pending","succeeded"],"type":"string"},{"type":"null"}],"default":null,"description":"Only top-ups with this status.","title":"Status"},"created_after":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Only objects created at or after this time, as a Unix timestamp in seconds.","title":"Created After"},"created_before":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Only objects created at or before this time, as a Unix timestamp in seconds.","title":"Created Before"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many objects to return (1 to 100).","title":"Limit"},"starting_after":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor for the next page: the id of the last object on the previous page. Use it while has_more is true.","title":"Starting After"}},"title":"list_topupsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_topup":{"post":{"operationId":"get_topup","summary":"Get one top-up by id: amount, status, descriptor and failure details. Works with a restricted key that has read access t","description":"Get one top-up by id: amount, status, descriptor and failure details. Works with a restricted key that has read access to this resource only. Use for \"Show top-up tu_1NG0Tr2eZvKYlo2C\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"topup":{"description":"Top-up id, for example tu_1NG0Tr2eZvKYlo2C.","maxLength":200,"title":"Topup","type":"string"}},"required":["topup"],"title":"get_topupArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}