Example Request
curl --request POST \ --url https://sekalipay.com/api/v1/order/sandbox \ --header 'X-APIKEY: YOUR_API_KEY' \ --header 'Content-Type: application/json' \ --data '{ "ref_id": "TEST-001", "items": [ { "product_id": 10, "variant_id": 123, "quantity": 1 } ] }'
Response Sample
200 OK
{
"status": true,
"message": "Order berhasil dibuat (sandbox)",
"transaction_id": 99999,
"payment_service": "QRIS_CUSTOM",
"amount": 15000,
"fee_flat": 0,
"fee_percentage": 0.7,
"total_fee": 105,
"total_bayar": 15105,
"items": [ /* ... */ ]
}