{ "opencollection": "1.0.0", "info": { "name": "Omise (Opn Payments) Account Refunds API", "version": "2019-05-29" }, "request": { "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "items": [ { "info": { "name": "Refunds", "type": "folder" }, "items": [ { "info": { "name": "List refunds for a charge", "type": "http" }, "http": { "method": "GET", "url": "https://api.omise.co/charges/:id/refunds", "params": [ { "name": "id", "value": "", "type": "path", "description": "The object identifier." } ] }, "docs": "List refunds for a charge" }, { "info": { "name": "Create a refund", "type": "http" }, "http": { "method": "POST", "url": "https://api.omise.co/charges/:id/refunds", "params": [ { "name": "id", "value": "", "type": "path", "description": "The object identifier." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Refunds all or part of a charge." }, { "info": { "name": "Retrieve a refund", "type": "http" }, "http": { "method": "GET", "url": "https://api.omise.co/charges/:id/refunds/:refund_id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The object identifier." }, { "name": "refund_id", "value": "", "type": "path" } ] }, "docs": "Retrieve a refund" }, { "info": { "name": "List all refunds", "type": "http" }, "http": { "method": "GET", "url": "https://api.omise.co/refunds" }, "docs": "List all refunds" } ] } ], "bundled": true }