Webhook
Webhooks enable real-time communication between your application and SmartpayGenie. When specific events occur, such as successful payments or payment failures, SmartpayGenie sends HTTP POST requests to your designated webhook URL.
Setting up a webhook
1.Create a Webhook Endpoint:
2. Configure Webhook URL:
Webhook events
SmartpayGenie sends webhook notifications for the following events:
Webhook payload
"statusCode": "00",
"status": "success",
"message": "Account created successful",
"voucherId": "5828097239"
}
Security consideration
By effectively utilizing webhooks, you can automate workflows, update your application&pos;s state, and provide a seamless user experience.