feat(router): Add is_split_payment field to payments response (v2)#10140
Merged
Conversation
Changed Files
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #10140 +/- ##
=======================================
Coverage ? 4.05%
=======================================
Files ? 1227
Lines ? 304998
Branches ? 0
=======================================
Hits ? 12369
Misses ? 292629
Partials ? 0 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
54ccbf3 to
a4ae47a
Compare
hrithikesh026
previously approved these changes
Nov 6, 2025
661758e to
1955840
Compare
AnuthaDev
commented
Nov 6, 2025
sai-harsha-vardhan
previously approved these changes
Nov 6, 2025
sai-harsha-vardhan
approved these changes
Nov 6, 2025
prasunna09
approved these changes
Nov 6, 2025
hrithikesh026
approved these changes
Nov 7, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Type of Change
Description
is_split_paymentto Payments - List Response. Used by dashboard to show whether a payment is a split payment in the Payment Operations Screen.Additional Changes
Motivation and Context
Closes #10139
How did you test it?
Request:
Response:
{ "count": 1, "total_count": 1, "data": [ { "id": "12345_pay_019a57fd21f670a39cca26adff34121d", "merchant_id": "cloth_seller_v2_yDO5Rd1r7V2S8L0eFYg1", "profile_id": "pro_HzkiTClLRhwyS1wsZVh8", "customer_id": "12345_cus_019a57fd056a7ac189e218d16a4b37b5", "payment_method_id": null, "status": "requires_capture", "amount": { "order_amount": 100, "currency": "USD", "shipping_cost": null, "order_tax_amount": null, "external_tax_calculation": "skip", "surcharge_calculation": "skip", "surcharge_amount": null, "tax_on_surcharge": null, "net_amount": 100, "amount_to_capture": null, "amount_capturable": 100, "amount_captured": 0 }, "created": "2025-11-06T07:06:38.466Z", "payment_method_type": "card", "payment_method_subtype": "card", "connector": "adyen", "merchant_connector_id": "mca_9z2OVPuwa2ohCwwElOfN", "customer": null, "merchant_reference_id": null, "connector_payment_id": "B9G4KNPFWGF5K5V5", "connector_response_reference_id": "12345_att_019a57fd2e8679a28ef3ba504d91b5fe", "metadata": null, "description": null, "authentication_type": "no_three_ds", "capture_method": "manual", "setup_future_usage": "on_session", "attempt_count": 0, "error": null, "cancellation_reason": null, "order_details": null, "return_url": null, "statement_descriptor": null, "allowed_payment_method_types": null, "authorization_count": 0, "modified_at": "2025-11-06T07:06:44.978Z", "is_split_payment": false } ] }Checklist
cargo +nightly fmt --allcargo clippy