v1

latestOpenAPI 3.1.02026-07-245361280.3 KB
Account management

Update account settings

This service is responsible for updating account settings like pricing level and settlement period.

patch/v2/accounts/{account_id}/settings

Path parameters

account_idstring required

User’s dLocal account ID.

Request body

pricing_levelstring

Represents the pricing configurations set in dLocal. For default: smbs_1, smbs_2, mid_market.

settlement_periodnumber

Days in which the balance is available to settle.

installments_responsiblestring

An option is provided for the merchant to select who is responsible for paying the installments fees. The mechant is the seller and customer is the payer. <br><br> Possible values: MERCHANT or CUSTOMER.

Example request

{
  "pricing_level": "type_1",
  "settlement_period": 7,
  "installments_responsible": "merchant",
  "settlements": [
    {
      "config_delay_days": 7,
      "country_code": "AR",
      "payment_method_type": "CARD",
      "payment_method_id": "VD"
    }
  ]
}

Response

OK

account_idstring

User’s dLocal account ID.

Example response

{
  "account_id": "d907f733-5e17-4470-b963-f2ac2c11a440",
  "settings": {
    "pricing_level": "type_1",
    "settlement_period": 7,
    "installments_responsible": "merchant",
    "settlements": [
      {
        "config_delay_days": 7,
        "country_code": "AR",
        "payment_method_type": "CARD",
        "payment_method_id": "VD"
      }
    ]
  }
}