{ "opencollection": "1.0.0", "info": { "name": "Omise (Opn Payments) Account Charges API", "version": "2019-05-29" }, "request": { "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "items": [ { "info": { "name": "Charges", "type": "folder" }, "items": [ { "info": { "name": "List charges", "type": "http" }, "http": { "method": "GET", "url": "https://api.omise.co/charges", "params": [ { "name": "limit", "value": "", "type": "query" }, { "name": "offset", "value": "", "type": "query" }, { "name": "order", "value": "", "type": "query" } ] }, "docs": "List charges" }, { "info": { "name": "Create a charge", "type": "http" }, "http": { "method": "POST", "url": "https://api.omise.co/charges", "headers": [ { "name": "Omise-Version", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a charge funded by a token, a saved customer card, or a Source. Set `capture` to false to authorize only and capture later." }, { "info": { "name": "Retrieve a charge", "type": "http" }, "http": { "method": "GET", "url": "https://api.omise.co/charges/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The object identifier." } ] }, "docs": "Retrieve a charge" }, { "info": { "name": "Update a charge", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.omise.co/charges/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The object identifier." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates the description or metadata of a charge." }, { "info": { "name": "Capture a charge", "type": "http" }, "http": { "method": "POST", "url": "https://api.omise.co/charges/:id/capture", "params": [ { "name": "id", "value": "", "type": "path", "description": "The object identifier." } ] }, "docs": "Captures a previously authorized (uncaptured) charge." }, { "info": { "name": "Reverse a charge", "type": "http" }, "http": { "method": "POST", "url": "https://api.omise.co/charges/:id/reverse", "params": [ { "name": "id", "value": "", "type": "path", "description": "The object identifier." } ] }, "docs": "Reverses an authorized charge that has not yet been captured." }, { "info": { "name": "Expire a charge", "type": "http" }, "http": { "method": "POST", "url": "https://api.omise.co/charges/:id/expire", "params": [ { "name": "id", "value": "", "type": "path", "description": "The object identifier." } ] }, "docs": "Expires a pending charge so it can no longer be paid." } ] } ], "bundled": true }