AI tools — Payments

6 tools. The latest schema is always in payment_tool_catalog once connected.

Payment request details

ReadScope: payment:read
payment_intents_get

Details of one payment request: amount, payment channel, status and reference document.

ParameterTypeRequiredDescription
idstringyesPayment request id

Or call over REST with an API key

curl -X POST https://api.nextx.vn/api/v1/ai/tools/payment/payment_intents_get/read \
  -H "X-Api-Key: $API_KEY" -H "Content-Type: application/json" \
  -d '{"id":"0199a1b2-c3d4-7e5f-8a9b-0c1d2e3f4a5b"}'
MCP call example (for AI assistants)

AI assistants send this call themselves when you ask in plain words; you only need it when debugging an MCP connection.

{
  "name": "payment_intents_get",
  "arguments": {
    "args": {
      "id": "0199a1b2-c3d4-7e5f-8a9b-0c1d2e3f4a5b"
    }
  }
}

Payment overview

ReadScope: payment:read
payment_reports_overview

Payment overview for a date range: transaction count and amount by channel and by status. Defaults to the last month.

ParameterTypeRequiredDescription
fromstringnoFrom date (yyyy-MM-dd)
tostringnoTo date (yyyy-MM-dd)

Or call over REST with an API key

curl -X POST https://api.nextx.vn/api/v1/ai/tools/payment/payment_reports_overview/read \
  -H "X-Api-Key: $API_KEY" -H "Content-Type: application/json" \
  -d '{"from":"2026-10-01","to":"2026-10-27"}'
MCP call example (for AI assistants)

AI assistants send this call themselves when you ask in plain words; you only need it when debugging an MCP connection.

{
  "name": "payment_reports_overview",
  "arguments": {
    "args": {
      "from": "2026-10-01",
      "to": "2026-10-27"
    }
  }
}

Payment transaction details

ReadScope: payment:read
payment_transactions_get

Details of one payment transaction.

ParameterTypeRequiredDescription
idstringyesTransaction id (from payment_transactions_search)

Or call over REST with an API key

curl -X POST https://api.nextx.vn/api/v1/ai/tools/payment/payment_transactions_get/read \
  -H "X-Api-Key: $API_KEY" -H "Content-Type: application/json" \
  -d '{"id":"0199a1b2-c3d4-7e5f-8a9b-0c1d2e3f4a5b"}'
MCP call example (for AI assistants)

AI assistants send this call themselves when you ask in plain words; you only need it when debugging an MCP connection.

{
  "name": "payment_transactions_get",
  "arguments": {
    "args": {
      "id": "0199a1b2-c3d4-7e5f-8a9b-0c1d2e3f4a5b"
    }
  }
}