{"openapi":"3.1.0","info":{"title":"Fincra (BYOK) API","version":"0.1.0","description":"Fincra (BYOK) lets an AI assistant read your own Fincra data through the Fincra API with a key you supply (Fincra secret API key). Read-only: 7 tools (get_business_info, list_wallets, get_wallet, list_conversions, get_conversion, get_rates, list_banks). The BYOK key travels with each request, is used for that one call only and is never stored, logged or cached; it is only ever sent to...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-fincra.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-fincra/docs"},"termsOfService":"https://connectorbay.com/byok-fincra/terms"},"servers":[{"url":"https://byok-fincra.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-fincra/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_business_info":{"post":{"operationId":"get_business_info","summary":"Get your Fincra parent business profile: name, type, country, status, KYC approval, block state, business tag and fee se","description":"Get your Fincra parent business profile: name, type, country, status, KYC approval, block state, business tag and fee settings (contact details and keys are left out). Use for \"What is my Fincra business ID and is it KYC approved\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"get_business_infoArguments","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_wallets":{"post":{"operationId":"list_wallets","summary":"List all Fincra wallets (balances) of a business with currency, ledger, available, locked and rolling reserve balance, w","description":"List all Fincra wallets (balances) of a business with currency, ledger, available, locked and rolling reserve balance, wallet number and status. Use for \"How much do I hold in each Fincra currency wallet\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"business_id":{"description":"Fincra business ID (the _id of your parent business or a sub account, from get_business_info).","maxLength":100,"title":"Business Id","type":"string"}},"required":["business_id"],"title":"list_walletsArguments","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_wallet":{"post":{"operationId":"get_wallet","summary":"Get one Fincra wallet by its ID with currency and its ledger, available and locked balances. Use for \"What is the availa","description":"Get one Fincra wallet by its ID with currency and its ledger, available and locked balances. Use for \"What is the available balance of Fincra wallet 621\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"wallet_id":{"description":"Wallet ID (the id from list_wallets).","maxLength":200,"title":"Wallet Id","type":"string"}},"required":["wallet_id"],"title":"get_walletArguments","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_conversions":{"post":{"operationId":"list_conversions","summary":"List currency conversions of a business with source and destination currency, amounts, fees, exchange rates, status and ","description":"List currency conversions of a business with source and destination currency, amounts, fees, exchange rates, status and settlement dates. Use for \"Which Fincra currency conversions settled recently\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"business":{"description":"Fincra business ID of the parent business or sub account (the _id from get_business_info).","maxLength":100,"title":"Business","type":"string"}},"required":["business"],"title":"list_conversionsArguments","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_conversion":{"post":{"operationId":"get_conversion","summary":"Get one currency conversion by its reference with amounts, source and destination fees, exchange rates, status and settl","description":"Get one currency conversion by its reference with amounts, source and destination fees, exchange rates, status and settlement time. Use for \"What is the status of Fincra conversion 38171f14\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"conversion_reference":{"description":"Conversion reference (from list_conversions).","maxLength":200,"title":"Conversion Reference","type":"string"}},"required":["conversion_reference"],"title":"get_conversionArguments","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_rates":{"post":{"operationId":"get_rates","summary":"Get the current buy and sell FX rates for all supported Fincra currency pairs. Use for \"What is the Fincra EUR to NGN se","description":"Get the current buy and sell FX rates for all supported Fincra currency pairs. Use for \"What is the Fincra EUR to NGN sell rate\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"get_ratesArguments","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_banks":{"post":{"operationId":"list_banks","summary":"List banks, mobile money operators or cash pickup providers enabled in a country or currency, with provider code, name, ","description":"List banks, mobile money operators or cash pickup providers enabled in a country or currency, with provider code, name, SWIFT/BIC and NIBSS code. Use for \"Which banks and mobile money providers does Fincra support in Kenya\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"country":{"anyOf":[{"maxLength":2,"type":"string"},{"type":"null"}],"default":null,"description":"Two-letter country code, for example NG or KE. Give a country or a currency.","title":"Country"},"currency":{"anyOf":[{"maxLength":3,"type":"string"},{"type":"null"}],"default":null,"description":"Three-letter currency code, for example NGN or KES. Give a country or a currency.","title":"Currency"},"payment_destination":{"anyOf":[{"enum":["bank_account","mobile_money_wallet","cash_pick_up","settlement_account"],"type":"string"},{"type":"null"}],"default":null,"description":"Only providers for this payout route.","title":"Payment Destination"}},"title":"list_banksArguments","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}}}}