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}

Authorization

ApiTokenAuth
headerapi_token<token>

API token issued by Datman.

Request Parameters

Path Parameters

type_id*integer

The id of one of your custom commission types (above 100).

Range101 <= value

Request Body

application/json
  1. body
commission_type*string

The name of the commission type.

Length1 <= length

Response parameters & Errors

Response Body

The commission type was renamed.

application/json
  1. response
requestId?string
outcome?string
data?