Developer Discussions

Ask a Question
Back to All

Voiding a successful payment transaction via API

Hello Maya Team,

Hope all is well!

I just wanted to clarify which endpoint do I hit to void a successful payment transaction. Is it the POST request to cancel payment endpoint 'https://pg-sandbox.paymaya.com/payments/v1/payments/{paymentId}/cancel'?

Thank you.

Best,
Erwin