Store
Get stores
GEThttps://api.paynow.gg/v1/stores
Retrieves all stores accessible to the authenticated user or API key.
Headers
AuthorizationAPI KeyRequired
Authentication token for this request, sent as
Authorization: APIKey TOKEN.Response
200OKStoreDto[]
Represents a PayNow store and its associated configuration.
Show fieldsHide fields
currencystringRequired
The ISO 4217 currency code used by this store for pricing (e.g. "usd", "eur")
descriptionstringRequired
A human-readable description of the store shown to customers and PayNow.
gamestringRequired
Alias for 'platform'. Returns the platform identifier as a game name.
idFlakeIdRequired
live_modebooleanRequired
When set to true, the store is processing real transactions in live mode.
namestringRequired
The display name of the store.
owner_idFlakeIdRequired
platformstringRequired
The platform this store is associated with (e.g. "rust", "minecraft").
slugstringRequired
The URL-safe slug used to identify the store (e.g. "my-rust-server").
contact_emailstringOptional
General contact email address for the store.
created_atstringOptional
The UTC timestamp when the store was created.
integration_typestringOptional
The integration type used by the store.
logo_square_urlstringOptional
URL of the store's square/icon logo image.
logo_urlstringOptional
URL of the store's full-size logo image.
minecraft_bedrock_username_prefixstringOptional
Username prefix used to identify Minecraft Bedrock players (e.g. ".").
onboarding_completed_atstringOptional
The UTC timestamp when the store completed onboarding.
platform_store_type_associationPlatformStoreTypeAssociationDetailsDtoOptional
disable_billing_plansbooleanRequired
When true, billing plans are disabled for this platform/store type combination.
display_disclaimersbooleanRequired
When true, legal or compliance disclaimers should be displayed to the end user.
full_external_managementbooleanRequired
Whether the management hides some PayNow UI
platform_idFlakeIdRequired
store_platformstringRequired
The store platform identifier string (e.g. "rust", "minecraft").
associated_platformPublicPlatformDtoOptional
accent_colorstringRequired
business_namestringRequired
capabilitiesenum[]Required
Possible enum values
invalidconnected_users
country_codestringRequired
created_atstringRequired
descriptionstringRequired
idFlakeIdRequired
logo_urlstringRequired
namestringRequired
slugstringRequired
typeenumRequired
Possible enum values
invalidmarketplacestore_platformother
website_urlstringRequired
disabled_atstringOptional
updated_atstringOptional
connected_platform_fee_percentageintegerOptional
The fee percentage charged by the connected platform.
Expressed in basis points (e.g. 250 = 2.50%).
connected_platform_wallet_idFlakeIdOptional
paynow_platform_fee_percentage_overrideintegerOptional
Overrides the default PayNow platform fee percentage for this association.
Expressed in basis points (e.g. 250 = 2.50%).
support_emailstringOptional
Dedicated support email address for customer inquiries.
support_urlstringOptional
URL to the store's support portal or help page.
updated_atstringOptional
The UTC timestamp when the store was last updated.
website_urlstringOptional
The store's public website URL.
Failed requests return a PayNowError body. See the error response guide.
curl -X GET "https://api.paynow.gg/v1/stores" \
-H "Authorization: APIKey TOKEN"import { createManagementClient } from "@paynow-gg/typescript-sdk";
const paynow = createManagementClient({
apiKey: "API_KEY",
storeId: "STORE_ID",
});
const result = await paynow.store.getStores();import requests
headers = {"Authorization": "APIKey TOKEN"}
response = requests.get("https://api.paynow.gg/v1/stores", headers=headers)Response200
[
{
"currency": "string",
"description": "string",
"game": "string",
"id": "411486491630370816",
"live_mode": true,
"name": "string",
"owner_id": "411486491630370816",
"platform": "string",
"slug": "string",
"website_url": "string",
"contact_email": "string",
"support_email": "string",
"support_url": "string",
"integration_type": "string",
"logo_url": "string",
"logo_square_url": "string",
"minecraft_bedrock_username_prefix": "string",
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-01T00:00:00Z",
"onboarding_completed_at": "2024-01-01T00:00:00Z",
"platform_store_type_association": {
"disable_billing_plans": true,
"display_disclaimers": true,
"full_external_management": true,
"platform_id": "411486491630370816",
"store_platform": "string",
"associated_platform": {
"accent_color": "string",
"business_name": "string",
"capabilities": [
"invalid"
],
"country_code": "string",
"created_at": "2024-01-01T00:00:00Z",
"description": "string",
"id": "411486491630370816",
"logo_url": "string",
"name": "string",
"slug": "string",
"type": "invalid",
"website_url": "string",
"updated_at": "2024-01-01T00:00:00Z",
"disabled_at": "2024-01-01T00:00:00Z"
},
"paynow_platform_fee_percentage_override": 0,
"connected_platform_fee_percentage": 0,
"connected_platform_wallet_id": "411486491630370816"
}
}
]Headers
AuthorizationAPI KeyRequired
Authentication token for this request, sent as
Authorization: APIKey TOKEN.Path parameters
storeIdFlakeIdRequired
Response
200OKStoreDto
Represents a PayNow store and its associated configuration.
Show fieldsHide fields
currencystringRequired
The ISO 4217 currency code used by this store for pricing (e.g. "usd", "eur")
descriptionstringRequired
A human-readable description of the store shown to customers and PayNow.
gamestringRequired
Alias for 'platform'. Returns the platform identifier as a game name.
idFlakeIdRequired
live_modebooleanRequired
When set to true, the store is processing real transactions in live mode.
namestringRequired
The display name of the store.
owner_idFlakeIdRequired
platformstringRequired
The platform this store is associated with (e.g. "rust", "minecraft").
slugstringRequired
The URL-safe slug used to identify the store (e.g. "my-rust-server").
contact_emailstringOptional
General contact email address for the store.
created_atstringOptional
The UTC timestamp when the store was created.
integration_typestringOptional
The integration type used by the store.
logo_square_urlstringOptional
URL of the store's square/icon logo image.
logo_urlstringOptional
URL of the store's full-size logo image.
minecraft_bedrock_username_prefixstringOptional
Username prefix used to identify Minecraft Bedrock players (e.g. ".").
onboarding_completed_atstringOptional
The UTC timestamp when the store completed onboarding.
platform_store_type_associationPlatformStoreTypeAssociationDetailsDtoOptional
disable_billing_plansbooleanRequired
When true, billing plans are disabled for this platform/store type combination.
display_disclaimersbooleanRequired
When true, legal or compliance disclaimers should be displayed to the end user.
full_external_managementbooleanRequired
Whether the management hides some PayNow UI
platform_idFlakeIdRequired
store_platformstringRequired
The store platform identifier string (e.g. "rust", "minecraft").
associated_platformPublicPlatformDtoOptional
accent_colorstringRequired
business_namestringRequired
capabilitiesenum[]Required
Possible enum values
invalidconnected_users
country_codestringRequired
created_atstringRequired
descriptionstringRequired
idFlakeIdRequired
logo_urlstringRequired
namestringRequired
slugstringRequired
typeenumRequired
Possible enum values
invalidmarketplacestore_platformother
website_urlstringRequired
disabled_atstringOptional
updated_atstringOptional
connected_platform_fee_percentageintegerOptional
The fee percentage charged by the connected platform.
Expressed in basis points (e.g. 250 = 2.50%).
connected_platform_wallet_idFlakeIdOptional
paynow_platform_fee_percentage_overrideintegerOptional
Overrides the default PayNow platform fee percentage for this association.
Expressed in basis points (e.g. 250 = 2.50%).
support_emailstringOptional
Dedicated support email address for customer inquiries.
support_urlstringOptional
URL to the store's support portal or help page.
updated_atstringOptional
The UTC timestamp when the store was last updated.
website_urlstringOptional
The store's public website URL.
Failed requests return a PayNowError body. See the error response guide.
curl -X GET "https://api.paynow.gg/v1/stores/{storeId}" \
-H "Authorization: APIKey TOKEN"import { createManagementClient } from "@paynow-gg/typescript-sdk";
const paynow = createManagementClient({
apiKey: "API_KEY",
storeId: "STORE_ID",
});
const result = await paynow.store.getStore();import requests
headers = {"Authorization": "APIKey TOKEN"}
response = requests.get("https://api.paynow.gg/v1/stores/{storeId}", headers=headers)Response200
{
"currency": "string",
"description": "string",
"game": "string",
"id": "411486491630370816",
"live_mode": true,
"name": "string",
"owner_id": "411486491630370816",
"platform": "string",
"slug": "string",
"website_url": "string",
"contact_email": "string",
"support_email": "string",
"support_url": "string",
"integration_type": "string",
"logo_url": "string",
"logo_square_url": "string",
"minecraft_bedrock_username_prefix": "string",
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-01T00:00:00Z",
"onboarding_completed_at": "2024-01-01T00:00:00Z",
"platform_store_type_association": {
"disable_billing_plans": true,
"display_disclaimers": true,
"full_external_management": true,
"platform_id": "411486491630370816",
"store_platform": "string",
"associated_platform": {
"accent_color": "string",
"business_name": "string",
"capabilities": [
"invalid"
],
"country_code": "string",
"created_at": "2024-01-01T00:00:00Z",
"description": "string",
"id": "411486491630370816",
"logo_url": "string",
"name": "string",
"slug": "string",
"type": "invalid",
"website_url": "string",
"updated_at": "2024-01-01T00:00:00Z",
"disabled_at": "2024-01-01T00:00:00Z"
},
"paynow_platform_fee_percentage_override": 0,
"connected_platform_fee_percentage": 0,
"connected_platform_wallet_id": "411486491630370816"
}
}Update a store
PATCHhttps://api.paynow.gg/v1/stores/{storeId}
Partially updates a store's configuration using the provided fields.
Headers
AuthorizationAPI KeyRequired
Authentication token for this request, sent as
Authorization: APIKey TOKEN.Path parameters
storeIdFlakeIdRequired
Request body
contact_emailstringOptional
descriptionstringOptional
gamestringOptional
integration_typestringOptional
live_modebooleanOptional
minecraft_bedrock_username_prefixstringOptional
namestringOptional
platformstringOptional
slugstringOptional
support_emailstringOptional
support_urlstringOptional
website_urlstringOptional
Response
200OKStoreDto
Represents a PayNow store and its associated configuration.
Show fieldsHide fields
currencystringRequired
The ISO 4217 currency code used by this store for pricing (e.g. "usd", "eur")
descriptionstringRequired
A human-readable description of the store shown to customers and PayNow.
gamestringRequired
Alias for 'platform'. Returns the platform identifier as a game name.
idFlakeIdRequired
live_modebooleanRequired
When set to true, the store is processing real transactions in live mode.
namestringRequired
The display name of the store.
owner_idFlakeIdRequired
platformstringRequired
The platform this store is associated with (e.g. "rust", "minecraft").
slugstringRequired
The URL-safe slug used to identify the store (e.g. "my-rust-server").
contact_emailstringOptional
General contact email address for the store.
created_atstringOptional
The UTC timestamp when the store was created.
integration_typestringOptional
The integration type used by the store.
logo_square_urlstringOptional
URL of the store's square/icon logo image.
logo_urlstringOptional
URL of the store's full-size logo image.
minecraft_bedrock_username_prefixstringOptional
Username prefix used to identify Minecraft Bedrock players (e.g. ".").
onboarding_completed_atstringOptional
The UTC timestamp when the store completed onboarding.
platform_store_type_associationPlatformStoreTypeAssociationDetailsDtoOptional
disable_billing_plansbooleanRequired
When true, billing plans are disabled for this platform/store type combination.
display_disclaimersbooleanRequired
When true, legal or compliance disclaimers should be displayed to the end user.
full_external_managementbooleanRequired
Whether the management hides some PayNow UI
platform_idFlakeIdRequired
store_platformstringRequired
The store platform identifier string (e.g. "rust", "minecraft").
associated_platformPublicPlatformDtoOptional
accent_colorstringRequired
business_namestringRequired
capabilitiesenum[]Required
Possible enum values
invalidconnected_users
country_codestringRequired
created_atstringRequired
descriptionstringRequired
idFlakeIdRequired
logo_urlstringRequired
namestringRequired
slugstringRequired
typeenumRequired
Possible enum values
invalidmarketplacestore_platformother
website_urlstringRequired
disabled_atstringOptional
updated_atstringOptional
connected_platform_fee_percentageintegerOptional
The fee percentage charged by the connected platform.
Expressed in basis points (e.g. 250 = 2.50%).
connected_platform_wallet_idFlakeIdOptional
paynow_platform_fee_percentage_overrideintegerOptional
Overrides the default PayNow platform fee percentage for this association.
Expressed in basis points (e.g. 250 = 2.50%).
support_emailstringOptional
Dedicated support email address for customer inquiries.
support_urlstringOptional
URL to the store's support portal or help page.
updated_atstringOptional
The UTC timestamp when the store was last updated.
website_urlstringOptional
The store's public website URL.
Failed requests return a PayNowError body. See the error response guide.
curl -X PATCH "https://api.paynow.gg/v1/stores/{storeId}" \
-H "Authorization: APIKey TOKEN" \
-H "Content-Type: application/json" \
-d '{
"slug": "string",
"name": "string",
"platform": "string",
"game": "string",
"description": "string",
"website_url": "string",
"contact_email": "string",
"support_email": "string",
"support_url": "string",
"integration_type": "string",
"live_mode": true,
"minecraft_bedrock_username_prefix": "string"
}'import { createManagementClient } from "@paynow-gg/typescript-sdk";
const paynow = createManagementClient({
apiKey: "API_KEY",
storeId: "STORE_ID",
});
const result = await paynow.store.updateStore({
slug: "string",
name: "string",
platform: "string",
game: "string",
description: "string",
website_url: "string",
contact_email: "string",
support_email: "string",
support_url: "string",
integration_type: "string",
live_mode: true,
minecraft_bedrock_username_prefix: "string",
});import requests
headers = {"Authorization": "APIKey TOKEN"}
payload = {
"slug": "string",
"name": "string",
"platform": "string",
"game": "string",
"description": "string",
"website_url": "string",
"contact_email": "string",
"support_email": "string",
"support_url": "string",
"integration_type": "string",
"live_mode": True,
"minecraft_bedrock_username_prefix": "string",
}
response = requests.patch("https://api.paynow.gg/v1/stores/{storeId}", headers=headers, json=payload)Response200
{
"currency": "string",
"description": "string",
"game": "string",
"id": "411486491630370816",
"live_mode": true,
"name": "string",
"owner_id": "411486491630370816",
"platform": "string",
"slug": "string",
"website_url": "string",
"contact_email": "string",
"support_email": "string",
"support_url": "string",
"integration_type": "string",
"logo_url": "string",
"logo_square_url": "string",
"minecraft_bedrock_username_prefix": "string",
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-01T00:00:00Z",
"onboarding_completed_at": "2024-01-01T00:00:00Z",
"platform_store_type_association": {
"disable_billing_plans": true,
"display_disclaimers": true,
"full_external_management": true,
"platform_id": "411486491630370816",
"store_platform": "string",
"associated_platform": {
"accent_color": "string",
"business_name": "string",
"capabilities": [
"invalid"
],
"country_code": "string",
"created_at": "2024-01-01T00:00:00Z",
"description": "string",
"id": "411486491630370816",
"logo_url": "string",
"name": "string",
"slug": "string",
"type": "invalid",
"website_url": "string",
"updated_at": "2024-01-01T00:00:00Z",
"disabled_at": "2024-01-01T00:00:00Z"
},
"paynow_platform_fee_percentage_override": 0,
"connected_platform_fee_percentage": 0,
"connected_platform_wallet_id": "411486491630370816"
}
}List store members
GEThttps://api.paynow.gg/v1/stores/{storeId}/members
Retrieves all members who have access to the specified store.
Headers
AuthorizationAPI KeyRequired
Authentication token for this request, sent as
Authorization: APIKey TOKEN.Path parameters
storeIdFlakeIdRequired
Response
200OKStoreMemberDto[]
Represents a member of a PayNow store.
Show fieldsHide fields
idFlakeIdRequired
userStoreMemberUserDtoRequiredRepresents identity and profile information for a store member.
idFlakeIdRequired
typeenumRequired
Possible enum values
anonymoususerapi_keycustomergame_serverinternaladminplatformglobal_customer
emailstringOptional
The email address associated with the user.
Only visible if you are the store owner.
first_namestringOptional
The first name of the actor.
Hidden if the user has a set nickname, and you are not the store owner.
last_namestringOptional
The last name of the actor.
Hidden if the user has a set nickname, and you are not the store owner.
nicknamestringOptional
The nickname of the user.
user_idFlakeIdRequired
added_atstringOptional
The UTC timestamp when the member was added to the store.
added_byActorDtoOptional
typeenumRequired
Possible enum values
anonymoususerapi_keycustomergame_serverinternaladminplatformglobal_customer
idFlakeIdOptional
role_idFlakeIdOptional
Failed requests return a PayNowError body. See the error response guide.
curl -X GET "https://api.paynow.gg/v1/stores/{storeId}/members" \
-H "Authorization: APIKey TOKEN"import { createManagementClient } from "@paynow-gg/typescript-sdk";
const paynow = createManagementClient({
apiKey: "API_KEY",
storeId: "STORE_ID",
});
const result = await paynow.store.getStoreMembers();import requests
headers = {"Authorization": "APIKey TOKEN"}
response = requests.get("https://api.paynow.gg/v1/stores/{storeId}/members", headers=headers)Response200
[
{
"id": "411486491630370816",
"user": {
"id": "411486491630370816",
"type": "anonymous",
"email": "string",
"first_name": "string",
"last_name": "string",
"nickname": "string"
},
"user_id": "411486491630370816",
"added_at": "2024-01-01T00:00:00Z",
"added_by": {
"type": "anonymous",
"id": "411486491630370816"
},
"role_id": "411486491630370816"
}
]Get store member permissions
GEThttps://api.paynow.gg/v1/stores/{storeId}/members/{memberId}/permissions
Retrieves the resolved permissions map for a specific member of a store.
Headers
AuthorizationAPI KeyRequired
Authentication token for this request, sent as
Authorization: APIKey TOKEN.Path parameters
storeIdFlakeIdRequired
memberIdFlakeIdRequired
curl -X GET "https://api.paynow.gg/v1/stores/{storeId}/members/{memberId}/permissions" \
-H "Authorization: APIKey TOKEN"import { createManagementClient } from "@paynow-gg/typescript-sdk";
const paynow = createManagementClient({
apiKey: "API_KEY",
storeId: "STORE_ID",
});
const result = await paynow.store.getStoreMemberPermissions("411486491630370816");import requests
headers = {"Authorization": "APIKey TOKEN"}
response = requests.get("https://api.paynow.gg/v1/stores/{storeId}/members/{memberId}/permissions", headers=headers)Response200
{}Update a store member
PATCHhttps://api.paynow.gg/v1/stores/{storeId}/members/{memberId}
Updates the role assigned to a specific member of the store.
Headers
AuthorizationAPI KeyRequired
Authentication token for this request, sent as
Authorization: APIKey TOKEN.Path parameters
storeIdFlakeIdRequired
memberIdFlakeIdRequired
Request body
role_idFlakeIdRequired
curl -X PATCH "https://api.paynow.gg/v1/stores/{storeId}/members/{memberId}" \
-H "Authorization: APIKey TOKEN" \
-H "Content-Type: application/json" \
-d '{
"role_id": "411486491630370816"
}'import { createManagementClient } from "@paynow-gg/typescript-sdk";
const paynow = createManagementClient({
apiKey: "API_KEY",
storeId: "STORE_ID",
});
await paynow.store.updateStoreMember("411486491630370816", {
role_id: "411486491630370816",
});import requests
headers = {"Authorization": "APIKey TOKEN"}
payload = {
"role_id": "411486491630370816",
}
response = requests.patch("https://api.paynow.gg/v1/stores/{storeId}/members/{memberId}", headers=headers, json=payload)Remove a store member
DELETEhttps://api.paynow.gg/v1/stores/{storeId}/members/{memberId}
Removes the specified member from the store, revoking their access.
Headers
AuthorizationAPI KeyRequired
Authentication token for this request, sent as
Authorization: APIKey TOKEN.Path parameters
storeIdFlakeIdRequired
memberIdFlakeIdRequired
curl -X DELETE "https://api.paynow.gg/v1/stores/{storeId}/members/{memberId}" \
-H "Authorization: APIKey TOKEN"import { createManagementClient } from "@paynow-gg/typescript-sdk";
const paynow = createManagementClient({
apiKey: "API_KEY",
storeId: "STORE_ID",
});
await paynow.store.kickStoreMember("411486491630370816");import requests
headers = {"Authorization": "APIKey TOKEN"}
response = requests.delete("https://api.paynow.gg/v1/stores/{storeId}/members/{memberId}", headers=headers)