Switch the merchant operational presence to online mode, indicating active readiness to execute orders across peer-to-peer (C2C) listings.
/sapi/v1/c2c/merchant/getOnline
This endpoint transitions a merchant's presence status to online on the Binance C2C (P2P) market. Activating online presence displays an active indicator next to the merchant profile, reassuring counterparties that trades will receive immediate attention and rapid processing.
Automated trading software, bot scripts, and merchant terminals trigger this endpoint during startup routines, shift commencements, or when recovering from temporary disconnections.
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 permission checks. |
No JSON payload body is required. Simply pass the mandatory clientType header inside the HTTP Request Headers.
Example POST request using cURL to set merchant presence online.
curl -X POST \
'https://api.binance.com/sapi/v1/c2c/merchant/getOnline' \
-H 'clientType: WEB'
Example response returned on successful 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 feedback or status description. |
data |
NULL / VOID | Void return payload on successful execution. |
success |
BOOLEAN | Indicates overall request execution result. |
Workflow for setting merchant presence online.
code: "000000".
Ensure trading bots automatically flag the merchant account online upon launch and successful balance checks.
Quickly signal operator readiness at the start of operating shifts.
Re-establish active online status automatically after handling network reconnects or server maintenance.
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 →