Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation
Rust adyenbeginner-friendlyfeaturedfinancefintechhacktoberfesthigh-performanceopen-sourceorchestrationpaymentpayment-gatewaypayment-integrationpayment-processingpaymentspayments-platformrestful-apirustsdkstripeworks-with-react
fix: Fixed payload in NT API from body to query params (#11025)
Sarthak Sonicdb77cf32d8b
diff --git a/crates/router/src/routes/payment_methods.rs b/crates/router/src/routes/payment_methods.rsindex b117c378c6..aec9ec880c 100644--- a/crates/router/src/routes/payment_methods.rs+++ b/crates/router/src/routes/payment_methods.rs@@ -106,7 +106,7 @@ pub async fn create_payment_method_api(pub async fn get_pm_nt_eligibility_api(state: web::Data<AppState>,req: HttpRequest,- json_payload: web::Json<payment_methods::NetworkTokenEligibilityRequest>,+ query: web::Query<payment_methods::NetworkTokenEligibilityRequest>,) -> HttpResponse {let flow = Flow::NetworkTokenEligibilityCheck;@@ -114,7 +114,7 @@ pub async fn get_pm_nt_eligibility_api(flow,state,&req,- json_payload.into_inner(),+ query.into_inner(),|state, auth: auth::AuthenticationData, req, _req_state| async move {Box::pin(payment_methods_routes::get_card_nt_eligibility(&state,