Skip to content
← Public packages

@kody/doordash

Order food on DoorDash as a customer through the consumer MCP used by dd-cli.

src/payment-method.ts

7 lines · 274 B · TypeScript
import { callMcpTool, TOOLS, type DoorDashMcpAuthInput } from './mcp.ts'

export default async function paymentMethod(
	input: DoorDashMcpAuthInput & { action?: 'list'; dryRun?: boolean } = {},
) {
	return callMcpTool({ ...input, name: TOOLS.paymentInfo, arguments: {} })
}