mollie-api-php: Giftcard payment details don't include remainderMethod details

When a payment is partially paid with giftcards, the remainderMethod specifies the payment method used to pay the remaining amount. However, I can’t fetch any additional details about the used method. For example in case of a PayPal transaction, the PayPal reference which is normally accessible through details.paypalReference.

The Mollie dashboard does show some of this information (reference, consumer name / email, etc.) so it must be available somewhere. Could this be provided through the API?

Some background info; for accounting purposes we match the paypalReference in Mollie settlements to the same reference supplied by PayPal in an outpayment. This works fine for normal PayPal transactions, but in this particular case it does not because of the missing details.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 15 (10 by maintainers)

Most upvoted comments

We could add an include to get the remainderDetails in the same way as from the normal API.

It would be something like v2/payments/tr_xxxxx?include=details.remainderDetails.

I’ll close this issue. The initial issue is solved 😃