Overview
When you create retailer credentials, Zinc uses those accounts to log in and place orders on your behalf. Credentials are encrypted and stored securely.If you don’t configure retailer credentials, Zinc will use default internal accounts
to process your orders.
Order Locking
To prevent conflicts and ensure order integrity, managed accounts are locked during order processing. Only one order can be processed at a time per managed account. If you submit multiple orders simultaneously using the same managed account, they will be queued and processed sequentially. This prevents issues like duplicate cart items or checkout conflicts that could occur if multiple orders were placed concurrently on the same retailer account.Two-Factor Authentication (TOTP)
If your retailer account has two-factor authentication enabled, you must provide the TOTP secret key when creating or updating credentials.Using 2FA is the most secure and reliable method for avoiding account verification issues during order processing.
Finding Your Amazon TOTP Key
To find your Amazon TOTP secret key:- Go to Amazon’s Login & Security settings
- Enable Two-Factor Authentication
- When shown the QR code, click “Can’t scan the barcode?”
- Copy the displayed secret key (64 characters)

Email Forwarding
Retailers like Amazon may send verification codes via email during login. To handle these automatically, you can forward emails from your retailer account to a special Zinc email address. Zinc will parse incoming emails and automatically extract verification codes, so orders can proceed without manual intervention. Each managed account is assigned a dedicated forwarding address. You can find this address in the Zinc dashboard under your managed account settings.Once email forwarding is configured and verified, the
has_forwarding field on your
managed account will be set to true.Setting Up Email Forwarding in Gmail
Rather than forwarding all incoming mail to Zinc, we recommend creating a Gmail filter that only forwards emails from the retailer. This keeps your forwarding targeted and avoids sending unrelated emails to Zinc.Register the Zinc forwarding address
Before Gmail can forward to any address, it must be registered. Go to Settings >
Forwarding and POP/IMAP and click Add a forwarding address. Enter the Zinc
forwarding email address shown in your managed account settings on the
Zinc dashboard.Google will send a confirmation email to the Zinc address. Zinc automatically verifies
the forwarding request — this may take a few minutes. Once confirmed, the address will
appear as verified in Gmail.
Set the filter criteria
In the From field, enter the retailer’s email domain. For example, for Amazon
enter
amazon.com. This will match all emails sent from any @amazon.com address.
Leave the other fields blank and click Create filter.Endpoints
| Method | Endpoint | Description |
|---|---|---|
GET | /managed-accounts | List all your retailer credentials |
POST | /managed-accounts | Create new retailer credentials |
PUT | /managed-accounts/{short_id} | Update existing credentials |
DELETE | /managed-accounts/{short_id} | Delete credentials |
Create Credentials
Request Fields
| Field | Type | Required | Description |
|---|---|---|---|
email | string | Yes | The email address for the retailer account |
password | string | No | The password for the retailer account (encrypted on storage) |
retailer | string | No | Retailer name (e.g., amazon). If omitted, applies as default credentials |
totp_secret | string | No | The secret key for two-factor authentication. Required if 2FA is enabled on the retailer account |
Response
List Credentials
Response
Update Credentials
Use theshort_id from the credentials response to update:
Request Fields
All fields are optional. Only provided fields are updated.| Field | Type | Description |
|---|---|---|
email | string | New email address |
password | string | New password |
retailer | string | New retailer association |
totp_secret | string | Update the 2FA secret key |
Delete Credentials
204 No Content on success.
Response Fields
| Field | Type | Description |
|---|---|---|
id | string (UUID) | Unique identifier |
short_id | string | Short identifier used in URLs (e.g., zn_acct_a1b2c3d4) |
email | string | Retailer account email |
retailer | string or null | Retailer name, or null if default credentials |
has_totp | boolean | Whether TOTP 2FA is configured for this account |
has_forwarding | boolean | Whether email forwarding has been verified for this account |
created_at | string (ISO 8601) | When the credentials were created |
updated_at | string (ISO 8601) | When the credentials were last updated |
Best Practices
- Use dedicated accounts - Create retailer accounts specifically for Zinc orders to avoid conflicts with personal orders
-
Monitor account health - Retailer accounts can be locked if flagged for unusual activity. Check for
login_failedoraccount_lockederrors - Keep credentials updated - If you change your retailer account password, update it here to avoid order failures
- Enable 2FA - Two-factor authentication prevents account lockouts from verification challenges and is the most reliable method for automated ordering

