Why did I get API error code 10525?

In one of the following API calls, the amount entered is zero:

  • DoDirectPayment.
  • DoReferenceTransaction.

Here's how to resolve this issue:

  • Review your API call to ensure a value of $0.01 or more is being submitted.
  • Use BillingType=RecurringPayments/MerchantInitiatedBilling instead of creating a Recurring Profile/Billing Agreement ID with a zero amount.
  • For DCC (Direct Credit Card), the TRXTYPE should be A for a zero authorization (also known as a card verification call).

NVP / SOAP Reference Transaction documentation.

PayPal Payments Pro documentation.

See the Developer Portal for a complete list of NVP/SOAP API error codes.

More ways we can help

We use cookies to improve your experience on our site. May we use marketing cookies to show you personalized ads? Manage all cookies