66 Commits

Author SHA1 Message Date
8e538cd6b3 feat(payment_methods_v2): Delete payment method api (#6211)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
2024-10-14 10:12:55 +00:00
f096992218 feat(payment_methods_v2): Update and Retrieve payment method APIs for v2 (#5939)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
2024-09-26 13:15:18 +00:00
be902ffa53 feat(payment_methods_v2): Payment method Create API (#5812)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
2024-09-18 06:52:09 +00:00
3cb0f24053 feat(users): New profile level roles (#5843)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
2024-09-10 12:25:03 +00:00
e15ea184d9 feat(user): implement entity level authorization (#5819) 2024-09-05 17:38:35 +00:00
e98ff95b10 feat(payment_methods_v2): Payment methods v2 API models (#5564)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
2024-08-26 06:49:22 +00:00
17703fe2cb feat(customer_v2): customer v2 refactor customer v2 update endpoint (#5490)
Co-authored-by: Narayan Bhat <narayan.bhat@juspay.in>
Co-authored-by: hrithikesh026 <hrithikesh.vm@juspay.in>
Co-authored-by: Prajjwal Kumar <prajjwal.kumar@juspay.in>
Co-authored-by: Sanchith Hegde <sanchith.hegde@juspay.in>
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
2024-08-14 09:26:34 +00:00
8302272460 refactor(core): Refactor customer payment method list for v2 (#4856)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
2024-08-06 15:25:30 +00:00
95e9c85235 feat(core): pass profile_id to core from auth layer (#5532) 2024-08-06 11:48:25 +00:00
1d4c87a9e3 feat(auth): Add support for partial-auth, by facilitating injection of authentication parameters in headers (#4802)
Co-authored-by: Jagan <jaganelavarasan@gmail.com>
2024-08-01 09:27:39 +00:00
7068fbfbe2 refactor(merchant_id): create domain type for merchant_id (#5408)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Co-authored-by: Sanchith Hegde <22217505+SanchithHegde@users.noreply.github.com>
2024-07-24 13:48:25 +00:00
aaf1f2b1e5 feat(customer): customer v2 refactor for customer create end point (#5350)
Co-authored-by: Narayan Bhat <narayan.bhat@juspay.in>
Co-authored-by: hrithikesh026 <hrithikesh.vm@juspay.in>
Co-authored-by: Prajjwal Kumar <prajjwal.kumar@juspay.in>
Co-authored-by: Sanchith Hegde <sanchith.hegde@juspay.in>
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
2024-07-23 07:40:07 +00:00
33298b3808 feat: encryption service integration to support batch encryption and decryption (#5164)
Co-authored-by: dracarys18 <karthikey.hegde@juspay.in>
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
2024-07-19 07:38:58 +00:00
21499947ad feat(payment_methods): add support to migrate existing customer PMs from processor to hyperswitch (#5306)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
2024-07-13 16:41:44 +00:00
125699f89c feat(router): add an api to migrate the payment method (#5186)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
2024-07-10 16:31:13 +00:00
3bbdfb5a1c refactor(router): changed payment method token TTL to api contract based config from const value (#5115)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
2024-07-02 08:19:45 +00:00
9e4b2d1c11 refactor: separate DB queries and HTML creation for payout links (#4967)
Signed-off-by: Chikke Srujan <chikke.srujan@Chikke-Srujan-C02FC60MMD6M.local>
Signed-off-by: chikke srujan <121822803+srujanchikke@users.noreply.github.com>
Signed-off-by: Chikke Srujan <chikke.srujan@Chikke-Srujan-G961M60MK7.local>
Co-authored-by: chikke srujan <121822803+srujanchikke@users.noreply.github.com>
Co-authored-by: Chikke Srujan <chikke.srujan@Chikke-Srujan-C02FC60MMD6M.local>
Co-authored-by: Srujan chikke <chikke.srujan@juspay.in>
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Co-authored-by: Chikke Srujan <chikke.srujan@Chikke-Srujan-G961M60MK7.local>
2024-06-25 14:07:10 +00:00
ad7886a6ff feat(payment_methods): Use Ephemeral auth for pm list and pm delete (#4996) 2024-06-13 13:40:40 +00:00
15d6c3e846 feat(multitenancy): add support for multitenancy and handle the same in router, producer, consumer, drainer and analytics (#4630)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Co-authored-by: Arun Raj M <jarnura47@gmail.com>
2024-06-03 12:27:30 +00:00
93d61d1053 feat: add a domain type for customer_id (#4705)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
2024-05-30 10:49:10 +00:00
43307815e0 feat(payment_methods): Client secret implementation in payment method… (#4134)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
2024-04-19 12:02:06 +00:00
3333bbfe7f refactor(payment_methods): revamp payment methods update endpoint (#4305)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
2024-04-16 16:38:47 +00:00
eb3cecdd74 feat(payment_methods): added kv support for payment_methods table (#4311)
Co-authored-by: Akshay S <akshay.s@Akshay-Subramanian-D66TQ6D97K.local>
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
2024-04-10 13:59:50 +00:00
3963219e44 feat(events): Add events framework for registering events (#4115)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
2024-04-10 12:38:40 +00:00
74cd4a7952 feat(payment_method): API to list countries and currencies supported by a country and payment method type (#4126)
Co-authored-by: Mani Chandra Dulam <mani.dchandra@juspay.in>
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
2024-03-28 07:00:11 +00:00
db39bb0a3c refactor(payment_methods): prevent deletion of default payment method for a customer (#3964) 2024-03-06 13:35:28 +00:00
34c1b905b1 feat(payment_method): set the initial payment method as default until its explicitly set (#3970) 2024-03-06 12:40:59 +00:00
f3931cf484 feat(payment_methods): Add default payment method column in customers table and last used column in payment_methods table (#3790)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
2024-02-28 11:12:58 +00:00
11fc9b3986 refactor(ext_traits): simplify the signatures of some methods in Encode extension trait (#3687) 2024-02-19 09:54:09 +00:00
7d8d68faba refactor(openapi): move openapi to separate crate to decrease compile times (#3110)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Co-authored-by: Sai Harsha Vardhan <56996463+sai-harsha-vardhan@users.noreply.github.com>
Co-authored-by: Sahkal Poddar <sahkalplanet@gmail.com>
Co-authored-by: Amisha Prabhat <55580080+Aprabhat19@users.noreply.github.com>
Co-authored-by: Sarthak Soni <76486416+Sarthak1799@users.noreply.github.com>
Co-authored-by: shashank_attarde <shashank.attarde@juspay.in>
Co-authored-by: Aprabhat19 <amishaprabhat@gmail.com>
Co-authored-by: sai-harsha-vardhan <harsha111hero@gmail.com>
Co-authored-by: Sahkal Poddar <sahkal.poddar@juspay.in>
Co-authored-by: Sanchith Hegde <22217505+SanchithHegde@users.noreply.github.com>
2024-01-29 10:50:43 +00:00
c2946cfe05 feat(logging): add a logging middleware to log all api requests (#3437) 2024-01-25 07:26:20 +00:00
bd5356e7e7 refactor(core): add locker config to enable or disable locker (#3352)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
2024-01-18 12:40:21 +00:00
9eaebe8db3 refactor(router): restricted list payment method Customer to api-key based (#3100) 2024-01-11 08:28:56 +00:00
efeebc0f23 fix(router): associate parent payment token with payment_method_id as hyperswitch token for saved cards (#2130)
Co-authored-by: Chethan Rao <70657455+Chethan-rao@users.noreply.github.com>
2023-11-20 10:42:06 +00:00
d634fdeac3 feat: change async-bb8 fork and tokio spawn for concurrent database calls (#2774)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: akshay-97 <adiosphobian@gmail.com>
Co-authored-by: akshay.s <akshay.s@juspay.in>
Co-authored-by: Kartikeya Hegde <karthikey.hegde@juspay.in>
2023-11-16 04:57:34 +00:00
5d66156132 feat(payments): add api locking for payments core (#1898) 2023-09-25 10:25:39 +00:00
a0a8ef27b3 refactor(core): Add additional parameters in AppState and refactor AppState references (#2123)
Co-authored-by: Kritik Modi <kritik.modi@juspay.in>
Co-authored-by: Kritik Modi <61862301+kritikmodi@users.noreply.github.com>
Co-authored-by: Nitesh Balla <nitesh.balla@juspay.in>
2023-09-18 08:31:03 +00:00
3c93552101 feat(payment_methods): Store necessary payment method data in payment_methods table (#2073)
Co-authored-by: Sarthak Soni <sarthak.soni@juspay.in>
2023-09-06 13:55:25 +00:00
229f111f6c feat(frm): Add support to accept and decline payment when manually reviewed by merchant for risky transaction (#2071) 2023-09-04 12:14:39 +00:00
38ab6e54f1 refactor(router): return generic message for UnprocessableEntity in make_pm_data (#2050) 2023-09-01 08:22:22 +00:00
07020d01b5 fix(payment_methods): delete token when a payment reaches terminal state (#1818) 2023-08-10 12:49:18 +00:00
5fbd1cc3c7 fix(router): Convert ephemeral to client secret auth list payment_method_customer (#1602)
Co-authored-by: Sahkal Poddar <sahkal.poddar@juspay.in>
Co-authored-by: Abhishek Marrivagu <68317979+Abhicodes-crypto@users.noreply.github.com>
Co-authored-by: Narayan Bhat <48803246+Narayanbhat166@users.noreply.github.com>
2023-07-17 11:11:29 +00:00
8832dd60b9 refactor(payment_methods): Remove legacy locker code as it is not been used (#1666) 2023-07-14 09:51:10 +00:00
ce1d205219 fix(router): decrease payment method token time based on payment_intent creation time (#1682)
Co-authored-by: Sahkal Poddar <sahkal.poddar@juspay.in>
Co-authored-by: Arun Raj M <jarnura47@gmail.com>
2023-07-14 06:42:54 +00:00
d321aa1f72 feat: fetch merchant key store only once per session (#1400)
Co-authored-by: Sanchith Hegde <22217505+SanchithHegde@users.noreply.github.com>
2023-06-22 09:10:28 +00:00
53aa5ac92d feat(documentation): add polymorphic generate_schema macro (#1183)
Co-authored-by: pixincreate@work <69745008+pixincreate@users.noreply.github.com>
2023-05-19 11:07:54 +00:00
03a96432a9 feat: expire client secret after a merchant configurable intent fufliment time (#956) 2023-05-03 10:38:13 +00:00
d302b286b8 feat(router): adding metrics for tracking behavior throughout the router crate (#768) 2023-03-21 05:33:03 +00:00
9841519324 docs: Update naming conventions and added examples (#709)
Co-authored-by: Narayan Bhat <narayan.bhat@juspay.in>
2023-03-06 11:23:32 +00:00
ed2907e141 feat(router): serve OpenAPI docs at /docs (#698)
Co-authored-by: bernard eugine <bernard.eugine@bernard.eugine-MacBookPro>
Co-authored-by: Sanchith Hegde <sanchith.hegde@juspay.in>
2023-03-01 18:16:45 +00:00