Convenience-fee

Add convenience fees to a payment.

Adds a convenience fee to a payment in addition to the amount requested.

In order to use this action the merchant account must have a product of the following type enabled.

This action pairs well with the following actions.

Union (required)

Always union to payment.

Macro level details for how union attribute behaves can be found within the Union documentation.

Features (required)

NameTypeDescriptionRules
amountnumber(required) Amount in cents.
Examples: 10.

Context

NameTypeDescriptionRules
typesarrayIf types is set to ACH or CreditCard, the convenience fee applies only when that specific payment method is used to make a payment.
Examples: ["CreditCard"].
Possible values: ACH, CreditCard.

Example

Below is an example payload for adding an action to a business process or blueprint.

{
    "type": "convenience-fee",
    "union": 1,
    "features": {
        "amount": 10
    },
    "context": {
        "types": [
            "CreditCard"
        ]
    }
}