{"title":"Manage cost contracts","category":"default","creationDate":1776961629,"content":"<p>You can\u00a0<a href=\"\/pt\/account-management-api\/manage-cost-contracts\/addcostcontract\">create<\/a>\u00a0and\u00a0<a href=\"\/pt\/account-management-api\/manage-cost-contracts\/deletelatestcostcontract\">delete<\/a>\u00a0cost contracts at the merchant or company level.<\/p>\n<p>The following restrictions apply:<\/p>\n<ul>\n<li>\n<p>Cost contracts need to be consecutive.<\/p>\n<\/li>\n<li>\n<p><code>startDate<\/code> needs to be set at least one month in the future.<\/p>\n<\/li>\n<li>\n<p><code>endDate<\/code> needs to be set not later than two years in the future.<\/p>\n<\/li>\n<li>\n<p>No date overlapping between or among cost contracts; at any given time there must be only one active instance of a cost contract.<\/p>\n<\/li>\n<li>\n<p>No time gap between consecutive cost contracts: two consecutive cost contracts in a sequence cannot include any downtime in between when there is no active cost contract.  <\/p>\n<\/li>\n<li>\n<p>Do not pass these fields if you are creating a cost contract for a merchant account:<\/p>\n<ul>\n<li><code>minimumTxs<\/code><\/li>\n<li><code>minimumAmount<\/code><\/li>\n<li><code>remark<\/code><\/li>\n<li><code>billable<\/code>  <\/li>\n<\/ul>\n<\/li>\n<li>\n<p>You cannot edit or modify cost contracts whose dates are set in the past.<\/p>\n<\/li>\n<li>\n<p>You cannot edit or modify the current active cost contract.<\/p>\n<\/li>\n<li>\n<p>If you want to replace a cost contract, <a href=\"\/pt\/account-management-api\/manage-cost-contracts\/deletelatestcostcontract\">delete it<\/a> first, and then <a href=\"\/pt\/account-management-api\/manage-cost-contracts\/addcostcontract\">create a new one<\/a>.<\/p>\n<\/li>\n<\/ul>\n<h2 id=\"cost-contract-management-calls\">Cost contract endpoints<\/h2>\n<p>The following API calls help you manage cost contracts:<\/p>\n<ul>\n<li><a href=\"\/pt\/account-management-api\/manage-cost-contracts\/listcostcontracts\">listCostContracts<\/a><\/li>\n<li><a href=\"\/pt\/account-management-api\/manage-cost-contracts\/addcostcontract\">addCostContract<\/a><\/li>\n<li><a href=\"\/pt\/account-management-api\/manage-cost-contracts\/addcostcontracts\">addCostContracts<\/a><\/li>\n<li><a href=\"\/pt\/account-management-api\/manage-cost-contracts\/deletelatestcostcontract\">deleteLatestCostContract<\/a><\/li>\n<\/ul>","url":"https:\/\/docs.adyen.com\/pt\/account-management-api\/manage-cost-contracts","articleFields":{"id":"25134952","type":"page","description":"View and manage cost contracts for your company and merchant accounts.","_expandable":{"operations":""},"status":"current"},"algolia":{"url":"https:\/\/docs.adyen.com\/pt\/account-management-api\/manage-cost-contracts","title":"Manage cost contracts","content":"You can\u00a0create\u00a0and\u00a0delete\u00a0cost contracts at the merchant or company level.\nThe following restrictions apply:\n\n\nCost contracts need to be consecutive.\n\n\nstartDate needs to be set at least one month in the future.\n\n\nendDate needs to be set not later than two years in the future.\n\n\nNo date overlapping between or among cost contracts; at any given time there must be only one active instance of a cost contract.\n\n\nNo time gap between consecutive cost contracts: two consecutive cost contracts in a sequence cannot include any downtime in between when there is no active cost contract.  \n\n\nDo not pass these fields if you are creating a cost contract for a merchant account:\n\nminimumTxs\nminimumAmount\nremark\nbillable  \n\n\n\nYou cannot edit or modify cost contracts whose dates are set in the past.\n\n\nYou cannot edit or modify the current active cost contract.\n\n\nIf you want to replace a cost contract, delete it first, and then create a new one.\n\n\nCost contract endpoints\nThe following API calls help you manage cost contracts:\n\nlistCostContracts\naddCostContract\naddCostContracts\ndeleteLatestCostContract\n","type":"page","locale":"pt","boost":18,"hierarchy":{"lvl0":"Home","lvl1":"Account management API","lvl2":"Manage cost contracts"},"hierarchy_url":{"lvl0":"https:\/\/docs.adyen.com\/pt","lvl1":"https:\/\/docs.adyen.com\/pt\/account-management-api","lvl2":"\/pt\/account-management-api\/manage-cost-contracts"},"levels":3,"category":"","category_color":"","tags":["Manage","contracts"]}}
