This endpoint allows you to simulate a final status for an order created with test credentials. The simulation does not generate events or interactions with the Point terminal. The status change may take up to 10 seconds to be completed, or up to 40 seconds in the case of simulating the action_required status. In case of success, the request will return a response with status 204 and no content
POST
REQUIRED
REQUIRED
400Error.
bad_request
The order_id provided in the path is not a valid ULID. Check the value and try again.
bad_request
Invalid data was sent in the request body. For example, invalid status values, or fields like "payment_method_id" or "installments" with status values different from those mentioned in the field description, or additional fields not allowed.
bad_request
Invalid order status transition. The status change you are trying to simulate is not allowed by the status machine.
401Error.
unauthorized
The value sent as Access Token is incorrect. Please check and try again with the correct value.
403Error.
forbidden
No permission to access the resource.
404Error.
order_not_found
The Order ID provided in the URL path does not exist. Check if the ID is correct and if the order was created with test credentials.
500Error.
internal_error
An error occurred on our side while processing the request. If the problem persists, please contact Mercado Pago.
curl -X POST \
'https://api.mercadopago.com/v1/orders/{order_id}/events'\
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer APP_USR-8*********932064-12*********edf6d3c99*********2236c703f*********668' \
-d '{
"status": "processed",
"payment_method_type": "credit_card",
"installments": 1,
"payment_method_id": "visa",
"status_detail": "accredited"
}'