Xsolla-logoXsolla Developers
or
To Publisher Account

Set Payment SystemsServer-sideAdmin

put/merchants/{merchant_id}/promotions/{promotion_id}/payment_systems

Sets payment systems supported for a promotion. If the list is empty, the promotion will apply to all payment systems. If the promotion is read-only (read_only = true), you cannot call this method.

Notice

This API call does not contain the project_id path-parameter, so you need to use the API key that is valid in all the company’s projects to set up authorization.

SecuritybasicAuth
Request
path Parameters
merchant_id
required
integer

Merchant ID.

promotion_id
required
integer

Promotion ID.

Request Body schema: application/json
Array of objects

Payment systems.

Array
id
integer

Payment system ID.

name
string

Payment system name.

Responses
204

No content.

Request samples
application/json
{
  • "payment_systems": [
    ]
}