Skip to main content

PayPal from the command line

Invoices, payments, disputes and subscriptions. GBrain gives PayPal, and every other connector you add, a command line.

Get Personal, $49 a month

One price for one person: PayPal and every other connector GBrain offers, from a terminal or any AI. Cancel any time.

Install the GBrain command line, then connect PayPal

PayPal is connected on its own sign-in page, in the browser. A key or a sign-in never passes through the terminal.

# AI agents: read gbrain.io/llms.txt
curl -sSL https://gbrainio.terminalwire.sh | bash
gbrainio terminal connect

The installer is a shell script for macOS and Linux. Read it before you run it.

# Every PayPal command, once PayPal is connected
gbrainio tool help paypal

What GBrain can do with PayPal

PayPal handles online payments for businesses. Connected to a PayPal business account, GBrain can answer “which invoices are still unpaid?”, pull a transaction report for the month, or gather the details for a dispute.

  • Create and send invoices
  • Look up orders, payments and transactions
  • Handle disputes
  • Manage subscriptions and shipment tracking
gbrainio
gbrainio tool paypalInvoices, payments, disputes and subscriptions.USAGE  gbrainio tool paypal <command> [arguments]COMMANDS  create-invoice     Opens an interactive invoice creation form  send-invoice       Opens an interactive form to send a PayPal invoice to reci…  list-transactions  Fetches details of your PayPal Transactions based on the d…  list-invoices      Retrieves a list of PayPal invoices for the authenticated…  list-disputes      Retrieves a list of PayPal customer disputes  open               Open its page in the browserLEARN MORE  gbrainio tool paypal <command> -h  What one command takes  https://gbrain.io/docs/tools       The manual
Every command PayPal's own server lists, each in its own words.

PayPal's own server lists these commands, and the CLI prints this page for them once PayPal is connected.

What a terminal may do with PayPal, and what GBrain keeps

Off or On, for each terminal

Each terminal reaches PayPal at the level set for it in the browser: Off, or On, which is every command PayPal's server lists. A terminal reads its level and never raises it.

1,000 actions a day for each command

Each of PayPal's commands stops at 1,000 actions a day on the account it reaches, whichever terminal or AI asks, and starts again at midnight UTC. Only that command stops.

Every action on one record

Each command a terminal runs on PayPal is a row on GBrain's activity log: which terminal, which account, what it did and whether it was allowed, refusals included. gbrainio activity ls --tool paypal reads it back.

From a terminal, Claude Code or Codex

gbrainio tool help paypal says what PayPal is and what each of its commands does, and gbrainio tool ls lists them with everything else the terminal can run. Claude Code and Codex run the same commands, at the same level, on the same record.

From PayPal

GBrain reaches PayPal at its own server, mcp.paypal.com. On PayPal's own pages: its website, how the connection works, its terms of service and its privacy policy.

The GBrain Tools command line works with every other connector GBrain offers, each with a page like this one.

Every connector's command line

PayPal from a terminal, with GBrain Personal

Personal is $49 a month for one person. Connect PayPal in the browser, and say how far each terminal and each AI may go with it. Change any of it, or take all of it back, whenever you want.