Foro
Error al crear una orden
23 days ago by Carlos Delgado
Estoy intentando crear una orden y me sigue mostrando el error: "debug_message": "The "line_items" is missing." sin embargo, estoy siguiendo su documentación. Este es el cuerpo:
{"customer_info":{"name":"DevTest","email":"[email protected]","phone":"5522997233"},"pre_authorize":false,"shipping_contact":{"phone":"5555555555","receiver":"carlos","between_streets":"MEX"},"charges":[{"payment_method":{"expires_at":1677196303},"amount":50}],"currency":"MXN","line_items":[{"name":"carlos","unit_price":1}]}