v1

latestOpenAPI 3.1.02026-07-2469193340.0 KB
Refunds

Retrieve a Refund

Get a single Refund by its reference

get/refunds/{refund_ref}

Path parameters

refund_refstring required

Single value, exact match

Response

OK

dataobject required

Example response

{
  "data": {
    "ref": "PRF.1",
    "for_ref": "C.59",
    "debit_ref": "D.hi",
    "your_bank_account_id": "9c70871d-8e36-4c3e-8a9c-c0ee20e7c679",
    "created_at": "2017-05-08T07:20:24Z",
    "amount": 500,
    "reason": "Because reason",
    "metadata": {
      "custom_key": "Custom string",
      "another_custom_key": "Maybe a URL"
    }
  }
}