{
  "opencollection": "1.0.0",
  "info": {
    "name": "Onboard External API Gateway auth-oauth ledger-transfer API",
    "version": "3.0.2"
  },
  "items": [
    {
      "info": {
        "name": "ledger-transfer",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create internal transfer",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://external.dev.onboardpay.co/ledger/internal-transfers",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "x-auth-token",
              "value": "{{x-auth-token}}",
              "placement": "header"
            }
          },
          "docs": "This operation allows the client to create an internal transfer between subaccounts and main account.\n"
        },
        {
          "info": {
            "name": "Get internal transfer by reference",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://external.dev.onboardpay.co/ledger/internal-transfers/:referenceId",
            "params": [
              {
                "name": "referenceId",
                "value": "",
                "type": "path",
                "description": "The transaction or transfer reference ID"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "x-auth-token",
              "value": "{{x-auth-token}}",
              "placement": "header"
            }
          },
          "docs": "This operation allows the client to fetch an internal transfer by its reference ID.\n"
        },
        {
          "info": {
            "name": "Performs crypto transfer",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://external.dev.onboardpay.co/ledger/crypto-transfer",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "x-auth-token",
              "value": "{{x-auth-token}}",
              "placement": "header"
            }
          },
          "docs": "This operations allow the client to perform crypto transfer to n external wallet.\n\nN.B. The amount field is the amount after fees + fees, i.e the total amount, also send the fee in the fee field.\n"
        },
        {
          "info": {
            "name": "Get crypto transfer by reference",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://external.dev.onboardpay.co/ledger/crypto-transfer/:transferReference",
            "params": [
              {
                "name": "transferReference",
                "value": "",
                "type": "path",
                "description": "The transfer unique ID"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "x-auth-token",
              "value": "{{x-auth-token}}",
              "placement": "header"
            }
          },
          "docs": "This operation allows the client to fetch a specific crypto transfer by its reference ID.\n"
        }
      ]
    }
  ],
  "bundled": true
}