{
  "opencollection": "1.0.0",
  "info": {
    "name": "dLocal Payins Accounts API",
    "version": "2.1"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Accounts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create a Platform Account",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.dlocal.com/accounts",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Onboard a new sub-account (marketplace seller or platform participant)."
        },
        {
          "info": {
            "name": "Get Account Status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.dlocal.com/accounts/:account_id",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve status and details of a platform sub-account."
        },
        {
          "info": {
            "name": "Get Account Balance",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.dlocal.com/accounts/:account_id/balances",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve the balance for a specific platform sub-account."
        }
      ]
    }
  ],
  "bundled": true
}