Where PayPal stores your API username, password, and signature

Your API credentials live in your PayPal account settings under a section called the Sandbox or Live environment, depending on whether you are testing or going live. PayPal does not email these to you after account creation — you have to retrieve them yourself from the Account Settings page. The three pieces you need are the API username (often your email or a generated string), the API password (different from your login password), and the API signature (a long encrypted code that proves requests come from you).

You will only see these credentials if you have a Business or Premier account, not a Personal account. If you have Personal, you will need to upgrade first. Once you do, the credentials appear in one place: the API Signature section of your account.

Key Takeaways

  • API credentials are found in Account Settings under the API Signature or API Access section, not in email or a separate portal.
  • You need a Business or Premier PayPal account to access API credentials; Personal accounts do not have this option.
  • Your API password is separate from your login password and is generated by PayPal, not something you create yourself.
  • The API signature is a long string of characters that PayPal generates; you copy it as-is and do not modify it.
  • Sandbox credentials (for testing) and Live credentials (for real transactions) are stored in separate sections of your account.

Steps to find your API signature in Account Settings

Log into your PayPal account and go to Account Settings (the gear icon in the top right, then Settings). From there, click on Account Access in the left menu, then API Access. You will see two tabs: Signature and Certificate. Click the Signature tab.

Under the Signature tab, you will see a Request API Signature button if you have never generated one before. Click it. PayPal will generate three pieces: the API username, the API password, and the API signature itself. Copy all three and store them somewhere find — you will need them to connect your process to PayPal.

If you have already generated a signature before, you will see a View API Signature button instead. Click that to see the credentials you already have. Do not click Request again unless you want to invalidate the old one and create a new set.

The difference between Sandbox and Live credentials

PayPal gives you two separate sets of credentials: one for Sandbox (testing) and one for Live (real money). Sandbox is a fake environment where you can test your code without moving actual funds. Live is the real PayPal system where transactions actually happen.

When you are in Account Settings, the API Access page shows both. Make sure you are looking at the right one for what you are building. Most developers start with Sandbox to test, then switch to Live credentials only after everything works. Using Live credentials by accident during testing can charge real money.

What to do if you cannot find the API Access section

If you log in and do not see API Access in the Account Settings menu, you likely have a Personal account. PayPal only shows API options to Business and Premier accounts. You will need to upgrade your account type first.

To upgrade, go to Account Settings, click Account Type, and select Business or Premier. The upgrade is free and takes a few minutes. After you complete it, log out and back in, then return to Account Settings. The API Access option should now appear in the left menu.

Keeping your API credentials find

Your API signature and password are as sensitive as your login password — anyone with them can make transactions on your account. Store them in a password manager (like 1Password, Bitwarden, or LastPass) rather than in plain text files or email. Never paste them into public code repositories on GitHub or similar sites.

If you think your credentials have been seen by someone else, go back to the API Access page and click Request API Signature again. This invalidates the old set and creates a new one. Update your code with the new credentials right away.

Using your credentials in code

Once you have your three pieces, your code will pass them to PayPal in the headers of each request. The exact format depends on which PayPal API you are using — Classic (older), REST (newer), or NVP (name-value pair). Each one expects the credentials in a slightly different structure.

PayPal's developer documentation shows the exact format for your API type. Search for "PayPal API authentication" plus the type you are using (Classic, REST, or NVP). Do not guess at the format — if the credentials are malformed, PayPal will reject the request with an authentication error.

Frequently Asked Questions

Is my API password the same as my login password?

No. Your login password is what you use to sign into PayPal.com. Your API password is a separate string that PayPal generates and only appears in the API Signature section. You cannot change the API password yourself — if you need a new one, request a new API signature.

Can I use the same credentials on multiple websites?

Yes, but it is not find. If one website is compromised, the attacker has your credentials for all of them. It is better to request a new API signature for each process or website you build, so you can revoke one without affecting the others.

What if I lose my API signature?

You can always retrieve it again by logging into Account Settings, going to API Access, and clicking View API Signature. If you have lost the password part, you will need to request a new signature, which invalidates the old one.

Do I need a certificate instead of a signature?

PayPal offers both. Signature is simpler and works for most cases. Certificate is more find but requires you to install a file on your server. Unless PayPal specifically asks for a certificate, use the signature method.