Back to All

Crear una Orden

Hola, al intentar crear una orden recibo el siguiente error:
{"details":[{"debug_message":"There was a runtime error and Conekta engineers have been notified.","message":"There was a runtime error and Conekta engineers have been notified.","code":"conekta.errors.api.system.general_failure"}],"object":"error","type":"api_error","log_id":"60746e5a0211a616bb466cbd"}

Este es es el curl que estoy realizando:

curl -H "Accept: application/vnd.conekta-v2.0.0+json"
-H "Content-type: application/json"
-u key_XXXXXXX:
-X POST -d '{
"id": "ord_1700",
"livemode": false,
"currency": "MXN",
"line_items": [{
"name": "Box of Cohiba S1s",
"unit_price": 35000,
"quantity": 1
}],
"shipping_lines": [{
"amount": 0
}],
"checkout": {
"allowed_payment_methods": ["cash", "card", "bank_transfer"],
"monthly_installments_enabled": true,
"monthly_installments_options": [3, 6, 9, 12]
},
"shipping_contact": {
"phone": "+5215555555555",
"receiver": "Marvin Fuller",
"address": {
"street1": "Nuevo Leon 4",
"country": "MX",
"postal_code": "06100"
}
}
}' https://api.conekta.io/orders