{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/orders/:order_id/refunds/:id","auth":"required","settings":"5adcc50db719b20003516400","results":{"codes":[{"name":"","code":"{\n\t\"id\": 129,\n\t\"request_amount\": \"50.0\",\n\t\"refund_amount\": \"0.0012965\",\n\t\"address\": \"tb1qparagdh9h884lptjmlt20ugc05xrvhu32qa05z6\",\n\t\"status\": \"pending\",\n\t\"memo\": null,\n\t\"created_at\": \"2022-05-06T10:59:34+00:00\",\n\t\"order\": {\n\t\t\"id\": 568\n\t},\n\t\"refund_currency\": {\n\t\t\"id\": 1,\n\t\t\"title\": \"Bitcoin\",\n\t\t\"symbol\": \"BTC\",\n\t\t\"platform\": {\n\t\t\t\"id\": 5,\n\t\t\t\"title\": \"Bitcoin\"\n\t\t}\n\t},\n\t\"transactions\": [],\n\t\"ledger_account\": {\n\t\t\"id\": \"01G130Q2T06NYKC9F3STKANAD1\",\n\t\t\"currency\": {\n\t\t\t\"id\": 1,\n\t\t\t\"title\": \"Bitcoin\",\n\t\t\t\"symbol\": \"BTC\"\n\t\t}\n\t}\n}","language":"json","status":200},{"name":"","code":"{\n  \"message\": \"Order not found\",\n  \"reason\": \"OrderNotFound\"\n}","language":"json","status":404},{"code":"{\n  \"message\": \"Refund not found\",\n  \"reason\": \"RefundNotFound\"\n}","language":"json","status":404}]},"params":[{"name":"order_id","type":"int","default":"","desc":"ID of the order to be refunded","required":true,"in":"path","ref":"","_id":"623d9f33da357c01168c4f6f"},{"name":"id","type":"int","default":"","desc":"ID of the refund","required":true,"in":"path","ref":"","_id":"623d9f33da357c01168c4f70"}],"examples":{"codes":[]},"method":"get"},"next":{"description":"","pages":[]},"title":"Get Order Refund","type":"endpoint","slug":"get-order-refund","excerpt":"Retrieves a specific refund for an order.\n\nBefore making a <b>GET Order Refund</b> request, a [POST Create Order](doc:create-order) request should be made. \n\nAfter an order is created, you will get the order ID which will be used in the <b>GET Order Refund</b> request.\n\nBefore making a <b>GET Order Refund</b> request, a [POST Create Order Refund](doc:create-refund) request should be made.\n\nAfter creating a refund for an order, you will get the refund ID which will be used in the <b>GET Order Refund</b> request.","body":"","updates":[],"order":1,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"623d9f33da357c01168c4f6e","createdAt":"2022-03-25T10:53:39.366Z","user":"5530bf7457cea10d00a3aa3a","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Refunds","slug":"refunds","order":3,"from_sync":false,"reference":false,"_id":"627511250a8fbb052a794d80","createdAt":"2022-05-06T12:14:29.357Z","version":"5adcc1185cd1890003da8165","project":"5530bfac57cea10d00a3aa3b","__v":0},"version":{"version":"2","version_clean":"2.0.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["5adcc1185cd1890003da8166","5adcc1185cd1890003da8167","5adcf4b3ce4b3f00035317e9","5adfb8e9452bd900036d115b","5e7b51281ac49702d745882c","5e7b526560c6cc004f25ca3e","61c47c8dc69d6b000f961812","62289a8cb831c9003650b36c","62615ded4828c0003015b8a2","627511250a8fbb052a794d80","62b43cee767dd2003ad59e14"],"_id":"5adcc1185cd1890003da8165","project":"5530bfac57cea10d00a3aa3b","createdAt":"2018-04-22T17:06:32.152Z","releaseDate":"2018-04-22T17:06:32.152Z","__v":10},"project":"5530bfac57cea10d00a3aa3b","__v":21,"parentDoc":null}

getGet Order Refund

Retrieves a specific refund for an order. Before making a <b>GET Order Refund</b> request, a [POST Create Order](doc:create-order) request should be made. After an order is created, you will get the order ID which will be used in the <b>GET Order Refund</b> request. Before making a <b>GET Order Refund</b> request, a [POST Create Order Refund](doc:create-refund) request should be made. After creating a refund for an order, you will get the refund ID which will be used in the <b>GET Order Refund</b> request.

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

order_id:
required
integer
ID of the order to be refunded
id:
required
integer
ID of the refund

Result Format