Receive PayPal sandbox event

Changed on

<Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>

<Note>Base44 registers this endpoint with the payment provider for you, and the provider is its only caller. You can't invoke it for your own app or repoint it. It's documented so you can recognize the traffic and read the acknowledgements it returns.</Note>

Receives PayPal sandbox events for every seller connected through Base44's partner integration.

PayPal registers webhooks per partner rather than per seller, so one endpoint receives every connected seller's events and Base44 routes each to the app it belongs to. Base44 verifies the delivery with PayPal before acting on it, and rejects anything that fails verification. Live events go to Receive PayPal live event, which is a separate PayPal environment with its own webhook id.

<Warning>The response includes fields beyond the ones documented here. Don't rely on undocumented response fields, as they can change at any time.</Warning>

post/api/payment-webhooks/paypal

Request

  • Base URL: https://app.base44.com
  • URL: https://app.base44.com/api/payment-webhooks/paypal
  • Auth: none required

Response

How Base44 handled the event.

statusstring required

How Base44 handled the event. processed means it updated app state or recorded revenue, acknowledged means the event was valid but needed no action, and ignored means it was skipped. The Stripe endpoints also return logged, for an event recorded for reporting only.

reasonstring nullable

Why the event needed no action. Present when status is ignored, and on the acknowledged responses that skip an event, such as a transaction that was already approved or one for a zero amount.

actionstring nullable

What Base44 recorded. Present on most processed responses.

Example response

{
  "status": "processed",
  "reason": "unknown_event_type",
  "action": "payment_tracked"
}

Changes

Of the 29 revisions, 1 has no diff computed.