Cancels: List

Request

GET https://api.univapay.com/stores/{storeId}/charges/{chargeId}/cancels

Headers:

Authorization: Bearer {secret}.{jwt}

Body:

curl --request GET \
--url https://api.univapay.com/stores/11e8863f-7e2d-8074-a083-2716eac36a7c/charges/11e88648-1d9b-723a-88cf-37ed9bdb6670/cancels \
--header 'Authorization: Bearer {secret}.{jwt}'

Response

Code: 200

Headers:

Content-Type: application/json

Body:

{
  "items": [
    {
      "id": "11e88648-21fc-556a-9cf0-fb19704baa9e",
      "charge_id": "11e88648-1d9b-723a-88cf-37ed9bdb6670",
      "store_id": "11e8863f-7e2d-8074-a083-2716eac36a7c",
      "status": "successful",
      "error": null,
      "metadata": {
        "order_id": 1234
      },
      "mode": "test",
      "created_on": "2018-07-13T02:55:00.07367Z"
    }
  ],
  "has_more": false
}