dLocal · Arazzo Workflow

dLocal Onboard Sub-Merchant Account

Version 1.0.0

Create a platform sub-merchant account, attach a bank account, then confirm KYC and balance.

1 workflow 3 source APIs 1 provider
View Spec View on GitHub PaymentsEmerging MarketsPayinsPayoutsFintechLatin AmericaAfricaAsiaLocal Payment MethodsPayment ProcessingArazzoWorkflows

Provider

dlocal

Workflows

onboard-submerchant-account
Create a sub-merchant account, attach a bank account, and confirm KYC and balance.
Onboards a sub-merchant account, confirms it was created, adds a settlement bank account, and reads the account's KYC state and balance.
5 steps inputs: accountCountry, accountEmail, accountName, bankAccount, notificationUrl, platformType, taxCategory outputs: accountId, balance, kyc
1
createAccount
Onboard a new sub-merchant account (company or individual).
2
getAccount
Retrieve the newly created account to confirm it persisted.
3
addBankAccount
Attach a bank account to the sub-merchant account for settlement.
4
getAccountKyc
getAccountKyc
Read the account KYC state to confirm onboarding verification progress.
5
getAccountBalance
Read the sub-merchant account balance.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: dLocal Onboard Sub-Merchant Account
  summary: Create a platform sub-merchant account, attach a bank account, then confirm KYC and balance.
  description: >-
    The platform/marketplace onboarding flow. The workflow creates a new
    sub-merchant account, retrieves it to confirm it persisted, attaches a bank
    account for settlement, reads the account KYC state, and finally reads the
    account balance. Every step spells out its request inline so the flow can be
    read and executed without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: accountsApi
  url: ../openapi/d-local-accounts-api-openapi.yml
  type: openapi
- name: bankaccountsApi
  url: ../openapi/d-local-bankaccounts-api-openapi.yml
  type: openapi
- name: kycApi
  url: ../openapi/d-local-kyc-api-openapi.yml
  type: openapi
workflows:
- workflowId: onboard-submerchant-account
  summary: Create a sub-merchant account, attach a bank account, and confirm KYC and balance.
  description: >-
    Onboards a sub-merchant account, confirms it was created, adds a settlement
    bank account, and reads the account's KYC state and balance.
  inputs:
    type: object
    required:
    - platformType
    - taxCategory
    - accountName
    - accountEmail
    - accountCountry
    - bankAccount
    properties:
      platformType:
        type: string
        description: Platform type classification for the sub-merchant.
      taxCategory:
        type: string
        description: Account tax category (company or individual).
      accountName:
        type: string
        description: Legal or trading name of the sub-merchant.
      accountEmail:
        type: string
        description: Contact email for the sub-merchant account.
      accountCountry:
        type: string
        description: ISO 3166-1 alpha-2 country of the sub-merchant.
      notificationUrl:
        type: string
        description: URL to receive asynchronous account notifications.
      bankAccount:
        type: object
        description: Bank account payload to attach for settlement.
  steps:
  - stepId: createAccount
    description: >-
      Onboard a new sub-merchant account (company or individual).
    operationId: createAccount
    requestBody:
      contentType: application/json
      payload:
        platform_type: $inputs.platformType
        tax_category: $inputs.taxCategory
        account_name: $inputs.accountName
        account_email: $inputs.accountEmail
        account_country: $inputs.accountCountry
        notification_url: $inputs.notificationUrl
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      accountId: $response.body#/account_id
      status: $response.body#/status
  - stepId: getAccount
    description: >-
      Retrieve the newly created account to confirm it persisted.
    operationId: getAccount
    parameters:
    - name: account_id
      in: path
      value: $steps.createAccount.outputs.accountId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      status: $response.body#/status
  - stepId: addBankAccount
    description: >-
      Attach a bank account to the sub-merchant account for settlement.
    operationId: addBankAccount
    parameters:
    - name: account_id
      in: path
      value: $steps.createAccount.outputs.accountId
    requestBody:
      contentType: application/json
      payload: $inputs.bankAccount
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      bankAccountResult: $response.body
  - stepId: getAccountKyc
    description: >-
      Read the account KYC state to confirm onboarding verification progress.
    operationId: getAccountKyc
    parameters:
    - name: account_id
      in: path
      value: $steps.createAccount.outputs.accountId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      kyc: $response.body
  - stepId: getAccountBalance
    description: >-
      Read the sub-merchant account balance.
    operationId: getAccountBalance
    parameters:
    - name: account_id
      in: path
      value: $steps.createAccount.outputs.accountId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      balance: $response.body
  outputs:
    accountId: $steps.createAccount.outputs.accountId
    kyc: $steps.getAccountKyc.outputs.kyc
    balance: $steps.getAccountBalance.outputs.balance

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/dlocal-onboard-submerchant-account-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.