Stay in sync with real-time payment updates. Webhooks notify your application instantly when payment statuses change, eliminating the need to constantly poll our API.

What are Webhooks?

Webhooks are HTTP POST requests that bnplx.io sends to your application when payment events occur. Instead of checking payment status repeatedly, you’ll receive immediate notifications about status changes. Benefits

  • Real-time updates - Know instantly when payments are approved, captured, or refunded
  • Reliable delivery - Automatic retries ensure you don’t miss critical events
  • Reduced API calls - No need to poll for status updates
  • Better user experience - Update your UI immediately when events happen

Use HTTPS

  • Webhook endpoints must use HTTPS
  • Never expose webhook secrets in client-side code
  • Store webhook secrets securely in environment variables

GreenBanana Group’s webhook endpoint format is as specified below, or you can obtain the endpoint from the control center under the Processors tab.

EnvironmentWebhook Endpoint
sandboxhttps://api.staging.bnplx.io/webhooks/{merchant_id}/{merchant_connector_id}
Productionhttps://api.bnplx.io/webhooks/{merchant_id}/{merchant_connector_id}

Webhook Handling

Below are list of events for which you will receive the webhooks:

EventDescription
payment_succeededPayment completed successfully and funds have been processed
payment_failedPayment processing failed due to provider rejection or technical error
payment_processingPayment is currently being processed by the BNPL provider
payment_cancelledPayment was cancelled before completion (by customer or system)
payment_authorizedPayment approved by provider but not yet captured
payment_capturedAuthorized payment funds have been captured and settled
action_requiredCustomer action needed to complete payment (authentication, verification)
refund_succeededRefund processed successfully and funds returned to customer
refund_failedRefund processing failed and funds could not be returned to customer

Troubleshooting

Webhook Not Received

  • Check your endpoint URL is correct and accessible
  • Verify HTTPS is properly configured
  • Ensure your server returns HTTP 200 status

Next Steps

With webhooks configured, you can:

  • Build real-time features using instant payment updates
  • Automate business processes triggered by payment events
  • Improve customer experience with immediate feedback
  • Integrate with third-party services using webhook data

Ready to go live?