Set developer fees for an Account
Changed onSets 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.
Request
- Base URLhttps://api.muralpay.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Mural Account ID
Headers
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
Example response
{
"accountDetails": {
"balancesV2": [
{
"exponent": 6,
"value": "2500000"
}
],
"payinMethods": [
{
"supportedDestinationTokens": [
{
"fees": {
"fixedTransactionFee": {
"fiatCurrencyCode": "USD"
}
},
"transactionMinimum": {
"fiatCurrencyCode": "USD"
}
}
]
}
],
"walletDetails": {
"walletAddress": "0x0000000000000000000000000000000000000000"
}
}
}Changes
- breaking
the
headerrequest parameteron-behalf-ofbecame required - warning
added the new
FEDNOWenum value to the///////////response property for the response status - warning
added the new
SignedAgreementRequiredExceptionenum value to theresponse property for the response status - warning
added the new
TRONenum value to the////////response property for the response status - warning
added the new
TRONenum value to the//////////////response property for the response status - warning
added the new
TRONenum value to the//////response property for the response status - warning
added the new
TRONenum value to the/////response property for the response status - info
added the non-success response with the status
- info
removed the
ARS_CVUenum value from the///////////response property for the response status - info
removed the
BRL_PIXenum value from the///////////response property for the response status - info
removed the
COP_BREBenum value from the///////////response property for the response status - info
removed the
COP_PSEenum value from the///////////response property for the response status - info
removed the
CRYPTO_DEPOSITenum value from the///////////response property for the response status - info
removed the
MXN_SPEIenum value from the///////////response property for the response status - info
removed the
NON_US_LOCALenum value from the///////////response property for the response status - info
removed the
SWIFTenum value from the///////////response property for the response status - info
removed from the
/////////response propertyoneOflist for the response status
- breaking