Accounts

Set developer fees for an Account

Changed on

Sets or updates the developer fee configurations for a specific Account. Multiple currencies can be configured in a single request. Developer fees can only be configured for child organizations, so this request must be made on behalf of a child organization using the on-behalf-of header.

put/api/accounts/{id}/set-developer-fees

Request

Path parameters

idstring uuid required

Mural Account ID

Headers

on-behalf-ofstring required

Organization ID to act on behalf of

Request body

Example request

{
  "payinsDeveloperFees": [
    {
      "developerFeePercentage": 2.5,
      "type": "usd"
    },
    {
      "developerFeePercentage": 1.8,
      "type": "eur"
    },
    {
      "developerFeePercentage": 2,
      "type": "mxn"
    },
    {
      "developerFeePercentage": 1.5,
      "type": "brl"
    },
    {
      "developerFeePercentage": 2,
      "type": "ars"
    }
  ]
}

Response

Set developer fees for an Account

createdAtstring date-time required
descriptionstring

The description of the Account

idstring uuid required

The unique identifier for the Account

isApiEnabledboolean required

Whether or not the Account can be managed by the API. Accounts created in the platform will not be enabled unless you grant API access to the Account in the platform.

namestring required

The name of the Account

status'INITIALIZING' | 'ACTIVE' required

The status of the Account. Will start in INITIALIZING and move to ACTIVE once the Account is ready to use.

updatedAtstring date-time required

Example response

{
  "accountDetails": {
    "balancesV2": [
      {
        "exponent": 6,
        "value": "2500000"
      }
    ],
    "payinMethods": [
      {
        "supportedDestinationTokens": [
          {
            "fees": {
              "fixedTransactionFee": {
                "fiatCurrencyCode": "USD"
              }
            },
            "transactionMinimum": {
              "fiatCurrencyCode": "USD"
            }
          }
        ]
      }
    ],
    "walletDetails": {
      "walletAddress": "0x0000000000000000000000000000000000000000"
    }
  }
}

Changes

    • breaking

      the header request parameter on-behalf-of became required

    • warning

      added the new FEDNOW enum value to the /////////// response property for the response status

    • warning

      added the new SignedAgreementRequiredException enum value to the response property for the response status

    • warning

      added the new TRON enum value to the //////// response property for the response status

    • warning

      added the new TRON enum value to the ////////////// response property for the response status

    • warning

      added the new TRON enum value to the ////// response property for the response status

    • warning

      added the new TRON enum value to the ///// response property for the response status

    • info

      added the non-success response with the status

    • info

      removed the ARS_CVU enum value from the /////////// response property for the response status

    • info

      removed the BRL_PIX enum value from the /////////// response property for the response status

    • info

      removed the COP_BREB enum value from the /////////// response property for the response status

    • info

      removed the COP_PSE enum value from the /////////// response property for the response status

    • info

      removed the CRYPTO_DEPOSIT enum value from the /////////// response property for the response status

    • info

      removed the MXN_SPEI enum value from the /////////// response property for the response status

    • info

      removed the NON_US_LOCAL enum value from the /////////// response property for the response status

    • info

      removed the SWIFT enum value from the /////////// response property for the response status

    • info

      removed from the ///////// response property oneOf list for the response status