Published April 25, 2026 Updated April 25, 2026 howto
How to Get a Shopify Access Token for Payout Management

How to Get a Shopify Access Token for Payout Management

Managing your Shopify payouts programmatically requires secure authentication through access tokens. Whether you're building a custom dashboard to track your payouts, integrating with accounting software, or automating payout reconciliation, obtaining a Shopify access token is the essential first step. This comprehensive guide walks you through everything you need to know about getting a Shopify payout access token in 2026.

Access tokens serve as the credentials that allow your applications to communicate with Shopify's API on your behalf. For payout-related operations specifically, you'll need tokens with specific permissions that grant access to financial and settlement data. Let's explore how to obtain these tokens securely.

What You Need

Illustration: What You Need

Understanding Shopify Payouts and API Access

Shopify payouts represent the funds transferred from your Shopify Payments account to your bank account. To access payout information through the API, you need an access token with appropriate permissions. The process of obtaining this token depends on whether you're creating a custom app, a public app, or using a third-party service.

There are two primary methods for obtaining access tokens in Shopify:

1. OAuth 2.0 Authorization Code Flow - Used for public apps and applications that need user authorization

2. Custom App Access Token - Used for private apps and direct integrations with your own store

For payout management, most merchants use custom app access tokens since they're accessing their own store's financial data.

Required API Scopes

Scope What It Allows
read_shopify_payments_payouts Read access to all payout information, including payout history, amounts, and settlement details
read_shopify_payments_accounts Access to Shopify Payments account information and configuration
read_orders Access to order data which correlates with payouts and transaction history
read_financial_events View all financial events including charges, refunds, and payout transactions
read_settlements Access detailed settlement and payout reconciliation information

When creating your access token, you'll select which scopes to include based on your specific use case. For comprehensive payout management, you'll typically need at least read_shopify_payments_payouts and read_financial_events.

Step-by-Step Guide

Method 1: Creating a Custom App Access Token (Recommended for Payout Access)

Step 1: Access Your Shopify Admin Dashboard

Log into your Shopify admin at https://admin.shopify.com. Make sure you're using an account with admin or app development permissions.

Step 2: Navigate to App and Integrations

In the left sidebar, click on "Apps and integrations" (or "Apps" depending on your Shopify version). Then select "App and integration settings".

Step 3: Create a New App

Click the "Create an app" button. You'll be prompted to choose between "Build an app for your store" or "Build an app to sell". For payout management, select "Build an app for your store".

Step 4: Name Your App

Enter a descriptive name for your app, such as "Payout Management Tool" or "Financial Dashboard". This helps you identify the app's purpose later.

Step 5: Configure Admin API Scopes

Once your app is created, navigate to the "Configuration" tab. Under "Admin API access scopes", select the scopes you need for payout access:

Click "Save" to confirm your scope selection.

Step 6: Generate Your Access Token

Navigate to the "API credentials" section. You'll see:

Copy your Admin API Access Token. This is your Shopify access token for payout management. Store this securely—never share it or commit it to version control.

Step 7: Test Your Token

Verify your token works by making a test API call to the payouts endpoint:

curl -X GET "https://your-store.myshopify.com/admin/api/2024-01/shopify_payments_payouts.json" \
  -H "X-Shopify-Access-Token: YOUR_ACCESS_TOKEN_HERE" \
  -H "Content-Type: application/json"

Replace your-store with your actual Shopify store name and YOUR_ACCESS_TOKEN_HERE with your access token. A successful response will return your payout data in JSON format.

Method 2: Using OAuth 2.0 Authorization for Multi-Store Apps

Step 1: Register Your Application

If you're building an app that needs to work across multiple Shopify stores, you'll use OAuth 2.0. Register your app in the Shopify Partner dashboard.

Step 2: Configure Redirect URIs

Set your redirect URI to a secure HTTPS endpoint in your application. For example: https://yourapp.com/auth/callback.

Step 3: Implement the Authorization Flow

Your application should redirect users to:

https://your-store.myshopify.com/admin/oauth/authorize?client_id=YOUR_API_KEY&scope=read_shopify_payments_payouts,read_financial_events&redirect_uri=https://yourapp.com/auth/callback&state=RANDOM_STATE_STRING

Step 4: Exchange Authorization Code for Access Token

After the user authorizes, Shopify redirects back with an authorization code. Exchange this for an access token:

curl -X POST "https://your-store.myshopify.com/admin/oauth/access_token" \
  -H "Content-Type: application/json" \
  -d '{
    "client_id": "YOUR_API_KEY",
    "client_secret": "YOUR_API_SECRET",
    "code": "AUTHORIZATION_CODE_FROM_REDIRECT"
  }'

The response will contain your access token, which you can then use for API requests.

Using GetShopifyToken (Faster Method)

Illustration: Using GetShopifyToken (Faster Method)

While the manual process works perfectly well, it requires navigating multiple admin screens and managing credentials. If you want to streamline the process of obtaining your Shopify access token, https://getshopifytoken.com provides an automated solution that handles the technical details for you.

GetShopifyToken simplifies token generation by guiding you through the process with a user-friendly interface. Instead of manually configuring scopes and copying API credentials from various locations, you can use their platform to generate properly scoped access tokens in minutes. This is especially useful if you're managing multiple stores or need to frequently rotate your tokens for security purposes.

Whether you choose the manual method or use a service like GetShopifyToken, the end result is the same: a secure access token that grants your applications permission to access your Shopify payout data.

Security Best Practices for Your Access Token

Never Hardcode Your Token

Always store your access token in environment variables or secure configuration files that aren't committed to version control. Use a .env file or secrets management system.

Rotate Your Tokens Regularly

Consider regenerating your access tokens periodically (quarterly or semi-annually). Shopify allows you to regenerate tokens from the API credentials section.

Use HTTPS Only

Always transmit your access token over HTTPS connections. Never use HTTP, as it exposes your credentials.

Limit Scope Permissions

Only request the minimum scopes necessary for your application. If you only need read access to payouts, don't request write permissions or access to other resources.

Revoke Unused Tokens

If you create a token and don't use it, delete it from your admin dashboard to reduce security risks.

Common Issues

Related Guides

Frequently Asked Questions

Q: What's the difference between an API key and an access token?

An API key identifies your application, while an access token is the credential that grants permission to access specific resources. For payout management, you'll primarily use the access token. The API key and secret are used in the OAuth flow to generate the access token.

Q: Can I use the same access token across multiple Shopify stores?

No, each access token is specific to the store it was created in. If you need to access payouts from multiple stores, you'll need separate access tokens for each store, or implement an OAuth flow that allows merchants to authorize your app on their individual stores.

Q: How often do I need to refresh my access token?

Custom app access tokens don't expire, so you don't need to refresh them. However, it's a security best practice to regenerate them periodically (every 3-6 months). OAuth tokens obtained through user authorization may have expiration times depending on your Shopify plan and configuration.

Q: Is it safe to share my access token with a third-party service?

You should only share your access token with trusted, verified services. If you need third-party integration for payout management, create a separate custom app with minimal scopes and revoke it if you stop using the service. Never share tokens through insecure channels like email or chat.

Q: What should I do if I accidentally expose my access token?

Immediately regenerate the token from your Shopify Admin dashboard. Click on your app, navigate to "API credentials," and click "Regenerate" next to your access token. The old token will become invalid within minutes, preventing unauthorized access to your payout data.

Get Your Shopify Access Token in 60 Seconds

Skip the manual OAuth flow. GetShopifyToken automates the entire process — just paste your credentials and get your token instantly.

Generate Token Now →