{ "opencollection": "1.0.0", "info": { "name": "Cross River Operating System (COS) Accounts Cards API", "version": "1.0" }, "request": { "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://idptest.crbcos.com/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Cards", "type": "folder" }, "items": [ { "info": { "name": "List cards", "type": "http" }, "http": { "method": "GET", "url": "https://sandbox.crbcos.com/cardmanagement/v1/cards" }, "docs": "Returns details about cards matching the supplied filters." }, { "info": { "name": "Create a card", "type": "http" }, "http": { "method": "POST", "url": "https://sandbox.crbcos.com/cardmanagement/v1/cards", "body": { "type": "json", "data": "{}" } }, "docs": "Requests creation of a new debit card for a customer/account. MODELED request body." }, { "info": { "name": "Get a card", "type": "http" }, "http": { "method": "GET", "url": "https://sandbox.crbcos.com/cardmanagement/v1/cards/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the resource." } ] }, "docs": "Returns the details of a specific debit card by its ID." }, { "info": { "name": "Activate a card", "type": "http" }, "http": { "method": "POST", "url": "https://sandbox.crbcos.com/cardmanagement/v1/cards/:id/activate", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the resource." } ] }, "docs": "Activates a card for a customer (the preferred way to activate a card)." }, { "info": { "name": "Suspend a card", "type": "http" }, "http": { "method": "POST", "url": "https://sandbox.crbcos.com/cardmanagement/v1/cards/:id/suspend", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the resource." } ] }, "docs": "Suspends a card by ID." }, { "info": { "name": "Close a card", "type": "http" }, "http": { "method": "POST", "url": "https://sandbox.crbcos.com/cardmanagement/v1/cards/:id/close", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the resource." } ] }, "docs": "Permanently deactivates a card. Closed cards cannot be reactivated." } ] } ], "bundled": true }