cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2.X - Fetching special Payment informations through REST API

Magento 2.X - Fetching special Payment informations through REST API

Hello all,

 

i'm creating a Service that export orders from a Magento 2.X store to an external System.

The service should check for new / updated orders and transfere them, whenever all conditions are met. 

Right now, i need to fetch specific payment Informations from PayPal / Braintree to provide a direct link to

https://www.paypal.com/de/cgi-bin/webscr?cmd=_view-a-trans&id=XXXXXXXX


where XXXXXXX should be the PayPal-Transaction Id. Sadly, i can only find the payment-id associated with the order in /v1/orders/{orderId}

Is there a way to fetch additional payment informations like the PayPal Transaction-ID through the REST API without creating the order? I just gather the informations - the Orders are created in the normal checkout process.

 

Greetings from germany