Dataset Viewer
Auto-converted to Parquet
prompt
stringlengths
6
90.9k
response
stringlengths
121
18.6k
metadata
stringlengths
314
42.3k
1) Added a new CaptureMethod : SequentialAutomatic -> does Auth and capture in two api calls one after the other 1. **For Paybox**: - If the payment is a Customer-Initiated Transaction (CIT), two API calls will be made: - First for Authorization (`Auth`) - Followed by Capture (`Capture`) - For all other payment types, `SequentialAutomatic` will function the same as `Automatic`. 2. **For other connectors**: - `SequentialAutomatic` will behave the same as `Automatic`. https://docs.google.com/document/d/1pokpfrBJGVrHGcyeTkfArAxdIo2ZBR3jNefSj5qbG6E/edit?tab=t.0
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Domain Models (Business Logic Types)** - `crates/hyperswitch_domain_models/src/router_response_types.rs` **2. Core Business Logic** - `crates/router/src/core/fraud_check/operation/fraud_check_post.rs` - `crates/router/src/core/payments.rs` - `crates/router/src/core/payments/flows.rs` - ... and 5 more files **3. External Connector Integration** - `crates/hyperswitch_connectors/src/connectors/airwallex.rs` - `crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs` - `crates/hyperswitch_connectors/src/connectors/bambora.rs` - ... and 69 more files **4. Type Definitions** - `crates/router/src/types.rs` **5. Other** - `api-reference-v2/openapi_spec.json` - `api-reference/openapi_spec.json` - `crates/common_enums/src/enums.rs` - ... and 3 more files **Code Patterns Applied:** - Implement new functions (14 changes) - Extend existing types with new fields (97 changes) - Add conditional logic for feature flags or filtering (7 changes) - Modify database queries (3 changes) **Detailed Identifier Changes:** Commit e5dde6ac: Files to modify: **crates/common_enums/src/enums.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/airwallex.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/bambora.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/bamboraapac.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/billwerk.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/boku.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/cashtocode.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/coinbase.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/deutschebank.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/digitalvirgo.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/dlocal.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/elavon.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/fiserv.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/fiservemea.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/fiservemea/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/fiuu.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/forte.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/globepay.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/gocardless.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/helcim.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/mollie/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/multisafepay.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/nexinets.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/nexixpay.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/novalnet.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/payeezy.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/payu.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/powertranz.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/rapyd.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/rapyd/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/shift4.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/square.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/stax.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/tsys.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/worldline.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/worldpay.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/zsl.rs** Modify existing code **crates/hyperswitch_connectors/src/utils.rs** Modify existing code **crates/hyperswitch_domain_models/src/router_response_types.rs** Modify existing code **crates/hyperswitch_interfaces/src/api.rs** Modify existing code **crates/router/src/connector/adyen.rs** Modify existing code **crates/router/src/connector/authorizedotnet.rs** Modify existing code **crates/router/src/connector/authorizedotnet/transformers.rs** Modify existing code **crates/router/src/connector/bankofamerica.rs** Modify existing code **crates/router/src/connector/bluesnap.rs** Modify existing code **crates/router/src/connector/braintree.rs** Modify existing code **crates/router/src/connector/checkout.rs** Modify existing code **crates/router/src/connector/checkout/transformers.rs** Modify existing code **crates/router/src/connector/cybersource.rs** Modify existing code **crates/router/src/connector/datatrans.rs** Modify existing code **crates/router/src/connector/dummyconnector.rs** Modify existing code **crates/router/src/connector/globalpay.rs** Modify existing code **crates/router/src/connector/klarna.rs** Modify existing code **crates/router/src/connector/nmi.rs** Modify existing code **crates/router/src/connector/noon.rs** Modify existing code **crates/router/src/connector/nuvei.rs** Modify existing code **crates/router/src/connector/opayo.rs** Modify existing code **crates/router/src/connector/paybox.rs** Modify existing code **crates/router/src/connector/paybox/transformers.rs** Modify existing code **crates/router/src/connector/payme.rs** Modify existing code **crates/router/src/connector/paypal.rs** Modify existing code **crates/router/src/connector/placetopay.rs** Modify existing code **crates/router/src/connector/stripe.rs** Modify existing code **crates/router/src/connector/stripe/transformers.rs** Modify existing code **crates/router/src/connector/utils.rs** Modify existing code **crates/router/src/connector/wellsfargo.rs** Modify existing code **crates/router/src/connector/wellsfargo/transformers.rs** Modify existing code **crates/router/src/core/fraud_check/operation/fraud_check_post.rs** Modify existing code **crates/router/src/core/payments.rs** Modify existing code **crates/router/src/core/payments/flows.rs** Modify existing code **crates/router/src/core/payments/flows/authorize_flow.rs** Modify existing code **crates/router/src/core/payments/flows/complete_authorize_flow.rs** Modify existing code **crates/router/src/core/payments/helpers.rs** Modify existing code **crates/router/src/core/payments/routing/transformers.rs** Modify existing code **crates/router/src/core/utils.rs** Modify existing code **crates/router/src/types.rs** Modify existing code
{"pr_number": 6587, "pr_title": "feat(connector): Added a new CaptureMethod SequentialAutomatic to Support CIT Mandates for Paybox", "merged_at": "2024-12-05T14:03:43Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"domain": ["crates/hyperswitch_domain_models/src/router_response_types.rs"], "core_business": ["crates/router/src/core/fraud_check/operation/fraud_check_post.rs", "crates/router/src/core/payments.rs", "crates/router/src/core/payments/flows.rs", "crates/router/src/core/payments/flows/authorize_flow.rs", "crates/router/src/core/payments/flows/complete_authorize_flow.rs", "crates/router/src/core/payments/helpers.rs", "crates/router/src/core/payments/routing/transformers.rs", "crates/router/src/core/utils.rs"], "connectors": ["crates/hyperswitch_connectors/src/connectors/airwallex.rs", "crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs", "crates/hyperswitch_connectors/src/connectors/bambora.rs", "crates/hyperswitch_connectors/src/connectors/bamboraapac.rs", "crates/hyperswitch_connectors/src/connectors/billwerk.rs", "crates/hyperswitch_connectors/src/connectors/boku.rs", "crates/hyperswitch_connectors/src/connectors/cashtocode.rs", "crates/hyperswitch_connectors/src/connectors/coinbase.rs", "crates/hyperswitch_connectors/src/connectors/deutschebank.rs", "crates/hyperswitch_connectors/src/connectors/digitalvirgo.rs", "crates/hyperswitch_connectors/src/connectors/dlocal.rs", "crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs", "crates/hyperswitch_connectors/src/connectors/elavon.rs", "crates/hyperswitch_connectors/src/connectors/fiserv.rs", "crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs", "crates/hyperswitch_connectors/src/connectors/fiservemea.rs", "crates/hyperswitch_connectors/src/connectors/fiservemea/transformers.rs", "crates/hyperswitch_connectors/src/connectors/fiuu.rs", "crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs", "crates/hyperswitch_connectors/src/connectors/forte.rs", "crates/hyperswitch_connectors/src/connectors/globepay.rs", "crates/hyperswitch_connectors/src/connectors/gocardless.rs", "crates/hyperswitch_connectors/src/connectors/helcim.rs", "crates/hyperswitch_connectors/src/connectors/mollie/transformers.rs", "crates/hyperswitch_connectors/src/connectors/multisafepay.rs", "crates/hyperswitch_connectors/src/connectors/nexinets.rs", "crates/hyperswitch_connectors/src/connectors/nexixpay.rs", "crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs", "crates/hyperswitch_connectors/src/connectors/novalnet.rs", "crates/hyperswitch_connectors/src/connectors/payeezy.rs", "crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs", "crates/hyperswitch_connectors/src/connectors/payu.rs", "crates/hyperswitch_connectors/src/connectors/powertranz.rs", "crates/hyperswitch_connectors/src/connectors/rapyd.rs", "crates/hyperswitch_connectors/src/connectors/rapyd/transformers.rs", "crates/hyperswitch_connectors/src/connectors/shift4.rs", "crates/hyperswitch_connectors/src/connectors/square.rs", "crates/hyperswitch_connectors/src/connectors/stax.rs", "crates/hyperswitch_connectors/src/connectors/tsys.rs", "crates/hyperswitch_connectors/src/connectors/worldline.rs", "crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs", "crates/hyperswitch_connectors/src/connectors/worldpay.rs", "crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs", "crates/hyperswitch_connectors/src/connectors/zsl.rs", "crates/hyperswitch_connectors/src/utils.rs", "crates/router/src/connector/adyen.rs", "crates/router/src/connector/authorizedotnet.rs", "crates/router/src/connector/authorizedotnet/transformers.rs", "crates/router/src/connector/bankofamerica.rs", "crates/router/src/connector/bluesnap.rs", "crates/router/src/connector/braintree.rs", "crates/router/src/connector/checkout.rs", "crates/router/src/connector/checkout/transformers.rs", "crates/router/src/connector/cybersource.rs", "crates/router/src/connector/datatrans.rs", "crates/router/src/connector/dummyconnector.rs", "crates/router/src/connector/globalpay.rs", "crates/router/src/connector/klarna.rs", "crates/router/src/connector/nmi.rs", "crates/router/src/connector/noon.rs", "crates/router/src/connector/nuvei.rs", "crates/router/src/connector/opayo.rs", "crates/router/src/connector/paybox.rs", "crates/router/src/connector/paybox/transformers.rs", "crates/router/src/connector/payme.rs", "crates/router/src/connector/paypal.rs", "crates/router/src/connector/placetopay.rs", "crates/router/src/connector/stripe.rs", "crates/router/src/connector/stripe/transformers.rs", "crates/router/src/connector/utils.rs", "crates/router/src/connector/wellsfargo.rs", "crates/router/src/connector/wellsfargo/transformers.rs"], "types": ["crates/router/src/types.rs"], "other": ["api-reference-v2/openapi_spec.json", "api-reference/openapi_spec.json", "crates/common_enums/src/enums.rs", "crates/hyperswitch_interfaces/src/api.rs", "migrations/2024-11-15-171347_add_capture_method_sequential_automatic/down.sql", "migrations/2024-11-15-171347_add_capture_method_sequential_automatic/up.sql"]}, "change_types": {"functions_added": 14, "fields_added": 97, "imports_added": 5, "conditionals_added": 7, "database_queries": 3}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> Implementing a retry logic for forex crate call with linear time increment in retry counter
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Core Business Logic** - `crates/router/src/core/currency.rs` **2. Other** - `crates/router/src/consts.rs` **Code Patterns Applied:** - Add conditional logic for feature flags or filtering (2 changes) **Detailed Identifier Changes:** Commit e93fce26: Files to modify: **crates/router/src/consts.rs** Modify existing code **crates/router/src/core/currency.rs** Modify existing code
{"pr_number": 7280, "pr_title": "fix(analytics): retry implementation for forex crate call", "merged_at": "2025-03-20T14:26:48Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "user", "token"]}, "hierarchy": {"core_business": ["crates/router/src/core/currency.rs"], "other": ["crates/router/src/consts.rs"]}, "change_types": {"imports_added": 1, "conditionals_added": 2}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> This PR introduces a new JWT authenticated endpoint for listing unique webhook events for a profile. The endpoint URL is `/events/profile/list` and it will support only JWT authentication. The profile ID and merchant ID will be extracted directly from JWT token. The router handler will call the existing `list_initial_delivery_attempts()` supporting other filtering constraints, same as in the existing endpoint.
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Other** - `api-reference-v2/openapi_spec.json` - `api-reference/openapi_spec.json` - `crates/openapi/src/openapi.rs` - ... and 4 more files **Code Patterns Applied:** - Implement new functions (2 changes) - Extend existing types with new fields (6 changes) **Detailed Identifier Changes:** Commit 70107990: Files to modify: **crates/openapi/src/openapi.rs** Modify existing code **crates/openapi/src/routes/webhook_events.rs** Modify existing code **crates/router/src/routes/app.rs** Modify existing code **crates/router/src/routes/webhook_events.rs** Modify existing code **crates/router/src/services/authorization/permissions.rs** Modify existing code
{"pr_number": 7325, "pr_title": "refactor(webhook): add jwt authenticated endpoint to list unique webhook events for a profile", "merged_at": "2025-03-24T12:00:35Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "merchant", "refund"]}, "hierarchy": {"other": ["api-reference-v2/openapi_spec.json", "api-reference/openapi_spec.json", "crates/openapi/src/openapi.rs", "crates/openapi/src/routes/webhook_events.rs", "crates/router/src/routes/app.rs", "crates/router/src/routes/webhook_events.rs", "crates/router/src/services/authorization/permissions.rs"]}, "change_types": {"functions_added": 2, "fields_added": 6}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> In this PR 1. We have implemented the CIT and MIT payments, only for - network transaction id flow 2. Completely refactored the status handling 3. Refactored Psync and Rsync flow. Any payment operation triggered to Vantiv (if didn't cause an API failure) will be marked as pending initially and later payment status gets updated via sync calls. Hotfix for https://github.com/juspay/hyperswitch/pull/8495 > Note: Psync after void will fail the payment - this is a known issue. ## How did you test it? <!-- Did you write an integration/unit/API test to verify the code changes? Or did you test this change manually (provide relevant screenshots)? --> <details> <summary>MCA Create</summary> ```curl curl --location 'http://localhost:8080/account/postman_merchant_GHAction_0e454918-80a7-4094-bcff-daa8e346b243/connectors' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: dev_2HAFolGlYSsegZm3**********' \ --data '{ "connector_type": "payment_processor", "connector_name": "worldpayvantiv", "business_country": "US", "business_label": "default", "connector_account_details": { "auth_type": "SignatureKey", "api_key": "**************", "key1": "**********", "api_secret": "************" }, "test_mode": false, "disabled": false, "payment_methods_enabled": [ { "payment_method": "card", "payment_method_types": [ { "payment_method_type": "credit", "minimum_amount": 1, "maximum_amount": 68607706, "recurring_enabled": true, "installment_payment_enabled": true } ] }, { "payment_method": "card", "payment_method_types": [ { "payment_method_type": "debit", "minimum_amount": 1, "maximum_amount": 68607706, "recurring_enabled": true, "installment_payment_enabled": true } ] }, { "payment_method": "wallet", "payment_method_types": [ { "payment_method_type": "apple_pay", "payment_experience": "invoke_sdk_client", "minimum_amount": 1, "maximum_amount": 68607706, "recurring_enabled": true, "installment_payment_enabled": true } ] }, { "payment_method": "wallet", "payment_method_types": [ { "payment_method_type": "google_pay", "payment_experience": "invoke_sdk_client", "minimum_amount": 1, "maximum_amount": 68607706, "recurring_enabled": true, "installment_payment_enabled": true } ] } ], "metadata": { "report_group" : "Hello", "merchant_config_currency":"USD", } }' ``` Response ``` {"connector_type":"payment_processor","connector_name":"worldpayvantiv","connector_label":"worldpayvantiv_US_default","merchant_connector_id":"mca_V5XFJarrAF5NstSv85Q2","profile_id":"pro_s7S7h1rpBqt5v5y4ccvK","connector_account_details":{"auth_type":"SignatureKey","api_key":"u8**************01","key1":"01*****81","api_secret":"qR***********Fr"},"payment_methods_enabled":[{"payment_method":"pay_later","payment_method_types":[{"payment_method_type":"affirm","payment_experience":"redirect_to_url","card_networks":null,"accepted_currencies":null,"accepted_countries":null,"minimum_amount":1,"maximum_amount":68607706,"recurring_enabled":true,"installment_payment_enabled":true}]},{"payment_method":"pay_later","payment_method_types":[{"payment_method_type":"afterpay_clearpay","payment_experience":"redirect_to_url","card_networks":null,"accepted_currencies":null,"accepted_countries":null,"minimum_amount":1,"maximum_amount":68607706,"recurring_enabled":true,"installment_payment_enabled":true}]},{"payment_method":"pay_later","payment_method_types":[{"payment_method_type":"klarna","payment_experience":"redirect_to_url","card_networks":null,"accepted_currencies":null,"accepted_countries":null,"minimum_amount":1,"maximum_amount":68607706,"recurring_enabled":true,"installment_payment_enabled":true}]},{"payment_method":"pay_later","payment_method_types":[{"payment_method_type":"klarna","payment_experience":"invoke_sdk_client","card_networks":null,"accepted_currencies":null,"accepted_countries":null,"minimum_amount":1,"maximum_amount":68607706,"recurring_enabled":true,"installment_payment_enabled":true}]},{"payment_method":"bank_redirect","payment_method_types":[{"payment_method_type":"ideal","payment_experience":null,"card_networks":null,"accepted_currencies":null,"accepted_countries":null,"minimum_amount":1,"maximum_amount":68607706,"recurring_enabled":true,"installment_payment_enabled":true},{"payment_method_type":"bancontact_card","payment_experience":null,"card_networks":null,"accepted_currencies":null,"accepted_countries":null,"minimum_amount":1,"maximum_amount":68607706,"recurring_enabled":true,"installment_payment_enabled":true},{"payment_method_type":"przelewy24","payment_experience":null,"card_networks":null,"accepted_currencies":null,"accepted_countries":null,"minimum_amount":1,"maximum_amount":68607706,"recurring_enabled":true,"installment_payment_enabled":true},{"payment_method_type":"giropay","payment_experience":null,"card_networks":null,"accepted_currencies":null,"accepted_countries":null,"minimum_amount":1,"maximum_amount":68607706,"recurring_enabled":true,"installment_payment_enabled":true},{"payment_method_type":"sofort","payment_experience":null,"card_networks":null,"accepted_currencies":null,"accepted_countries":null,"minimum_amount":1,"maximum_amount":68607706,"recurring_enabled":true,"installment_payment_enabled":true},{"payment_method_type":"eps","payment_experience":null,"card_networks":null,"accepted_currencies":null,"accepted_countries":null,"minimum_amount":1,"maximum_amount":68607706,"recurring_enabled":true,"installment_payment_enabled":true}]},{"payment_method":"bank_debit","payment_method_types":[{"payment_method_type":"ach","payment_experience":null,"card_networks":null,"accepted_currencies":null,"accepted_countries":null,"minimum_amount":1,"maximum_amount":68607706,"recurring_enabled":true,"installment_payment_enabled":true},{"payment_method_type":"becs","payment_experience":null,"card_networks":null,"accepted_currencies":null,"accepted_countries":null,"minimum_amount":1,"maximum_amount":68607706,"recurring_enabled":true,"installment_payment_enabled":true},{"payment_method_type":"sepa","payment_experience":null,"card_networks":null,"accepted_currencies":null,"accepted_countries":null,"minimum_amount":1,"maximum_amount":68607706,"recurring_enabled":true,"installment_payment_enabled":true},{"payment_method_type":"bacs","payment_experience":null,"card_networks":null,"accepted_currencies":null,"accepted_countries":null,"minimum_amount":1,"maximum_amount":68607706,"recurring_enabled":true,"installment_payment_enabled":true}]},{"payment_method":"bank_transfer","payment_method_types":[{"payment_method_type":"ach","payment_experience":null,"card_networks":null,"accepted_currencies":null,"accepted_countries":null,"minimum_amount":1,"maximum_amount":68607706,"recurring_enabled":true,"installment_payment_enabled":true},{"payment_method_type":"bacs","payment_experience":null,"card_networks":null,"accepted_currencies":null,"accepted_countries":null,"minimum_amount":1,"maximum_amount":68607706,"recurring_enabled":true,"installment_payment_enabled":true},{"payment_method_type":"sepa","payment_experience":null,"card_networks":null,"accepted_currencies":null,"accepted_countries":null,"minimum_amount":1,"maximum_amount":68607706,"recurring_enabled":true,"installment_payment_enabled":true}]},{"payment_method":"card","payment_method_types":[{"payment_method_type":"credit","payment_experience":null,"card_networks":null,"accepted_currencies":null,"accepted_countries":null,"minimum_amount":1,"maximum_amount":68607706,"recurring_enabled":true,"installment_payment_enabled":true}]},{"payment_method":"card","payment_method_types":[{"payment_method_type":"debit","payment_experience":null,"card_networks":null,"accepted_currencies":null,"accepted_countries":null,"minimum_amount":1,"maximum_amount":68607706,"recurring_enabled":true,"installment_payment_enabled":true}]},{"payment_method":"wallet","payment_method_types":[{"payment_method_type":"apple_pay","payment_experience":"invoke_sdk_client","card_networks":null,"accepted_currencies":null,"accepted_countries":null,"minimum_amount":1,"maximum_amount":68607706,"recurring_enabled":true,"installment_payment_enabled":true}]},{"payment_method":"wallet","payment_method_types":[{"payment_method_type":"google_pay","payment_experience":"invoke_sdk_client","card_networks":null,"accepted_currencies":null,"accepted_countries":null,"minimum_amount":1,"maximum_amount":68607706,"recurring_enabled":true,"installment_payment_enabled":true}]}],"connector_webhook_details":null,"metadata":{"google_pay":{"merchant_info":{"merchant_name":"Narayan Bhat"},"allowed_payment_methods":[{"type":"CARD","parameters":{"allowed_auth_methods":["PAN_ONLY","CRYPTOGRAM_3DS"],"allowed_card_networks":["AMEX","DISCOVER","INTERAC","JCB","MASTERCARD","VISA"]},"tokenization_specification":{"type":"PAYMENT_GATEWAY","parameters":{"gateway":"example","gateway_merchant_id":"{{gateway_merchant_id}}"}}}]},"report_group":"Hello","merchant_config_currency":"USD"},"test_mode":false,"disabled":false,"frm_configs":null,"business_country":"US","business_label":"default","business_sub_label":null,"applepay_verified_domains":null,"pm_auth_config":null,"status":"active","additional_merchant_data":null,"connector_wallets_details":null} ``` </details> <details> <summary> Mandates via NTI </summary> 0. Enable `is_connector_agnostic_mit_enabled` for your profile 1. Create a CIT with Vantiv ``` curl --location 'http://localhost:8080/payments' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: dev_n7QiMoAbvyRDMYUD1YCqh0JOtSlKx4YbH55UG0WvPeOrKXOgdPLTsMikZcNjz6DY' \ --data '{ "amount": 10, "currency": "USD", "confirm": true, "description": "payments", "connector": ["worldpayvantiv"], "capture_method": "automatic", "customer_id": "9ad5a4e4-80f1-494d-b081-8dc5497f0145", "authentication_type": "no_three_ds", "billing": { "address": { "line1": "1467", "line2": "Harrison Street", "line3": "Harrison Street", "city": "San Fransico", "state": "CeutΓ’", "zip": "94122", "country": "AR", "first_name": "joseph", "last_name": "Doe" } }, "payment_method": "card", "payment_method_type": "credit", "payment_method_data": { "card": { "card_number": "4111111111111111", "card_exp_month": "03", "card_exp_year": "30", "card_holder_name": "Joseph", "card_cvc": "737" } }, "customer_acceptance": { "acceptance_type": "online", "accepted_at": "2025-03-27T13:56:49.848Z", "online": { "ip_address": null, "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.3 Safari/605.1.15" } }, "setup_future_usage": "off_session", "browser_info": { "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36", "accept_header": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8", "language": "nl-NL", "color_depth": 24, "screen_height": 723, "screen_width": 1536, "time_zone": 0, "java_enabled": true, "java_script_enabled": true, "ip_address": "13.232.74.226" }, "metadata": {"report_group": "test"} }' ``` Response ``` {"payment_id":"pay_2lKP1TDqbxFSb4LeKczw","merchant_id":"postman_merchant_GHAction_56a5457a-0ed4-46be-a355-f2f1e7665db0","status":"processing","amount":10,"net_amount":10,"shipping_cost":null,"amount_capturable":0,"amount_received":null,"connector":"worldpayvantiv","client_secret":"pay_2lKP1TDqbxFSb4LeKczw_secret_kteL8nR3S6vFvyQ56mmG","created":"2025-06-30T09:47:06.353Z","currency":"USD","customer_id":"ce5eae6b-563b-4f58-bd58-903d633a5a66","customer":{"id":"ce5eae6b-563b-4f58-bd58-903d633a5a66","name":null,"email":null,"phone":null,"phone_country_code":null},"description":"payments","refunds":null,"disputes":null,"mandate_id":null,"mandate_data":null,"setup_future_usage":"off_session","off_session":null,"capture_on":null,"capture_method":"automatic","payment_method":"card","payment_method_data":{"card":{"last4":"1111","card_type":null,"card_network":null,"card_issuer":null,"card_issuing_country":null,"card_isin":"411111","card_extended_bin":null,"card_exp_month":"03","card_exp_year":"30","card_holder_name":"Joseph","payment_checks":null,"authentication_data":null},"billing":null},"payment_token":null,"shipping":null,"billing":{"address":{"city":"San Fransico","country":"AR","line1":"1467","line2":"Harrison Street","line3":"Harrison Street","zip":"94122","state":"CeutΓ’","first_name":"joseph","last_name":"Doe"},"phone":null,"email":null},"order_details":null,"email":null,"name":null,"phone":null,"return_url":null,"authentication_type":"no_three_ds","statement_descriptor_name":null,"statement_descriptor_suffix":null,"next_action":null,"cancellation_reason":null,"error_code":null,"error_message":null,"unified_code":null,"unified_message":null,"payment_experience":null,"payment_method_type":"credit","connector_label":null,"business_country":null,"business_label":"default","business_sub_label":null,"allowed_payment_method_types":null,"ephemeral_key":{"customer_id":"ce5eae6b-563b-4f58-bd58-903d633a5a66","created_at":1751276826,"expires":1751280426,"secret":"epk_32a625084c354731b59c7d3accac3b70"},"manual_retry_allowed":false,"connector_transaction_id":"83997095739360411","frm_message":null,"metadata":{"report_group":"test"},"connector_metadata":null,"feature_metadata":null,"reference_id":"pay_2lKP1TDqbxFSb4LeKczw","payment_link":null,"profile_id":"pro_s7S7h1rpBqt5v5y4ccvK","surcharge_details":null,"attempt_count":1,"merchant_decision":null,"merchant_connector_id":"mca_V5XFJarrAF5NstSv85Q2","incremental_authorization_allowed":null,"authorization_count":null,"incremental_authorizations":null,"external_authentication_details":null,"external_3ds_authentication_attempted":false,"expires_on":"2025-06-30T10:02:06.353Z","fingerprint":null,"browser_info":{"language":"nl-NL","time_zone":0,"ip_address":"13.232.74.226","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36","color_depth":24,"java_enabled":true,"screen_width":1536,"accept_header":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8","screen_height":723,"java_script_enabled":true},"payment_method_id":"pm_QH26P6o4MrXFv09GaAd7","payment_method_status":"inactive","updated":"2025-06-30T09:47:07.025Z","split_payments":null,"frm_metadata":null,"extended_authorization_applied":null,"capture_before":null,"merchant_order_reference_id":null,"order_tax_amount":null,"connector_mandate_id":null,"card_discovery":"manual","force_3ds_challenge":false,"force_3ds_challenge_trigger":false,"issuer_error_code":null,"issuer_error_message":null,"is_iframe_redirection_enabled":null,"whole_connector_response":null} ``` 2. Do a Psync ``` curl --location 'http://localhost:8080/payments/pay_2lKP1TDqbxFSb4LeKczw?force_sync=true' \ --header 'Accept: application/json' \ --header 'api-key: dev_n7QiMoAbvyRDMYUD1YCqh0JOtSlKx4YbH55UG0WvPeOrKXOgdPLTsMikZcNjz6DY' ``` Response ``` {"payment_id":"pay_2lKP1TDqbxFSb4LeKczw","merchant_id":"postman_merchant_GHAction_56a5457a-0ed4-46be-a355-f2f1e7665db0","status":"succeeded","amount":10,"net_amount":10,"shipping_cost":null,"amount_capturable":0,"amount_received":10,"connector":"worldpayvantiv","client_secret":"pay_2lKP1TDqbxFSb4LeKczw_secret_kteL8nR3S6vFvyQ56mmG","created":"2025-06-30T09:47:06.353Z","currency":"USD","customer_id":"ce5eae6b-563b-4f58-bd58-903d633a5a66","customer":{"id":"ce5eae6b-563b-4f58-bd58-903d633a5a66","name":null,"email":null,"phone":null,"phone_country_code":null},"description":"payments","refunds":null,"disputes":null,"mandate_id":null,"mandate_data":null,"setup_future_usage":"off_session","off_session":null,"capture_on":null,"capture_method":"automatic","payment_method":"card","payment_method_data":{"card":{"last4":"1111","card_type":null,"card_network":null,"card_issuer":null,"card_issuing_country":null,"card_isin":"411111","card_extended_bin":null,"card_exp_month":"03","card_exp_year":"30","card_holder_name":"Joseph","payment_checks":null,"authentication_data":null},"billing":null},"payment_token":null,"shipping":null,"billing":{"address":{"city":"San Fransico","country":"AR","line1":"1467","line2":"Harrison Street","line3":"Harrison Street","zip":"94122","state":"CeutΓ’","first_name":"joseph","last_name":"Doe"},"phone":null,"email":null},"order_details":null,"email":null,"name":null,"phone":null,"return_url":null,"authentication_type":"no_three_ds","statement_descriptor_name":null,"statement_descriptor_suffix":null,"next_action":null,"cancellation_reason":null,"error_code":null,"error_message":null,"unified_code":null,"unified_message":null,"payment_experience":null,"payment_method_type":"credit","connector_label":null,"business_country":null,"business_label":"default","business_sub_label":null,"allowed_payment_method_types":null,"ephemeral_key":null,"manual_retry_allowed":false,"connector_transaction_id":"83997095739360411","frm_message":null,"metadata":{"report_group":"test"},"connector_metadata":null,"feature_metadata":null,"reference_id":"pay_2lKP1TDqbxFSb4LeKczw","payment_link":null,"profile_id":"pro_s7S7h1rpBqt5v5y4ccvK","surcharge_details":null,"attempt_count":1,"merchant_decision":null,"merchant_connector_id":"mca_V5XFJarrAF5NstSv85Q2","incremental_authorization_allowed":null,"authorization_count":null,"incremental_authorizations":null,"external_authentication_details":null,"external_3ds_authentication_attempted":false,"expires_on":"2025-06-30T10:02:06.353Z","fingerprint":null,"browser_info":{"language":"nl-NL","time_zone":0,"ip_address":"13.232.74.226","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36","color_depth":24,"java_enabled":true,"screen_width":1536,"accept_header":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8","screen_height":723,"java_script_enabled":true},"payment_method_id":"pm_QH26P6o4MrXFv09GaAd7","payment_method_status":"inactive","updated":"2025-06-30T09:49:15.019Z","split_payments":null,"frm_metadata":null,"extended_authorization_applied":null,"capture_before":null,"merchant_order_reference_id":null,"order_tax_amount":null,"connector_mandate_id":null,"card_discovery":"manual","force_3ds_challenge":false,"force_3ds_challenge_trigger":false,"issuer_error_code":null,"issuer_error_message":null,"is_iframe_redirection_enabled":null,"whole_connector_response":null} ``` 3. Do a MIT payment with the same connector ``` curl --location 'http://localhost:8080/payments' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: dev_n7QiMoAbvyRDMYUD1YCqh0JOtSlKx4YbH55UG0WvPeOrKXOgdPLTsMikZcNjz6DY' \ --data-raw '{ "amount": 6500, "currency": "USD", "confirm": true, "capture_method": "automatic", "capture_on": "2022-09-10T10:11:12Z", "customer_id": "ce5eae6b-563b-4f58-bd58-903d633a5a66", "email": "[email protected]", "name": "John Doe", "phone": "999999999", "phone_country_code": "+65", "description": "Its my first payment request", "authentication_type": "no_three_ds", "return_url": "https://hyperswitch.io", "off_session": true, "recurring_details": { "type": "payment_method_id", "data": "pm_QH26P6o4MrXFv09GaAd7" }, "connector": [ "worldpayvantiv" ], "statement_descriptor_name": "joseph", "statement_descriptor_suffix": "JS", "metadata": { "udf1": "value1", "new_customer": "true", "login_date": "2019-09-10T10:11:12Z" }, "browser_info": { "ip_address": "129.0.0.1", "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36", "accept_header": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8", "language": "en-US", "color_depth": 32, "screen_height": 1117, "screen_width": 1728, "time_zone": -330, "java_enabled": true, "java_script_enabled": true } }' ``` Response ``` {"payment_id":"pay_hzqIaJUelieO3OkgacKN","merchant_id":"postman_merchant_GHAction_56a5457a-0ed4-46be-a355-f2f1e7665db0","status":"processing","amount":6500,"net_amount":6500,"shipping_cost":null,"amount_capturable":0,"amount_received":null,"connector":"worldpayvantiv","client_secret":"pay_hzqIaJUelieO3OkgacKN_secret_6fYRsNwF8UdKNSvquyY7","created":"2025-06-30T09:52:21.261Z","currency":"USD","customer_id":"ce5eae6b-563b-4f58-bd58-903d633a5a66","customer":{"id":"ce5eae6b-563b-4f58-bd58-903d633a5a66","name":"John Doe","email":"[email protected]","phone":"999999999","phone_country_code":"+65"},"description":"Its my first payment request","refunds":null,"disputes":null,"mandate_id":null,"mandate_data":null,"setup_future_usage":null,"off_session":true,"capture_on":null,"capture_method":"automatic","payment_method":"card","payment_method_data":{"card":{"last4":"1111","card_type":null,"card_network":null,"card_issuer":null,"card_issuing_country":null,"card_isin":"411111","card_extended_bin":null,"card_exp_month":"03","card_exp_year":"30","card_holder_name":"Joseph","payment_checks":null,"authentication_data":null},"billing":null},"payment_token":null,"shipping":null,"billing":null,"order_details":null,"email":"[email protected]","name":"John Doe","phone":"999999999","return_url":"https://hyperswitch.io/","authentication_type":"no_three_ds","statement_descriptor_name":"joseph","statement_descriptor_suffix":"JS","next_action":null,"cancellation_reason":null,"error_code":null,"error_message":null,"unified_code":null,"unified_message":null,"payment_experience":null,"payment_method_type":"credit","connector_label":null,"business_country":null,"business_label":"default","business_sub_label":null,"allowed_payment_method_types":null,"ephemeral_key":{"customer_id":"ce5eae6b-563b-4f58-bd58-903d633a5a66","created_at":1751277141,"expires":1751280741,"secret":"epk_676600b403cd43be8c4b57c7d96faafd"},"manual_retry_allowed":false,"connector_transaction_id":"84085052987747238","frm_message":null,"metadata":{"udf1":"value1","login_date":"2019-09-10T10:11:12Z","new_customer":"true"},"connector_metadata":null,"feature_metadata":null,"reference_id":"pay_hzqIaJUelieO3OkgacKN","payment_link":null,"profile_id":"pro_s7S7h1rpBqt5v5y4ccvK","surcharge_details":null,"attempt_count":1,"merchant_decision":null,"merchant_connector_id":"mca_V5XFJarrAF5NstSv85Q2","incremental_authorization_allowed":null,"authorization_count":null,"incremental_authorizations":null,"external_authentication_details":null,"external_3ds_authentication_attempted":false,"expires_on":"2025-06-30T10:07:21.261Z","fingerprint":null,"browser_info":{"language":"en-US","time_zone":-330,"ip_address":"129.0.0.1","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","color_depth":32,"java_enabled":true,"screen_width":1728,"accept_header":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8","screen_height":1117,"java_script_enabled":true},"payment_method_id":"pm_QH26P6o4MrXFv09GaAd7","payment_method_status":"active","updated":"2025-06-30T09:52:23.739Z","split_payments":null,"frm_metadata":null,"extended_authorization_applied":null,"capture_before":null,"merchant_order_reference_id":null,"order_tax_amount":null,"connector_mandate_id":null,"card_discovery":"saved_card","force_3ds_challenge":false,"force_3ds_challenge_trigger":false,"issuer_error_code":null,"issuer_error_message":null,"is_iframe_redirection_enabled":null,"whole_connector_response":null} ``` 6. Do a Psync ``` curl --location 'http://localhost:8080/payments/pay_hzqIaJUelieO3OkgacKN?force_sync=true' \ --header 'Accept: application/json' \ --header 'api-key: dev_n7QiMoAbvyRDMYUD1YCqh0JOtSlKx4YbH55UG0WvPeOrKXOgdPLTsMikZcNjz6DY' ``` response ``` {"payment_id":"pay_hzqIaJUelieO3OkgacKN","merchant_id":"postman_merchant_GHAction_56a5457a-0ed4-46be-a355-f2f1e7665db0","status":"succeeded","amount":6500,"net_amount":6500,"shipping_cost":null,"amount_capturable":0,"amount_received":6500,"connector":"worldpayvantiv","client_secret":"pay_hzqIaJUelieO3OkgacKN_secret_6fYRsNwF8UdKNSvquyY7","created":"2025-06-30T09:52:21.261Z","currency":"USD","customer_id":"ce5eae6b-563b-4f58-bd58-903d633a5a66","customer":{"id":"ce5eae6b-563b-4f58-bd58-903d633a5a66","name":"John Doe","email":"[email protected]","phone":"999999999","phone_country_code":"+65"},"description":"Its my first payment request","refunds":null,"disputes":null,"mandate_id":null,"mandate_data":null,"setup_future_usage":null,"off_session":true,"capture_on":null,"capture_method":"automatic","payment_method":"card","payment_method_data":{"card":{"last4":"1111","card_type":null,"card_network":null,"card_issuer":null,"card_issuing_country":null,"card_isin":"411111","card_extended_bin":null,"card_exp_month":"03","card_exp_year":"30","card_holder_name":"Joseph","payment_checks":null,"authentication_data":null},"billing":{"address":{"city":"San Fransico","country":"AR","line1":"1467","line2":"Harrison Street","line3":"Harrison Street","zip":"94122","state":"CeutΓ’","first_name":"Joseph","last_name":null},"phone":null,"email":null}},"payment_token":null,"shipping":null,"billing":null,"order_details":null,"email":"[email protected]","name":"John Doe","phone":"999999999","return_url":"https://hyperswitch.io/","authentication_type":"no_three_ds","statement_descriptor_name":"joseph","statement_descriptor_suffix":"JS","next_action":null,"cancellation_reason":null,"error_code":null,"error_message":null,"unified_code":null,"unified_message":null,"payment_experience":null,"payment_method_type":"credit","connector_label":null,"business_country":null,"business_label":"default","business_sub_label":null,"allowed_payment_method_types":null,"ephemeral_key":null,"manual_retry_allowed":false,"connector_transaction_id":"84085052987747238","frm_message":null,"metadata":{"udf1":"value1","login_date":"2019-09-10T10:11:12Z","new_customer":"true"},"connector_metadata":null,"feature_metadata":null,"reference_id":"pay_hzqIaJUelieO3OkgacKN","payment_link":null,"profile_id":"pro_s7S7h1rpBqt5v5y4ccvK","surcharge_details":null,"attempt_count":1,"merchant_decision":null,"merchant_connector_id":"mca_V5XFJarrAF5NstSv85Q2","incremental_authorization_allowed":null,"authorization_count":null,"incremental_authorizations":null,"external_authentication_details":null,"external_3ds_authentication_attempted":false,"expires_on":"2025-06-30T10:07:21.261Z","fingerprint":null,"browser_info":{"language":"en-US","time_zone":-330,"ip_address":"129.0.0.1","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","color_depth":32,"java_enabled":true,"screen_width":1728,"accept_header":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8","screen_height":1117,"java_script_enabled":true},"payment_method_id":"pm_QH26P6o4MrXFv09GaAd7","payment_method_status":"active","updated":"2025-06-30T09:53:49.963Z","split_payments":null,"frm_metadata":null,"extended_authorization_applied":null,"capture_before":null,"merchant_order_reference_id":null,"order_tax_amount":null,"connector_mandate_id":null,"card_discovery":"saved_card","force_3ds_challenge":false,"force_3ds_challenge_trigger":false,"issuer_error_code":null,"issuer_error_message":null,"is_iframe_redirection_enabled":null,"whole_connector_response":null} ``` </details> <details> <summary> Manual + Refund </summary> 1. Create a manual payment ``` curl --location 'http://localhost:8080/payments' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: dev_n7QiMoAbvyRDMYUD1YCqh0JOtSlKx4YbH55UG0WvPeOrKXOgdPLTsMikZcNjz6DY' \ --data '{ "amount": 10, "currency": "USD", "confirm": true, "description": "payments", "connector": ["worldpayvantiv"], "capture_method": "manual", "customer_id": "082c2d86-e9e2-481a-bd7e-1bd2e86575ba", "authentication_type": "no_three_ds", "billing": { "address": { "line1": "1467", "line2": "Harrison Street", "line3": "Harrison Street", "city": "San Fransico", "state": "CeutΓ’", "zip": "94122", "country": "AR", "first_name": "joseph", "last_name": "Doe" } }, "payment_method": "card", "payment_method_type": "credit", "payment_method_data": { "card": { "card_number": "4111111111111111", "card_exp_month": "03", "card_exp_year": "30", "card_holder_name": "Joseph", "card_cvc": "737" } } }' ``` Response ``` {"payment_id":"pay_uKMQNl7N9wfLvmtq7oJZ","merchant_id":"postman_merchant_GHAction_56a5457a-0ed4-46be-a355-f2f1e7665db0","status":"processing","amount":10,"net_amount":10,"shipping_cost":null,"amount_capturable":10,"amount_received":null,"connector":"worldpayvantiv","client_secret":"pay_uKMQNl7N9wfLvmtq7oJZ_secret_YqGIoiSGvX5aCT0GAM3F","created":"2025-06-30T09:57:16.636Z","currency":"USD","customer_id":"43dbe83d-b75c-496d-a546-59ce2c963322","customer":{"id":"43dbe83d-b75c-496d-a546-59ce2c963322","name":null,"email":null,"phone":null,"phone_country_code":null},"description":"payments","refunds":null,"disputes":null,"mandate_id":null,"mandate_data":null,"setup_future_usage":null,"off_session":null,"capture_on":null,"capture_method":"manual","payment_method":"card","payment_method_data":{"card":{"last4":"1111","card_type":null,"card_network":null,"card_issuer":null,"card_issuing_country":null,"card_isin":"411111","card_extended_bin":null,"card_exp_month":"03","card_exp_year":"30","card_holder_name":"Joseph","payment_checks":null,"authentication_data":null},"billing":null},"payment_token":null,"shipping":null,"billing":{"address":{"city":"San Fransico","country":"AR","line1":"1467","line2":"Harrison Street","line3":"Harrison Street","zip":"94122","state":"CeutΓ’","first_name":"joseph","last_name":"Doe"},"phone":null,"email":null},"order_details":null,"email":null,"name":null,"phone":null,"return_url":null,"authentication_type":"no_three_ds","statement_descriptor_name":null,"statement_descriptor_suffix":null,"next_action":null,"cancellation_reason":null,"error_code":null,"error_message":null,"unified_code":null,"unified_message":null,"payment_experience":null,"payment_method_type":"credit","connector_label":null,"business_country":null,"business_label":"default","business_sub_label":null,"allowed_payment_method_types":null,"ephemeral_key":{"customer_id":"43dbe83d-b75c-496d-a546-59ce2c963322","created_at":1751277436,"expires":1751281036,"secret":"epk_456b8bb12f6b4a0a8019c6745dc3e615"},"manual_retry_allowed":false,"connector_transaction_id":"83997095739384098","frm_message":null,"metadata":null,"connector_metadata":null,"feature_metadata":null,"reference_id":"pay_uKMQNl7N9wfLvmtq7oJZ","payment_link":null,"profile_id":"pro_s7S7h1rpBqt5v5y4ccvK","surcharge_details":null,"attempt_count":1,"merchant_decision":null,"merchant_connector_id":"mca_V5XFJarrAF5NstSv85Q2","incremental_authorization_allowed":null,"authorization_count":null,"incremental_authorizations":null,"external_authentication_details":null,"external_3ds_authentication_attempted":false,"expires_on":"2025-06-30T10:12:16.636Z","fingerprint":null,"browser_info":null,"payment_method_id":null,"payment_method_status":null,"updated":"2025-06-30T09:57:18.185Z","split_payments":null,"frm_metadata":null,"extended_authorization_applied":null,"capture_before":null,"merchant_order_reference_id":null,"order_tax_amount":null,"connector_mandate_id":null,"card_discovery":"manual","force_3ds_challenge":false,"force_3ds_challenge_trigger":false,"issuer_error_code":null,"issuer_error_message":null,"is_iframe_redirection_enabled":null,"whole_connector_response":null} ``` 2. Call Psync ``` curl --location 'http://localhost:8080/payments/pay_uKMQNl7N9wfLvmtq7oJZ?force_sync=true' \ --header 'Accept: application/json' \ --header 'api-key: dev_n7QiMoAbvyRDMYUD1YCqh0JOtSlKx4YbH55UG0WvPeOrKXOgdPLTsMikZcNjz6DY' ``` Response ``` {"payment_id":"pay_uKMQNl7N9wfLvmtq7oJZ","merchant_id":"postman_merchant_GHAction_56a5457a-0ed4-46be-a355-f2f1e7665db0","status":"requires_capture","amount":10,"net_amount":10,"shipping_cost":null,"amount_capturable":10,"amount_received":null,"connector":"worldpayvantiv","client_secret":"pay_uKMQNl7N9wfLvmtq7oJZ_secret_YqGIoiSGvX5aCT0GAM3F","created":"2025-06-30T09:57:16.636Z","currency":"USD","customer_id":"43dbe83d-b75c-496d-a546-59ce2c963322","customer":{"id":"43dbe83d-b75c-496d-a546-59ce2c963322","name":null,"email":null,"phone":null,"phone_country_code":null},"description":"payments","refunds":null,"disputes":null,"mandate_id":null,"mandate_data":null,"setup_future_usage":null,"off_session":null,"capture_on":null,"capture_method":"manual","payment_method":"card","payment_method_data":{"card":{"last4":"1111","card_type":null,"card_network":null,"card_issuer":null,"card_issuing_country":null,"card_isin":"411111","card_extended_bin":null,"card_exp_month":"03","card_exp_year":"30","card_holder_name":"Joseph","payment_checks":null,"authentication_data":null},"billing":null},"payment_token":null,"shipping":null,"billing":{"address":{"city":"San Fransico","country":"AR","line1":"1467","line2":"Harrison Street","line3":"Harrison Street","zip":"94122","state":"CeutΓ’","first_name":"joseph","last_name":"Doe"},"phone":null,"email":null},"order_details":null,"email":null,"name":null,"phone":null,"return_url":null,"authentication_type":"no_three_ds","statement_descriptor_name":null,"statement_descriptor_suffix":null,"next_action":null,"cancellation_reason":null,"error_code":null,"error_message":null,"unified_code":null,"unified_message":null,"payment_experience":null,"payment_method_type":"credit","connector_label":null,"business_country":null,"business_label":"default","business_sub_label":null,"allowed_payment_method_types":null,"ephemeral_key":null,"manual_retry_allowed":false,"connector_transaction_id":"83997095739384098","frm_message":null,"metadata":null,"connector_metadata":null,"feature_metadata":null,"reference_id":"pay_uKMQNl7N9wfLvmtq7oJZ","payment_link":null,"profile_id":"pro_s7S7h1rpBqt5v5y4ccvK","surcharge_details":null,"attempt_count":1,"merchant_decision":null,"merchant_connector_id":"mca_V5XFJarrAF5NstSv85Q2","incremental_authorization_allowed":null,"authorization_count":null,"incremental_authorizations":null,"external_authentication_details":null,"external_3ds_authentication_attempted":false,"expires_on":"2025-06-30T10:12:16.636Z","fingerprint":null,"browser_info":null,"payment_method_id":null,"payment_method_status":null,"updated":"2025-06-30T09:58:32.411Z","split_payments":null,"frm_metadata":null,"extended_authorization_applied":null,"capture_before":null,"merchant_order_reference_id":null,"order_tax_amount":null,"connector_mandate_id":null,"card_discovery":"manual","force_3ds_challenge":false,"force_3ds_challenge_trigger":false,"issuer_error_code":null,"issuer_error_message":null,"is_iframe_redirection_enabled":null,"whole_connector_response":null} ``` 3. Capture ``` curl --location 'http://localhost:8080/payments/pay_uKMQNl7N9wfLvmtq7oJZ/capture' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: dev_n7QiMoAbvyRDMYUD1YCqh0JOtSlKx4YbH55UG0WvPeOrKXOgdPLTsMikZcNjz6DY' \ --data '{ "amount_to_capture": 10, "statement_descriptor_name": "Joseph", "statement_descriptor_suffix": "JS" }' ``` Response ``` {"payment_id":"pay_uKMQNl7N9wfLvmtq7oJZ","merchant_id":"postman_merchant_GHAction_56a5457a-0ed4-46be-a355-f2f1e7665db0","status":"processing","amount":10,"net_amount":10,"shipping_cost":null,"amount_capturable":10,"amount_received":null,"connector":"worldpayvantiv","client_secret":"pay_uKMQNl7N9wfLvmtq7oJZ_secret_YqGIoiSGvX5aCT0GAM3F","created":"2025-06-30T09:57:16.636Z","currency":"USD","customer_id":"43dbe83d-b75c-496d-a546-59ce2c963322","customer":{"id":"43dbe83d-b75c-496d-a546-59ce2c963322","name":null,"email":null,"phone":null,"phone_country_code":null},"description":"payments","refunds":null,"disputes":null,"mandate_id":null,"mandate_data":null,"setup_future_usage":null,"off_session":null,"capture_on":null,"capture_method":"manual","payment_method":"card","payment_method_data":{"card":{"last4":"1111","card_type":null,"card_network":null,"card_issuer":null,"card_issuing_country":null,"card_isin":"411111","card_extended_bin":null,"card_exp_month":"03","card_exp_year":"30","card_holder_name":"Joseph","payment_checks":null,"authentication_data":null},"billing":null},"payment_token":null,"shipping":null,"billing":{"address":{"city":"San Fransico","country":"AR","line1":"1467","line2":"Harrison Street","line3":"Harrison Street","zip":"94122","state":"CeutΓ’","first_name":"joseph","last_name":"Doe"},"phone":null,"email":null},"order_details":null,"email":null,"name":null,"phone":null,"return_url":null,"authentication_type":"no_three_ds","statement_descriptor_name":null,"statement_descriptor_suffix":null,"next_action":null,"cancellation_reason":null,"error_code":null,"error_message":null,"unified_code":null,"unified_message":null,"payment_experience":null,"payment_method_type":"credit","connector_label":null,"business_country":null,"business_label":"default","business_sub_label":null,"allowed_payment_method_types":null,"ephemeral_key":null,"manual_retry_allowed":false,"connector_transaction_id":"83997095739385384","frm_message":null,"metadata":null,"connector_metadata":null,"feature_metadata":null,"reference_id":"pay_uKMQNl7N9wfLvmtq7oJZ","payment_link":null,"profile_id":"pro_s7S7h1rpBqt5v5y4ccvK","surcharge_details":null,"attempt_count":1,"merchant_decision":null,"merchant_connector_id":"mca_V5XFJarrAF5NstSv85Q2","incremental_authorization_allowed":null,"authorization_count":null,"incremental_authorizations":null,"external_authentication_details":null,"external_3ds_authentication_attempted":false,"expires_on":"2025-06-30T10:12:16.636Z","fingerprint":null,"browser_info":null,"payment_method_id":null,"payment_method_status":null,"updated":"2025-06-30T09:59:22.847Z","split_payments":null,"frm_metadata":null,"extended_authorization_applied":null,"capture_before":null,"merchant_order_reference_id":null,"order_tax_amount":null,"connector_mandate_id":null,"card_discovery":"manual","force_3ds_challenge":false,"force_3ds_challenge_trigger":false,"issuer_error_code":null,"issuer_error_message":null,"is_iframe_redirection_enabled":null,"whole_connector_response":null} ``` 4. Call Psync ``` curl --location 'http://localhost:8080/payments/pay_uKMQNl7N9wfLvmtq7oJZ?force_sync=true' \ --header 'Accept: application/json' \ --header 'api-key: dev_n7QiMoAbvyRDMYUD1YCqh0JOtSlKx4YbH55UG0WvPeOrKXOgdPLTsMikZcNjz6DY' ``` Response ``` {"payment_id":"pay_uKMQNl7N9wfLvmtq7oJZ","merchant_id":"postman_merchant_GHAction_56a5457a-0ed4-46be-a355-f2f1e7665db0","status":"succeeded","amount":10,"net_amount":10,"shipping_cost":null,"amount_capturable":0,"amount_received":10,"connector":"worldpayvantiv","client_secret":"pay_uKMQNl7N9wfLvmtq7oJZ_secret_YqGIoiSGvX5aCT0GAM3F","created":"2025-06-30T09:57:16.636Z","currency":"USD","customer_id":"43dbe83d-b75c-496d-a546-59ce2c963322","customer":{"id":"43dbe83d-b75c-496d-a546-59ce2c963322","name":null,"email":null,"phone":null,"phone_country_code":null},"description":"payments","refunds":null,"disputes":null,"mandate_id":null,"mandate_data":null,"setup_future_usage":null,"off_session":null,"capture_on":null,"capture_method":"manual","payment_method":"card","payment_method_data":{"card":{"last4":"1111","card_type":null,"card_network":null,"card_issuer":null,"card_issuing_country":null,"card_isin":"411111","card_extended_bin":null,"card_exp_month":"03","card_exp_year":"30","card_holder_name":"Joseph","payment_checks":null,"authentication_data":null},"billing":null},"payment_token":null,"shipping":null,"billing":{"address":{"city":"San Fransico","country":"AR","line1":"1467","line2":"Harrison Street","line3":"Harrison Street","zip":"94122","state":"CeutΓ’","first_name":"joseph","last_name":"Doe"},"phone":null,"email":null},"order_details":null,"email":null,"name":null,"phone":null,"return_url":null,"authentication_type":"no_three_ds","statement_descriptor_name":null,"statement_descriptor_suffix":null,"next_action":null,"cancellation_reason":null,"error_code":null,"error_message":null,"unified_code":null,"unified_message":null,"payment_experience":null,"payment_method_type":"credit","connector_label":null,"business_country":null,"business_label":"default","business_sub_label":null,"allowed_payment_method_types":null,"ephemeral_key":null,"manual_retry_allowed":false,"connector_transaction_id":"83997095739385384","frm_message":null,"metadata":null,"connector_metadata":null,"feature_metadata":null,"reference_id":"pay_uKMQNl7N9wfLvmtq7oJZ","payment_link":null,"profile_id":"pro_s7S7h1rpBqt5v5y4ccvK","surcharge_details":null,"attempt_count":1,"merchant_decision":null,"merchant_connector_id":"mca_V5XFJarrAF5NstSv85Q2","incremental_authorization_allowed":null,"authorization_count":null,"incremental_authorizations":null,"external_authentication_details":null,"external_3ds_authentication_attempted":false,"expires_on":"2025-06-30T10:12:16.636Z","fingerprint":null,"browser_info":null,"payment_method_id":null,"payment_method_status":null,"updated":"2025-06-30T10:00:09.795Z","split_payments":null,"frm_metadata":null,"extended_authorization_applied":null,"capture_before":null,"merchant_order_reference_id":null,"order_tax_amount":null,"connector_mandate_id":null,"card_discovery":"manual","force_3ds_challenge":false,"force_3ds_challenge_trigger":false,"issuer_error_code":null,"issuer_error_message":null,"is_iframe_redirection_enabled":null,"whole_connector_response":null} ``` 5. Create a refund ``` curl --location 'http://localhost:8080/refunds' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: dev_n7QiMoAbvyRDMYUD1YCqh0JOtSlKx4YbH55UG0WvPeOrKXOgdPLTsMikZcNjz6DY' \ --data '{ "payment_id": "pay_uKMQNl7N9wfLvmtq7oJZ", "amount": 10, "reason": "Customer returned product", "refund_type": "instant", "metadata": { "udf1": "value1", "new_customer": "true", "login_date": "2019-09-10T10:11:12Z" }, "split_refunds": { "stripe_split_refund": { "revert_platform_fee": true, "revert_transfer": true } } }' ``` Response ``` {"refund_id":"ref_ONP0iAUqRWqq6v7gSGWS","payment_id":"pay_uKMQNl7N9wfLvmtq7oJZ","amount":10,"currency":"USD","status":"pending","reason":"Customer returned product","metadata":{"udf1":"value1","new_customer":"true","login_date":"2019-09-10T10:11:12Z"},"error_message":null,"error_code":null,"unified_code":null,"unified_message":null,"created_at":"2025-06-30T10:01:00.032Z","updated_at":"2025-06-30T10:01:01.059Z","connector":"worldpayvantiv","profile_id":"pro_s7S7h1rpBqt5v5y4ccvK","merchant_connector_id":"mca_V5XFJarrAF5NstSv85Q2","split_refunds":{"stripe_split_refund":{"revert_platform_fee":true,"revert_transfer":true}},"issuer_error_code":null,"issuer_error_message":null} ``` 6. Call Rsync ``` {"refund_id":"ref_ONP0iAUqRWqq6v7gSGWS","payment_id":"pay_uKMQNl7N9wfLvmtq7oJZ","amount":10,"currency":"USD","status":"pending","reason":"Customer returned product","metadata":{"udf1":"value1","new_customer":"true","login_date":"2019-09-10T10:11:12Z"},"error_message":null,"error_code":null,"unified_code":null,"unified_message":null,"created_at":"2025-06-30T10:01:00.032Z","updated_at":"2025-06-30T10:01:01.059Z","connector":"worldpayvantiv","profile_id":"pro_s7S7h1rpBqt5v5y4ccvK","merchant_connector_id":"mca_V5XFJarrAF5NstSv85Q2","split_refunds":{"stripe_split_refund":{"revert_platform_fee":true,"revert_transfer":true}},"issuer_error_code":null,"issuer_error_message":null} ``` Response ``` {"refund_id":"ref_ONP0iAUqRWqq6v7gSGWS","payment_id":"pay_uKMQNl7N9wfLvmtq7oJZ","amount":10,"currency":"USD","status":"succeeded","reason":"Customer returned product","metadata":{"udf1":"value1","new_customer":"true","login_date":"2019-09-10T10:11:12Z"},"error_message":null,"error_code":null,"unified_code":null,"unified_message":null,"created_at":"2025-06-30T10:01:00.032Z","updated_at":"2025-06-30T10:02:07.545Z","connector":"worldpayvantiv","profile_id":"pro_s7S7h1rpBqt5v5y4ccvK","merchant_connector_id":"mca_V5XFJarrAF5NstSv85Q2","split_refunds":{"stripe_split_refund":{"revert_platform_fee":true,"revert_transfer":true}},"issuer_error_code":null,"issuer_error_message":null} ``` </details> <details> <summary>Void</summary> 1. Create a manual payment with vantiv ``` curl --location 'http://localhost:8080/payments' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: dev_n7QiMoAbvyRDMYUD1YCqh0JOtSlKx4YbH55UG0WvPeOrKXOgdPLTsMikZcNjz6DY' \ --data '{ "amount": 10, "currency": "USD", "confirm": true, "description": "payments", "connector": ["worldpayvantiv"], "capture_method": "manual", "customer_id": "fb640a0d-6001-4d8d-9f8d-c7365092fbb2", "authentication_type": "no_three_ds", "billing": { "address": { "line1": "1467", "line2": "Harrison Street", "line3": "Harrison Street", "city": "San Fransico", "state": "CeutΓ’", "zip": "94122", "country": "AR", "first_name": "joseph", "last_name": "Doe" } }, "payment_method": "card", "payment_method_type": "credit", "payment_method_data": { "card": { "card_number": "4111111111111111", "card_exp_month": "03", "card_exp_year": "30", "card_holder_name": "Joseph", "card_cvc": "737" } } }' ``` Response ``` {"payment_id":"pay_VYvdUN8QOKzzMYsJjsbL","merchant_id":"postman_merchant_GHAction_56a5457a-0ed4-46be-a355-f2f1e7665db0","status":"processing","amount":10,"net_amount":10,"shipping_cost":null,"amount_capturable":10,"amount_received":null,"connector":"worldpayvantiv","client_secret":"pay_VYvdUN8QOKzzMYsJjsbL_secret_PithWrAcFr0e4Kb3YBxW","created":"2025-06-30T10:05:18.411Z","currency":"USD","customer_id":"cd60638a-b1ee-420c-87e2-84a0cb417315","customer":{"id":"cd60638a-b1ee-420c-87e2-84a0cb417315","name":null,"email":null,"phone":null,"phone_country_code":null},"description":"payments","refunds":null,"disputes":null,"mandate_id":null,"mandate_data":null,"setup_future_usage":null,"off_session":null,"capture_on":null,"capture_method":"manual","payment_method":"card","payment_method_data":{"card":{"last4":"1111","card_type":null,"card_network":null,"card_issuer":null,"card_issuing_country":null,"card_isin":"411111","card_extended_bin":null,"card_exp_month":"03","card_exp_year":"30","card_holder_name":"Joseph","payment_checks":null,"authentication_data":null},"billing":null},"payment_token":null,"shipping":null,"billing":{"address":{"city":"San Fransico","country":"AR","line1":"1467","line2":"Harrison Street","line3":"Harrison Street","zip":"94122","state":"CeutΓ’","first_name":"joseph","last_name":"Doe"},"phone":null,"email":null},"order_details":null,"email":null,"name":null,"phone":null,"return_url":null,"authentication_type":"no_three_ds","statement_descriptor_name":null,"statement_descriptor_suffix":null,"next_action":null,"cancellation_reason":null,"error_code":null,"error_message":null,"unified_code":null,"unified_message":null,"payment_experience":null,"payment_method_type":"credit","connector_label":null,"business_country":null,"business_label":"default","business_sub_label":null,"allowed_payment_method_types":null,"ephemeral_key":{"customer_id":"cd60638a-b1ee-420c-87e2-84a0cb417315","created_at":1751277918,"expires":1751281518,"secret":"epk_b1782ed082fc40a7b7c1a3580dc68f8e"},"manual_retry_allowed":false,"connector_transaction_id":"83997095871395696","frm_message":null,"metadata":null,"connector_metadata":null,"feature_metadata":null,"reference_id":"pay_VYvdUN8QOKzzMYsJjsbL","payment_link":null,"profile_id":"pro_s7S7h1rpBqt5v5y4ccvK","surcharge_details":null,"attempt_count":1,"merchant_decision":null,"merchant_connector_id":"mca_V5XFJarrAF5NstSv85Q2","incremental_authorization_allowed":null,"authorization_count":null,"incremental_authorizations":null,"external_authentication_details":null,"external_3ds_authentication_attempted":false,"expires_on":"2025-06-30T10:20:18.411Z","fingerprint":null,"browser_info":null,"payment_method_id":null,"payment_method_status":null,"updated":"2025-06-30T10:05:20.952Z","split_payments":null,"frm_metadata":null,"extended_authorization_applied":null,"capture_before":null,"merchant_order_reference_id":null,"order_tax_amount":null,"connector_mandate_id":null,"card_discovery":"manual","force_3ds_challenge":false,"force_3ds_challenge_trigger":false,"issuer_error_code":null,"issuer_error_message":null,"is_iframe_redirection_enabled":null,"whole_connector_response":null} ``` 2. Call Psync ``` curl --location 'http://localhost:8080/payments/pay_VYvdUN8QOKzzMYsJjsbL?force_sync=true' \ --header 'Accept: application/json' \ --header 'api-key: dev_n7QiMoAbvyRDMYUD1YCqh0JOtSlKx4YbH55UG0WvPeOrKXOgdPLTsMikZcNjz6DY' ``` Response ``` {"payment_id":"pay_VYvdUN8QOKzzMYsJjsbL","merchant_id":"postman_merchant_GHAction_56a5457a-0ed4-46be-a355-f2f1e7665db0","status":"requires_capture","amount":10,"net_amount":10,"shipping_cost":null,"amount_capturable":10,"amount_received":null,"connector":"worldpayvantiv","client_secret":"pay_VYvdUN8QOKzzMYsJjsbL_secret_PithWrAcFr0e4Kb3YBxW","created":"2025-06-30T10:05:18.411Z","currency":"USD","customer_id":"cd60638a-b1ee-420c-87e2-84a0cb417315","customer":{"id":"cd60638a-b1ee-420c-87e2-84a0cb417315","name":null,"email":null,"phone":null,"phone_country_code":null},"description":"payments","refunds":null,"disputes":null,"mandate_id":null,"mandate_data":null,"setup_future_usage":null,"off_session":null,"capture_on":null,"capture_method":"manual","payment_method":"card","payment_method_data":{"card":{"last4":"1111","card_type":null,"card_network":null,"card_issuer":null,"card_issuing_country":null,"card_isin":"411111","card_extended_bin":null,"card_exp_month":"03","card_exp_year":"30","card_holder_name":"Joseph","payment_checks":null,"authentication_data":null},"billing":null},"payment_token":null,"shipping":null,"billing":{"address":{"city":"San Fransico","country":"AR","line1":"1467","line2":"Harrison Street","line3":"Harrison Street","zip":"94122","state":"CeutΓ’","first_name":"joseph","last_name":"Doe"},"phone":null,"email":null},"order_details":null,"email":null,"name":null,"phone":null,"return_url":null,"authentication_type":"no_three_ds","statement_descriptor_name":null,"statement_descriptor_suffix":null,"next_action":null,"cancellation_reason":null,"error_code":null,"error_message":null,"unified_code":null,"unified_message":null,"payment_experience":null,"payment_method_type":"credit","connector_label":null,"business_country":null,"business_label":"default","business_sub_label":null,"allowed_payment_method_types":null,"ephemeral_key":null,"manual_retry_allowed":false,"connector_transaction_id":"83997095871395696","frm_message":null,"metadata":null,"connector_metadata":null,"feature_metadata":null,"reference_id":"pay_VYvdUN8QOKzzMYsJjsbL","payment_link":null,"profile_id":"pro_s7S7h1rpBqt5v5y4ccvK","surcharge_details":null,"attempt_count":1,"merchant_decision":null,"merchant_connector_id":"mca_V5XFJarrAF5NstSv85Q2","incremental_authorization_allowed":null,"authorization_count":null,"incremental_authorizations":null,"external_authentication_details":null,"external_3ds_authentication_attempted":false,"expires_on":"2025-06-30T10:20:18.411Z","fingerprint":null,"browser_info":null,"payment_method_id":null,"payment_method_status":null,"updated":"2025-06-30T10:06:19.219Z","split_payments":null,"frm_metadata":null,"extended_authorization_applied":null,"capture_before":null,"merchant_order_reference_id":null,"order_tax_amount":null,"connector_mandate_id":null,"card_discovery":"manual","force_3ds_challenge":false,"force_3ds_challenge_trigger":false,"issuer_error_code":null,"issuer_error_message":null,"is_iframe_redirection_enabled":null,"whole_connector_response":null} ``` 3. Void the payment ``` curl --location 'http://localhost:8080/payments/pay_VYvdUN8QOKzzMYsJjsbL/cancel' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: dev_n7QiMoAbvyRDMYUD1YCqh0JOtSlKx4YbH55UG0WvPeOrKXOgdPLTsMikZcNjz6DY' \ --data '{"cancellation_reason":"requested_by_customer"}' ``` Response ``` {"payment_id":"pay_VYvdUN8QOKzzMYsJjsbL","merchant_id":"postman_merchant_GHAction_56a5457a-0ed4-46be-a355-f2f1e7665db0","status":"processing","amount":10,"net_amount":10,"shipping_cost":null,"amount_capturable":0,"amount_received":null,"connector":"worldpayvantiv","client_secret":"pay_VYvdUN8QOKzzMYsJjsbL_secret_PithWrAcFr0e4Kb3YBxW","created":"2025-06-30T10:05:18.411Z","currency":"USD","customer_id":"cd60638a-b1ee-420c-87e2-84a0cb417315","customer":{"id":"cd60638a-b1ee-420c-87e2-84a0cb417315","name":null,"email":null,"phone":null,"phone_country_code":null},"description":"payments","refunds":null,"disputes":null,"mandate_id":null,"mandate_data":null,"setup_future_usage":null,"off_session":null,"capture_on":null,"capture_method":"manual","payment_method":"card","payment_method_data":{"card":{"last4":"1111","card_type":null,"card_network":null,"card_issuer":null,"card_issuing_country":null,"card_isin":"411111","card_extended_bin":null,"card_exp_month":"03","card_exp_year":"30","card_holder_name":"Joseph","payment_checks":null,"authentication_data":null},"billing":null},"payment_token":null,"shipping":null,"billing":{"address":{"city":"San Fransico","country":"AR","line1":"1467","line2":"Harrison Street","line3":"Harrison Street","zip":"94122","state":"CeutΓ’","first_name":"joseph","last_name":"Doe"},"phone":null,"email":null},"order_details":null,"email":null,"name":null,"phone":null,"return_url":null,"authentication_type":"no_three_ds","statement_descriptor_name":null,"statement_descriptor_suffix":null,"next_action":null,"cancellation_reason":"requested_by_customer","error_code":null,"error_message":null,"unified_code":null,"unified_message":null,"payment_experience":null,"payment_method_type":"credit","connector_label":null,"business_country":null,"business_label":"default","business_sub_label":null,"allowed_payment_method_types":null,"ephemeral_key":null,"manual_retry_allowed":false,"connector_transaction_id":"84085053114454037","frm_message":null,"metadata":null,"connector_metadata":null,"feature_metadata":null,"reference_id":"pay_VYvdUN8QOKzzMYsJjsbL","payment_link":null,"profile_id":"pro_s7S7h1rpBqt5v5y4ccvK","surcharge_details":null,"attempt_count":1,"merchant_decision":null,"merchant_connector_id":"mca_V5XFJarrAF5NstSv85Q2","incremental_authorization_allowed":null,"authorization_count":null,"incremental_authorizations":null,"external_authentication_details":null,"external_3ds_authentication_attempted":false,"expires_on":"2025-06-30T10:20:18.411Z","fingerprint":null,"browser_info":null,"payment_method_id":null,"payment_method_status":null,"updated":"2025-06-30T10:07:15.673Z","split_payments":null,"frm_metadata":null,"extended_authorization_applied":null,"capture_before":null,"merchant_order_reference_id":null,"order_tax_amount":null,"connector_mandate_id":null,"card_discovery":"manual","force_3ds_challenge":false,"force_3ds_challenge_trigger":false,"issuer_error_code":null,"issuer_error_message":null,"is_iframe_redirection_enabled":null,"whole_connector_response":null} ``` ## Checklist <!-- Put an `x` in the boxes that apply --> - [x] I formatted the code `cargo +nightly fmt --all` - [x] I addressed lints thrown by `cargo clippy` - [x] I reviewed the submitted code - [ ] I added unit tests for my changes where possible
To implement this **payment** feature, you'll need to modify these architectural layers: **1. Domain Models (Business Logic Types)** - `crates/hyperswitch_domain_models/src/configs.rs` **2. External Connector Integration** - `crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs` - `crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs` **3. Tests** - `config/deployments/integration_test.toml` - `loadtest/config/development.toml` **4. Configuration Files** - `config/config.example.toml` - `config/deployments/production.toml` - `config/deployments/sandbox.toml` - ... and 2 more files **Code Patterns Applied:** - Define new data structures (3 changes) - Implement new functions (7 changes) - Extend existing types with new fields (122 changes) - Add conditional logic for feature flags or filtering (4 changes) **Detailed Identifier Changes:** Commit 699cead9: Files to modify: **crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs** Modify existing code **crates/hyperswitch_domain_models/src/configs.rs** Modify existing code
{"pr_number": 8528, "pr_title": "feat(connectors): [Worldpayvantiv] add NTI flow and refactor sync flows", "merged_at": "2025-07-02T10:16:30Z", "intent": {"feature_type": "payment", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"domain": ["crates/hyperswitch_domain_models/src/configs.rs"], "connectors": ["crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs", "crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs"], "tests": ["config/deployments/integration_test.toml", "loadtest/config/development.toml"], "config": ["config/config.example.toml", "config/deployments/production.toml", "config/deployments/sandbox.toml", "config/development.toml", "config/docker_compose.toml"]}, "change_types": {"structs_added": 3, "functions_added": 7, "enums_added": 2, "fields_added": 122, "imports_added": 5, "conditionals_added": 4}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> add three_ds decision rule execute api This pull request introduces a new feature for executing 3DS decision rules, along with supporting changes across multiple modules. The changes include adding new structures for handling 3DS decision rule inputs and outputs, integrating these structures into the backend and frontend systems, and updating associated tests and documentation.
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. API Request/Response Models** - `crates/api_models/src/lib.rs` - `crates/api_models/src/three_ds_decision_rule.rs` **2. Core Business Logic** - `crates/router/src/core.rs` - `crates/router/src/core/payments/routing.rs` - `crates/router/src/core/three_ds_decision_rule.rs` - ... and 1 more files **3. Type Definitions** - `crates/common_types/src/three_ds_decision_rule_engine.rs` - `crates/euclid/src/backend/vir_interpreter/types.rs` - `crates/router_env/src/logger/types.rs` **4. Utils** - `crates/common_utils/src/events.rs` - `crates/router/src/routes/lock_utils.rs` **5. Configuration Files** - `crates/openapi/Cargo.toml` **6. Other** - `Cargo.lock` - `api-reference/api-reference/3ds-decision-rule/execute-a-3ds-decision-rule-based-on-the-provided-input.mdx` - `api-reference/mint.json` - ... and 16 more files **Code Patterns Applied:** - Define new data structures (12 changes) - Implement new functions (16 changes) - Extend existing types with new fields (126 changes) - Add conditional logic for feature flags or filtering (9 changes) - Modify database queries (2 changes) **Detailed Identifier Changes:** Commit e90a95de: Files to modify: **crates/api_models/src/lib.rs** Modify existing code **crates/api_models/src/three_ds_decision_rule.rs** Modify existing code **crates/common_enums/src/enums.rs** Modify existing code **crates/common_types/src/three_ds_decision_rule_engine.rs** Modify existing code **crates/common_utils/src/events.rs** Modify existing code **crates/euclid/benches/backends.rs** Modify existing code **crates/euclid/src/backend.rs** Modify existing code **crates/euclid/src/backend/inputs.rs** Modify existing code **crates/euclid/src/backend/vir_interpreter.rs** Modify existing code **crates/euclid/src/backend/vir_interpreter/types.rs** Modify existing code **crates/euclid/src/frontend/dir/enums.rs** Modify existing code **crates/euclid_wasm/src/lib.rs** Modify existing code **crates/openapi/src/openapi.rs** Modify existing code **crates/openapi/src/routes.rs** Modify existing code **crates/openapi/src/routes/three_ds_decision_rule.rs** Modify existing code **crates/router/src/consts.rs** Modify existing code **crates/router/src/core.rs** Modify existing code **crates/router/src/core/payments/routing.rs** Modify existing code **crates/router/src/core/three_ds_decision_rule.rs** Modify existing code **crates/router/src/core/three_ds_decision_rule/utils.rs** Modify existing code **crates/router/src/lib.rs** Modify existing code **crates/router/src/routes.rs** Modify existing code **crates/router/src/routes/app.rs** Modify existing code **crates/router/src/routes/lock_utils.rs** Modify existing code **crates/router/src/routes/three_ds_decision_rule.rs** Modify existing code **crates/router_env/src/logger/types.rs** Modify existing code
{"pr_number": 8148, "pr_title": "feat(router): add three_ds decision rule execute api", "merged_at": "2025-06-06T16:52:13Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "user"]}, "hierarchy": {"api_models": ["crates/api_models/src/lib.rs", "crates/api_models/src/three_ds_decision_rule.rs"], "core_business": ["crates/router/src/core.rs", "crates/router/src/core/payments/routing.rs", "crates/router/src/core/three_ds_decision_rule.rs", "crates/router/src/core/three_ds_decision_rule/utils.rs"], "types": ["crates/common_types/src/three_ds_decision_rule_engine.rs", "crates/euclid/src/backend/vir_interpreter/types.rs", "crates/router_env/src/logger/types.rs"], "utils": ["crates/common_utils/src/events.rs", "crates/router/src/routes/lock_utils.rs"], "config": ["crates/openapi/Cargo.toml"], "other": ["Cargo.lock", "api-reference/api-reference/3ds-decision-rule/execute-a-3ds-decision-rule-based-on-the-provided-input.mdx", "api-reference/mint.json", "api-reference/openapi_spec.json", "crates/common_enums/src/enums.rs", "crates/euclid/benches/backends.rs", "crates/euclid/src/backend.rs", "crates/euclid/src/backend/inputs.rs", "crates/euclid/src/backend/vir_interpreter.rs", "crates/euclid/src/frontend/dir/enums.rs", "crates/euclid_wasm/src/lib.rs", "crates/openapi/src/openapi.rs", "crates/openapi/src/routes.rs", "crates/openapi/src/routes/three_ds_decision_rule.rs", "crates/router/src/consts.rs", "crates/router/src/lib.rs", "crates/router/src/routes.rs", "crates/router/src/routes/app.rs", "crates/router/src/routes/three_ds_decision_rule.rs"]}, "change_types": {"structs_added": 12, "functions_added": 16, "fields_added": 126, "imports_added": 20, "conditionals_added": 9, "database_queries": 2}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> If the business profile does not have a country set, we cannot perform debit routing, because the merchant_business_country will be treated as the acquirer_country, which is used to determine whether a transaction is local or global in the open router. For now, since debit routing is only implemented for USD, we can safely assume the acquirer_country is US if not provided by the merchant. Main branch pr https://github.com/juspay/hyperswitch/pull/8141
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Core Business Logic** - `crates/router/src/core/debit_routing.rs` **Code Patterns Applied:** - Add conditional logic for feature flags or filtering (2 changes)
{"pr_number": 8162, "pr_title": "refactor(debit_routing): Handle missing merchant_business_country by defaulting to US", "merged_at": "2025-05-28T07:10:06Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["merchant", "transaction"]}, "hierarchy": {"core_business": ["crates/router/src/core/debit_routing.rs"]}, "change_types": {"conditionals_added": 2}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
<!-- Describe your changes in detail --> This PR introduces multiple fixes for Cypress V2 at framework level. The fixes include: - When Error is thrown, we would usually get `undefined` instead of valid error message. This [commit](https://github.com/juspay/hyperswitch/commit/3fdcbdbee3e45f2122135f024dec65c255c5a4f0) fixes that - [Generate Organization names based on UUID](https://github.com/juspay/hyperswitch/commit/a006eee594f8f4466b56ec5b504fef1270144f5d) - [Fix the MCA create call containing metadata](https://github.com/juspay/hyperswitch/commit/e3bc7c76f8a8a330f3aa95aa899bcb7164f14076) - Refactoring - Move `key_id` validations to a separate function to reduce duplicate code. Refer [here](https://github.com/juspay/hyperswitch/commit/413bfeb3932d0f24cfc36cdaba84a714ff444ba4) and [here](https://github.com/juspay/hyperswitch/commit/75c6e9bca50dcb96489cadbaf9f9f2b31bf973a8) - [Move `isoTimeTomorrow` to RequestBodyUtils](https://github.com/juspay/hyperswitch/commit/0f815b5f43c914a2ffe8e93253d525ca409b9ba0) - [Introduce Payment files](https://github.com/juspay/hyperswitch/commit/5eed97e1990bbeb503655973657ca8ee53d9353b) - These files in here are empty but contain only structures > [!IMPORTANT] > It is recommended that the PR is reviewed based on commits instead of going through the file at a time Payment tests have not been added, but only template example just to serve as a reference for devs working on v2 to fill in.
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Utils** - `cypress-tests-v2/cypress/utils/RequestBodyUtils.js` **2. Tests** - `cypress-tests-v2/cypress/e2e/configs/Payment/Utils.js` - `cypress-tests-v2/cypress/e2e/configs/Payment/_Reusable.js` - `cypress-tests-v2/cypress/e2e/spec/Payment/0001-[No3DS]Payments.cy.js` - ... and 5 more files **Code Patterns Applied:** - Extend existing types with new fields (16 changes) - Add conditional logic for feature flags or filtering (8 changes)
{"pr_number": 6493, "pr_title": "ci(cypressV2): update cypress v2 framework to accommodate hyperswitch v2 changes", "merged_at": "2024-11-08T13:06:37Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "user"]}, "hierarchy": {"utils": ["cypress-tests-v2/cypress/utils/RequestBodyUtils.js"], "tests": ["cypress-tests-v2/cypress/e2e/configs/Payment/Utils.js", "cypress-tests-v2/cypress/e2e/configs/Payment/_Reusable.js", "cypress-tests-v2/cypress/e2e/spec/Payment/0001-[No3DS]Payments.cy.js", "cypress-tests-v2/cypress/e2e/spec/Payment/0002-[3DS]Payments.cy.js", "cypress-tests-v2/cypress/fixtures/organization.json", "cypress-tests-v2/cypress/support/commands.js", "cypress-tests-v2/package-lock.json", "cypress-tests-v2/package.json"]}, "change_types": {"fields_added": 16, "conditionals_added": 8}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
<!-- Describe your changes in detail --> Changed readme content to make it lean and easier for Contributor to consume content
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Other** - `README.md`
{"pr_number": 6306, "pr_title": "docs: simplify README", "merged_at": "2024-10-16T09:34:00Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": []}, "hierarchy": {"other": ["README.md"]}, "change_types": {}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
<!-- Describe your changes in detail --> update env for network tokenization service with webhook source verification key
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Core Business Logic** - `crates/router/src/core/payments/tokenization.rs` **2. Type Definitions** - `crates/common_types/src/callback_mapper.rs` **3. Configuration Files** - `config/config.example.toml` - `config/deployments/env_specific.toml` **4. Other** - `crates/common_enums/src/enums.rs`
{"pr_number": 8472, "pr_title": "fix(env): update env for network tokenization service", "merged_at": "2025-06-27T10:30:48Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["webhook", "token"]}, "hierarchy": {"core_business": ["crates/router/src/core/payments/tokenization.rs"], "types": ["crates/common_types/src/callback_mapper.rs"], "config": ["config/config.example.toml", "config/deployments/env_specific.toml"], "other": ["crates/common_enums/src/enums.rs"]}, "change_types": {}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
<!-- Describe your changes in detail --> This change updates the idempotent_event_id generation to first hash the base string with SHA256 and then encode it using URL-safe Base64 without padding. By doing this, the generated IDs are guaranteed to be short and deterministic, ensuring they always fit within the 64-character database column limit. This fix addresses the issue where long payment_ids combined with event types were exceeding the DB constraint and breaking the outgoing webhooks flow.
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Core Business Logic** - `crates/router/src/core/errors.rs` - `crates/router/src/core/webhooks/outgoing.rs` - `crates/router/src/core/webhooks/outgoing_v2.rs` - ... and 2 more files **2. Utils** - `crates/common_utils/src/consts.rs` **3. Other** - `crates/router/src/workflows/outgoing_webhook_retry.rs` **Code Patterns Applied:** **Detailed Identifier Changes:** Commit 0c38bc3d: Files to modify: **crates/common_utils/src/consts.rs** Modify existing code **crates/router/src/core/errors.rs** Modify existing code **crates/router/src/core/webhooks/outgoing.rs** Modify existing code **crates/router/src/core/webhooks/outgoing_v2.rs** Modify existing code **crates/router/src/core/webhooks/utils.rs** Modify existing code **crates/router/src/core/webhooks/webhook_events.rs** Modify existing code **crates/router/src/workflows/outgoing_webhook_retry.rs** Modify existing code
{"pr_number": 9405, "pr_title": "fix(webhooks): add idempotent_event_id generation using URL-safe Base64 (no padding) and SHA256 digest", "merged_at": "2025-09-22T08:30:21Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "merchant", "user"]}, "hierarchy": {"core_business": ["crates/router/src/core/errors.rs", "crates/router/src/core/webhooks/outgoing.rs", "crates/router/src/core/webhooks/outgoing_v2.rs", "crates/router/src/core/webhooks/utils.rs", "crates/router/src/core/webhooks/webhook_events.rs"], "utils": ["crates/common_utils/src/consts.rs"], "other": ["crates/router/src/workflows/outgoing_webhook_retry.rs"]}, "change_types": {"imports_added": 2}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> Since schema for both v1 and v2 can be unified, it paves way for a new bug. In v1, while querying a record with a column that is common for both v1 and v2, the query may retrieve list of records belonging to both v1 and v2. Now v1 application will be able to deserialise v1 records in the list without any problems. But v2 records would have few v1 required fields as null. This records will not be deserialized by the v1 application. For example: Lets say an orgnization has both v1 and v2 merchants. Lets do merchant list by organization_id in v1. This will fetch all v1 and v2 merchant_accounts from the DB. Since merchant_id column will not be populated in v2 records, it will cause deserialization failure. Fix: In order to fix this problem, for all filter DB queries in application, we will add `AND PRIMARY_KEY IS NOT NULL` along with existing where clause. This way v2 created records will not be fetched in v1 application. This will also make sure list endpoint in v2 application won't fail when backfill is not made.
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Database Layer (Queries & Schema)** - `crates/diesel_models/src/query.rs` - `crates/diesel_models/src/query/generics.rs` - `crates/diesel_models/src/query/utils.rs` **Code Patterns Applied:** - Implement new functions (11 changes) - Extend existing types with new fields (1 changes) - Modify database queries (3 changes) **Detailed Identifier Changes:** Commit 8738f190: Files to modify: **crates/diesel_models/src/query.rs** Modify existing code **crates/diesel_models/src/query/generics.rs** Modify existing code **crates/diesel_models/src/query/utils.rs** Modify existing code
{"pr_number": 7785, "pr_title": "feat: add primary key not null query to generic filter function", "merged_at": "2025-04-17T05:38:08Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "merchant", "user"]}, "hierarchy": {"database": ["crates/diesel_models/src/query.rs", "crates/diesel_models/src/query/generics.rs", "crates/diesel_models/src/query/utils.rs"]}, "change_types": {"functions_added": 11, "fields_added": 1, "imports_added": 4, "database_queries": 3}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
Hotfix for https://github.com/juspay/hyperswitch/pull/7993
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Core Business Logic** - `crates/router/src/core/payment_link/locale.js` **2. Configuration Files** - `crates/router/locales/en-GB.yml` - `crates/router/locales/fr-BE.yml` **3. Other** - `crates/router/src/services/api/generic_link_response/context.rs` **Code Patterns Applied:** - Implement new functions (2 changes) - Extend existing types with new fields (1 changes) - Add conditional logic for feature flags or filtering (1 changes) **Detailed Identifier Changes:** Commit 82c2c3ef: Files to modify: **crates/router/src/services/api/generic_link_response/context.rs** Modify existing code
{"pr_number": 8018, "pr_title": "fix(core): language consumption from locale in payment and payout links", "merged_at": "2025-05-13T11:44:37Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": []}, "hierarchy": {"core_business": ["crates/router/src/core/payment_link/locale.js"], "config": ["crates/router/locales/en-GB.yml", "crates/router/locales/fr-BE.yml"], "other": ["crates/router/src/services/api/generic_link_response/context.rs"]}, "change_types": {"functions_added": 2, "fields_added": 1, "imports_added": 1, "conditionals_added": 1}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> 1. Add NTID proxy support for nuvei. ( NOTE: Nuvei is not responding with NTID as of now hence we cant make ntid originated flow via nuvei to other connector. We are verifying NTID originated from other connector through nuvei. ) 2. Extend mandate support for googlepay and applepay. ( decrypt flow only) ## test
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. External Connector Integration** - `crates/hyperswitch_connectors/src/connectors/nuvei.rs` - `crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs` **2. Tests** - `config/deployments/integration_test.toml` **3. Configuration Files** - `config/deployments/production.toml` - `config/deployments/sandbox.toml` - `config/development.toml` **Code Patterns Applied:** - Define new data structures (1 changes) - Implement new functions (7 changes) - Extend existing types with new fields (81 changes) **Detailed Identifier Changes:** Commit a589e224: Files to modify: **crates/hyperswitch_connectors/src/connectors/nuvei.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs** Modify existing code
{"pr_number": 9081, "pr_title": "feat(nuvei): NTID Support + googlepay & applepay mandate support", "merged_at": "2025-08-29T13:21:26Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"connectors": ["crates/hyperswitch_connectors/src/connectors/nuvei.rs", "crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs"], "tests": ["config/deployments/integration_test.toml"], "config": ["config/deployments/production.toml", "config/deployments/sandbox.toml", "config/development.toml"]}, "change_types": {"structs_added": 1, "functions_added": 7, "fields_added": 81, "imports_added": 1}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> added wasm changes for juspayThreeds server metadata ## How did you test it? <!-- Did you write an integration/unit/API test to verify the code changes? Or did you test this change manually (provide relevant screenshots)? --> <img width="980" height="236" alt="Screenshot 2025-10-07 at 2 56 56β€―PM" src="https://github.com/user-attachments/assets/c4937bfb-f9b9-4881-9d18-55e7c8924d57" /> ## Checklist <!-- Put an `x` in the boxes that apply --> - [x] I formatted the code `cargo +nightly fmt --all` - [x] I addressed lints thrown by `cargo clippy` - [x] I reviewed the submitted code - [ ] I added unit tests for my changes where possible
To implement this **connector_integration** feature, you'll need to modify these architectural layers: **1. External Connector Integration** - `crates/connector_configs/toml/development.toml` - `crates/connector_configs/toml/production.toml` - `crates/connector_configs/toml/sandbox.toml`
{"pr_number": 9708, "pr_title": "fix(core): added wasm changes for juspayThreeds server metadata", "merged_at": "2025-10-08T07:16:28Z", "intent": {"feature_type": "connector_integration", "action": "add_feature", "entities": ["user"]}, "hierarchy": {"connectors": ["crates/connector_configs/toml/development.toml", "crates/connector_configs/toml/production.toml", "crates/connector_configs/toml/sandbox.toml"]}, "change_types": {}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
<!-- Describe your changes in detail --> Hotfix PR for: [https://github.com/juspay/hyperswitch/pull/6403](https://github.com/juspay/hyperswitch/pull/6403) - Additional filters are added to `PaymentIntentFilters` as new analytics APIs are expected to be calculated from `Sessionizer Payment Intents` table. - Existing metrics on current dashboard are breaking due to these new filters as the fields are not present in the Payment Intents table. Removed the following additional filters from `PaymentIntentFilters` - connector - authentication_type - payment_method - payment_method_type - card_network - merchant_id - card_last_4 - card_issuer - error_reason
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. API Request/Response Models** - `crates/api_models/src/analytics/payment_intents.rs` **2. Core Business Logic** - `crates/analytics/src/payment_intents/core.rs` **3. Type Definitions** - `crates/analytics/src/payment_intents/types.rs` **4. Utils** - `crates/analytics/src/utils.rs` **5. Other** - `crates/analytics/src/payment_intents/filters.rs` - `crates/analytics/src/payment_intents/metrics.rs` - `crates/analytics/src/payment_intents/metrics/payment_intent_count.rs` - ... and 12 more files **Code Patterns Applied:** **Detailed Identifier Changes:** Commit 838788b5: Files to modify: **crates/analytics/src/payment_intents/core.rs** Modify existing code **crates/analytics/src/payment_intents/filters.rs** Modify existing code **crates/analytics/src/payment_intents/metrics.rs** Modify existing code **crates/analytics/src/payment_intents/metrics/payment_intent_count.rs** Modify existing code **crates/analytics/src/payment_intents/metrics/payments_success_rate.rs** Modify existing code **crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_intent_count.rs** Modify existing code **crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_processed_amount.rs** Modify existing code **crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_distribution.rs** Modify existing code **crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_success_rate.rs** Modify existing code **crates/analytics/src/payment_intents/metrics/sessionized_metrics/smart_retried_amount.rs** Modify existing code **crates/analytics/src/payment_intents/metrics/sessionized_metrics/successful_smart_retries.rs** Modify existing code **crates/analytics/src/payment_intents/metrics/sessionized_metrics/total_smart_retries.rs** Modify existing code **crates/analytics/src/payment_intents/metrics/smart_retried_amount.rs** Modify existing code **crates/analytics/src/payment_intents/metrics/successful_smart_retries.rs** Modify existing code **crates/analytics/src/payment_intents/metrics/total_smart_retries.rs** Modify existing code **crates/analytics/src/payment_intents/types.rs** Modify existing code **crates/analytics/src/sqlx.rs** Modify existing code **crates/analytics/src/utils.rs** Modify existing code **crates/api_models/src/analytics/payment_intents.rs** Modify existing code
{"pr_number": 6407, "pr_title": "feat(analytics): remove additional filters from PaymentIntentFilters", "merged_at": "2024-10-23T09:58:10Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "merchant", "user"]}, "hierarchy": {"api_models": ["crates/api_models/src/analytics/payment_intents.rs"], "core_business": ["crates/analytics/src/payment_intents/core.rs"], "types": ["crates/analytics/src/payment_intents/types.rs"], "utils": ["crates/analytics/src/utils.rs"], "other": ["crates/analytics/src/payment_intents/filters.rs", "crates/analytics/src/payment_intents/metrics.rs", "crates/analytics/src/payment_intents/metrics/payment_intent_count.rs", "crates/analytics/src/payment_intents/metrics/payments_success_rate.rs", "crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_intent_count.rs", "crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_processed_amount.rs", "crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_distribution.rs", "crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_success_rate.rs", "crates/analytics/src/payment_intents/metrics/sessionized_metrics/smart_retried_amount.rs", "crates/analytics/src/payment_intents/metrics/sessionized_metrics/successful_smart_retries.rs", "crates/analytics/src/payment_intents/metrics/sessionized_metrics/total_smart_retries.rs", "crates/analytics/src/payment_intents/metrics/smart_retried_amount.rs", "crates/analytics/src/payment_intents/metrics/successful_smart_retries.rs", "crates/analytics/src/payment_intents/metrics/total_smart_retries.rs", "crates/analytics/src/sqlx.rs"]}, "change_types": {"imports_added": 2}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> This PR implements the complete Peachpayments connector integration for Hyperswitch, adding support for payment processing, 3DS authentication, void transactions, and comprehensive validation. Key features implemented: - Complete Peachpayments connector with payment authorization, capture, and void flows - 3DS authentication support with enhanced security features - Network token handling with TAVV/XID fields for improved authentication - ConnectorValidation implementation for request validation - Comprehensive error handling and response transformations - Configuration and API endpoint management
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Core Business Logic** - `crates/router/src/core/connector_validation.rs` **2. External Connector Integration** - `crates/common_enums/src/connector_enums.rs` - `crates/connector_configs/src/connector.rs` - `crates/connector_configs/toml/development.toml` - ... and 7 more files **3. Type Definitions** - `crates/router/src/types/api/feature_matrix.rs` **4. Other** - `api-reference/v1/openapi_spec_v1.json` - `api-reference/v2/openapi_spec_v2.json` **Code Patterns Applied:** - Define new data structures (14 changes) - Implement new functions (10 changes) - Extend existing types with new fields (208 changes) - Add conditional logic for feature flags or filtering (2 changes) **Detailed Identifier Changes:** Commit f3635a2e: Files to modify: **crates/common_enums/src/connector_enums.rs** Modify existing code **crates/connector_configs/src/connector.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/peachpayments.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/default_implementations.rs** Modify existing code **crates/router/src/core/connector_validation.rs** Modify existing code **crates/router/src/types/api/connector_mapping.rs** Modify existing code **crates/router/src/types/api/feature_matrix.rs** Modify existing code **crates/router/src/types/connector_transformers.rs** Modify existing code
{"pr_number": 9030, "pr_title": "feat(connector): [PeachPayments] Add Cards Flow", "merged_at": "2025-09-12T07:36:01Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"core_business": ["crates/router/src/core/connector_validation.rs"], "connectors": ["crates/common_enums/src/connector_enums.rs", "crates/connector_configs/src/connector.rs", "crates/connector_configs/toml/development.toml", "crates/connector_configs/toml/production.toml", "crates/connector_configs/toml/sandbox.toml", "crates/hyperswitch_connectors/src/connectors/peachpayments.rs", "crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs", "crates/hyperswitch_connectors/src/default_implementations.rs", "crates/router/src/types/api/connector_mapping.rs", "crates/router/src/types/connector_transformers.rs"], "types": ["crates/router/src/types/api/feature_matrix.rs"], "other": ["api-reference/v1/openapi_spec_v1.json", "api-reference/v2/openapi_spec_v2.json"]}, "change_types": {"structs_added": 14, "functions_added": 10, "enums_added": 5, "fields_added": 208, "imports_added": 9, "conditionals_added": 2}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> This PR addresses the clippy lints occurring due to new rust version 1.82.0. Majorly addresses below warning - ![image](https://github.com/user-attachments/assets/f3f154e7-4062-4b48-a71b-ea5a2ea61e94)
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. API Request/Response Models** - `crates/api_models/src/connector_onboarding.rs` - `crates/api_models/src/payouts.rs` - `crates/api_models/src/webhooks.rs` **2. Database Layer (Queries & Schema)** - `crates/diesel_models/src/kv.rs` **3. Domain Models (Business Logic Types)** - `crates/hyperswitch_domain_models/src/customer.rs` - `crates/hyperswitch_domain_models/src/merchant_connector_account.rs` - `crates/hyperswitch_domain_models/src/router_response_types.rs` **4. Core Business Logic** - `crates/router/src/core/admin.rs` - `crates/router/src/core/connector_onboarding.rs` - `crates/router/src/core/customers.rs` - ... and 14 more files **5. External Connector Integration** - `add_connector.md` - `connector-template/transformers.rs` - `crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs` - ... and 71 more files **6. Utils** - `crates/router/src/utils.rs` **7. Other** - `crates/router/src/compatibility/stripe/webhooks.rs` - `crates/router/src/db/address.rs` - `crates/router/src/db/customers.rs` - ... and 11 more files **Code Patterns Applied:** - Extend existing types with new fields (494 changes) - Add conditional logic for feature flags or filtering (1 changes) **Detailed Identifier Changes:** Commit 8708a5cb: Files to modify: **connector-template/transformers.rs** Modify existing code **crates/api_models/src/connector_onboarding.rs** Modify existing code **crates/api_models/src/payouts.rs** Modify existing code **crates/api_models/src/webhooks.rs** Modify existing code **crates/diesel_models/src/kv.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/billwerk/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/bitpay/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/cashtocode/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/coinbase/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/cryptopay/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/digitalvirgo/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/fiservemea/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/forte/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/helcim/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/mollie/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/payu/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/powertranz/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/square/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/stax/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/thunes/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/volt/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/zen/transformers.rs** Modify existing code **crates/hyperswitch_domain_models/src/customer.rs** Modify existing code **crates/hyperswitch_domain_models/src/merchant_connector_account.rs** Modify existing code **crates/hyperswitch_domain_models/src/router_response_types.rs** Modify existing code **crates/router/src/compatibility/stripe/webhooks.rs** Modify existing code **crates/router/src/connector/aci/transformers.rs** Modify existing code **crates/router/src/connector/adyen/transformers.rs** Modify existing code **crates/router/src/connector/airwallex/transformers.rs** Modify existing code **crates/router/src/connector/authorizedotnet/transformers.rs** Modify existing code **crates/router/src/connector/bamboraapac/transformers.rs** Modify existing code **crates/router/src/connector/bankofamerica/transformers.rs** Modify existing code **crates/router/src/connector/bluesnap.rs** Modify existing code **crates/router/src/connector/bluesnap/transformers.rs** Modify existing code **crates/router/src/connector/boku/transformers.rs** Modify existing code **crates/router/src/connector/braintree/transformers.rs** Modify existing code **crates/router/src/connector/checkout/transformers.rs** Modify existing code **crates/router/src/connector/cybersource/transformers.rs** Modify existing code **crates/router/src/connector/datatrans/transformers.rs** Modify existing code **crates/router/src/connector/dummyconnector/transformers.rs** Modify existing code **crates/router/src/connector/globalpay/transformers.rs** Modify existing code **crates/router/src/connector/gocardless/transformers.rs** Modify existing code **crates/router/src/connector/iatapay/transformers.rs** Modify existing code **crates/router/src/connector/itaubank/transformers.rs** Modify existing code **crates/router/src/connector/klarna/transformers.rs** Modify existing code **crates/router/src/connector/mifinity/transformers.rs** Modify existing code **crates/router/src/connector/multisafepay/transformers.rs** Modify existing code **crates/router/src/connector/nmi/transformers.rs** Modify existing code **crates/router/src/connector/noon/transformers.rs** Modify existing code **crates/router/src/connector/nuvei/transformers.rs** Modify existing code **crates/router/src/connector/opayo/transformers.rs** Modify existing code **crates/router/src/connector/opennode/transformers.rs** Modify existing code **crates/router/src/connector/paybox/transformers.rs** Modify existing code **crates/router/src/connector/payme/transformers.rs** Modify existing code **crates/router/src/connector/paypal.rs** Modify existing code **crates/router/src/connector/paypal/transformers.rs** Modify existing code **crates/router/src/connector/placetopay/transformers.rs** Modify existing code **crates/router/src/connector/plaid/transformers.rs** Modify existing code **crates/router/src/connector/prophetpay/transformers.rs** Modify existing code **crates/router/src/connector/rapyd/transformers.rs** Modify existing code **crates/router/src/connector/razorpay/transformers.rs** Modify existing code **crates/router/src/connector/shift4/transformers.rs** Modify existing code **crates/router/src/connector/stripe/transformers.rs** Modify existing code **crates/router/src/connector/trustpay/transformers.rs** Modify existing code **crates/router/src/connector/wellsfargo/transformers.rs** Modify existing code **crates/router/src/connector/wellsfargopayout/transformers.rs** Modify existing code **crates/router/src/connector/worldpay.rs** Modify existing code **crates/router/src/connector/worldpay/transformers.rs** Modify existing code **crates/router/src/connector/zsl/transformers.rs** Modify existing code **crates/router/src/core/admin.rs** Modify existing code **crates/router/src/core/connector_onboarding.rs** Modify existing code **crates/router/src/core/customers.rs** Modify existing code **crates/router/src/core/mandate.rs** Modify existing code **crates/router/src/core/payments.rs** Modify existing code **crates/router/src/core/payments/helpers.rs** Modify existing code **crates/router/src/core/payments/operations/payment_confirm.rs** Modify existing code **crates/router/src/core/payments/operations/payment_response.rs** Modify existing code **crates/router/src/core/payments/retry.rs** Modify existing code **crates/router/src/core/payments/tokenization.rs** Modify existing code **crates/router/src/core/payments/transformers.rs** Modify existing code **crates/router/src/core/payouts.rs** Modify existing code **crates/router/src/core/verification/utils.rs** Modify existing code **crates/router/src/core/webhooks/incoming.rs** Modify existing code **crates/router/src/core/webhooks/outgoing.rs** Modify existing code **crates/router/src/core/webhooks/utils.rs** Modify existing code **crates/router/src/core/webhooks/webhook_events.rs** Modify existing code **crates/router/src/db/address.rs** Modify existing code **crates/router/src/db/customers.rs** Modify existing code **crates/router/src/db/mandate.rs** Modify existing code **crates/router/src/db/payment_method.rs** Modify existing code **crates/router/src/db/refund.rs** Modify existing code **crates/router/src/db/reverse_lookup.rs** Modify existing code **crates/router/src/events/audit_events.rs** Modify existing code **crates/router/src/utils.rs** Modify existing code **crates/router/src/workflows/outgoing_webhook_retry.rs** Modify existing code **crates/storage_impl/src/lookup.rs** Modify existing code **crates/storage_impl/src/payments/payment_attempt.rs** Modify existing code **crates/storage_impl/src/payments/payment_intent.rs** Modify existing code **crates/storage_impl/src/payouts/payout_attempt.rs** Modify existing code **crates/storage_impl/src/payouts/payouts.rs** Modify existing code
{"pr_number": 6401, "pr_title": "chore: address Rust 1.82.0 clippy lints", "merged_at": "2024-10-24T16:04:52Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["user"]}, "hierarchy": {"api_models": ["crates/api_models/src/connector_onboarding.rs", "crates/api_models/src/payouts.rs", "crates/api_models/src/webhooks.rs"], "database": ["crates/diesel_models/src/kv.rs"], "domain": ["crates/hyperswitch_domain_models/src/customer.rs", "crates/hyperswitch_domain_models/src/merchant_connector_account.rs", "crates/hyperswitch_domain_models/src/router_response_types.rs"], "core_business": ["crates/router/src/core/admin.rs", "crates/router/src/core/connector_onboarding.rs", "crates/router/src/core/customers.rs", "crates/router/src/core/mandate.rs", "crates/router/src/core/payments.rs", "crates/router/src/core/payments/helpers.rs", "crates/router/src/core/payments/operations/payment_confirm.rs", "crates/router/src/core/payments/operations/payment_response.rs", "crates/router/src/core/payments/retry.rs", "crates/router/src/core/payments/tokenization.rs", "crates/router/src/core/payments/transformers.rs", "crates/router/src/core/payouts.rs", "crates/router/src/core/verification/utils.rs", "crates/router/src/core/webhooks/incoming.rs", "crates/router/src/core/webhooks/outgoing.rs", "crates/router/src/core/webhooks/utils.rs", "crates/router/src/core/webhooks/webhook_events.rs"], "connectors": ["add_connector.md", "connector-template/transformers.rs", "crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs", "crates/hyperswitch_connectors/src/connectors/billwerk/transformers.rs", "crates/hyperswitch_connectors/src/connectors/bitpay/transformers.rs", "crates/hyperswitch_connectors/src/connectors/cashtocode/transformers.rs", "crates/hyperswitch_connectors/src/connectors/coinbase/transformers.rs", "crates/hyperswitch_connectors/src/connectors/cryptopay/transformers.rs", "crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs", "crates/hyperswitch_connectors/src/connectors/digitalvirgo/transformers.rs", "crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs", "crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs", "crates/hyperswitch_connectors/src/connectors/fiservemea/transformers.rs", "crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs", "crates/hyperswitch_connectors/src/connectors/forte/transformers.rs", "crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs", "crates/hyperswitch_connectors/src/connectors/helcim/transformers.rs", "crates/hyperswitch_connectors/src/connectors/mollie/transformers.rs", "crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs", "crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs", "crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs", "crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs", "crates/hyperswitch_connectors/src/connectors/payu/transformers.rs", "crates/hyperswitch_connectors/src/connectors/powertranz/transformers.rs", "crates/hyperswitch_connectors/src/connectors/square/transformers.rs", "crates/hyperswitch_connectors/src/connectors/stax/transformers.rs", "crates/hyperswitch_connectors/src/connectors/thunes/transformers.rs", "crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs", "crates/hyperswitch_connectors/src/connectors/volt/transformers.rs", "crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs", "crates/hyperswitch_connectors/src/connectors/zen/transformers.rs", "crates/router/src/connector/aci/transformers.rs", "crates/router/src/connector/adyen/transformers.rs", "crates/router/src/connector/airwallex/transformers.rs", "crates/router/src/connector/authorizedotnet/transformers.rs", "crates/router/src/connector/bamboraapac/transformers.rs", "crates/router/src/connector/bankofamerica/transformers.rs", "crates/router/src/connector/bluesnap.rs", "crates/router/src/connector/bluesnap/transformers.rs", "crates/router/src/connector/boku/transformers.rs", "crates/router/src/connector/braintree/transformers.rs", "crates/router/src/connector/checkout/transformers.rs", "crates/router/src/connector/cybersource/transformers.rs", "crates/router/src/connector/datatrans/transformers.rs", "crates/router/src/connector/dummyconnector/transformers.rs", "crates/router/src/connector/globalpay/transformers.rs", "crates/router/src/connector/gocardless/transformers.rs", "crates/router/src/connector/iatapay/transformers.rs", "crates/router/src/connector/itaubank/transformers.rs", "crates/router/src/connector/klarna/transformers.rs", "crates/router/src/connector/mifinity/transformers.rs", "crates/router/src/connector/multisafepay/transformers.rs", "crates/router/src/connector/nmi/transformers.rs", "crates/router/src/connector/noon/transformers.rs", "crates/router/src/connector/nuvei/transformers.rs", "crates/router/src/connector/opayo/transformers.rs", "crates/router/src/connector/opennode/transformers.rs", "crates/router/src/connector/paybox/transformers.rs", "crates/router/src/connector/payme/transformers.rs", "crates/router/src/connector/paypal.rs", "crates/router/src/connector/paypal/transformers.rs", "crates/router/src/connector/placetopay/transformers.rs", "crates/router/src/connector/plaid/transformers.rs", "crates/router/src/connector/prophetpay/transformers.rs", "crates/router/src/connector/rapyd/transformers.rs", "crates/router/src/connector/razorpay/transformers.rs", "crates/router/src/connector/shift4/transformers.rs", "crates/router/src/connector/stripe/transformers.rs", "crates/router/src/connector/trustpay/transformers.rs", "crates/router/src/connector/wellsfargo/transformers.rs", "crates/router/src/connector/wellsfargopayout/transformers.rs", "crates/router/src/connector/worldpay.rs", "crates/router/src/connector/worldpay/transformers.rs", "crates/router/src/connector/zsl/transformers.rs"], "utils": ["crates/router/src/utils.rs"], "other": ["crates/router/src/compatibility/stripe/webhooks.rs", "crates/router/src/db/address.rs", "crates/router/src/db/customers.rs", "crates/router/src/db/mandate.rs", "crates/router/src/db/payment_method.rs", "crates/router/src/db/refund.rs", "crates/router/src/db/reverse_lookup.rs", "crates/router/src/events/audit_events.rs", "crates/router/src/workflows/outgoing_webhook_retry.rs", "crates/storage_impl/src/lookup.rs", "crates/storage_impl/src/payments/payment_attempt.rs", "crates/storage_impl/src/payments/payment_intent.rs", "crates/storage_impl/src/payouts/payout_attempt.rs", "crates/storage_impl/src/payouts/payouts.rs"]}, "change_types": {"fields_added": 494, "conditionals_added": 1}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> The #[serde(deny_unknown_fields)] lines are now commented out to handle backward incompatibility
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. API Request/Response Models** - `crates/api_models/src/payments.rs` **2. Other** - `api-reference/v1/openapi_spec_v1.json` - `api-reference/v2/openapi_spec_v2.json`
{"pr_number": 8980, "pr_title": "fix(core): Address Deserialization issue ", "merged_at": "2025-08-19T10:38:56Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"api_models": ["crates/api_models/src/payments.rs"], "other": ["api-reference/v1/openapi_spec_v1.json", "api-reference/v2/openapi_spec_v2.json"]}, "change_types": {}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
<!-- Describe your changes in detail --> Implemented gRPC based health check
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. API Request/Response Models** - `crates/api_models/Cargo.toml` - `crates/api_models/src/health_check.rs` **2. Core Business Logic** - `crates/router/src/core/health_check.rs` **3. Configuration Files** - `config/config.example.toml` - `config/deployments/env_specific.toml` - `crates/router/Cargo.toml` **4. Other** - `crates/external_services/build.rs` - `crates/external_services/src/grpc_client.rs` - `crates/external_services/src/grpc_client/dynamic_routing.rs` - ... and 4 more files **Code Patterns Applied:** - Define new data structures (1 changes) - Implement new functions (5 changes) - Extend existing types with new fields (12 changes) - Add conditional logic for feature flags or filtering (1 changes) **Detailed Identifier Changes:** Commit e922f96c: Files to modify: **crates/api_models/src/health_check.rs** Modify existing code **crates/external_services/build.rs** Modify existing code **crates/external_services/src/grpc_client.rs** Modify existing code **crates/external_services/src/grpc_client/dynamic_routing.rs** Modify existing code **crates/external_services/src/grpc_client/health_check_client.rs** Modify existing code **crates/router/src/core/health_check.rs** Modify existing code **crates/router/src/routes/health.rs** Modify existing code **crates/storage_impl/src/errors.rs** Modify existing code
{"pr_number": 6441, "pr_title": "feat: Added grpc based health check", "merged_at": "2024-11-26T13:58:33Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["user"]}, "hierarchy": {"api_models": ["crates/api_models/Cargo.toml", "crates/api_models/src/health_check.rs"], "core_business": ["crates/router/src/core/health_check.rs"], "config": ["config/config.example.toml", "config/deployments/env_specific.toml", "crates/router/Cargo.toml"], "other": ["crates/external_services/build.rs", "crates/external_services/src/grpc_client.rs", "crates/external_services/src/grpc_client/dynamic_routing.rs", "crates/external_services/src/grpc_client/health_check_client.rs", "crates/router/src/routes/health.rs", "crates/storage_impl/src/errors.rs", "proto/health_check.proto"]}, "change_types": {"structs_added": 1, "functions_added": 5, "enums_added": 4, "fields_added": 12, "imports_added": 14, "conditionals_added": 1}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> Mask custom outgoing webhook headers in profile response. This changes is required to mask the custom outgoing webhook headers in the profile dashboard. This also requires control center changes, BE changes will only be merged and deployed after dashboard changes.
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. API Request/Response Models** - `crates/api_models/src/admin.rs` **2. Type Definitions** - `crates/router/src/types/api/admin.rs` **3. Other** - `Cargo.lock` **Code Patterns Applied:** - Define new data structures (1 changes) - Implement new functions (2 changes) - Extend existing types with new fields (6 changes) - Add conditional logic for feature flags or filtering (1 changes) **Detailed Identifier Changes:** Commit ab543208: Files to modify: **crates/api_models/src/admin.rs** Modify existing code **crates/router/src/types/api/admin.rs** Modify existing code
{"pr_number": 6823, "pr_title": "fix(webhooks): mask custom outgoing webhook headers in profile response", "merged_at": "2024-12-12T08:42:26Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"api_models": ["crates/api_models/src/admin.rs"], "types": ["crates/router/src/types/api/admin.rs"], "other": ["Cargo.lock"]}, "change_types": {"structs_added": 1, "functions_added": 2, "fields_added": 6, "imports_added": 1, "conditionals_added": 1}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> `first_attempt` as a group by is getting added internally in the queries as it is required by the new PaymentIntent based metrics for Analytics V2 Dashboard. The logic was added for the existing older metrics as well for PaymentIntents on the older dashboard, and is failing when using sqlx as the Pool. Need to remove the logic for adding `first_attempt` as a group_by in the older metrics, and also tweak the manner in which this is getting added as a group_by in the new metrics.
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Other** - `crates/analytics/src/payment_intents/metrics/payment_processed_amount.rs` - `crates/analytics/src/payment_intents/metrics/payments_success_rate.rs` - `crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_processed_amount.rs` - ... and 4 more files
{"pr_number": 6627, "pr_title": "fix(analytics): remove first_attempt group by in Payment Intent old metrics", "merged_at": "2024-11-22T08:52:30Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "merchant", "user"]}, "hierarchy": {"other": ["crates/analytics/src/payment_intents/metrics/payment_processed_amount.rs", "crates/analytics/src/payment_intents/metrics/payments_success_rate.rs", "crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_processed_amount.rs", "crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_distribution.rs", "crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_success_rate.rs", "crates/analytics/src/payment_intents/metrics/sessionized_metrics/smart_retried_amount.rs", "crates/analytics/src/payment_intents/metrics/smart_retried_amount.rs"]}, "change_types": {}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
<!-- Describe your changes in detail --> Update scylla driver on masking crate ## Motivation and Context <!-- Why is this change required? What problem does it solve? If it fixes an open issue, please link to the issue here. If you don't have an issue, we'd recommend starting with one first so the PR can focus on the implementation (unless it is an obvious bug or documentation fix that will have little conversation). --> Update scylla driver on masking crate ## How did you test it? <!-- Did you write an integration/unit/API test to verify the code changes? Or did you test this change manually (provide relevant screenshots)? --> Compiler guided. Testing not needed in environments ## Checklist <!-- Put an `x` in the boxes that apply --> - [x] I formatted the code `cargo +nightly fmt --all` - [x] I addressed lints thrown by `cargo clippy` - [x] I reviewed the submitted code
To implement this **connector_integration** feature, you'll need to modify these architectural layers: **1. Configuration Files** - `crates/masking/Cargo.toml` **2. Other** - `Cargo.lock` - `crates/masking/src/cassandra.rs` **Code Patterns Applied:** - Implement new functions (1 changes) - Extend existing types with new fields (3 changes)
{"pr_number": 6799, "pr_title": "chore(deps): update scylla driver", "merged_at": "2024-12-16T09:20:21Z", "intent": {"feature_type": "connector_integration", "action": "add_feature", "entities": []}, "hierarchy": {"config": ["crates/masking/Cargo.toml"], "other": ["Cargo.lock", "crates/masking/src/cassandra.rs"]}, "change_types": {"functions_added": 1, "fields_added": 3}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
<!-- Describe your changes in detail --> The ClickHouse queue table for connector events was configured to consume from the wrong Kafka topic in the local and Docker config files. Current (incorrect) topic in config: `hyperswitch-connector-api-events` Expected (correct) topic: `hyperswitch-outgoing-connector-events` Updated the Kafka topic name in the relevant config files (local and Docker) to use the correct topic name.
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Configuration Files** - `config/development.toml` - `config/docker_compose.toml` **2. Other** - `crates/analytics/docs/clickhouse/scripts/authentications.sql` **Code Patterns Applied:** - Modify database queries (1 changes)
{"pr_number": 8169, "pr_title": "fix(kafka): add correct topic name for connector-logs for docker config and local development", "merged_at": "2025-05-30T08:02:47Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "user", "connector"]}, "hierarchy": {"config": ["config/development.toml", "config/docker_compose.toml"], "other": ["crates/analytics/docs/clickhouse/scripts/authentications.sql"]}, "change_types": {"database_queries": 1}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
<!-- Describe your changes in detail --> Add RSA-SHA-256 signature verification in crypto module. - rsa crate is used for cryptography implementation
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. External Connector Integration** - `crates/hyperswitch_connectors/src/connectors/wise.rs` **2. Utils** - `crates/common_utils/Cargo.toml` - `crates/common_utils/src/crypto.rs` **3. Other** - `Cargo.lock` **Code Patterns Applied:** - Define new data structures (1 changes) - Implement new functions (6 changes) - Extend existing types with new fields (7 changes) **Detailed Identifier Changes:** Commit 3fcbe40e: Files to modify: **crates/common_utils/src/crypto.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/wise.rs** Modify existing code
{"pr_number": 9080, "pr_title": "feat(crypto): add RSA-SHA-256 signature verification", "merged_at": "2025-09-03T14:33:36Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["user"]}, "hierarchy": {"connectors": ["crates/hyperswitch_connectors/src/connectors/wise.rs"], "utils": ["crates/common_utils/Cargo.toml", "crates/common_utils/src/crypto.rs"], "other": ["Cargo.lock"]}, "change_types": {"structs_added": 1, "functions_added": 6, "fields_added": 7, "imports_added": 6}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> Magic link will send one more email along with magic link email if user is signing up.
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Core Business Logic** - `crates/router/src/core/user.rs` **2. Type Definitions** - `crates/router/src/services/email/types.rs` **3. Other** - `crates/router/src/consts/user.rs` - `crates/router/src/services/email/assets/welcome_to_community.html` **Code Patterns Applied:** - Define new data structures (1 changes) - Implement new functions (1 changes) - Extend existing types with new fields (34 changes) **Detailed Identifier Changes:** Commit 03423a1f: Files to modify: **crates/router/src/consts/user.rs** Modify existing code **crates/router/src/core/user.rs** Modify existing code **crates/router/src/services/email/types.rs** Modify existing code
{"pr_number": 6639, "pr_title": "feat(users): Send welcome to community email in magic link signup", "merged_at": "2024-11-26T09:10:41Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["user"]}, "hierarchy": {"core_business": ["crates/router/src/core/user.rs"], "types": ["crates/router/src/services/email/types.rs"], "other": ["crates/router/src/consts/user.rs", "crates/router/src/services/email/assets/welcome_to_community.html"]}, "change_types": {"structs_added": 1, "functions_added": 1, "fields_added": 34}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> The hyperswitch server would run even without the completion of migration runner polluting the data in the scarf dashboard.
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Configuration Files** - `docker-compose.yml` **2. Other** - `scripts/poststart_hook.sh` **Code Patterns Applied:** - Extend existing types with new fields (3 changes)
{"pr_number": 7999, "pr_title": "fix: fixes the docker setup to clean up the scarf data", "merged_at": "2025-05-12T08:26:50Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": []}, "hierarchy": {"config": ["docker-compose.yml"], "other": ["scripts/poststart_hook.sh"]}, "change_types": {"fields_added": 3}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
<!-- Describe your changes in detail --> the existing amount conversion framework for certain connector is outdated. we need to migrate those connector to using the latest and greatest amount converter framework. base - float/string major unit minor - minor unit / string minor unit
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. External Connector Integration** - `crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs` - `crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs` - `crates/hyperswitch_connectors/src/connectors/bankofamerica.rs` - ... and 4 more files **2. Type Definitions** - `crates/router/src/types/api/feature_matrix.rs` **Code Patterns Applied:** - Define new data structures (2 changes) - Implement new functions (4 changes) - Extend existing types with new fields (14 changes) **Detailed Identifier Changes:** Commit 30925ca5: Files to modify: **crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/bankofamerica.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs** Modify existing code **crates/router/src/types/api/connector_mapping.rs** Modify existing code **crates/router/src/types/api/feature_matrix.rs** Modify existing code **crates/router/tests/connectors/authorizedotnet.rs** Modify existing code **crates/router/tests/connectors/bankofamerica.rs** Modify existing code
{"pr_number": 8878, "pr_title": "refactor(connector): implement amount converter framework for authorizedotnet, bankofamerica", "merged_at": "2025-08-26T07:22:25Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"connectors": ["crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs", "crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs", "crates/hyperswitch_connectors/src/connectors/bankofamerica.rs", "crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs", "crates/router/src/types/api/connector_mapping.rs", "crates/router/tests/connectors/authorizedotnet.rs", "crates/router/tests/connectors/bankofamerica.rs"], "types": ["crates/router/src/types/api/feature_matrix.rs"]}, "change_types": {"structs_added": 2, "functions_added": 4, "fields_added": 14, "imports_added": 3}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> ci checks are failing on every pr because of failed lint check. this pr aims to address that.
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Tests** - `cypress-tests/cypress/support/redirectionHandler.js` **Code Patterns Applied:** - Extend existing types with new fields (2 changes) - Add conditional logic for feature flags or filtering (2 changes)
{"pr_number": 7437, "pr_title": "ci(cypress): address lints and refactor redirection handler", "merged_at": "2025-03-07T11:57:27Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["user"]}, "hierarchy": {"tests": ["cypress-tests/cypress/support/redirectionHandler.js"]}, "change_types": {"fields_added": 2, "conditionals_added": 2}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
<!-- Describe your changes in detail --> Add product authentication id's column in business profile
To implement this **authentication** feature, you'll need to modify these architectural layers: **1. API Request/Response Models** - `crates/api_models/src/admin.rs` **2. Database Layer (Queries & Schema)** - `crates/diesel_models/src/business_profile.rs` - `crates/diesel_models/src/schema.rs` - `crates/diesel_models/src/schema_v2.rs` **3. Domain Models (Business Logic Types)** - `crates/hyperswitch_domain_models/src/business_profile.rs` **4. Core Business Logic** - `crates/router/src/core/admin.rs` **5. Type Definitions** - `crates/router/src/types/api/admin.rs` **6. Other** - `api-reference-v2/openapi_spec.json` - `api-reference/openapi_spec.json` - `migrations/2024-12-11-092649_add-authentication-product-ids-in-business-profile/down.sql` - ... and 1 more files **Code Patterns Applied:** - Extend existing types with new fields (42 changes) **Detailed Identifier Changes:** Commit 1564ad72: Files to modify: **crates/api_models/src/admin.rs** Modify existing code **crates/diesel_models/src/business_profile.rs** Modify existing code **crates/diesel_models/src/schema.rs** Modify existing code **crates/diesel_models/src/schema_v2.rs** Modify existing code **crates/hyperswitch_domain_models/src/business_profile.rs** Modify existing code **crates/router/src/core/admin.rs** Modify existing code **crates/router/src/types/api/admin.rs** Modify existing code
{"pr_number": 6811, "pr_title": "feat(core): Add product authentication ids in business profile", "merged_at": "2024-12-12T15:01:35Z", "intent": {"feature_type": "authentication", "action": "add_feature", "entities": []}, "hierarchy": {"api_models": ["crates/api_models/src/admin.rs"], "database": ["crates/diesel_models/src/business_profile.rs", "crates/diesel_models/src/schema.rs", "crates/diesel_models/src/schema_v2.rs"], "domain": ["crates/hyperswitch_domain_models/src/business_profile.rs"], "core_business": ["crates/router/src/core/admin.rs"], "types": ["crates/router/src/types/api/admin.rs"], "other": ["api-reference-v2/openapi_spec.json", "api-reference/openapi_spec.json", "migrations/2024-12-11-092649_add-authentication-product-ids-in-business-profile/down.sql", "migrations/2024-12-11-092649_add-authentication-product-ids-in-business-profile/up.sql"]}, "change_types": {"fields_added": 42}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> This Facilitapay PR introudces 2 new features and a bug fix which is described below: - Add support for webhooks - Source verification supported - Payments - Refunds (It is only supported for pix payment when a third party makes a transaction instead of the actual user). The payload for both payments and refunds is exactly the same with 0 difference. It is kind of use less to have webhook for support for Refunds - Add support for voiding payments - At Facilita, `refund` means voiding a payment - This is a `GET` call with no request body - Fix a bug in Refunds (It was not testable until now) - At Facilita, `refund_received_transaction` means refunding a payment - This is a `GET` call with no request body - Does not support partial refunds
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. External Connector Integration** - `crates/connector_configs/toml/development.toml` - `crates/connector_configs/toml/production.toml` - `crates/connector_configs/toml/sandbox.toml` - ... and 4 more files **Code Patterns Applied:** - Define new data structures (5 changes) - Implement new functions (9 changes) - Extend existing types with new fields (95 changes) - Add conditional logic for feature flags or filtering (1 changes) **Detailed Identifier Changes:** Commit c38ce386: Files to modify: **crates/hyperswitch_connectors/src/connectors/facilitapay.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/facilitapay/requests.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/facilitapay/responses.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/facilitapay/transformers.rs** Modify existing code
{"pr_number": 8778, "pr_title": "feat(connector): [facilitapay] fix refunds, add webhook and void support", "merged_at": "2025-07-31T07:07:17Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"connectors": ["crates/connector_configs/toml/development.toml", "crates/connector_configs/toml/production.toml", "crates/connector_configs/toml/sandbox.toml", "crates/hyperswitch_connectors/src/connectors/facilitapay.rs", "crates/hyperswitch_connectors/src/connectors/facilitapay/requests.rs", "crates/hyperswitch_connectors/src/connectors/facilitapay/responses.rs", "crates/hyperswitch_connectors/src/connectors/facilitapay/transformers.rs"]}, "change_types": {"structs_added": 5, "functions_added": 9, "enums_added": 3, "fields_added": 95, "imports_added": 2, "conditionals_added": 1}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> Fixed Open API Spec until Payment methods - tag Changes done in this PR 1. SDK generation from Open API failed due to having a unit variant in an untagged enum. In this PR, we have refactored the `NoSessionResponse` variant to use Custom `NullObject` with serialize_none() 2. In the doc - remove request body from `/payment_link/{payment_link_id}` get call and add `client_secret` as an optional query param. In accordance with the code. 3. In the doc - replace invalid params with valid params for `/account/payment_methods` 4. In the doc - replace invalid params with valid params for `/customers/{customer_id}/payment_methods` 5. In the doc - replace invalid params with valid params for `/customers/payment_methods` 6. In the doc - add `jwt_key` to security scehem 7. In the doc - correct the url syntax of `/account/{account_id}/business_profile/{profile_id}/dynamic_routing/contracts/toggle` endpoint 8. In the doc - fix example of "Merchant Account - KV Status" 9. In the doc - fix merchant account path `/account/{account_id}/connectors` 10. In the doc - fix all merchant connector endpoint path. Replace `accounts/` with `account` 11. In the doc - change the HTTP method of `/customers/{customer_id}/mandates` to `GET` 12. In the doc - add offset and limit for `/customers/list` > Note: Payment link endpoints are not added to the Openapi spec ## How did you test it? <!-- Did you write an integration/unit/API test to verify the code changes? Or did you test this change manually (provide relevant screenshots)? --> 1.Initiate a payment with truspay with confirm false ``` curl --location 'http://localhost:8080/payments' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: dev_nbKzEwDan8WKjKsjDuCexEjTqWm7udZh5EoE0GTvnzDTBeEtwGSglz8aNFVLmDod' \ --data-raw '{ "return_url": "https://example.com", "confirm": false, "customer_acceptance": null, "description": "Test Payment", "email": "[email protected]", "browser_info": { "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36", "accept_header": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8", "language": "en-US", "color_depth": 32, "screen_height": 1117, "screen_width": 1728, "time_zone": -330, "java_enabled": true, "java_script_enabled": true, "ip_address": "127.0.0.1" }, "amount": 5000, "currency": "USD" }' ``` Response ``` {"payment_id":"pay_6DfpEoQFBIIfWUfp93Y6","merchant_id":"postman_merchant_GHAction_0ff7d76e-ddc4-48fd-b678-9216d96591ab","status":"requires_payment_method","amount":5000,"net_amount":5000,"shipping_cost":null,"amount_capturable":0,"amount_received":null,"connector":null,"client_secret":"pay_6DfpEoQFBIIfWUfp93Y6_secret_Q0ayl2368c9dn6WEcTMA","created":"2025-05-23T15:02:34.158Z","currency":"USD","customer_id":null,"customer":{"id":null,"name":null,"email":"[email protected]","phone":null,"phone_country_code":null},"description":"Test Payment","refunds":null,"disputes":null,"mandate_id":null,"mandate_data":null,"setup_future_usage":null,"off_session":null,"capture_on":null,"capture_method":null,"payment_method":null,"payment_method_data":null,"payment_token":null,"shipping":null,"billing":null,"order_details":null,"email":null,"name":null,"phone":null,"return_url":"https://example.com/","authentication_type":null,"statement_descriptor_name":null,"statement_descriptor_suffix":null,"next_action":null,"cancellation_reason":null,"error_code":null,"error_message":null,"unified_code":null,"unified_message":null,"payment_experience":null,"payment_method_type":null,"connector_label":null,"business_country":null,"business_label":"default","business_sub_label":null,"allowed_payment_method_types":null,"ephemeral_key":null,"manual_retry_allowed":null,"connector_transaction_id":null,"frm_message":null,"metadata":null,"connector_metadata":null,"feature_metadata":null,"reference_id":null,"payment_link":null,"profile_id":"pro_CcwJ1BMBv33IsKYTsWEh","surcharge_details":null,"attempt_count":1,"merchant_decision":null,"merchant_connector_id":null,"incremental_authorization_allowed":null,"authorization_count":null,"incremental_authorizations":null,"external_authentication_details":null,"external_3ds_authentication_attempted":false,"expires_on":"2025-05-23T15:17:34.158Z","fingerprint":null,"browser_info":{"language":"en-US","time_zone":-330,"ip_address":"127.0.0.1","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","color_depth":32,"java_enabled":true,"screen_width":1728,"accept_header":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8","screen_height":1117,"java_script_enabled":true},"payment_method_id":null,"payment_method_status":null,"updated":"2025-05-23T15:02:34.202Z","split_payments":null,"frm_metadata":null,"extended_authorization_applied":null,"capture_before":null,"merchant_order_reference_id":null,"order_tax_amount":null,"connector_mandate_id":null,"card_discovery":null,"force_3ds_challenge":false,"force_3ds_challenge_trigger":false,"issuer_error_code":null,"issuer_error_message":null,"is_iframe_redirection_enabled":null,"whole_connector_response":null} ``` 2. Do a session call ``` curl --location 'http://localhost:8080/payments/session_tokens' \ --header 'Content-Type: application/json' \ --header 'api-key: pk_dev_0d3aa63ce9424a30998e0022739542cf' \ --data '{"payment_id":"pay_mPOZW9xuADD3lEM649O8","wallets":["apple_pay"],"client_secret":"pay_mPOZW9xuADD3lEM649O8_secret_1Y8UXoaiF6wXTJtaMP3T"}' ``` Response ``` {"payment_id":"pay_mPOZW9xuADD3lEM649O8","client_secret":"pay_mPOZW9xuADD3lEM649O8_secret_1Y8UXoaiF6wXTJtaMP3T","session_token":[{"wallet_name":"apple_pay","session_token_data":null,"payment_request_data":null,"connector":"trustpay","delayed_session_token":true,"sdk_next_action":{"next_action":"confirm"},"connector_reference_id":null,"connector_sdk_public_key":null,"connector_merchant_id":null}]} ``` 3. JWT token auth <img width="1271" alt="Screenshot 2025-05-27 at 4 40 25β€―PM" src="https://github.com/user-attachments/assets/10385ae0-c3e5-43e2-adee-edd6aee664d7" /> Replace invalid params with valid params for `/account/payment_methods` ``` curl --location --globoff 'http://localhost:8080/account/payment_methods?client_secret=pay_n4ZLSFnSUMI0EjEBzAu9_secret_m20UEEPlEuFlX7uwULSh&accepted_countries[]=US%2CCA&accepted_currencies[]=USD%2CEUR&card_networks[]=visa' \ --header 'Accept: application/json' \ --header 'api-key: pk_dev_fb0464e529ab4518ad8a8e45f6765d2f' ``` Response ``` {"redirect_url":"https://duck.com/success","currency":"EUR","payment_methods":[{"payment_method":"pay_later","payment_method_types":[{"payment_method_type":"klarna","payment_experience":[{"payment_experience_type":"invoke_sdk_client","eligible_connectors":["redsys"]},{"payment_experience_type":"redirect_to_url","eligible_connectors":["redsys"]}],"card_networks":null,"bank_names":null,"bank_debits":null,"bank_transfers":null,"required_fields":null,"surcharge_details":null,"pm_auth_connector":null}]},{"payment_method":"wallet","payment_method_types":[{"payment_method_type":"apple_pay","payment_experience":[{"payment_experience_type":"invoke_sdk_client","eligible_connectors":["redsys"]}],"card_networks":null,"bank_names":null,"bank_debits":null,"bank_transfers":null,"required_fields":null,"surcharge_details":null,"pm_auth_connector":null},{"payment_method_type":"google_pay","payment_experience":[{"payment_experience_type":"invoke_sdk_client","eligible_connectors":["redsys"]}],"card_networks":null,"bank_names":null,"bank_debits":null,"bank_transfers":null,"required_fields":null,"surcharge_details":null,"pm_auth_connector":null}]},{"payment_method":"bank_redirect","payment_method_types":[{"payment_method_type":"eps","payment_experience":null,"card_networks":null,"bank_names":[],"bank_debits":null,"bank_transfers":null,"required_fields":null,"surcharge_details":null,"pm_auth_connector":null},{"payment_method_type":"giropay","payment_experience":null,"card_networks":null,"bank_names":[{"bank_name":[],"eligible_connectors":["redsys"]}],"bank_debits":null,"bank_transfers":null,"required_fields":null,"surcharge_details":null,"pm_auth_connector":null},{"payment_method_type":"bancontact_card","payment_experience":null,"card_networks":null,"bank_names":[],"bank_debits":null,"bank_transfers":null,"required_fields":null,"surcharge_details":null,"pm_auth_connector":null},{"payment_method_type":"sofort","payment_experience":null,"card_networks":null,"bank_names":[{"bank_name":[],"eligible_connectors":["redsys"]}],"bank_debits":null,"bank_transfers":null,"required_fields":null,"surcharge_details":null,"pm_auth_connector":null},{"payment_method_type":"ideal","payment_experience":null,"card_networks":null,"bank_names":[],"bank_debits":null,"bank_transfers":null,"required_fields":null,"surcharge_details":null,"pm_auth_connector":null},{"payment_method_type":"przelewy24","payment_experience":null,"card_networks":null,"bank_names":[],"bank_debits":null,"bank_transfers":null,"required_fields":null,"surcharge_details":null,"pm_auth_connector":null}]},{"payment_method":"bank_debit","payment_method_types":[{"payment_method_type":"becs","payment_experience":null,"card_networks":null,"bank_names":null,"bank_debits":{"eligible_connectors":["redsys"]},"bank_transfers":null,"required_fields":null,"surcharge_details":null,"pm_auth_connector":null},{"payment_method_type":"ach","payment_experience":null,"card_networks":null,"bank_names":null,"bank_debits":{"eligible_connectors":["redsys"]},"bank_transfers":null,"required_fields":null,"surcharge_details":null,"pm_auth_connector":null},{"payment_method_type":"sepa","payment_experience":null,"card_networks":null,"bank_names":null,"bank_debits":{"eligible_connectors":["redsys"]},"bank_transfers":null,"required_fields":null,"surcharge_details":null,"pm_auth_connector":null},{"payment_method_type":"bacs","payment_experience":null,"card_networks":null,"bank_names":null,"bank_debits":{"eligible_connectors":["redsys"]},"bank_transfers":null,"required_fields":null,"surcharge_details":null,"pm_auth_connector":null}]},{"payment_method":"bank_transfer","payment_method_types":[{"payment_method_type":"sepa","payment_experience":null,"card_networks":null,"bank_names":null,"bank_debits":null,"bank_transfers":{"eligible_connectors":["redsys"]},"required_fields":null,"surcharge_details":null,"pm_auth_connector":null},{"payment_method_type":"ach","payment_experience":null,"card_networks":null,"bank_names":null,"bank_debits":null,"bank_transfers":{"eligible_connectors":["redsys"]},"required_fields":null,"surcharge_details":null,"pm_auth_connector":null},{"payment_method_type":"bacs","payment_experience":null,"card_networks":null,"bank_names":null,"bank_debits":null,"bank_transfers":{"eligible_connectors":["redsys"]},"required_fields":null,"surcharge_details":null,"pm_auth_connector":null}]}],"mandate_payment":null,"merchant_name":"NewAge Retailer","show_surcharge_breakup_screen":false,"payment_type":"normal","request_external_three_ds_authentication":false,"collect_shipping_details_from_wallets":false,"collect_billing_details_from_wallets":false,"is_tax_calculation_enabled":false} ``` 4. Replace invalid params with valid params for `/customers/{customer_id}/payment_methods` ``` curl --location --globoff 'http://localhost:8080/customers/test_customer/payment_methods?accepted_countries[]=US%2CCA&accepted_currencies[]=USD%2CEUR&card_networks[]=visa' \ --header 'Accept: application/json' \ --header 'api-key: dev_4TatGqeyGyVJErk5UVWVGwRg9fb9EjqUY6r2hvhFp9MdKLAPsa8HvSGRrxJgxG7d' ``` Response ``` {"customer_payment_methods":[{"payment_token":"token_CPB8PcPU3iOW4LT6Nrw3","payment_method_id":"pm_3rCYnAk93SM6bu7K2TsG","customer_id":"test_customer","payment_method":"card","payment_method_type":null,"payment_method_issuer":null,"payment_method_issuer_code":null,"recurring_enabled":false,"installment_payment_enabled":false,"payment_experience":["redirect_to_url"],"card":{"scheme":null,"issuer_country":null,"last4_digits":"7229","expiry_month":"01","expiry_year":"27","card_token":null,"card_holder_name":null,"card_fingerprint":null,"nick_name":null,"card_network":null,"card_isin":"454881","card_issuer":null,"card_type":null,"saved_to_locker":true},"metadata":null,"created":"2025-06-17T08:54:13.036Z","bank":null,"surcharge_details":null,"requires_cvv":true,"last_used_at":"2025-06-17T08:54:13.036Z","default_payment_method_set":true,"billing":null}],"is_guest_customer":null} ``` 5. Replace invalid params with valid params for `/customers/payment_methods` ``` curl --location --globoff 'http://localhost:8080/customers/payment_methods?accepted_countries[]=US%2CCA&accepted_currencies[]=USD%2CEUR&card_networks[]=visa' \ --header 'Accept: application/json' \ --header 'api-key: dev_4TatGqeyGyVJErk5UVWVGwRg9fb9EjqUY6r2hvhFp9MdKLAPsa8HvSGRrxJgxG7d' ``` Response ``` {"customer_payment_methods":[],"is_guest_customer":true} ``` 6. Add offset and limit for `/customers/list` ![Screenshot 2025-06-17 at 2 13 38β€―PM](https://github.com/user-attachments/assets/a2aed86e-25ac-47ee-ae25-548b8adea100) 7. Change the HTTP method of `/customers/{customer_id}/mandates` to `GET`. Earlier it gave a method not found error ![Screenshot 2025-06-17 at 2 02 09β€―PM](https://github.com/user-attachments/assets/934e83c3-70d8-4d54-bbb2-02fc1d724f22) </br> Unit test case for `NullObject` serialization <img width="720" alt="Screenshot 2025-06-09 at 3 04 39β€―PM" src="https://github.com/user-attachments/assets/d1f2d978-9770-4328-b6b3-d11fcc08a4fe" /> </br> There is no change reflected in the API Contract ## Checklist <!-- Put an `x` in the boxes that apply --> - [x] I formatted the code `cargo +nightly fmt --all` - [x] I addressed lints thrown by `cargo clippy` - [x] I reviewed the submitted code - [ ] I added unit tests for my changes where possible </br> Unit test case for `NullObject` serialization <img width="720" alt="Screenshot 2025-06-09 at 3 04 39β€―PM" src="https://github.com/user-attachments/assets/d1f2d978-9770-4328-b6b3-d11fcc08a4fe" /> </br> There is no change reflected in the API Contract ## Checklist <!-- Put an `x` in the boxes that apply --> - [x] I formatted the code `cargo +nightly fmt --all` - [x] I addressed lints thrown by `cargo clippy` - [x] I reviewed the submitted code - [ ] I added unit tests for my changes where possible
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. API Request/Response Models** - `crates/api_models/src/payments.rs` **2. Core Business Logic** - `crates/router/src/core/payments/flows/session_flow.rs` **3. External Connector Integration** - `crates/hyperswitch_connectors/src/connectors/payme/transformers.rs` - `crates/openapi/src/routes/merchant_connector_account.rs` **4. Other** - `api-reference/v1/openapi_spec_v1.json` - `api-reference/v2/openapi_spec_v2.json` - `crates/openapi/src/openapi.rs` - ... and 12 more files **Code Patterns Applied:** - Define new data structures (1 changes) - Implement new functions (2 changes) - Extend existing types with new fields (1 changes) **Detailed Identifier Changes:** Commit 02dee9c5: Files to modify: **crates/api_models/src/payments.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/payme/transformers.rs** Modify existing code **crates/openapi/src/openapi.rs** Modify existing code **crates/openapi/src/openapi_v2.rs** Modify existing code **crates/openapi/src/routes/customers.rs** Modify existing code **crates/openapi/src/routes/mandates.rs** Modify existing code **crates/openapi/src/routes/merchant_connector_account.rs** Modify existing code **crates/openapi/src/routes/payment_link.rs** Modify existing code **crates/openapi/src/routes/payment_method.rs** Modify existing code **crates/openapi/src/routes/payments.rs** Modify existing code **crates/openapi/src/routes/routing.rs** Modify existing code **crates/router/src/core/payments/flows/session_flow.rs** Modify existing code **crates/router/src/routes/admin.rs** Modify existing code **crates/router/src/routes/mandates.rs** Modify existing code **crates/router/src/routes/payment_link.rs** Modify existing code **crates/router/src/routes/payment_methods.rs** Modify existing code **crates/router/src/routes/refunds.rs** Modify existing code
{"pr_number": 8127, "pr_title": "fix(openapi): correct schema references and semantics for v1 openApi spec", "merged_at": "2025-06-20T13:23:26Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"api_models": ["crates/api_models/src/payments.rs"], "core_business": ["crates/router/src/core/payments/flows/session_flow.rs"], "connectors": ["crates/hyperswitch_connectors/src/connectors/payme/transformers.rs", "crates/openapi/src/routes/merchant_connector_account.rs"], "other": ["api-reference/v1/openapi_spec_v1.json", "api-reference/v2/openapi_spec_v2.json", "crates/openapi/src/openapi.rs", "crates/openapi/src/openapi_v2.rs", "crates/openapi/src/routes/customers.rs", "crates/openapi/src/routes/mandates.rs", "crates/openapi/src/routes/payment_link.rs", "crates/openapi/src/routes/payment_method.rs", "crates/openapi/src/routes/payments.rs", "crates/openapi/src/routes/routing.rs", "crates/router/src/routes/admin.rs", "crates/router/src/routes/mandates.rs", "crates/router/src/routes/payment_link.rs", "crates/router/src/routes/payment_methods.rs", "crates/router/src/routes/refunds.rs"]}, "change_types": {"structs_added": 1, "functions_added": 2, "fields_added": 1, "imports_added": 3}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
1)Fix Wasm changes for Tokenio Open Banking
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. External Connector Integration** - `crates/connector_configs/toml/development.toml` - `crates/connector_configs/toml/production.toml` - `crates/connector_configs/toml/sandbox.toml`
{"pr_number": 8347, "pr_title": "feat(core): Fix Wasm changes for Tokenio Open Banking", "merged_at": "2025-06-16T08:54:07Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["user", "token"]}, "hierarchy": {"connectors": ["crates/connector_configs/toml/development.toml", "crates/connector_configs/toml/production.toml", "crates/connector_configs/toml/sandbox.toml"]}, "change_types": {}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
For Novalnet Connector, for Applepay, Googlepay, Paypal the following fields are not required ``` payment_method_data.billing.address.first_name payment_method_data.billing.address.last_name ``` This PR removes these required fields for Applepay, Googlepay, Paypal for Novalnet
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. External Connector Integration** - `crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs` - `crates/hyperswitch_connectors/src/utils.rs` - `crates/router/src/configs/defaults/payment_connector_required_fields.rs` **Code Patterns Applied:** - Implement new functions (4 changes) - Extend existing types with new fields (6 changes) **Detailed Identifier Changes:** Commit f0b443ed: Files to modify: **crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/utils.rs** Modify existing code **crates/router/src/configs/defaults/payment_connector_required_fields.rs** Modify existing code Commit 3e116b81: Files to modify: **crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/utils.rs** Modify existing code **crates/router/src/configs/defaults/payment_connector_required_fields.rs** Modify existing code
{"pr_number": 7152, "pr_title": "fix(connector): [novalnet] Remove first name, last name as required fields for Applepay, Googlepay, Paypal ", "merged_at": "2025-02-04T19:22:41Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "user"]}, "hierarchy": {"connectors": ["crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs", "crates/hyperswitch_connectors/src/utils.rs", "crates/router/src/configs/defaults/payment_connector_required_fields.rs"]}, "change_types": {"functions_added": 4, "fields_added": 6}, "has_identifier_data": true, "commits_matched": 2, "match_method": "pr_number"}
<!-- Describe your changes in detail --> This PR introduces necessary refactoring to add support for locker specific tests. This includes `addition of delete payment method` (which is restricted to work only on hosted environments and not local given `tartarus` is unavailable and is complicated to setup things) but not limited to: - fixes: - fix reports not being generated - fix multiple credential not picking proper api keys - refactoring: - move configs that makes use of response custom under `getCustomExchange` - misc: - clarify ntid files to make them meaningful - update dependencies - update cypress credential to support stripe multiple api keys - feat: - add multiple credential support for stripe - add ntid support for stripe with another api key - add recurring mit payment endpoint to ntid connector agnostic flows
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Utils** - `cypress-tests/cypress/utils/RequestBodyUtils.js` - `cypress-tests/cypress/utils/featureFlags.js` **2. Tests** - `cypress-tests/cypress/e2e/PaymentTest/00003-ConnectorCreate.cy.js` - `cypress-tests/cypress/e2e/PaymentTest/00020-MandatesUsingNTID.cy.js` - `cypress-tests/cypress/e2e/PaymentTest/00023-PaymentMethods.cy.js` - ... and 8 more files **Code Patterns Applied:** - Extend existing types with new fields (69 changes) - Add conditional logic for feature flags or filtering (14 changes)
{"pr_number": 6735, "pr_title": "ci: add tests that make use of locker", "merged_at": "2024-12-26T12:15:14Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "user", "connector"]}, "hierarchy": {"utils": ["cypress-tests/cypress/utils/RequestBodyUtils.js", "cypress-tests/cypress/utils/featureFlags.js"], "tests": ["cypress-tests/cypress/e2e/PaymentTest/00003-ConnectorCreate.cy.js", "cypress-tests/cypress/e2e/PaymentTest/00020-MandatesUsingNTID.cy.js", "cypress-tests/cypress/e2e/PaymentTest/00023-PaymentMethods.cy.js", "cypress-tests/cypress/e2e/PaymentTest/00024-ConnectorAgnostic.cy.js", "cypress-tests/cypress/e2e/PaymentUtils/Adyen.js", "cypress-tests/cypress/e2e/PaymentUtils/Commons.js", "cypress-tests/cypress/e2e/PaymentUtils/Cybersource.js", "cypress-tests/cypress/e2e/PaymentUtils/Stripe.js", "cypress-tests/cypress/e2e/PaymentUtils/Utils.js", "cypress-tests/cypress/e2e/PaymentUtils/WorldPay.js", "cypress-tests/cypress/support/commands.js"]}, "change_types": {"fields_added": 69, "conditionals_added": 14}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
Added the `v2/payments/filter` and `v2/payments/profile/filter` API to retrieve available payment filters (connectors, statuses, payment methods, authentication types, etc.) at merchant and profile level.
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. API Request/Response Models** - `crates/api_models/src/admin.rs` - `crates/api_models/src/payment_methods.rs` **2. Core Business Logic** - `crates/router/src/core/payments.rs` **3. Type Definitions** - `crates/common_types/src/payment_methods.rs` **4. Configuration Files** - `crates/router/Cargo.toml` **5. Other** - `crates/router/src/routes/app.rs` - `crates/router/src/routes/payments.rs` **Code Patterns Applied:** - Implement new functions (9 changes) - Extend existing types with new fields (3 changes) - Add conditional logic for feature flags or filtering (1 changes) - Modify database queries (2 changes) **Detailed Identifier Changes:** Commit 3d9d75cd: Files to modify: **crates/api_models/src/admin.rs** Modify existing code **crates/api_models/src/payment_methods.rs** Modify existing code **crates/common_types/src/payment_methods.rs** Modify existing code **crates/router/src/core/payments.rs** Modify existing code **crates/router/src/routes/app.rs** Modify existing code **crates/router/src/routes/payments.rs** Modify existing code
{"pr_number": 7171, "pr_title": "feat(router): Add v2 endpoint to retrieve payment filters at merchant and profile level", "merged_at": "2025-02-25T18:48:16Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"api_models": ["crates/api_models/src/admin.rs", "crates/api_models/src/payment_methods.rs"], "core_business": ["crates/router/src/core/payments.rs"], "types": ["crates/common_types/src/payment_methods.rs"], "config": ["crates/router/Cargo.toml"], "other": ["crates/router/src/routes/app.rs", "crates/router/src/routes/payments.rs"]}, "change_types": {"functions_added": 9, "fields_added": 3, "conditionals_added": 1, "database_queries": 2}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> Add zero auth mandate flow for nexixpay connector. It uses 3ds payments flow to create mandates.
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Domain Models (Business Logic Types)** - `crates/hyperswitch_domain_models/src/router_request_types.rs` **2. Core Business Logic** - `crates/router/src/core/payments/transformers.rs` **3. External Connector Integration** - `crates/hyperswitch_connectors/src/connectors/adyen.rs` - `crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs` - `crates/hyperswitch_connectors/src/connectors/nexixpay.rs` - ... and 2 more files **4. Tests** - `cypress-tests/cypress/e2e/configs/Payment/Nexixpay.js` **Code Patterns Applied:** - Implement new functions (12 changes) - Extend existing types with new fields (172 changes) - Add conditional logic for feature flags or filtering (1 changes) **Detailed Identifier Changes:** Commit f6633a72: Files to modify: **crates/hyperswitch_connectors/src/connectors/adyen.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/nexixpay.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs** Modify existing code **crates/hyperswitch_connectors/src/utils.rs** Modify existing code **crates/hyperswitch_domain_models/src/router_request_types.rs** Modify existing code **crates/router/src/core/payments/transformers.rs** Modify existing code
{"pr_number": 7532, "pr_title": "feat(connector): [Nexixpay] add setup mandate flow", "merged_at": "2025-03-18T18:15:56Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"domain": ["crates/hyperswitch_domain_models/src/router_request_types.rs"], "core_business": ["crates/router/src/core/payments/transformers.rs"], "connectors": ["crates/hyperswitch_connectors/src/connectors/adyen.rs", "crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs", "crates/hyperswitch_connectors/src/connectors/nexixpay.rs", "crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs", "crates/hyperswitch_connectors/src/utils.rs"], "tests": ["cypress-tests/cypress/e2e/configs/Payment/Nexixpay.js"]}, "change_types": {"functions_added": 12, "fields_added": 172, "imports_added": 1, "conditionals_added": 1}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
remove chasenet from jpmorgan wasm as ChaseNet doesn’t exist in PMT
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. External Connector Integration** - `crates/connector_configs/src/connector.rs` - `crates/connector_configs/toml/development.toml` - `crates/connector_configs/toml/production.toml` - ... and 1 more files **Code Patterns Applied:** - Extend existing types with new fields (5 changes)
{"pr_number": 6927, "pr_title": "fix(wasm): remove chasenet from jpmorgan wasm as ChaseNet doesn\u2019t exist in PMT", "merged_at": "2024-12-24T09:11:48Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": []}, "hierarchy": {"connectors": ["crates/connector_configs/src/connector.rs", "crates/connector_configs/toml/development.toml", "crates/connector_configs/toml/production.toml", "crates/connector_configs/toml/sandbox.toml"]}, "change_types": {"fields_added": 5}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
<!-- Describe your changes in detail --> This PR updates Cypress documentation to deal with recent file structure change. - `cypress-tests` folder structure to reduce confusion and chaos in within `e2e` directory - previous: ```sh . └── cypress β”œβ”€β”€ e2e β”‚Β Β  β”œβ”€β”€ PaymentMethodListTest β”‚Β Β  β”œβ”€β”€ PaymentMethodListUtils β”‚Β Β  β”œβ”€β”€ PaymentTest β”‚Β Β  β”œβ”€β”€ PaymentUtils β”‚Β Β  β”œβ”€β”€ PayoutTest β”‚Β Β  β”œβ”€β”€ PayoutUtils β”‚Β Β  β”œβ”€β”€ RoutingTest β”‚Β Β  └── RoutingUtils β”œβ”€β”€ fixtures β”œβ”€β”€ support └── utils ``` - present: ```sh . └── cypress β”œβ”€β”€ e2e β”‚Β Β  β”œβ”€β”€ configs β”‚Β Β  β”‚Β Β  β”œβ”€β”€ Payment β”‚Β Β  β”‚Β Β  β”œβ”€β”€ PaymentMethodList β”‚Β Β  β”‚Β Β  β”œβ”€β”€ Payout β”‚Β Β  β”‚Β Β  └── Routing β”‚Β Β  └── spec β”‚Β Β  β”œβ”€β”€ Misc β”‚Β Β  β”œβ”€β”€ Payment β”‚Β Β  β”œβ”€β”€ PaymentMethodList β”‚Β Β  β”œβ”€β”€ Payout β”‚Β Β  └── Routing β”œβ”€β”€ fixtures β”œβ”€β”€ support └── utils ``` closes #6955
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Tests** - `cypress-tests/README.md` - `cypress-tests/cypress/support/e2e.js`
{"pr_number": 7016, "pr_title": "docs(cypress): update file structure", "merged_at": "2025-01-13T07:50:55Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment"]}, "hierarchy": {"tests": ["cypress-tests/README.md", "cypress-tests/cypress/support/e2e.js"]}, "change_types": {}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"}
<!-- Describe your changes in detail --> This PR updates all **user-related Redis operations** to consistently use the **global Redis key prefix** (`global:`) instead of environment-specific prefixes like `public:` (V1) or `public_v2:` (V2). Previously, different deployments used different prefixes, which caused inconsistencies especially during login, logout, switch, and caching flows.
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Utils** - `crates/router/src/utils/user.rs` - `crates/router/src/utils/user/two_factor_auth.rs` **2. Other** - `crates/router/src/db.rs` - `crates/router/src/db/kafka_store.rs` - `crates/router/src/routes/app.rs` - ... and 3 more files **Code Patterns Applied:** - Implement new functions (9 changes) - Extend existing types with new fields (3 changes) **Detailed Identifier Changes:** Commit 6750b10f: Files to modify: **crates/router/src/db.rs** Modify existing code **crates/router/src/db/kafka_store.rs** Modify existing code **crates/router/src/routes/app.rs** Modify existing code **crates/router/src/services/authentication/blacklist.rs** Modify existing code **crates/router/src/services/authorization.rs** Modify existing code **crates/router/src/services/openidconnect.rs** Modify existing code **crates/router/src/utils/user.rs** Modify existing code **crates/router/src/utils/user/two_factor_auth.rs** Modify existing code
{"pr_number": 7932, "pr_title": "fix(users): use global Redis prefix for all user-related cache operations", "merged_at": "2025-05-05T16:02:25Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["user", "token"]}, "hierarchy": {"utils": ["crates/router/src/utils/user.rs", "crates/router/src/utils/user/two_factor_auth.rs"], "other": ["crates/router/src/db.rs", "crates/router/src/db/kafka_store.rs", "crates/router/src/routes/app.rs", "crates/router/src/services/authentication/blacklist.rs", "crates/router/src/services/authorization.rs", "crates/router/src/services/openidconnect.rs"]}, "change_types": {"functions_added": 9, "fields_added": 3}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
Reverts juspay/hyperswitch#8205
To implement this **unknown** feature, you'll need to modify these architectural layers: **1. External Connector Integration** - `crates/connector_configs/toml/development.toml` - `crates/connector_configs/toml/production.toml` - `crates/connector_configs/toml/sandbox.toml` - ... and 2 more files **Detailed Identifier Changes:** Commit dab4058b: Files to modify: **crates/hyperswitch_connectors/src/connectors/worldpay.rs** Modify existing code **crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs** Modify existing code
{"pr_number": 8224, "pr_title": "revert(connector): [Worldpay] add root CA certificate", "merged_at": "2025-06-10T08:33:22Z", "intent": {"feature_type": "unknown", "action": "unknown", "entities": []}, "hierarchy": {"connectors": ["crates/connector_configs/toml/development.toml", "crates/connector_configs/toml/production.toml", "crates/connector_configs/toml/sandbox.toml", "crates/hyperswitch_connectors/src/connectors/worldpay.rs", "crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs"]}, "change_types": {}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
<!-- Describe your changes in detail --> This PR modifies critical paths , specifically the `decide_connector` function and the `route_connector_v1_for_payments` function in the payments confirm flow. These changes are made corresponding to a use case for Narvar. In case the connector specified in straight through routing is not eligible, the connectors configured in the active routing rule by the merchant should be added to the list of connectors before the fallback connectors are added to this list.
To implement this **search_filter** feature, you'll need to modify these architectural layers: **1. Core Business Logic** - `crates/router/src/core/payments.rs` **Code Patterns Applied:** - Extend existing types with new fields (1 changes) **Detailed Identifier Changes:** Commit c2ad04f4: Files to modify: **crates/router/src/core/payments.rs** Modify existing code
{"pr_number": 7921, "pr_title": "refactor(routing): Add connectors from current active routing algorithm before adding fallback connectors", "merged_at": "2025-05-14T18:35:38Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"core_business": ["crates/router/src/core/payments.rs"]}, "change_types": {"fields_added": 1}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}
End of preview. Expand in Data Studio

Rust Commit Dataset - Hyperswitch

Dataset Description

This dataset contains Rust commit messages paired with their corresponding code patches from the Hyperswitch repository.

Dataset Summary

  • Total Examples: 1801
  • Language: Rust
  • Source: Hyperswitch GitHub repository
  • Format: Prompt-response pairs for supervised fine-tuning (SFT)

Data Fields

  • prompt: The commit message describing the change
  • response: The git patch/diff showing the actual code changes

Example

{
  "prompt": "fix: update payment status handling",
  "response": "diff --git a/src/payment.rs b/src/payment.rs\n..."
}

Usage

from datasets import load_dataset

# Load dataset
dataset = load_dataset("archit11/hyperswitch-product-code-mapping")

# Access train/test splits
train_data = dataset['train']
test_data = dataset['test']

# Example
print(train_data[0]['prompt'])
print(train_data[0]['response'])

Training

This dataset is designed for fine-tuning code generation models on Rust commit-to-patch generation tasks.

Example training command:

python train_sft.py \
    --dataset archit11/hyperswitch-product-code-mapping \
    --model Qwen/Qwen3-4B \
    --output_dir ./qwen-rust-sft \
    --use_4bit \
    --use_lora

Data Collection

The data was collected using PyDriller and tree-sitter for parsing Rust identifiers:

  • Only commits with 20+ lines changed are included
  • Rust-specific identifier tracking (functions, structs, enums, traits, impls, modules)

Citation

If you use this dataset, please cite the Hyperswitch repository:

@misc{hyperswitch2024,
  title={Hyperswitch},
  author={Juspay},
  year={2024},
  url={https://github.com/juspay/hyperswitch}
}

License

This dataset follows the same license as the Hyperswitch project.

Downloads last month
13