API Documentation
Get Refund Details
1 min
api that returns clients refund orders matching the requestid this api requires access token that can be generated using access token docid\ lq v6ff 2i h1o3xd5kka api the response is a list of refund orders which matches the given criteria status for list of possible refund status please refer webhooks docid zgiyfgasxs2uqr272qa requestid unique id passed during order creation fiatamount currency amount errorreason contains errorcode and errordesc list of possible sdk errors docid\ upvtc67wkwgncscjvaq0v { "name" "get refund details", "method" "get", "url" "https //your hostname pay3 app/v1/client/fiat refunds?requestid=your request id\&clientid=your client id", "description" "get order details by client's request id", "tab" "examples", "examples" { "languages" \[ { "id" "3ljxgjcqzzkeicmdoi23s", "language" "curl", "code" "curl location 'https //your hostname pay3 app/v1/client/fiat refunds?requestid=your request id\&clientid=your client id' \\\\\n header 'accept application/json' \\\\\n header 'content type application/json' \\\\\n header 'access token access token in jwt'", "customlabel" "" } ], "selectedlanguageid" "3ljxgjcqzzkeicmdoi23s" }, "results" { "languages" \[ { "id" "gc lbeev7jo hgfni1chk", "language" "200", "customlabel" "", "code" "{\n \\"data\\" \n \[ {\n \\"requestid\\" \\"9824649238\\",\n \\"refundid\\" \\"a35dc551 9fb4 491c 9f9b 44d9c2ef4b32\\",\n \\"fiatamount\\" \\"0 02\\",\n \\"status\\" \\"refund initiated\\"\n }],\n \\"errorreason\\" {\n \\"errorcode\\" \\"9006 1\\",\n \\"errordesc\\" \\"there was an issue with refund transaction \\"\n }\n}" }, { "id" "ybev9li4twgz n2zw 919", "language" "401", "customlabel" "", "code" "{\\"error\\" \\"client verification failed\\"}" } ], "selectedlanguageid" "gc lbeev7jo hgfni1chk" }, "request" { "pathparameters" \[], "queryparameters" \[ { "name" "requestid", "kind" "required", "type" "string", "description" "request id is the unique id that was passed by your application while creating the order ", "children" \[] }, { "name" "clientid", "kind" "required", "type" "string", "description" "client id", "children" \[] } ], "headerparameters" \[ { "name" "access token", "kind" "required", "type" "string", "description" "access token received from access token api you can reuse the access token across multiple api calls till it is expired ", "children" \[] } ], "bodydataparameters" \[], "formdataparameters" \[] }, "currentnewparameter" { "label" "header parameter", "value" "headerparameters" } }