Cancel Pending Payments

Pending payments are funds disbursed to a PayPal account before the seller completes onboarding. Sellers cannot access pending payments until all onboarding requirements are met. PayPal considers onboarding complete when a seller meets the following requirements:

  • Seller creates a PayPal account.
  • Seller grants you permission to perform payment.
  • Seller confirms the email address of the account.

If a seller does not complete onboarding, you can cancel all pending payments and refund the respective buyers.

Request sample

To cancel a pending transaction, pass the merchant_email parameter in the request body to /v1/customer/cancel-onboarding.

curl -v https://api.sandbox.paypal.com/v1/customer/cancel-onboarding
  -H Content-Type: application/json
  -H 'Authorization:Bearer A101.F8Lc3Ja_qOA-62-PnPkJ_QqoDdb3AQspzqp0fS88odZ9BJg64od6Vn3Na5-dhEQ3.hDT5IfmvAImZEKbz5EuETWz2m0u'
  -d '{
  "merchant_email": "johndoe@example.com"
}'

Response sample

A successful call returns a HTTP status code of 204 No Content Success.

Feedback