Split commission typesSplit commission types
Rename a split commission type
put
/api/v1/split-commission-types/{type_id}Changes the name of one of your custom commission types. Built-in types (id 100 or below) can't be changed.
Endpoint destination URL
https://sandbox-payments.datmanpay.com/rest/api/v1/split-commission-types/{type_id}ApiTokenAuthheader
api_token<token>API token issued by Datman.
Request Parameters
type_id*integerThe id of one of your custom commission types (above 100).
Range
101 <= valueapplication/json- body
commission_type*stringThe name of the commission type.
Length
1 <= lengthResponse parameters & Errors
The commission type was renamed.
application/json- response
requestId?stringoutcome?stringdata?
