dLocal · Capability

dLocal For Platforms API — Accounts

dLocal for Platforms (marketplace) accounts capability — onboard sub-merchants, manage KYC, bank accounts, and transfers between accounts.

dLocal For Platforms API — Accounts is a Naftiko capability published by dLocal, one of 7 capabilities the APIs.io network indexes for this provider. It bundles 4 operations.

The capability includes 2 read-only operations and 2 state-changing operations. Lead operation: dLocal Create An Account. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include dLocal, Platforms, Marketplace, and Accounts.

Run with Naftiko dLocalPlatformsMarketplaceAccounts

MCP Tools

dlocal-create-account

dLocal Create An Account

dlocal-get-account

dLocal Get An Account

read-only idempotent
dlocal-block-account

dLocal Block An Account

idempotent
dlocal-get-account-balance

dLocal Get Account Balance

read-only idempotent

Capability Spec

platforms-accounts.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: dLocal For Platforms API — Accounts
  description: dLocal for Platforms (marketplace) accounts capability — onboard sub-merchants,
    manage KYC, bank accounts, and transfers between accounts.
  tags:
  - dLocal
  - Platforms
  - Marketplace
  - Accounts
  created: '2026-05-24'
  modified: '2026-05-24'
binds:
- namespace: env
  keys:
    DLOCAL_PLATFORMS_BEARER: DLOCAL_PLATFORMS_BEARER
capability:
  consumes:
  - type: http
    namespace: platforms-accounts
    baseUri: https://marketplace-api.dlocal.com
    description: dLocal for Platforms business capability.
    resources:
    - name: accounts
      path: /v2/accounts
      operations:
      - name: createaccount
        method: POST
        description: dLocal Create An Account
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          required: true
    - name: account-by-id
      path: /v2/accounts/{account_id}
      operations:
      - name: getaccount
        method: GET
        description: dLocal Get An Account
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
      - name: blockaccount
        method: POST
        path: /v2/accounts/{account_id}/block
        description: dLocal Block An Account
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
      - name: getbalance
        method: GET
        path: /v2/accounts/{account_id}/balance
        description: dLocal Get Account Balance
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
    authentication:
      type: bearer
      value: '{{env.DLOCAL_PLATFORMS_BEARER}}'
      placement: header
  exposes:
  - type: mcp
    namespace: platforms-accounts-mcp
    port: 9090
    transport: http
    description: MCP adapter for dLocal for Platforms accounts.
    tools:
    - name: dlocal-create-account
      description: dLocal Create An Account
      hints: { readOnly: false, destructive: false, idempotent: false }
      call: platforms-accounts.createaccount
      with: { body: tools.body }
      outputParameters:
      - type: object
        mapping: $.
    - name: dlocal-get-account
      description: dLocal Get An Account
      hints: { readOnly: true, destructive: false, idempotent: true }
      call: platforms-accounts.getaccount
      with: { account_id: tools.account_id }
      outputParameters:
      - type: object
        mapping: $.
    - name: dlocal-block-account
      description: dLocal Block An Account
      hints: { readOnly: false, destructive: true, idempotent: true }
      call: platforms-accounts.blockaccount
      with: { account_id: tools.account_id }
      outputParameters:
      - type: object
        mapping: $.
    - name: dlocal-get-account-balance
      description: dLocal Get Account Balance
      hints: { readOnly: true, destructive: false, idempotent: true }
      call: platforms-accounts.getbalance
      with: { account_id: tools.account_id }
      outputParameters:
      - type: object
        mapping: $.