Esenda

Fees

Get the fees for each payment method

Endpoint

GET /v2/partner/organisations/{shortcode}/fees

Use the production or sandbox base URL from API conventions. Authenticate with your partner token from Authentication.

Path parameters

ParameterTypeRequiredDescription
shortcodestringYesThe organisation's shortcode.

Response

The response has one object per payment method.

ObjectDescription
standard_cardsFees for standard cards.
premium_cardsFees for premium cards.
bank_transferFees for bank transfers.
open_bankingFees for open banking payments.

Each object has the same fields:

FieldTypeDescription
basis_point_feeintegerPercentage fee, in basis points from 0 to 10000, where 100 is 1%.
minor_unit_per_tx_feenumberFixed fee per transaction, in the currency's minor unit (pence for GBP). Can include decimals.
{
  "standard_cards": {
    "basis_point_fee": 150,
    "minor_unit_per_tx_fee": 20
  },
  "premium_cards": {
    "basis_point_fee": 100,
    "minor_unit_per_tx_fee": 20
  },
  "bank_transfer": {
    "basis_point_fee": 50,
    "minor_unit_per_tx_fee": 10
  },
  "open_banking": {
    "basis_point_fee": 50,
    "minor_unit_per_tx_fee": 10
  }
}

Example request

curl --request GET \
  --url https://api.esenda.com/v2/partner/organisations/ABCSCH/fees \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'

Errors

StatusWhen
401 UnauthorizedThe JWT is missing, invalid or expired.
403 Permission DeniedThe organisation isn't connected to your partner account.
404 Not FoundYou haven't agreed signed fees with the organisation.

See errors for the error response format.

On this page