• Example searches: “transaction”, “CreateOrder”, “/v2/locations”, “inventory”, “delete customer”
You are viewing an old version of the API

Terminal refund updated

EVENT terminal.refund.updated

Published when a Terminal API refund is updated.


Permissions
PAYMENTS_READ
Name Description
merchant_id
string

The ID of the target merchant associated with the event.

type
string

The type of event this represents, "terminal.refund.updated".

event_id
string

A unique ID for the webhook event.

created_at
string

Read only RFC 3339 timestamp of when the webhook event was created.

Examples for January 25th, 2020 6:25:34pm Pacific Standard Time:

UTC: 2020-01-26T02:25:34Z

Pacific Standard Time with UTC offset: 2020-01-25T18:25:34-08:00

data
TerminalRefundUpdatedWebhookData

Data associated with the event.

Examples

You are viewing an old version of the API
Example payload
{
  "merchant_id": "ET1TXH00Q2X3B",
  "type": "terminal.refund.updated",
  "event_id": "d15cfe13-f02c-4155-b381-ef36dd5be92f",
  "created_at": "2020-09-22T14:34:40.334Z",
  "data": {
    "type": "refund.event",
    "id": "S67MS3HD-rbh7ygmmPfnEsP6OcuOEFL9FuaB",
    "object": {
      "refund": {
        "amount_money": {
          "amount": 100,
          "currency": "CAD"
        },
        "app_id": "sq0idp-734Md5EcFjFmwpaR0Snm6g",
        "card": {
          "bin": "411111",
          "card_brand": "INTERAC",
          "card_type": "CREDIT",
          "exp_month": 12,
          "exp_year": 2020,
          "fingerprint": "sq-1-B1fP9MNNmZgVVaPKRND6oDKYbz25S2cTvg9Mzwg3RMTK1zT1PiGRT-AE3nTA8vSmmw",
          "last_4": "1111"
        },
        "card_details": {
          "avs_status": "AVS_NOT_CHECKED",
          "card": {
            "bin": "411111",
            "card_brand": "INTERAC",
            "card_type": "CREDIT",
            "exp_month": 12,
            "exp_year": 2020,
            "fingerprint": "sq-1-B1fP9MNNmZgVVaPKRND6oDKYbz25S2cTvg9Mzwg3RMTK1zT1PiGRT-AE3nTA8vSmmw",
            "last_4": "1111"
          },
          "cvv_status": "CVV_NOT_CHECKED",
          "entry_method": "EMV",
          "statement_description": "SQ *DEFAULT TEST ACCOUNT",
          "status": "CAPTURED"
        },
        "created_at": "2020-09-22T14:29:19.459Z",
        "deadline_duration": "PT5M",
        "device_id": "907CS13101300122",
        "id": "S67MS3HD-5O5OvgkcNUhl7JBuINflcjKqUzXZY",
        "location_id": "A6SYFRSV4WAFW",
        "order_id": "9VeViC6PeooYw4GVAgiuEMseV",
        "payment_id": "5O5OvgkcNUhl7JBuINflcjKqUzXZY",
        "reason": "Refund reason",
        "status": "IN PROGRESS",
        "updated_at": "2020-09-22T14:34:40.334Z"
      }
    }
  }
}