feat(router): add payments incremental authorization api (#3038)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Sai Harsha Vardhan
2023-12-04 18:34:51 +05:30
committed by GitHub
parent 9274cefbdd
commit a0cfdd3fb1
60 changed files with 1792 additions and 22 deletions

View File

@ -108,6 +108,7 @@ impl PaymentIntentInterface for MockDb {
surcharge_applicable: new.surcharge_applicable,
request_incremental_authorization: new.request_incremental_authorization,
incremental_authorization_allowed: new.incremental_authorization_allowed,
authorization_count: new.authorization_count,
};
payment_intents.push(payment_intent.clone());
Ok(payment_intent)