Return premium amount on insurance application endpoint #761

This commit is contained in:
Ramon Gutierrez 2023-09-09 00:42:42 +08:00
parent 95f771c252
commit c5a8bda95a

View file

@ -184,6 +184,7 @@ class InsuranceController extends ApiController
return new ApiResponse(true, '', [
'app_id' => $app->getID(),
'checkout_url' => $checkout_url,
'premium_amount' => (string)$result['response']['premium'],
]);
}