post

/merchants/{merchant_id}/projects

Creates a new project.

Authorization

basic

Request Parameters

1 Path Parameter

Request Body

Schema
object
payment_url
string

Webhook URL.

key
string

Project secret key.

return_url
string

URL to redirect a user to after a successful payment. For mobile apps, it might be а URL or a path within the app itself (e.g.: app://home).

user_billing_enabled
boolean

Whether to keep user data in the Xsolla database.

show_user_in_paystation
boolean

Whether to show the user’s saved payment accounts and payment history in the payment UI.

user_public_id_enabled
boolean

Enables user details verification via Public User ID (for payments through cash kiosks).

is_external_id_required
boolean

Whether External ID is required for integration with Xsolla.

ipn_enabled
boolean

Whether to send webhooks to the webhook URL.

is_universal_item_enabled
boolean

Whether to have an account type that allows to use the Xsolla SDKs.

send_email_for_user_billing_purchase
boolean

Whether to send email notifications to user for balance transactions.

autoredirect_from_status_page
string

Autoredirect status. Possible values:

  • none (none of the statuses),
  • done (status done),
  • final (statuses done, cancel),
  • all (all statuses)

1 validation
autoredirect_from_status_page_in_seconds
integer

Time (in seconds) before autoredirect.

status_page_show_return_to_game_link
string

Status for a manual redirect. Possible values:

  • none (none of the statuses),
  • done (status done),
  • final (statuses done, cancel),
  • virtual_operation (payment status with virtual currency),
  • all (all statuses).

1 validation
status_page_return_to_game_link_name
object

Localized redirect button captions.

descriptor
string

Short project name for reports (up to 12 characters).

locale_list
array[string]

List of languages that corresponding settings are localized to.

name
object

Localized project names.

url
string

Project website URL.

description
string

Array of localized project descriptions.

components
object

Project modules.

img
string
secondary_market
object
xsolla_tips_enabled
string
1 validation
xsolla_tips_settings
array[object]
integration_type
string

Project integration type.

1 validation

Responses

Created.

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
Path Params
1 path param not set
merchant_id
$$.env
2 variables not set
username
password