> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.pdfgeneratorapi.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Common payment errors with Braintree

PDF Generator API takes card payments through Braintree. When a payment fails, for example after you upgrade your plan, Braintree returns an error code. The code tells you whether your bank declined the payment, the card details are wrong, or the payment network had a problem. Find your code in the table below, follow the fix and retry the payment.
###### Common Braintree Payment Errors and How to Resolve them

| **Error Code** | **Description** |
| ---- | ---- |
| `2000` | (Do Not Honor) The customer's bank is unwilling to accept the transaction. The customer should contact their bank for more details. |
| `2001` | (Insufficient Funds) The account does not have enough funds to cover the transaction. Ensure sufficient funds are available or use a different payment method. |
| `2004` | (Expired Card) The card has expired. Update the card details or use a different payment method. |
| `2005` | (Invalid Credit Card Number) The credit card number entered is invalid or contains a typo. Verify and correct the payment details before retrying. |
| `2010` | (Card Issuer Declined CVV) The CVV (security code) entered is incorrect. Double-check the CVV and reattempt the transaction. |
| `2046` | (Declined) The transaction was declined by the bank. Retry later or contact the issuing bank for clarification. |
| `3000` | (Processor Network Unavailable) A network issue prevented the transaction from being processed. Retry the transaction. If the issue persists, contact Braintree support. |
| For a full list of error codes and troubleshooting steps, visit Braintree's official [documentation](https://developer.paypal.com/braintree/articles/control-panel/transactions/declines). |  |

|| We can also provide annual payments via bank transfer. For more information please contact sales@pdfgeneratorapi.com. If a card payment keeps failing, try another card or write to us in the chat with the error code and we will help.
---
### Related articles you may find helpful

* [How to create JSON Web Token With Javascript?](/en/article/how-to-create-json-web-token-with-javascript-nk6w4b/)
* [Is it possible to deploy PDF Generator API on premises (on-prem) or have dedicated infrastructure?](https://support.pdfgeneratorapi.com/en/article/is-it-possible-to-deploy-pdf-generator-api-on-premises-on-prem-or-have-dedicated-infrastructure-17ockzt//)
* [Is PDF Generator API GDPR compliant?](https://support.pdfgeneratorapi.com/en/article/is-pdf-generator-api-gdpr-compliant-1b4j83i/)