Primer notifies you with a PAYMENT.REFUND Webhook when a refund request has been fully processed by a payment processor and the refund has reached a final state.
Check the transaction with the most recent transactionType: "REFUND" in the transactions array:
processorStatus is SETTLED, the refund was successful and the funds have been returned to the customerprocessorStatus is FAILED, the refund was unsuccessfulLearn more about how Primer handles webhooks.
An HMAC signature generated using the webhook payload and a shared signing secret. This is then converted to a base64 encoded string.
A secondary signature that is added when you have rotated your secret within the past 24 hours.
The type of the webhook raised. PAYMENT.REFUND in this case.
The date-time that the webhook was sent.
The notification configuration details.
The payload version
"2.3"
Return a 200 status to indicate that the data was received successfully