Order confirmation server.
export PORT=8080
go run main.go
http://localhost:8080/order_status/webhook/payment_confirmation
Sample request body
{
"order_id": "de-ber-76898",
"amount": 2000,
"payment_reference": "h87j87y9q34rjo8rweqjo9fdckjhdslkmsdf",
"payment_status": "confirmed"
}
Sample request body
{
"reference_id": "de-ber-76898",
"risk_points": 10
}
http://localhost:8080/order_status/webhook/vendor_confirmation
Sample request body
{
"order": "de-ber-76898",
"status": "confirmed"
}