Skip to main content
AI

Airwallex

v0.2.1API Key

O inverso cross-border do EBANX — sellers da LatAm recebem do exterior (USD/EUR/GBP) e liquidam localmente. Payment intents, reembolsos, beneficiários, transferências, conversões de câmbio, saldos multimoeda.

20 ferramentas3 env vars🌐 GLOBALestável no npm

O que seu agente faz

O Airwallex dá ao seu agente 20 tools que ele chama direto — escolha as que precisar, no Claude, Cursor ou qualquer cliente MCP.

  • create_payment_intentCreate an Airwallex payment intent (pay-in). Used when a LatAm seller needs to collect USD/EUR/GBP from buyers abroad. Returns the intent with client_secret for client-side confirmation.
  • confirm_payment_intentConfirm a previously-created payment intent with a payment method. For card intents this triggers authorization; for APM intents this returns a next_action (redirect, QR, etc).
  • retrieve_payment_intentRetrieve a payment intent by id. Returns current status, payment_attempts, and latest payment_method.
Exemplo de chamada
// Your agent calls a tool directly — no glue code.
// CodeSpar's managed tier handles OAuth2, token rotation and rate limits.
const result = await session.call("create_payment_intent", { /* ... */ });

Instalar

terminal
$ npm install @codespar/mcp-airwallex

Quickstart

Adicione esta entrada ao seu claude_desktop_config.json (ou a config de qualquer cliente compatível com MCP).

claude_desktop_config.json
{
  "mcpServers": {
    "airwallex": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-airwallex"
      ],
      "env": {
        "AIRWALLEX_CLIENT_ID": "<your_airwallex_client_id>",
        "AIRWALLEX_API_KEY": "<your_airwallex_api_key>"
      }
    }
  }
}

Depois de reiniciar, seu agente pode chamar qualquer uma das 20 ferramentas abaixo — teste create_payment_intent primeiro.

Variáveis de ambiente · 3

Necessárias pra autenticar o server. Armazenadas criptografadas ao usar a hospedagem gerenciada da CodeSpar.

AIRWALLEX_CLIENT_ID
obrigatório

Airwallex client id (sent as x-client-id on /authentication/login)

AIRWALLEX_API_KEY
obrigatóriosecret

Airwallex API key, secret (sent as x-api-key on /authentication/login)

AIRWALLEX_ENV
opcional

Airwallex environment. 'demo' (default, https://api-demo.airwallex.com) or 'production' (https://api.airwallex.com).

Ferramentas disponíveis · 20

Cada ferramenta é independente — seu agente carrega só o que precisa pra reduzir contexto e tempo de resposta.

WRITEcreate_payment_intent
Create an Airwallex payment intent (pay-in). Used when a LatAm seller needs to collect USD/EUR/GBP from buyers abroad. Returns the intent with client_secret for client-side confirmation.
WRITEconfirm_payment_intent
Confirm a previously-created payment intent with a payment method. For card intents this triggers authorization; for APM intents this returns a next_action (redirect, QR, etc).
WRITEretrieve_payment_intent
Retrieve a payment intent by id. Returns current status, payment_attempts, and latest payment_method.
DELETEcancel_payment_intent
Cancel a payment intent that has not yet been captured. Fails on already-captured intents; use create_refund instead.
WRITEcapture_payment_intent
Capture a previously-authorized payment intent (two-step auth + capture flow). Use this after confirm_payment_intent on intents created with capture_method=manual. Amount may be less than authorized for partial capture.
WRITElist_payment_intents
List payment intents with optional filters (status, merchant_order_id, date range). Supports pagination via page_num / page_size.
DELETEcreate_refund
Refund a captured payment intent (full or partial). Returns the refund object with status.
DELETEretrieve_refund
Retrieve a refund by id. Returns current status (RECEIVED, ACCEPTED, PROCESSING, SUCCEEDED, FAILED).

Frameworks compatíveis

MCP é um protocolo — qualquer framework que o fale pode montar este server.

Claude Agent SDKAnthropic
OpenAI AgentsOpenAI
Vercel AI SDKVercel
LangChainLangChain
LlamaIndexLlamaIndex
CrewAICrewAI
MastraMastra
Qualquer cliente MCPProtocolo

Perguntas frequentes

Rode `npx -y @codespar/mcp-airwallex` e adicione o bloco de config acima ao seu cliente MCP — Claude, Cursor, VS Code ou qualquer cliente compatível com MCP. Sem build, sem SDK. Prefere hospedado? O tier gerenciado da CodeSpar roda pra você, com a auth resolvida.
Airwallex — MCP server · 20 tools | CodeSpar