Fees
Get the fees for each payment method
Endpoint
GET /v2/partner/organisations/{shortcode}/feesUse the production or sandbox base URL from API conventions. Authenticate with your partner token from Authentication.
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
shortcode | string | Yes | The organisation's shortcode. |
Response
The response has one object per payment method.
| Object | Description |
|---|---|
standard_cards | Fees for standard cards. |
premium_cards | Fees for premium cards. |
bank_transfer | Fees for bank transfers. |
open_banking | Fees for open banking payments. |
Each object has the same fields:
| Field | Type | Description |
|---|---|---|
basis_point_fee | integer | Percentage fee, in basis points from 0 to 10000, where 100 is 1%. |
minor_unit_per_tx_fee | number | Fixed 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
| Status | When |
|---|---|
401 Unauthorized | The JWT is missing, invalid or expired. |
403 Permission Denied | The organisation isn't connected to your partner account. |
404 Not Found | You haven't agreed signed fees with the organisation. |
See errors for the error response format.