feat(core): Add network_transaction_id in payments Response #9032
Merged
likhinbopanna merged 3 commits intomainfrom Aug 24, 2025
Merged
feat(core): Add network_transaction_id in payments Response #9032likhinbopanna merged 3 commits intomainfrom
likhinbopanna merged 3 commits intomainfrom
Conversation
bcdbdc2 to
0ce915c
Compare
| processor_merchant_id, | ||
| created_by, | ||
| connector_request_reference_id, | ||
| network_transaction_id: _, |
Contributor
There was a problem hiding this comment.
Should we include network_transaction_id in KafkaPaymentAttemptEvent ?
ShankarSinghC
approved these changes
Aug 24, 2025
ThisIsMani
approved these changes
Aug 24, 2025
Contributor
ThisIsMani
left a comment
There was a problem hiding this comment.
Dashboard specific changes look fine.
Pradesh-S
pushed a commit
that referenced
this pull request
Aug 26, 2025
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
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
Database Changes:
Added network_transaction_id column (VARCHAR(255), nullable) to the payment_attempt table via migration 2025-08-20-095434_add_ntid_in_attempt_table.
Added get_network_transaction_id method to PaymentsResponseData in crates/hyperswitch_domain_models/src/router_response_types.rs to extract network_transaction_id from transaction responses.
Additional Changes
Motivation and Context
How did you test it?
For CIT Transaction:
Request:
Response
Payments Method table:

Payments Attempt Table:

Normal Card's Flow
Request
Response
Payments Attempt

Checklist
cargo +nightly fmt --allcargo clippy