BINANCE SAPI · C2C

Merchant End Rest API

End resting status and resume peer-to-peer (C2C) merchant operations, reactivating merchant availability and order processing capabilities.

ENDPOINT
POST /sapi/v1/c2c/merchant/endRest
Authentication USER_DATA / SIGNED
API Group C2C / Merchant
Method POST
Response JSON

Overview

This endpoint allows Binance C2C (P2P) merchants to exit resting/paused mode and reactivate their trading storefront. Executing this request switches the merchant operational state back to active, signaling to the platform and buyers that the merchant is ready to take and process new trade orders.

Automated trading desks and merchant systems integrate this endpoint alongside scheduled routines to restart business shifts, reopen order intake after inventory rebalancing, or recover after temporary operational breaks.

01

Request Parameters

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.
i
HTTP POST with Empty Body

This operation does not require a request body. Provide the mandatory clientType header inside the HTTP Request Headers.

02

Request Example

Example POST request using cURL to resume merchant operations.

cURL BASH
curl -X POST \
'https://api.binance.com/sapi/v1/c2c/merchant/endRest' \
-H 'clientType: WEB'
03

Response

Example response returned on successful execution.

RESPONSE 200 OK
{
    "code": "000000",
    "message": "success",
    "data": true,
    "success": true
}

Response Fields

Field Type Description
code STRING Standard Binance status code ("000000" indicates success).
message STRING Response execution feedback or status description.
data BOOLEAN Returns true when merchant resting mode is terminated and operations are active.
success BOOLEAN Indicates overall request execution result.
04

How It Works

Workflow for ending merchant resting status.

01 Set Headers Pass clientType (e.g. WEB or APP) in HTTP header.
02 Send POST Request Call /sapi/v1/c2c/merchant/endRest endpoint.
03 Verify Status Confirm response returns data: true.
04 Trading Resumed Merchant store status returns to active/online.

Common Use Cases

Automated Shift Opening

Automatically reopen merchant availability at the start of business shifts using scheduled cron jobs.

Post-Maintenance Recovery

Reactivate order processing immediately after liquidity replenishment or balance reconciliation routines.

Rest Mode Toggling

Quickly switch merchant status back to active after short manual operator breaks.



💬
Telegram WhatsApp