{"openapi":"3.1.0","info":{"title":"Xendit (BYOK) API","version":"0.1.0","description":"Xendit (BYOK) lets an AI assistant read your own Xendit data through the Xendit API with a key you supply (secret API key with Read permission). Read-only: 5 tools (get_balance, list_transactions, get_transaction, list_disputes, get_dispute). 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 api.xendit.co....\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-xendit.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-xendit/docs"},"termsOfService":"https://connectorbay.com/byok-xendit/terms"},"servers":[{"url":"https://byok-xendit.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-xendit/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_balance":{"post":{"operationId":"get_balance","summary":"Get the current Xendit balance of the cash (or holding) account, optionally in one currency or as of a past time. Use fo","description":"Get the current Xendit balance of the cash (or holding) account, optionally in one currency or as of a past time. Use for \"How much money is in my Xendit balance\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"account_type":{"anyOf":[{"enum":["CASH","HOLDING"],"type":"string"},{"type":"null"}],"default":null,"description":"Which balance: CASH (default) or HOLDING.","title":"Account Type"},"currency":{"anyOf":[{"enum":["IDR","PHP","USD","VND","THB","MYR","SGD","EUR","GBP","HKD","AUD"],"type":"string"},{"type":"null"}],"default":null,"description":"Currency of a multi-currency account.","title":"Currency"},"at_timestamp":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Balance as of this ISO 8601 time, for example 2026-01-01T00:00:00Z.","title":"At Timestamp"}},"title":"get_balanceArguments","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_transactions":{"post":{"operationId":"list_transactions","summary":"List transactions on the account (payments, refunds, payouts, transfers, conversions) with filters for type, status, cha","description":"List transactions on the account (payments, refunds, payouts, transfers, conversions) with filters for type, status, channel, currency and dates. Pages use after_id. Use for \"What successful Xendit payments came in by e-wallet this month\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"types":{"anyOf":[{"enum":["PAYMENT","REFUND","DISBURSEMENT","REMITTANCE","TRANSFER_IN","TRANSFER_OUT","TOPUP","WITHDRAWAL","CHARGEBACK","CONVERSION","ADJUSTMENT_ADD","ADJUSTMENT_DEDUCT","IN_PERSON_PAYMENT","OTHER"],"type":"string"},{"type":"null"}],"default":null,"description":"Transaction type, for example PAYMENT, REFUND, DISBURSEMENT, TRANSFER_IN, TRANSFER_OUT, TOPUP, WITHDRAWAL, CHARGEBACK or CONVERSION.","title":"Types"},"statuses":{"anyOf":[{"enum":["PENDING","SUCCESS","FAILED","VOIDED","REVERSED"],"type":"string"},{"type":"null"}],"default":null,"description":"Status: PENDING, SUCCESS, FAILED, VOIDED or REVERSED.","title":"Statuses"},"channel_categories":{"anyOf":[{"enum":["BANK","CARDS","CARDLESS_CREDIT","CASH","DIRECT_DEBIT","EWALLET","PAYLATER","QR_CODE","RETAIL_OUTLET","VIRTUAL_ACCOUNT","XENPLATFORM","OTHER"],"type":"string"},{"type":"null"}],"default":null,"description":"Payment channel group.","title":"Channel Categories"},"reference_id":{"anyOf":[{"maxLength":255,"type":"string"},{"type":"null"}],"default":null,"description":"Exact, case-sensitive reference id to find (1 to 255 characters).","title":"Reference Id"},"currency":{"anyOf":[{"enum":["IDR","PHP","USD","VND","THB","MYR","SGD","EUR","GBP","HKD","AUD"],"type":"string"},{"type":"null"}],"default":null,"description":"Only this currency.","title":"Currency"},"created_gte":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Created at or after this ISO 8601 time.","title":"Created Gte"},"created_lte":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Created at or before this ISO 8601 time.","title":"Created Lte"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many transactions to return (default 10).","title":"Limit"},"after_id":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Transaction id of the last item of the previous page, to get the next page.","title":"After Id"}},"title":"list_transactionsArguments","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_transaction":{"post":{"operationId":"get_transaction","summary":"Get one transaction by its Xendit id with amount, fees, net amount, channel and settlement status. Use for \"Show Xendit ","description":"Get one transaction by its Xendit id with amount, fees, net amount, channel and settlement status. Use for \"Show Xendit transaction txn_8c36b107-a52e-478a-8dde-59bfa7212bc6\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"transaction_id":{"description":"Xendit transaction id, for example 'txn_8c36b107-a52e-478a-8dde-59bfa7212bc6'.","maxLength":200,"title":"Transaction Id","type":"string"}},"required":["transaction_id"],"title":"get_transactionArguments","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_disputes":{"post":{"operationId":"list_disputes","summary":"List card disputes of the business with status, amounts, due date and payment reference; filter by status, payment, curr","description":"List card disputes of the business with status, amounts, due date and payment reference; filter by status, payment, currency or dates. Use for \"Which Xendit disputes still need my action\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"status":{"anyOf":[{"enum":["ACTION_REQUIRED","UNDER_REVIEW","WON","LOST"],"type":"string"},{"type":"null"}],"default":null,"description":"Dispute status.","title":"Status"},"payment_id":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Only disputes of this payment id.","title":"Payment Id"},"currency":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Only this currency code, for example IDR.","title":"Currency"},"created_after":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Disputes created after this ISO 8601 time.","title":"Created After"},"created_before":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Disputes created before this ISO 8601 time.","title":"Created Before"},"due_date_before":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Disputes with a response due before this ISO 8601 time.","title":"Due Date Before"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many disputes to return (1 to 100, default 10).","title":"Limit"},"cursor":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"pagination.next_cursor of the previous answer, to get the next page.","title":"Cursor"}},"title":"list_disputesArguments","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_dispute":{"post":{"operationId":"get_dispute","summary":"Get one dispute with status, reason, amounts, due date, evidence list and, optionally, its timeline. Use for \"Show detai","description":"Get one dispute with status, reason, amounts, due date, evidence list and, optionally, its timeline. Use for \"Show details of Xendit dispute dsp_1\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"dispute_id":{"description":"Dispute id from list_disputes.","maxLength":200,"title":"Dispute Id","type":"string"},"include_timeline":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"description":"True to include the status history of the dispute.","title":"Include Timeline"}},"required":["dispute_id"],"title":"get_disputeArguments","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}}}}