How to Create USPS API Credentials
Overview
This article walks you through the steps for creating USPS API credentials using the
USPS Developer Portal↗. These credentials allow your your Spirit Sale stores to securely access USPS APIs for services such live shipping rates.
Steps to Create API Credentials
1. Onboard via the Customer Onboarding Portal (COP)
Click Customer Onboarding Portal (COP).
Log in with your USPS Business Customer Gateway account or click Create New Account to register.
Complete the profile with your email, company address, and contact information.
If required, add your Enterprise Payment Account.
2. Log into the USPS Developer Portal
Sign in using your USPS Business Account credentials.
You’ll land on the Developer Portal Dashboard.
3. Create an App
In the left-hand menu, click Apps.
Select Add App.
Complete the form:
Click Add App.
4. Retrieve Your API Credentials
4. Save Your USPS API Credentials to Spirit Sale
Login to your Spirt Sale account.
From the Dashboard go to Setting --> Shipping Setup --> Select USPS under
Store them securely (for example, in environment variables or a secrets manager).
Enter your Consumer Key into the USPS Consumer Key field then the Secret into the Consumer Secret field.
Press the Green Up button.
Users should not toggle on "USE USPS LEGACY SERVER" unless your USPS API credentials were created under the USPS Legacy Developer portal at developer.usps.com, and not at developers.usps.com.

Helpful Tips
Your default app subscription typically includes base API and with a quota of ~60 calls/hour. Contact USPS API Support to increase this.
Support: For issues, use the “Email Us” form in the Developer Portal or contact USPS API support at apisupport@usps.gov.
Related Articles
Updating Your USPS Credentials in Spirit Sale (Migration to New USPS APIs)
Who Does This Apply To This information only applies to Spirit Sale stores still using the older USPS Web Tools (Legacy) API for live shipping rates. You do NOT need to follow this guide if: You don't use USPS for shipping. You already migrated to ...
How to Set Up Your Stripe API Keys With Spirit Sale
Overview Spirit Sale integrates directly with Stripe to process payments. To connect your store, you’ll need your live publishable key and live secret key from Stripe. Important Notes: Only standard live keys are supported. Restricted keys will not ...
Promo Codes: Apply Taxes Before or After Discount
About We’ve added a toggle on each promo code that lets you choose how sales tax is calculated relative to the discount. You can now apply promo discounts before taxes (traditional) or after taxes (taxes calculated on the pre-discount subtotal). This ...
Setting an upcharge for Customization
Create the product with the logo and the text for personalization. Then go to manage variants. Click on Set Global Price. Enter the price for all variants Then the up charge for the name. click update. On the store you will see
How to add upcharges for optional designs on a product
Either create a new product or find and open a product you would like to edit by going to Products --> Products from your Spirit Sale dashboard, then open a product. In the properties of a product click the Manage Variants tab. Under the Manage ...