Creates an order with all items from the particular free cart. The created order will get a done order status.
SecurityAuthForCart
Request
path Parameters
project_id
required
integer
Project ID.
Example: 44056
cart_id
required
string
Cart ID.
Example: custom_id
Request Body schema: application/json
currency
string
The currency which prices are displayed in (USD by default). Three-letter currency code per ISO 4217.
locale
string
Response language.
sandbox
boolean
Default: false
Creates an order in the sandbox mode. The option is available for those users who are specified in the list of company users.
object
Settings for configuring payment process and the payment UI for a user.
object
Interface settings.
theme
string
Default: "63295a9a2e47fab76f7708e1"
Payment UI theme. Can be 63295a9a2e47fab76f7708e1 for the light theme (default) or 63295aab2e47fab76f7708e3 for the dark theme. You can also create a custom theme and pass its ID in this parameter.
If true, the header will show your logo (first provide the image to your account manager).
visible_name
boolean
Whether to show the project name in the header.
visible_purchase
boolean
Default: true
Whether to show the purchase description (purchase.description.value) in the header. true by default.
type
string
Default: "normal"
How to show the header. Can be compact (hides project name and user ID) or normal (default).
Enum:"compact""normal"
close_button
boolean
Default: false
Whether to show a Close button in Pay Station desktop. The button closes Pay Station and redirects the user to the URL specified in the settings.return_url parameter. false by default.
mode
string
Interface mode in Pay Station. Can be user_account only: The header contains only the account navigation menu, and the user cannot select a product or make a payment. This mode is only available on the desktop.
Value:"user_account"
object
User account details.
object
My payment accounts submenu.
enable
required
boolean
Default: false
Whether to show the submenu. false by default.
object
Default: "Page **My account**.\n"
enable
required
boolean
Default: false
Whether to show the submenu. false by default.
order
required
integer >= 1
Position of the submenu in the menu.
object
Manage subscriptions submenu.
enable
required
boolean
Default: false
Whether to show the submenu. false by default.
order
required
integer >= 1
Position of the submenu in the menu.
payment_method
integer >= 1
Payment method ID.
return_url
string <uri> <= 1000 characters
Page to redirect the user to after payment. Parameters user_id, foreigninvoice, invoice_id and status will be automatically added to the link.
object
redirect_conditions
string
Payment status triggering user redirect to the return URL.