Home
  • Payments and Transfers
  • Disputes and Limitations
  • My Account
  • My Wallet
  • Login & Security
  • Seller Tools

Why did I get API error code 10423?

For meanings and solutions of this and other API errors, check the table API Error Codes.

Issue
PayPal returned API error code 10423 - This transaction cannot be completed with PaymentAction of Authorization.

Causes
The following errors can produce error code 10423:
  • You set PaymentAction to "Sale" with SetExpressCheckout at the first API call. If you receive this error at the DoExpressCheckout API call, you can set PaymentAction to "Authorization."
  • Your API call failed because you didn’t grant a third party permission to make API calls on your behalf.

Solutions
Do one of the following:
  • Because PayPal doesn't allow this switch from "Sale" to "Authorization" in a single checkout session, use the same PaymentAction for the DoExpressCheckout API call that you used in the initial SetExpressCheckout API call.
  • Grant the third party permission required to complete the API call. If you’ve already granted permission to this third party, make sure that you used their correct username and selected the required permissions.

See also:
How to Create One-Time Payments Using Express Checkout
Was this article helpful?

More ways we can help

How are we doing?
Take our survey

If you accept cookies, we’ll use them to improve and customize your experience and enable our partners to show you personalized PayPal ads when you visit other sites. Manage cookies and learn more