Skip to main content
There are three ways to retrieve payment data:
  1. returnUrl. Once the payment is completed, the customer is redirected to the returnUrl you specified in the request, passing key details such as the payment status and ID.
  2. Check payment status. You can request data about the payment using its PaymentId. For more details, see Check payment status.
  3. webhookUrl. If you provided a webhookUrl, you can listen for events and receive notifications when the payment’s status changes.
Sample webhook URL: https://test.example.com/api/notification/valuehere?key=your-key-value-here

Sample webhook body (successful payment)

Sample webhook body (failed payment)

Extended webhook features

If you enabled extended webhook features, you’ll receive additional data in the webhook body, including the rejectReason and processingStatus from the sender’s bank. You can activate this in your Rocka Hub account settings.

Sample extended webhook body (successful payment)

Sample extended webhook body (failed payment)

Last modified on April 27, 2026