Request parameters
To add a new cost contract entry associated with an account key, make a POST /addCostContract
request specifying:
Name | Type | Required | Description | Notes |
---|---|---|---|---|
|
String |
|
Unique reference to identify an account.
|
|
|
Boolean |
|
|
If the specified account key refers to a merchant account, leave this field empty/do not assign a value to this field. |
|
String |
| The name identifying the cost contract. |
|
| int (Long) |
|
The minimum chargeable amount per invoice. |
If the specified account key refers to a merchant account, leave this field empty/do not assign a value to this field. |
|
int |
|
The minimum number of transactions per month. |
If the specified account key refers to a merchant account, leave this field empty/do not assign a value to this field. |
|
String |
|
Free text comment or remark about the cost contract. |
If the specified account key refers to a merchant account, leave this field empty/do not assign a value to this field. |
|
int |
|
The starting year when the cost contract becomes effective. |
Start date = startMonth + startYear |
|
int |
|
The starting month when the cost contract becomes effective. |
Start date = startMonth + startYear |
Response parameters
If there are no errors in the request, the call returns a pspReference.
If any issues occur during the process, the call returns one or more warning or error messages.
Name | Type | Returned by default | Description |
---|---|---|---|
|
String |
| A reference to uniquely identify the request. Returned when the response is successful and a new contract is created. |
|
Array |
|
List containing one or more warning messages. |
|
Array |
|
List containing one or more error messages. |