{
  "object": "search",
  "export": null,
  "data": [
    {
      "object": "charge",
      "id": "chrg_5tyt77e94x2l1wghuc4",
      "location": "/charges/chrg_5tyt77e94x2l1wghuc4",
      "amount": 89900,
      "funding_amount": 89900,
      "refunded": 89900,
      "authorization_type": null,
      "authorized_amount": 89900,
      "captured_amount": 89900,
      "transaction_fees": {
        "fee_flat": "0.0",
        "fee_rate": "3.65",
        "vat_rate": "7.0"
      },
      "currency": "thb",
      "funding_currency": "thb",
      "ip": null,
      "refunds": {
        "object": "list",
        "data": [
          {
            "object": "refund",
            "id": "rfnd_5tyt7x52w900sddj3go",
            "livemode": true,
            "funding_amount": 89900,
            "funding_currency": "thb",
            "voided": true,
            "currency": "thb",
            "amount": 89900,
            "metadata": {
              "reason": ""
            },
            "charge": "chrg_5tyt77e94x2l1wghuc4",
            "transaction": "trxn_5tyt7x5iqinu7oqf1he",
            "location": "/charges/chrg_5tyt77e94x2l1wghuc4/refunds/rfnd_5tyt7x52w900sddj3go",
            "created": "2022-11-29T11:14:45Z"
          }
        ],
        "limit": 20,
        "offset": 0,
        "total": 1,
        "location": "/charges/chrg_5tyt77e94x2l1wghuc4/refunds",
        "order": "chronological",
        "from": "1970-01-01T00:00:00Z",
        "to": "2022-12-21T17:33:02Z"
      },
      "link": null,
      "description": "WooCommerce Order id 21",
      "metadata": {
        "order_id": "21"
      },
      "card": {
        "object": "card",
        "id": "card_5tq5ewb8ntlzazvrxup",
        "livemode": true,
        "security_code_check": true,
        "expiration_month": 11,
        "expiration_year": 2023,
        "bank": "",
        "brand": "Visa",
        "city": null,
        "country": "",
        "financing": "",
        "fingerprint": "HvNb2ovSCEn7LYPixIU2i/JVvgQBTLCOv7MBHnKiFzA=",
        "first_digits": null,
        "last_digits": "4242",
        "location": "/customers/cust_5tq5ewt1gwwedhfw4v8/cards/card_5tq5ewb8ntlzazvrxup",
        "name": "AJ",
        "phone_number": null,
        "postal_code": null,
        "state": null,
        "street1": null,
        "street2": null,
        "tokenization_method": null,
        "created": "2022-11-07T07:47:12Z"
      },
      "source": null,
      "schedule": null,
      "customer": "cust_5tq5ewt1gwwedhfw4v8",
      "dispute": null,
      "transaction": "trxn_5tyt7b5bdmz9x8owe6q",
      "failure_code": null,
      "failure_message": null,
      "status": "successful",
      "reference": "paym_5tyt77ed84363dvzmdp",
      "authorize_uri": "https://3dsms.staging-omise.co/payments/paym_5tyt77ed84363dvzmdp/authorize",
      "return_uri": "https://woocommerce.staging-omise.co?wc-api=omise_callback&order_id=21&token=9726a4eb970cfe6f3a983f643d3b287e349116679aaf6d957cc8343f37a1e2fa",
      "created": "2022-11-29T11:12:43Z",
      "paid_at": "2022-11-29T11:13:01Z",
      "expires_at": "2022-12-06T11:12:43Z",
      "expired_at": "2022-12-06T11:12:43Z",
      "reversed_at": null,
      "zero_interest_installments": false,
      "branch": null,
      "terminal": null,
      "device": null,
      "authorized": true,
      "capturable": false,
      "capture": true,
      "disputable": false,
      "livemode": true,
      "refundable": false,
      "reversed": false,
      "reversible": false,
      "voided": true,
      "paid": true,
      "expired": false
    }
  ],
  "page": 1,
  "per_page": 30,
  "total": 1,
  "total_pages": 1,
  "filters": {
    "voided": "true"
  },
  "location": "/search",
  "order": "reverse_chronological",
  "query": "",
  "scope": "charge"
}
