#Refund requests

2 messages · Page 1 of 1 (latest)

olive basalt
#

Ive problem where I want to make refunds of order but when it gets upto RefundPayment in Payment Processor, only parameteres are empty paymentSessionData object and refundAmount. How i would get id of order? I know its part of REST request as URL path ("POST /admin/orders/order_01J4PMH1PBCH2KPD5Y8K43J500/refund") but how I can access those ,or is there other way to achieve that?

Like seems weird how built-in admin features are behind some wall, and cant access them or modify them.

Medusa 1.20.6

#

Can I like intercept existing Express paths and modify what it sends when it calls RefundPayment?