Payment Instrument Webhooks

Astra sends webhooks whenever a Payment Instrument receives an inbound payment.

Inbound Payment Received

Fired when the Payment Instrument receives an inbound payment.

ParameterData TypeDescription
webhook_typestringinbound_payment_received
webhook_idstringThe unique ID of the webhook event
user_idstringThe unique ID of the User (null for Payment Instrument Webhooks)
resource_idstringThe unique ID of the Resource (Payment Instrument ID)
metadataobjectThe metadata object contains details on the inbound payment
metadata.amountfloatThe amount in dollars
metadata.typestringThe inbound payment type (Ach or Wires)

Example:

{
  "webhook_type": "inbound_payment_received",
  "webhook_id": "364f57aa-47dd-461b-8df4-d6388fb2d05e",
  "user_id": null,
  "resource_id": "1010cf30-e150-448e-8a08-bd8537eeaa50",
  "metadata": {
      "amount": 1234.56,
      "type": "Ach"
  }
}