Intelligent search powered by OpenAIÂ
PUT
REQUIRED
REQUIRED
REQUIRED
REQUIRED
400Error. Invalid ID supplied
invalid_path_param
The order_id provided in the request path is not correct. Please confirm it and provide a valid ID to try again.
401Error. Access Token not authorized.
401
The value sent as Access Token is incorrect. Please check and try again with the correct value.
404Error. Order not found.
order_not_found
Order not found. Please check if you provided the correct order ID.
409Some specific system rule does not allow the action to be performed due to defined restrictions.
idempotency_key_already_used
The value sent as the idempotency header has already been used. Please try the request again sending a new value.
500Generic error .
500
Generic error. Please try submitting the request again.
curl -X PUT \
'https://api.mercadopago.com/v1/orders/{order_id}/transactions/{transaction_id}'\
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer TEST-7434*********159-03141*********cee51edf8*********f94f589-1*********' \
-d '{
"payment_method": {
"id": "visa",
"type": "credit_card",
"token": "12345",
"installments": 1,
"statement_descriptor": "approved"
}
}'
{
"id": "pay_01J49MMW3SSBK5PSV3DFR32959",
"amount": "24.90",
"payment_method": {
"id": "visa",
"type": "credit_card",
"token": "12345",
"installments": 1,
"statement_descriptor": "approved"
}
}