Webhook Resource Questions: PAYMENT.SALE.REFUNDED & PAYMENT.SALE.REVERSED

DCHAS
Contributor
Contributor

I am a bit confused about these two webhooks: PAYMENT.SALE.REFUNDED & PAYMENT.SALE.REVERSED.


PAYMENT.SALE.REFUNDED

The resource contains a "sale_id". Is this a new sale id or does it reference the sale that is being refunded?

The resource contains an "id". I presume that this is just the id to reference the refund via webhook calls?

The resource "parent_payment". Does this reference the "sale_id" of the sale being refunded?


PAYMENT.SALE.REVERSED.

The resource does not contain a "sale_id" or a "parent_payment" so how are we supposed to determine which sale is being reversed?

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.