{
  "object": "search",
  "order": "chronological",
  "scope": "charge",
  "query": "demo",
  "filters": {
  },
  "page": 1,
  "per_page": 30,
  "location": "/search",
  "total_pages": 1,
  "total": 1,
  "data": [
    {
      "object": "charge",
      "id": "chrg_test_57gqbvwtmnslj99bibu",
      "livemode": false,
      "location": "/charges/chrg_test_57gqbvwtmnslj99bibu",
      "amount": 150000,
      "currency": "thb",
      "description": "Demo payment link\n\nYou better lose yourself in the music, the moment\r\nYou own it, you better never let it go\r\nYou only get one shot, do not miss your chance to blow\r\nThis opportunity comes once in a lifetime you better",
      "status": "successful",
      "capture": true,
      "authorized": true,
      "reversed": false,
      "paid": true,
      "transaction": "trxn_test_57gqbvy4porxmbudc1m",
      "source_of_fund": "card",
      "refunded": 15000,
      "refunds": {
        "object": "list",
        "from": "1970-01-01T00:00:00+00:00",
        "to": "2017-03-30T07:44:24+00:00",
        "offset": 0,
        "limit": 20,
        "total": 1,
        "order": null,
        "location": "/charges/chrg_test_57gqbvwtmnslj99bibu/refunds",
        "data": [
          {
            "object": "refund",
            "id": "rfnd_test_57gqemnj571596w2oa2",
            "location": "/charges/chrg_test_57gqbvwtmnslj99bibu/refunds/rfnd_test_57gqemnj571596w2oa2",
            "amount": 15000,
            "currency": "thb",
            "voided": false,
            "charge": "chrg_test_57gqbvwtmnslj99bibu",
            "transaction": "trxn_test_57gqemnnvc6v1btxwyy",
            "created": "2017-03-29T08:34:32Z"
          }
        ]
      },
      "return_uri": "https://link.omise.co/661F05F3/complete",
      "offsite": null,
      "offline": null,
      "reference": "paym_test_57gqbvx113e1g3yl5nf",
      "authorize_uri": "https://api.omise.co/payments/paym_test_57gqbvx113e1g3yl5nf/authorize",
      "failure_code": null,
      "failure_message": null,
      "card": {
        "object": "card",
        "id": "card_test_57gqbvnibtexqefct47",
        "livemode": false,
        "country": "us",
        "city": null,
        "postal_code": null,
        "financing": "",
        "bank": "",
        "last_digits": "4242",
        "brand": "Visa",
        "expiration_month": 3,
        "expiration_year": 2019,
        "fingerprint": "WhPlRltXQvfe2G2AAzQriXcFWCu0dMpb/Tq4lhyFHVg=",
        "name": "omise test",
        "security_code_check": true,
        "created": "2017-03-29T08:26:43Z"
      },
      "customer": null,
      "ip": "203.209.96.84",
      "dispute": null,
      "created": "2017-03-29T08:26:45Z"
    }
  ]
}
