{ "opencollection": "1.0.0", "info": { "name": "Omise (Opn Payments) Account Tokens API", "version": "2019-05-29" }, "request": { "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "items": [ { "info": { "name": "Tokens", "type": "folder" }, "items": [ { "info": { "name": "Create a token", "type": "http" }, "http": { "method": "POST", "url": "https://api.omise.co/tokens", "body": { "type": "json", "data": "{}" }, "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Tokenizes raw card data. Served from the vault host (https://vault.omise.co) and authenticated with the public key. Tokens are single-use." }, { "info": { "name": "Retrieve a token", "type": "http" }, "http": { "method": "GET", "url": "https://api.omise.co/tokens/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The object identifier." } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Retrieve a token" } ] } ], "bundled": true }