# Create a Nequi order
curl -X POST "https://api.dev.wava.co/v1/orders" \
-H "merchant-key: YOUR_DEV_KEY" \
-H "Content-Type: application/json" \
-d '{
"amount": 10000,
"description": "Test payment",
"currency": "COP",
"shopper": {
"first_name": "Test",
"last_name": "User",
"email": "test@email.com",
"phone_number": "+573001234567",
"country": "CO"
},
"payment_gateway": { "id_payment_gateway": 1 },
"order_key": "test-nequi-001"
}'
# Then confirm it by calling GET /v1/orders/{orderId}
curl -X GET "https://api.dev.wava.co/v1/orders/12345" \
-H "merchant-key: YOUR_DEV_KEY"
# Response will show status: "confirmed" and webhook will be triggered