curl --request GET \
--url https://api.komerza.com/user \
--header 'Authorization: Bearer <token>'{
"success": true,
"message": "<string>",
"code": "<string>",
"data": {
"id": "<string>",
"dateCreated": "2023-11-07T05:31:56Z",
"email": "<string>",
"userName": "<string>",
"plan": "<string>",
"twoFactorEnabled": true,
"riskLocked": true,
"integrations": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"application": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"name": "<string>",
"permissions": [
"<string>"
],
"userId": "<string>",
"imageName": "<string>",
"termsOfServiceLink": "<string>",
"privacyPolicyLink": "<string>"
}
}
],
"apiKeys": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"label": "<string>",
"ipAddresses": [
"<string>"
],
"scopes": [
"<string>"
],
"userId": "<string>"
}
],
"disabledPaymentMethods": {},
"stripeEnabled": true,
"squareEnabled": true,
"paypalBusinessEnabled": true,
"isCryptoEnabled": true,
"isSumUpEnabled": true,
"isAuthorizeNetEnabled": true,
"restrictedPaymentMethods": [
"<string>"
],
"riskLockedPaymentMethods": [
"<string>"
],
"stores": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"name": "<string>",
"description": "<string>",
"url": "\n store\n ",
"currencyCode": "<string>",
"prependProductNameToReceipt": true,
"isAutomaticReviewsEnabled": true,
"rating": 123,
"domain": "<string>",
"isCustomerBalanceEnabled": true,
"branding": {
"isAutomaticCurrencyConversionEnabled": true,
"bannerFileName": "<string>",
"iconFileName": "<string>",
"accentColor": "<string>"
},
"customDomain": "<string>",
"scopes": [
"<string>"
],
"maintenanceReason": "<string>",
"affiliateOptions": {
"isEnabled": true,
"defaultReturnPercentage": 50,
"canConvertAffiliateBalance": true,
"isPublicRegistrationEnabled": true,
"isLinkEditingEnabled": true,
"defaultPercentageOff": 50
}
}
],
"integrationErrorReports": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"reason": "<string>",
"gateway": "<string>",
"reporter": "<string>",
"resolved": true,
"type": "<string>",
"userId": "<string>"
}
],
"lastPasswordUpdate": "2023-11-07T05:31:56Z",
"signals": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"countryCode": "<string>",
"userId": "<string>",
"registrationIpAddress": "<string>",
"registrationFingerprint": "<string>",
"verificationStatus": "<string>",
"fullName": "<string>",
"addressLine1": "<string>",
"addressLine2": "<string>",
"city": "<string>",
"region": "<string>",
"postalCode": "<string>",
"legalEntityType": "<string>",
"taxId": "<string>"
},
"discordWebhookUrl": "<string>",
"subscription": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"expiryDate": "2023-12-25",
"autoRenew": true,
"userId": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"startedDate": "2023-12-25",
"stripeCustomerId": "<string>",
"stripeSubscriptionId": "<string>",
"nextBillingDate": "2023-12-25",
"status": "<string>",
"trialEndDate": "2023-12-25",
"priceId": "<string>",
"billingCycleAnchor": "2023-11-07T05:31:56Z",
"cancelAt": "2023-11-07T05:31:56Z",
"canceledAt": "2023-11-07T05:31:56Z"
},
"refreshAt": "2023-11-07T05:31:56Z",
"cashAppOptions": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"isEnabled": true,
"isRestricted": true,
"isRiskLocked": true,
"userId": "<string>",
"isAcceptingRequests": true,
"notesVersion": 0,
"restrictionReason": "<string>",
"email": "<string>",
"tag": "<string>"
},
"payPalOptions": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"isEnabled": true,
"isRestricted": true,
"isRiskLocked": true,
"userId": "<string>",
"isUsingLegacyEmails": true,
"isFriendsAndFamilyEnabled": true,
"isAcceptingRequests": true,
"isAcceptingHeldPayments": true,
"notesVersion": 0,
"restrictionReason": "<string>",
"email": "<string>",
"payPalEmail": "<string>"
},
"payPalBusinessOptions": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"isEnabled": true,
"isRestricted": true,
"isRiskLocked": true,
"userId": "<string>",
"isUsingLegacyIntegration": true,
"restrictionReason": "<string>",
"oAuthClientId": "<string>",
"emailAddress": "<string>"
},
"stripeOptions": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"isEnabled": true,
"isRestricted": true,
"isRiskLocked": true,
"userId": "<string>",
"requireBillingInformation": true,
"restrictionReason": "<string>",
"paymentMethodConfigurationId": "<string>",
"publishableKey": "<string>"
},
"squareOptions": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"isEnabled": true,
"isRestricted": true,
"isRiskLocked": true,
"userId": "<string>",
"applicationId": "<string>",
"locationId": "<string>",
"restrictionReason": "<string>"
},
"cryptocurrencyOptions": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"isEnabled": true,
"isRestricted": true,
"isRiskLocked": true,
"userId": "<string>",
"enabledCryptocurrencies": [
"<string>"
],
"payoutCryptocurrency": "<string>",
"automaticPayoutThreshold": 123,
"isPayoutsLocked": true,
"restrictionReason": "<string>",
"nowPaymentsId": "<string>",
"payoutAddress": "<string>",
"payoutSchedule": "<string>"
},
"ownedReferralLink": "<string>",
"referralLink": "<string>"
}
}Returns the currently authenticated user’s profile data.
Requires the user.view permission.
curl --request GET \
--url https://api.komerza.com/user \
--header 'Authorization: Bearer <token>'{
"success": true,
"message": "<string>",
"code": "<string>",
"data": {
"id": "<string>",
"dateCreated": "2023-11-07T05:31:56Z",
"email": "<string>",
"userName": "<string>",
"plan": "<string>",
"twoFactorEnabled": true,
"riskLocked": true,
"integrations": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"application": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"name": "<string>",
"permissions": [
"<string>"
],
"userId": "<string>",
"imageName": "<string>",
"termsOfServiceLink": "<string>",
"privacyPolicyLink": "<string>"
}
}
],
"apiKeys": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"label": "<string>",
"ipAddresses": [
"<string>"
],
"scopes": [
"<string>"
],
"userId": "<string>"
}
],
"disabledPaymentMethods": {},
"stripeEnabled": true,
"squareEnabled": true,
"paypalBusinessEnabled": true,
"isCryptoEnabled": true,
"isSumUpEnabled": true,
"isAuthorizeNetEnabled": true,
"restrictedPaymentMethods": [
"<string>"
],
"riskLockedPaymentMethods": [
"<string>"
],
"stores": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"name": "<string>",
"description": "<string>",
"url": "\n store\n ",
"currencyCode": "<string>",
"prependProductNameToReceipt": true,
"isAutomaticReviewsEnabled": true,
"rating": 123,
"domain": "<string>",
"isCustomerBalanceEnabled": true,
"branding": {
"isAutomaticCurrencyConversionEnabled": true,
"bannerFileName": "<string>",
"iconFileName": "<string>",
"accentColor": "<string>"
},
"customDomain": "<string>",
"scopes": [
"<string>"
],
"maintenanceReason": "<string>",
"affiliateOptions": {
"isEnabled": true,
"defaultReturnPercentage": 50,
"canConvertAffiliateBalance": true,
"isPublicRegistrationEnabled": true,
"isLinkEditingEnabled": true,
"defaultPercentageOff": 50
}
}
],
"integrationErrorReports": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"reason": "<string>",
"gateway": "<string>",
"reporter": "<string>",
"resolved": true,
"type": "<string>",
"userId": "<string>"
}
],
"lastPasswordUpdate": "2023-11-07T05:31:56Z",
"signals": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"countryCode": "<string>",
"userId": "<string>",
"registrationIpAddress": "<string>",
"registrationFingerprint": "<string>",
"verificationStatus": "<string>",
"fullName": "<string>",
"addressLine1": "<string>",
"addressLine2": "<string>",
"city": "<string>",
"region": "<string>",
"postalCode": "<string>",
"legalEntityType": "<string>",
"taxId": "<string>"
},
"discordWebhookUrl": "<string>",
"subscription": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"expiryDate": "2023-12-25",
"autoRenew": true,
"userId": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"startedDate": "2023-12-25",
"stripeCustomerId": "<string>",
"stripeSubscriptionId": "<string>",
"nextBillingDate": "2023-12-25",
"status": "<string>",
"trialEndDate": "2023-12-25",
"priceId": "<string>",
"billingCycleAnchor": "2023-11-07T05:31:56Z",
"cancelAt": "2023-11-07T05:31:56Z",
"canceledAt": "2023-11-07T05:31:56Z"
},
"refreshAt": "2023-11-07T05:31:56Z",
"cashAppOptions": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"isEnabled": true,
"isRestricted": true,
"isRiskLocked": true,
"userId": "<string>",
"isAcceptingRequests": true,
"notesVersion": 0,
"restrictionReason": "<string>",
"email": "<string>",
"tag": "<string>"
},
"payPalOptions": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"isEnabled": true,
"isRestricted": true,
"isRiskLocked": true,
"userId": "<string>",
"isUsingLegacyEmails": true,
"isFriendsAndFamilyEnabled": true,
"isAcceptingRequests": true,
"isAcceptingHeldPayments": true,
"notesVersion": 0,
"restrictionReason": "<string>",
"email": "<string>",
"payPalEmail": "<string>"
},
"payPalBusinessOptions": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"isEnabled": true,
"isRestricted": true,
"isRiskLocked": true,
"userId": "<string>",
"isUsingLegacyIntegration": true,
"restrictionReason": "<string>",
"oAuthClientId": "<string>",
"emailAddress": "<string>"
},
"stripeOptions": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"isEnabled": true,
"isRestricted": true,
"isRiskLocked": true,
"userId": "<string>",
"requireBillingInformation": true,
"restrictionReason": "<string>",
"paymentMethodConfigurationId": "<string>",
"publishableKey": "<string>"
},
"squareOptions": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"isEnabled": true,
"isRestricted": true,
"isRiskLocked": true,
"userId": "<string>",
"applicationId": "<string>",
"locationId": "<string>",
"restrictionReason": "<string>"
},
"cryptocurrencyOptions": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"isEnabled": true,
"isRestricted": true,
"isRiskLocked": true,
"userId": "<string>",
"enabledCryptocurrencies": [
"<string>"
],
"payoutCryptocurrency": "<string>",
"automaticPayoutThreshold": 123,
"isPayoutsLocked": true,
"restrictionReason": "<string>",
"nowPaymentsId": "<string>",
"payoutAddress": "<string>",
"payoutSchedule": "<string>"
},
"ownedReferralLink": "<string>",
"referralLink": "<string>"
}
}Your API key goes here
The object was successfully returned.
Represents a default generic response for API endpoints.
Indicates whether the operation or response was successful.
A descriptive message providing additional context or information about the response.
The error code (if there was an error) to use when referencing the error
Represents a user with detailed merchant-related information.
Show child attributes
The unique identifier for the user.
The date the entity was created
The user's email address.
The username of the user.
The user's subscription plan.
Indicates whether two-factor authentication is enabled for the user.
Whether their account is locked due to being too high risk
A list of connected OAuth integrations for the user.
Show child attributes
The unique identifier of the entity
The date the entity was created
An application to use for OAuth2
Show child attributes
The unique identifier of the entity
The date the entity was created
The name of the application
2 - 100The list of permissions the application requires
The ID of the user who owns the application
The name of the image to show for the application
The link to the application's terms of service
2000The link to the application's privacy policy
2000The API keys associated with the user.
Show child attributes
The unique identifier of the entity
The date the entity was created in the database
Represents a descriptive or identifiable name assigned to the API key
1 - 64The list of IP addresses which are allowed to access the API
The list of scopes the API key is allowed to access
The identifier of the user associated with the API key
1 - 36Indicates whether Stripe integration is enabled for the user.
Indicates whether Square integration is enabled for the user.
Indicates whether PayPal Business integration is enabled for the user.
Indicates whether cryptocurrency integration is enabled for the user.
Indicates whether the SumUp integration is enabled for the user.
Indicates whether Authorize.Net payment integration is enabled for the user.
The list of payment methods which are restricted for the user.
The list of payment methods which are risk locked for the user.
Represents the collection of store references associated with a user.
Show child attributes
The unique identifier of the entity
The date the entity was created
The name of the store
The description of the store, shown on their about page and on the home of their store page
The subdomain for the store, ONLY the subdomain, not the fully qualified domain
"\n store\n "
The stores preferred currency
Whether the name of the product should be prepended to the start of delivery receipts to customers
Whether automatic review leaving is enabled
The combined average rating for all their products
The domain the store is associated with
Whether the customer balance system is enabled on the stores
Represents the configurable branding options for a store.
Show child attributes
Indicates whether automatic currency conversion is enabled, this is strictly for displaying on the checkout which improves conversion
Represents the file name of the banner associated with the checkout options.
64The icon file name, used for favicon
64Represents the accent color used in the checkout options.
9The custom domain set for the store, will be null if not set
The permission scopes that the current user can use for the store, only returned on the /user endpoint for stores visible due to team permissions, will also be null on /user if the store is owned by the user and therefore has every (permissions)
The reason the store is in maintenance, if this is null then the store is not in maintenance mode
Represents the configuration options for affiliate settings in a store.
Show child attributes
Determines if the affiliate settings are active for the store.
Specifies the default return percentage for affiliates within a store, ranging from 0 to 100.
0 <= x <= 100Whether the store allows affiliate balance to be converted into customer balance to be used on the store, when enabled any affiliate can convert their affiliate balance into customer balance automatically
Determines whether public registration is enabled for affiliates within the store.
Indicates whether link editing capabilities are enabled within the affiliate options for a store.
Represents the default percentage off value used in affiliate settings, where the value must be between 0 and 100.
0 <= x <= 100A collection of error reports related to integrations.
Show child attributes
The unique identifier of the entity
The date the entity was created in the database
The reason for the report
3 - 1024The ID of the payment gateway that has the error
1 - 64The hostname of the server which reported the issue
1 - 128Whether the report has been acknowledged and resolved - therefore should not be shown
The ID/type of report that specifically identifies the detected issue
3 - 256The user who the report is for (automatically done by EF core)
36The timestamp of the user's last password update.
Represents the risk signal information on a merchant
Show child attributes
The unique identifier of the entity
The date the entity was created in the database
The ISO 3166-1 alpha-2 country code associated with the address. Examples: "US" for the United States, "CA" for Canada.
1 - 2The ID of the user the KYC info belongs to
1 - 36Gets or sets the IP address that was used to create the merchant
45The browser/device-specific fingerprint captured during user registration for identity verification.
256The current verification status of the merchant's KYC process.
1 - 30The full name of the individual or entity associated with merchant account.
100The primary address line. Typically, includes house number, street name, or building name.
200The secondary address line, if applicable. May include apartment, suite, unit, or floor details. Optional field.
200The city or locality associated with the address.
100The region associated with the address. Represents state, province, or other administrative division.
100The postal or ZIP code for the address.
20The legal entity type the merchant is, use the common model LegalEntityType to specify
1 - 1000Tax Identification Number or VAT number.
50The URL for a Discord webhook associated with the user.
Represents the subscription configuration and details for a user.
Show child attributes
The unique identifier of the entity
The date the entity was created in the database
Gets or sets the expiry date of the subscription plan. Defaults to DateOnly.MaxValue if the plan does not have an expiration date.
Gets or sets a value indicating whether the subscription will automatically renew. Default is true unless explicitly disabled by the user or system configuration.
Gets or sets the unique identifier for the user associated with the subscription options. Required and must be a string between 3 and 36 characters.
3 - 36Gets or sets the timestamp of the last synchronization event. Default is the current UTC time at instantiation.
Gets or sets the start date of the user's subscription. This represents when the subscription started or was activated.
Gets or sets the Stripe Customer ID associated with the user's subscription. This ID is used to link the user to their Stripe account data.
3 - 128Gets or sets the Stripe subscription ID associated with the user. Represents the unique subscription ID from the Stripe platform.
3 - 128Gets or sets the next billing date of the user's subscription plan. Null indicates that the next billing date is not yet determined.
Gets or sets the current subscription status for a user. Examples include "active" or "canceled".
50Gets or sets the trial end date for the user's subscription. Null if no trial is assigned.
Gets or sets the identifier for the price associated with the subscription, typically used for billing purposes.
128Gets or sets the date and time at which the billing cycle is anchored. Default is null if no anchor date is specified.
Gets or sets the date and time when the subscription is set to be canceled. Null indicates no cancellation is scheduled by default.
Gets or sets the date and time when the subscription was canceled. This property is null if the subscription has not been canceled.
The timestamp indicating when the user information should be refreshed.
Represents configuration and options related to Cash App integration within the application.
Show child attributes
The unique identifier of the entity
Whether the integration is enabled or not
Whether the payment method is restricted from being used by the PSP
Whether the payment method is restricted for setup by the user due to risk concerns
The user ID the integration options are for
36Whether to accept Cash App requests as a delivery receipt, this can be dangerous as users can charge back easily at this stage
Represents versions used in the notes system within the application.
0, 1 The reason the restriction is in place, if there is one
2048The automatically generated email address to forward Cash App emails to
256The users Cash Tag to show the user where to send the funds
32The options to configure PayPal with
Show child attributes
The unique identifier of the entity
Whether the integration is enabled or not
Whether the payment method is restricted from being used by the PSP
Whether the payment method is restricted for setup by the user due to risk concerns
The user ID the integration options are for
36Whether the Friends and Family integration is using legacy email forwarding not IPN
Whether the PayPal friends and family integration is enabled
Whether to accept PayPal friends and family requests as a delivery receipt, this can be dangerous as users can charge back easily at this stage
Whether to accept payments that are on-hold automatically, this is potentially dangerous as the payment can fail at this stage and cause lost funds
Represents versions used in the notes system within the application.
0, 1 The reason the restriction is in place, if there is one
2048The automatically generated email address to forward PayPal emails to
512The actual email address associated with their PayPal account
512Represents the configuration options specific to a PayPal Business integration.
Show child attributes
The unique identifier of the entity
Whether the integration is enabled or not
Whether the payment method is restricted from being used by the PSP
Whether the payment method is restricted for setup by the user due to risk concerns
The user ID the integration options are for
36Whether the system is using the legacy PayPal Business integration method, which uses links and "not smart" buttons
The reason the restriction is in place, if there is one
2048The OAuth client identifier used for authentication with PayPal.
512The email address associated with the PayPal account, used for the old system
256The Stripe options for a merchants Stripe setup
Show child attributes
The unique identifier of the entity
Whether the integration is enabled or not
Whether the payment method is restricted from being used by the PSP
Whether the payment method is restricted for setup by the user due to risk concerns
The user ID the integration options are for
36Whether to prompt and ask the customer for billing information, reduces conversion and increases anti-fraud effectiveness
The reason the restriction is in place, if there is one
2048The payment method configuration ID to use for the account integration
64The publishable key for the Stripe integration, not encrypted
512Represents configuration options specific to Square integrations.
Show child attributes
The unique identifier of the entity
Whether the integration is enabled or not
Whether the payment method is restricted from being used by the PSP
Whether the payment method is restricted for setup by the user due to risk concerns
The user ID the integration options are for
36Represents the application ID required for Square payment integration.
1 - 256Represents the location ID associated with the Square integration.
1 - 256The reason the restriction is in place, if there is one
2048The cryptocurrency options for a merchant
Show child attributes
The unique identifier of the entity
Whether the integration is enabled or not
Whether the payment method is restricted from being used by the PSP
Whether the payment method is restricted for setup by the user due to risk concerns
The user ID the integration options are for
36The list of enabled cryptocurrencies
The default cryptocurrency to use for crypto payouts, defaults to Litecoin
10The minimum amount of funds required to trigger an automatic payout
Whether payouts are locked for this user
The reason the restriction is in place, if there is one
2048The ID of the user on NOWPayments
64The payout address to send crypto payouts to by default
90The schedule for payouts, if null then automatic payouts will be made when the threshold is reached
The referral link owned by the user.
Gets or sets the referral link associated with the user.
Was this page helpful?