Home
Documentation
Resources
Partners
Community

Resources

Check for updates on our solutions and system performance, or request technical support.

Partners

Discover our program for agencies or developers that offer integration services and sellers who want to hire them.

Community

Get the latest news, ask others for help and share your knowledge.

Change operation mode - Devices - Mercado Pago Developers

Intelligent search powered by OpenAI 

Change operating mode

PATCH

https://api.mercadopago.com/point/integration-api/devices/{device_id}
This endpoint allows you to change a device operating mode. The options are: "PDV", that is when a device is used in integration with our API, and "STANDALONE", that is when you want to process payments in a device without our API. In case of success, the request will return a response with status 200.
Request's parameters
PATH
device_id
string

REQUIRED

Identifier of the device for which you want to change the operating mode. You must send it according to the following format: "type of device + “__” + device serial".
BODY
operating_mode
string

REQUIRED

Mode in which you want the device to operate. It can be one of the two that follows.
PDV: Point of Sale, integrated mode with the API.
STANDALONE: Default device configuration. Mode not integrated with the API.
Response parameters
operating_mode
string

REQUIRED

Mode in which the device is set to operate.
PDV: Point of sale, integrated mode with the API.
STANDALONE: Default device configuration. Mode not integrated with the API.
Errors

400Error. device_id format unexpected.

103

The value sent for the device_id is not correct. Check the value corresponding to the desired device and try again.

403Error. Device is not allowed to perform this action.

113

The device type declared in the device_id is incorrect or invalid. Check the value of the device_id that declares the device type and try again, considering that the structure of the 'device_id' field is "type of device + “__” + device serial".

404Error. User device configuration, not found.

not_found

The device serial number declared in the device_id is incorrect or invalid. Check the value of the device_id that declares the device serial number and try again, considering that the structure of the 'device_id' field is "type of device + “__” + device serial".

500Internal error.

500

Internal error. Please try submitting the request again.

Request
curl -X PATCH \
    'https://api.mercadopago.com/point/integration-api/devices/{device_id}'\
    -H 'Content-Type: application/json' \
       -H 'Authorization: Bearer TEST-4599*********755-11221*********d497ae962*********ecf8d85-1*********' \
    -d '{
  "operating_mode": "PDV"
}'
Sample answer
{
  "operating_mode": "PDV"
}