@plentymarkets/shop-api / getMolliePayment
Function: getMolliePayment() ​
getMolliePayment(
context
,params
):Promise
<Data
<MolliePayment
>>
Method getMolliePayment - Get a Mollie payment by ID.
Parameters ​
• context: PlentysystemsIntegrationContext
• params: MolliePaymentIdParams
MollieGetPaymentParams
Returns ​
Promise
<Data
<MolliePayment
>>
MolliePayment
Remarks ​
- Calls /rest/mollie/get_mollie_payment/{paymentId} endpoint.
- This method is used to get a Mollie payment by their Mollie ID.
Example ​
ts
const { data } = await useSdk().plentysystems.getMolliePayment('tr_123412341234');