Xsolla-logoXsolla Developers
前往发布商帐户

设置支付系统Server-sideAdmin

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

设置支持促销的支付系统。 如果列表为空,促销将适用于所有支付系统。 如果提升为只读(read_only=true),则无法调用此方法。

注意

此API调用不包含project_id路径参数,因此您需要使用在您公司的所有项目中都有效的API密钥来设置授权。

SecuritybasicAuth
Request
path Parameters
merchant_id
required
integer

商户ID。

promotion_id
required
integer

促销活动 ID。

Request Body schema: application/json
Array of objects

付款系统。

Array
id
integer

付款系统ID。

name
string

付款系统名称。

Responses
204

No content.

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