get https://api.accelevents.com/rest/superadmin/getTransactionFeeCondition
This API is used to get the base record for the transaction fee conditional logic. This API can be accessed by super admin and white label super admin. we need to pass the authentication key to authenticate the super admin and white label super admin, need to pass eventId, whiteLabelUrl, organizerUrl as a query param.it returns a list of TransactionFeeBaseRecordDto.
Here is the description of response attributes, which returns in the form of a JSON array.
Attribute | Description |
---|---|
id | Id for transaction fee conditional logic |
operator | conditional operator for transaction fee conditional logic |
aeFeeFlat | Acceleventsfee flat for transaction fee conditional logic |
aeFeePercentage | Accelevents fee percentage for transaction fee conditional logic |
wlAFeeFlat | White label A fee flat for transaction fee conditional logic |
wlAFeePercentage | White label A fee percentage for transaction fee conditional logic |
wlBFeeFlat | White label B fee flat for transaction fee conditional logic |
wlBFeePercentage | White label B fee percentage for transaction fee conditional logic |
fromTicketingPriceThreshold | fromTicketingPriceThreshold for transaction fee conditional logic |
whiteLabelId | it contains a white label event id which is unique. |
eventId | it contains an event id that is unique. |
organizerId | it contains an organizer id which is unique |
isAddon | Check isAddon Ticketing Type For transaction fee conditional logic. it returns a boolean value and the default value is false. |
isVirtual | Check isVirtual Ticketing Type For transaction fee conditional logic. it returns a boolean value and the default value is false. |
toTicketPriceThreshold | toTicketingPriceThreshold for transaction fee conditional logic |
Here are the possible error messages, which return if any condition gets failed or required data is missing for processing.
Error code | Error Description |
---|---|
4040014 | Transaction conditional logic configuration missing for white label |