feat(router): add fields in payments list response (#1987)

Co-authored-by: Harsha Pathuri <sri.harsha@cashfree.com>
This commit is contained in:
Harsha Pathuri
2023-08-23 11:30:28 +05:30
committed by GitHub
parent 5657ad6933
commit abc736bbc1

View File

@ -729,6 +729,13 @@ impl ForeignFrom<(storage::PaymentIntent, storage::PaymentAttempt)> for api::Pay
connector: pa.connector,
payment_method: pa.payment_method,
payment_method_type: pa.payment_method_type,
business_label: pi.business_label,
business_country: pi.business_country,
business_sub_label: pa.business_sub_label,
setup_future_usage: pi.setup_future_usage,
capture_method: pa.capture_method,
authentication_type: pa.authentication_type,
connector_transaction_id: pa.connector_transaction_id,
..Default::default()
}
}