use descriptive top-level message for direct payments
Keep provider-specific details in data.message and return a stable, human-readable top-level success message for /payments/direct responses. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
0983589e36
commit
9a17f0b3c4
|
|
@ -350,7 +350,7 @@ func (h *Handler) InitiateDirectPayment(c *fiber.Ctx) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
return c.JSON(domain.Response{
|
return c.JSON(domain.Response{
|
||||||
Message: result.Message,
|
Message: "Direct payment initiated successfully",
|
||||||
Data: result,
|
Data: result,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user