Toggle Business Status
Control merchant's business status.
- Close: Takes all ads offline and freezes all API capabilities.
- Open: Restores API permissions without changing ad status. To re-list ads, call the "Update Ad" API.
HTTP Request
- POST
/api/v3/fiat/merchant/service/switch
Required Permission: P2P Deal Ad
Request Parameters
| Name | Type | Mandatory | Description |
|---|---|---|---|
| open | boolean | yes | true: Open for business; false: Close for business |
Response Parameters
| Name | Type | Description |
|---|---|---|
| code | integer | 0 indicates success |
| msg | string | Result description |
| data | null | No data returned |
Response
{
"code": 0,
"msg": "success",
"data": null
}