Skip to content

PayPal payment received emails

Parse PayPal payment received emails

PayPal emails you when someone sends you money. This layout reads who paid, how much and in which currency, the transaction ID and any note the payer added.

Use this layoutFree plan included: 2 layouts per endpoint.
The email
From
PayPal <service@paypal.example>
Subject
You've got money
Jane Doe sent you $25.00 USD

Transaction ID: 9AB12345CD678901E
Transaction date: Oct 29, 2026
Note: For the October invoice
What your endpoint delivers
{
  "parsed": {
    "status": "matched",
    "layout": {
      "id": "paypal-payments",
      "name": "PayPal payments"
    },
    "fields": {
      "payer": "Jane Doe",
      "amount": "25.00",
      "currency": "USD",
      "transaction": "9AB12345CD678901E",
      "note": "For the October invoice"
    },
    "lineItems": []
  }
}

The layout

It matches the email by its subject, reads each field with an RE2 pattern. Edit any of it in the endpoint's settings, where the preview tries it on an email you captured as you type.

{
  "id": "paypal-payments",
  "name": "PayPal payments",
  "match": {
    "conditions": [
      {
        "field": "email",
        "name": "text",
        "op": "contains",
        "value": "sent you"
      }
    ]
  },
  "fields": [
    {
      "name": "payer",
      "from": "text",
      "pattern": "(?m)^(.+?) sent you"
    },
    {
      "name": "amount",
      "from": "text",
      "pattern": "sent you \\$?([0-9][0-9.,]*)"
    },
    {
      "name": "currency",
      "from": "text",
      "pattern": "sent you \\S+ ([A-Z]{3})"
    },
    {
      "name": "transaction",
      "from": "text",
      "pattern": "Transaction ID:\\s*([A-Z0-9]+)"
    },
    {
      "name": "note",
      "from": "text",
      "pattern": "Note:[ \\t]*([^\\r\\n]+)"
    }
  ]
}

More senders