Switch the merchant operational presence to offline mode, updating status visibility across peer-to-peer (C2C) order books.
/sapi/v1/c2c/merchant/getOffline
This endpoint sets a merchant's operational presence to offline status on the Binance C2C (P2P) platform. When a merchant goes offline, their active presence indicator reflects their unavailable state, helping manage incoming counterparty order expectations.
Automated trading systems, merchant applications, and bot daemons use this endpoint during graceful shutdowns, scheduled breaks, or when trading sessions terminate.
Header parameters accepted by the endpoint.
| Header | Type | Required | Description |
|---|---|---|---|
clientType |
STRING | Required |
Client Device Type initiating the request (e.g., WEB, APP, WEB_MOBILE).
|
x-gray-env |
STRING | Optional | Environment flag identifier used for internal gray/stage testing. |
x-trace-id |
STRING | Optional | Custom client trace ID for request lifecycle tracking and debugging. |
x-user-id |
STRING | Optional | Target user identifier for merchant context validation. |
This request does not require a JSON body payload. Pass the required clientType header inside the HTTP Request Headers.
Example POST request using cURL.
curl -X POST \
'https://api.binance.com/sapi/v1/c2c/merchant/getOffline' \
-H 'clientType: WEB'
Example response returned on successful request execution.
{
"code": "000000",
"message": "success",
"data": null,
"success": true
}
| Field | Type | Description |
|---|---|---|
code |
STRING |
Standard Binance status code ("000000" indicates success).
|
message |
STRING | Response execution status or feedback message. |
data |
NULL / VOID | Void return payload on successful execution. |
success |
BOOLEAN | Indicates overall request execution result. |
Workflow for setting merchant presence offline.
code: "000000".
Ensure trading bots mark merchant accounts offline during process termination or unhandled exceptions.
Switch merchant presence to offline at the conclusion of daily trading windows.
Update presence indicators when support operators or traders leave active workstations.
This article is part of our complete learning guide covering professional cross-exchange cryptocurrency arbitrage.
Explore the Spot Arbitrage Guide →This article is part of our complete learning guide covering Binance P2P automation, merchant tools, and automated trading.
Explore the Binance P2P Automation Guide →