Webhooks Overview
Webhooks provide real-time notifications about events within the Run Developer ecosystem. They allow your application to receive instant updates when boarding merchants and running transactions.
How Webhooks Work
When an event occurs in the Run Payments system, we send an HTTP POST request to the configured webhook endpoints. These requests contain detailed information about the event, allowing your application to respond immediately.
Event Types
Run Payments sends webhooks for the following events:
Merchant Boarding Status Events
merchant.new
- New merchant createdmerchant.sent_for_signature
- Documents sent for signaturemerchant.signed
- Documents signedmerchant.in_underwriting
- Application in underwritingmerchant.boarded
- Merchant successfully boardedmerchant.live
- Merchant account is livemerchant.cancelled
- Application cancelledmerchant.declined
- Application declinedboarding.varcomplete
- VAR Information Completed
Transaction Reporting Events (Guide coming soon)
transaction.entered
- New transaction enteredtransaction.decline
- Transaction declinedtransaction.refund
- Transaction fully refundedtransaction.partialrefund
- Transaction partially refundedtransaction.reject
- Transaction rejectedchargeback.entered
- New chargeback reportedfunding.entered
- New funding information availablestatement.entered
- New statement available for download
Webhook Structure
All webhooks follow a consistent structure:
Security Headers
Every webhook request also includes security headers:
Content-Type: application/json
X-Webhook-Signature-256: sha256=<hmac_signature>
X-Idempotency-Key: <unique_key>
Retry Policy
Failed webhook deliveries are automatically retried according to this schedule:
Maximum Attempts: 8 total (1 initial + 7 retries)
Getting Started
- Configure Endpoints: Share webhook endpoints with your Integration Delivery lead.
- Implement Handlers: Create endpoint handlers in your application.
- Verify Signatures: Always verify webhook signatures for security.
- Handle Idempotency: Use the idempotency key to prevent duplicate processing.
- Test Thoroughly: Test all event types and error scenarios.
Next Steps
- Boarding Webhooks - Learn about boarding-related webhook events