8. Update Commission

You can use this service to update the cost of a specific commission.

Update Commission

PUT{{WalletUrl}}/api/v1/commission

Note: To use this service, the apikeypublic and apiclientpublic parameters must be included in the Header field.

WalletAPI Address

The parameters that need to be sent to the service (Header) are as follows:

Parameter
Type
Required
Description

apikeypublic

string

Yes

It is the general key used to provide API access.

apiclientpublic

string

Yes

It is the public identification key specific to the API client.

{
  "id": "{{commissionId}}",
  "feeType": "Fixed",
  "feeValue": 1000
}
{
    "Value": {
        "Id": "8c725256-3d51-4f40-9064-b29b3d576b6d",
        "Level": "Wallet",
        "MerchantId": null,
        "WalletOwnerId": null,
        "WalletId": "8811e7f9-7a49-43c2-9193-1c4825b81c24",
        "TransactionType": "Purchase",
        "FeeType": "Fixed",
        "FeeValue": 1000,
        "ConditionType": "None",
        "ConditionThreshold": 0.00,
        "CurrencyCode": "TRY",
        "IsActive": true,
        "CreatedAt": "2025-05-01T15:25:38.134933Z",
        "UpdatedAt": "2025-05-01T15:29:12.0137631Z"
    },
    "Errors": [],
    "IsSuccess": true,
    "IsFailure": false
}

Service Response

Parameter
Type
Description

IsFailure

bool

Indicates whether the operation was unsuccessful. If true, an error has occurred.

IsSuccess

bool

Indicates whether the operation was successful. If true, it has been completed successfully.

Errors

Array

A list containing the details of any errors that occurred.

Value

Object

Contains the main data content returned in the case of a successful response.

Service Response (Value)

Parameter
Type
Description

Id

Guid

The unique identifier for the commission.

Level

string

Commission Level See: Comission Levels

MerchantId

int

Your merchant (business) PayWall identification information.

WalletOwnerId

Guid

The identification information of the wallet owner to whom the commission is assigned.

WalletId

Guid

The wallet identification information to which the commission is assigned.

TransactionType

string

Transaction Type for Commission See: Transaction Types

FeeType

string

Commission Type Information See: Cost Types

FeeValue

decimal

The value of the commission cost.

ConditionType

string

Condition Type for Commission See: Condition Types

ConditionThreshold

decimal

The condition value for the commission.

CurrencyCode

string

The currency in which the commission will be applied.

IsActive

bool

The active status of the commission.

CreatedAt

DateTime

The creation date of the record.

UpdatedAt

DateTime

The date when the record was last updated.

Last updated