Get Stripe User Account
Audience:
Low-code EngineersSkill Prerequisites:
Actions,Tokens
Finds the ID of a Stripe account connected to your platform, using the account's email. It saves the ID, for example acct_1AbC..., in a token so later actions can send payments to that account.
Sellers connect their accounts with Stripe Add Seller.
This action is part of the Stripe add-on (DnnSharp.Stripe). The add-on is installed separately and needs the STRIPE feature in your license. If it isn't licensed, the action fails with a "not licensed" error. If you don't see the Stripe actions, the add-on isn't installed.
Typical Use Cases
- Get a seller's account ID before sending them a payment with Stripe Checkout
- Check that a seller finished connecting their account after Stripe Add Seller
Don't use it to
- Find a customer. This action searches connected accounts, not customers. Use Stripe Create Customer to create customers.
- Connect a new seller. Use Stripe Add Seller instead.
Related Actions
| Action Name | Description |
|---|---|
| Stripe Add Seller | Connects a seller's Stripe account to your platform. |
| Stripe Checkout | Takes a payment and can transfer it to a connected account. |
Input Parameter Reference
| Parameter | Description | Supports Tokens | Default | Required |
|---|---|---|---|---|
| API Secret Key | Your platform's Stripe secret key. If it's empty, the action does nothing. | Yes | empty string | Yes |
| User email | The email of the connected account, for example [SellerEmail]. It must match the email on the Stripe account exactly, including upper and lower case. | Yes | empty string | Yes |
| Account Number Token Name | The name of the token that receives the account ID, for example SellerAccountId. If it's empty, the ID isn't saved. | No | empty string | No |
Output Parameters Reference
| Output | Description |
|---|---|
[<Account Number Token Name>] | The ID of the matching connected account. It's an empty string if no account matches. |
Considerations
- Only the first 10 accounts are searched. The action reads one page of connected accounts from Stripe, which holds up to 10 accounts. If your platform has more, the account may not be found.
- Check for an empty result. Add a condition on later actions, for example
"[SellerAccountId]" != "". See Common Parameters. - Errors stop execution. An invalid key or a Stripe error raises an error. Use the
On Errorlist of Execute Actions to handle it.
Examples
To understand how to use the below examples, please see Running Examples.
1. Get a seller's account ID
This action looks up the connected account for the seller's email and saves its ID in [SellerAccountId].
{
"Title": "Get Stripe User Account",
"ActionType": "StripeGetAccountId",
"Description": "Find the seller's connected account ID",
"Parameters": {
"APISecretKey": "[StripeSecretKey]",
"Email": "[SellerEmail]",
"AccountTokenName": "SellerAccountId"
}
}
Revised 09/27/2026