mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 04:04:43 +08:00
feat: add payout service (#1665)
Co-authored-by: Kashif <mohammed.kashif@juspay.in> Co-authored-by: Manoj Ghorela <manoj.ghorela@juspay.in> Co-authored-by: Manoj Ghorela <118727120+manoj-juspay@users.noreply.github.com>
This commit is contained in:
@ -171,6 +171,7 @@ pub async fn create_merchant_account(
|
||||
modified_at: date_time::now(),
|
||||
frm_routing_algorithm: req.frm_routing_algorithm,
|
||||
intent_fulfillment_time: req.intent_fulfillment_time.map(i64::from),
|
||||
payout_routing_algorithm: req.payout_routing_algorithm,
|
||||
id: None,
|
||||
organization_id: req.organization_id,
|
||||
is_recon_enabled: false,
|
||||
@ -313,6 +314,7 @@ pub async fn merchant_account_update(
|
||||
primary_business_details,
|
||||
frm_routing_algorithm: req.frm_routing_algorithm,
|
||||
intent_fulfillment_time: req.intent_fulfillment_time.map(i64::from),
|
||||
payout_routing_algorithm: req.payout_routing_algorithm,
|
||||
};
|
||||
|
||||
let response = db
|
||||
|
||||
Reference in New Issue
Block a user