To check the status of a transaction:
-
Use the GET /transactions endpoint from Judopay’s Transaction API and include yourPaymentReference. and yourConsumerReference.in the request.
This will return a list of transactions associated with those references.
For more information, see Get Transactions.
-
Use the GET /webpayments/{reference} endpoint and include the paymentSession reference returned in response to the creation of the session.
For more information, see Get Transactions with paymentSession.
-
Implement Webhooks.
Webhooks notify your system when a transaction or event has taken place. The benefit of using webhooks means you do not need to pull information from the Judopay API for every event.
You can set up webhooks from the Judopay Portal.
For more information on setting up webhooks, see Enable Webhooks.