{
  "opencollection": "1.0.0",
  "info": {
    "name": "Onboard External API Gateway auth-oauth ledger-offramp accounts API",
    "version": "3.0.2"
  },
  "items": [
    {
      "info": {
        "name": "ledger-offramp accounts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get a list of offramp accounts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://external.dev.onboardpay.co/ledger/offramp-accounts",
            "params": [
              {
                "name": "payoutCurrency",
                "value": "",
                "type": "query",
                "description": "Filter by payout currency"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page parameter, starting from 1"
              },
              {
                "name": "size",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "x-auth-token",
              "value": "{{x-auth-token}}",
              "placement": "header"
            }
          },
          "docs": "Get a list of offramp accounts, with pagination and payout currency"
        },
        {
          "info": {
            "name": "Create offramp account",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://external.dev.onboardpay.co/ledger/offramp-accounts",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "x-auth-token",
              "value": "{{x-auth-token}}",
              "placement": "header"
            }
          },
          "docs": "Create offramp account with beneficiary id."
        },
        {
          "info": {
            "name": "Get offramp account",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://external.dev.onboardpay.co/ledger/offramp-accounts/:offrampAccountId",
            "params": [
              {
                "name": "offrampAccountId",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "x-auth-token",
              "value": "{{x-auth-token}}",
              "placement": "header"
            }
          },
          "docs": "Get offramp account by offrampAccountId"
        },
        {
          "info": {
            "name": "Delete offramp account",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://external.dev.onboardpay.co/ledger/offramp-accounts/:offrampAccountId",
            "params": [
              {
                "name": "offrampAccountId",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "x-auth-token",
              "value": "{{x-auth-token}}",
              "placement": "header"
            }
          },
          "docs": "Delete offramp account and automatically disable address assigned."
        },
        {
          "info": {
            "name": "Get address for offramp account",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://external.dev.onboardpay.co/ledger/offramp-accounts/:id/funding-address",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              },
              {
                "name": "network",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "x-auth-token",
              "value": "{{x-auth-token}}",
              "placement": "header"
            }
          },
          "docs": "Get address for offramp account, response should include the list of TokenAssetNetwork supported for the address."
        },
        {
          "info": {
            "name": "Get transactions for offramp account",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://external.dev.onboardpay.co/ledger/offramp-accounts/:id/transactions",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page parameter, starting from 1"
              },
              {
                "name": "size",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "x-auth-token",
              "value": "{{x-auth-token}}",
              "placement": "header"
            }
          },
          "docs": "Get a paginated list of transactions proccessed by offramp accounts"
        }
      ]
    }
  ],
  "bundled": true
}