VivaPayments / API

Index of Viva Wallet open source projects on GitHub.
140 stars 162 forks source link

Question regarding MessageId and CorellationId in webhook payload #2543

Closed styltsou closed 2 months ago

styltsou commented 3 months ago

Hello, I have an endpoint in my web app that listens for Transaction Created Webhooks. In case of a webhook retry, does the MessageId or CorellationId stay the same? Could one of the fields be used as an idempotency key?

VivaWalletCustomerSupport commented 2 months ago

Hello @styltsou,

Thank you for your message and we apologize for the delayed response. We will investigate your query further and let you know.

Kind regards, Viva E-commerce Support Team

VivaWalletCustomerSupport commented 2 months ago

Hello @styltsou,

Thank you for waiting. Kindly note that the CorellationId will remain the same for retries. Therefore it can be used to identify notifications as new ones or retries of a specific transaction.

Kind regards, Viva E-commerce Support Team

VivaWalletCustomerSupport commented 2 months ago

Hello @styltsou,

We just wanted to follow up on the reply we sent yesterday. We were simply wondering if you read our response.

In any case this ticket will remain active for at least 24 hours, so that you can come back if you wish.

However, if you have any questions, please don't hesitate to reply here and we'd be happy to help!

Kind regards, Viva E-commerce Support Team

VivaWalletCustomerSupport commented 2 months ago

Hello @styltsou,

This ticket will close for now. Please don't hesitate to raise a new ticket if you need further assistance.

Kind regards, Viva E-commerce Support Team