Webhook

Payment Intent Updated

Fired when an inbound payment intent is updated.

Headers
  • X-Webhook-Signature
    Type: string

    Signature used to verify the payload originated from Truss. Format t=<timestamp>,v1=<signature>, where the signature is the HMAC-SHA256 of <timestamp>.<raw_request_body> keyed with your signing secret. See this section's overview for the full verification steps. Present only when the subscription has a signing secret.

Body
required
application/json
  • event_created_at
    Type: stringFormat: date-time
    required

    the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z

  • event_id
    Type: stringFormat: uuid
    required
  • event_name
    Type: string
    required
  • event_payload
    Type: object ·
    required
Responses
  • 200

    No response body

Request Example for postpayment_intent.updated
{
  "event_created_at": "",
  "event_id": "",
  "event_name": "",
  "event_payload": {
    "direction": 0,
    "contact": {},
    "balance_paid": "",
    "transactions": [
      {
        "uid": "",
        "amount": "",
        "addenda": null,
        "type": "transaction",
        "payment_method": "ach",
        "date": "",
        "preprocessed_at": "",
        "processed_at": "",
        "posted_at": "",
        "settled_at": "",
        "returned_at": "",
        "status": "ReturnedTransaction",
        "direction": 0
      }
    ]
  }
}
No Body