getFees
Get the available fees for the merchant.
An example can be found here Get fees example
Request
Data
Property  | Required  | Type  | Description  | 
|---|
This call has no parameters. But since the data is required by the API, you need to send an object (that can be empty).
Function
Property  | Required  | Type  | Description  | 
|---|---|---|---|
function  | true  | string  | The function name to be used, for this page it’s getFees  | 
Response
The response will contain an array of fees.
Fee properties
Property  | Type  | Description  | 
|---|---|---|
feeid  | int  | Id for this fee  | 
target  | string  | Target for the fee. If empty it may be used by anyone. If set to customer the the merchant must have this ffe registered to them.  | 
amount_from  | int  | The lower limit for this fee to ba valid.  | 
amount_to  | int  | The upper limit for this fee to be valid.  | 
duedate_type  | string  | How to affect the due date none - due date is not affected fixeddate - due date will be set the the fixed date of the fee 10days - 10 days will be added to the due date 14days - 14 days will be added to the due date last day of next month - the due date will be set to the last day of next month last day of this month - the due date will be set to the last day of next month  | 
new_duedate  | date  | The new due date using this fee  | 
country  | string  | Country where this fee is valid  | 
currency  | string  | Currency for where this fee is valid  | 
fee  | int  | The fee in cents  | 
fee_tax  | int  | The tax in cents  | 
fee_taxrate  | int  | The tax rate for the fee  | 
expiration_date  | date  | The expiration date for this fee  | 
description  | array  | Array of descriptions  | 
Description
Property  | Type  | Description  | 
|---|---|---|
language  | string  | The language of the description.  | 
description  | string  | The description of the fee.  |