v1
latestOpenAPI 3.0.42026-07-2286621993.2 KBsimulate-event
Simulate webhook event
Simulates a webhook event. In the JSON request body, specify a sample payload. <br/> You need to subscribe to the following webhook events for Pay upon Invoice:<br/><table><thead><tr><th>Event</th><th>Trigger</th></tr></thead><tbody><tr><td><code>PAYMENT.CAPTURE.COMPLETED</code></td><td>A payment capture completes.</td></tr><tr><td><code>PAYMENT.CAPTURE.DENIED</code></td><td>A payment capture is denied.</td></tr><tr><td><code>CHECKOUT.PAYMENT-APPROVAL.REVERSED</code></td><td>PayPal reverses a payment capture.</td></tr></tbody></table>
post/v1/notifications/simulate-event
Request body
Response
A successful request returns the HTTP 202 Accepted status code and a JSON response body that shows details for the mock event.