Return premium amount on insurance application endpoint #761
This commit is contained in:
parent
95f771c252
commit
c5a8bda95a
1 changed files with 1 additions and 0 deletions
|
|
@ -184,6 +184,7 @@ class InsuranceController extends ApiController
|
||||||
return new ApiResponse(true, '', [
|
return new ApiResponse(true, '', [
|
||||||
'app_id' => $app->getID(),
|
'app_id' => $app->getID(),
|
||||||
'checkout_url' => $checkout_url,
|
'checkout_url' => $checkout_url,
|
||||||
|
'premium_amount' => (string)$result['response']['premium'],
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue