Webhook updates
When the order status changes, we will send you a webhook notification, the following is the event list when we send the webhook:
We send webhooks/callbacks only for transaction events in our system. If the webhook URL is not set before the transaction is completed, the webhook will not be sent. Please note that if the payment site is not publicly available for internet requests, then the HTTP notifications about fund transfers from our processing service will not be able to reach your application.
When a user makes a payment, the Processing Service notifies your application of the fund transfer by making an HTTP request to your application's URL in the following format:
Kindly ensure that you use an HTTPS endpoint with a valid SSL certificate that is trusted by your browser. Otherwise, this can result in missing webhook updates at times.
Steps:
Pass Callback URL to the Create Order API / Callback can be predefined in the Merchant console under API hub area.
Rampnow will send Callback after each transaction to the Callback URL
The URL should accept a POST request
The URL should accept a request body that looks like the following
Webhook sample
HTTP method
POST merchant-defined api
Content-Type: application/json
Example callback address of your system
Webhook sample
Response Fields:
Authentication of Notification
To verify whether the IPN is sent by Rampnow, you should verify the hash sent to you
Concatenate the following values and generate a hash using SHA256
sha256({merchantTransactionId}{currency}{amount}{status}{clientSecret})
Make sure you have the correct client secret
Compare the hash you generated with the hash sent to you and verify that it matches
Last updated