Counterparty Webhook Events
Counterparty operations do not trigger dedicated webhook events. However, when payments are made using counterparties, the associated payment and transaction events are triggered.
When you create payments using counterparties, the following events may be triggered:
payment.created
Triggered when a payment is created using a counterparty.
See the full payment.created event documentation for the complete payload structure.
payment.clearing
Triggered when a payment enters clearing status.
See the full payment.clearing event documentation for the complete payload structure.
payment.sent
Triggered when a payment is sent.
See the full payment.sent event documentation for the complete payload structure.
payment.returned
Triggered when a payment is returned.
See the full payment.returned event documentation for the complete payload structure.
transaction.created
Triggered when the underlying transaction is created.
See the full transaction.created event documentation for the complete payload structure.
Listening for Events
To receive these events, you need to set up a webhook endpoint. See the Webhooks documentation for more information on configuring webhooks.
Event Flow for Counterparty Payments
When creating a payment to a counterparty:
- payment.created - Payment is initiated to the counterparty
- payment.clearing - Payment enters clearing (for ACH payments)
- payment.sent - Payment is sent to the counterparty
- transaction.created - Transaction is recorded on the account
If a payment is returned:
- payment.returned - Payment is returned from the counterparty's bank