Intelligent search powered by OpenAIÂ
POST
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
400Error.
empty_required_header
The 'X-Idempotency-Key' header is required and was not sent. Make the request again including it.
required_properties
There are some required properties missing. Check the message returned in the error details to find out what the problem was and try again.
unsupported_properties
An unsupported property was sent. Check the message returned in the error details to find out what the problem was and try again.
minimum_properties
The minimum number of properties required to execute the request was not sent. Check the message returned in the error details to find out what the problem was and try again.
property_type
The wrong property type was submitted. For example, an 'integer' value for a 'string' property. Check the message returned in the error details to find out what the problem was and try again.
minimum_items
The minimum number of items for some property was not sent. Check the message returned in the error details to find out what the problem was and try again.
maximum_items
A greater number of items were sent than allowed for some property. Check the message returned in the error details to find out what the problem was and try again.
property_value
An incorrect value for some property was sent. Check the message returned in the error details to find out what the problem was and try again.
json_syntax_error
An incorrect JSON was sent. Check the message returned in the error details to find out what the problem was and try again.
401Error.
unauthorized
The value sent as Access Token is incorrect. Please check and try again with the correct value.
403Error.
forbidden_checking_terminal_owner
The Point terminal does not belong to the user who submitted the request. Check if the value sent for "terminal_id" is correct or if the terminal is linked to your account.
409Error.
idempotency_key_already_used
The value sent as the idempotency header has already been used with a different request within the last 24 hours. Please try the request again sending a new value.
already_queued_order_for_terminal
The terminal already has an order waiting. It is necessary to finalize or cancel it to send new orders.
500Error.
idempotency_validation_failed
Validation fail. Please try submitting the request again.
500
Generic error. Please try submitting the request again.
curl -X POST \
'https://api.mercadopago.com/v1/orders'\
-H 'Content-Type: application/json' \
-H 'X-Idempotency-Key: 0d5020ed-1af6-469c-ae06-c3bec19954bb' \
-H 'Authorization: Bearer TEST-7434*********159-03141*********cee51edf8*********f94f589-1*********' \
-d '{
"type": "point",
"external_reference": "ext_ref_1234",
"transactions": {
"payments": [
{
"amount": "24.90"
}
]
},
"type_config": {
"terminal_id": "PAX_A910__SMARTPOS1423",
"ticket_number": "S0392JED",
"flow_process": "credit_card"
},
"description": "Point Mini",
"integration_data": {
"platform_id": "1234567890",
"integrator_id": "1234567890",
"sponsor": {
"id": "446566691"
}
}
}'
{
"id": "123",
"type": "point",
"external_reference": "ext_ref_1234",
"description": "Point Mini",
"site_id": "MLB",
"integration_data": {
"application_id": 1234567890,
"platform_id": "1234567890",
"integrator_id": "1234567890",
"sponsor": {
"id": "446566691"
}
},
"status": "created",
"created_date": "2024-09-10T14:26:42.109320977Z",
"last_updated_date": "2024-09-10T14:26:42.109320977Z",
"type_config": {
"terminal_id": "PAX_A910__SMARTPOS1423",
"ticket_number": "S0392JED",
"flow_process": "credit_card"
},
"transactions": {
"payments": [
{
"id": "pay_01J67CQQH5904WDBVZEM4JMEP3",
"amount": "24.90",
"status": "created"
}
]
}
}