{"title":"List cost contracts","category":"default","creationDate":1776961629,"content":"<h2 id=\"listcostcontracts-request-fields\">Request parameters<\/h2>\n<p>To retrieve a list of cost contracts for a specific account key, make a POST <code>\/listCostContracts<\/code> request specifying:<\/p>\n<table><thead><tr class=\"header\"><th>Name<\/th><th>Type<\/th><th>Required<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td>\n<p><code>accountKey<\/code><\/p>\n<\/td><td>\n<p>String<\/p>\n<\/td><td>\n<center><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/center>\n<\/td><td><p>Unique reference to identify an account.\n\n-   Company account key format: `Company.COMPANY_CODE`\n-   Merchant account key format:\u00a0`Merchant.MERCHANT_CODE`<br>\n<\/p><\/td><\/tr><\/tbody><\/table>\n<h2 id=\"listcostcontracts-response-fields\">Response parameters<\/h2>\n<p>The response contains a cost contract\u00a0list for the specified account key.<\/p>\n<div class=\"sc-notice note\"><div> \n<p>There needs to be at least one cost contract associated with the specified\u00a0 <code>accountKey<\/code> for the response to return a populated\u00a0 <code>costContractDataSO<\/code> object. <\/p>\n<\/div><\/div>\n<table><thead><tr class=\"header\"><th>Name<\/th><th>Type<\/th><th>Returned\u00a0by\u00a0default<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td>\n<p><code>costContractDataSO<\/code><\/p>\n<\/td><td>\n<p>class<\/p>\n<\/td><td>\n<center><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/center>\n<\/td><td>\n<p>A container for cost contract data.This field takes the following children:<ul><li markdown=\"1\"><code>billable<\/code><\/li><li markdown=\"1\"><code>minimumAmount<\/code><\/li><li markdown=\"1\"><code>minimumTxs<\/code><\/li><li markdown=\"1\"><code>name<\/code><\/li><li markdown=\"1\"><code>remark<\/code><\/li><li markdown=\"1\"><code>startDate<\/code><\/li><li markdown=\"1\"><code>stopDate<\/code>\u00a0<\/li><\/ul><\/p>\n<\/td><\/tr><tr><td>\n<p><code>billable<\/code><\/p>\n<\/td><td>\n<p>Boolean<\/p>\n<\/td><td>\n<center><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/center>\n<\/td><td>\n<ul><li>\n<p><code>true<\/code>: the cost contract is billable.<\/p>\n<\/li><li>\n<p><code>false<\/code>: the cost contract is not billable.<\/p>\n<\/li><\/ul>\n<\/td><\/tr><tr><td>\n<p><code>minimumAmount<\/code><\/p>\n<\/td><td>int<br>\n(Long)<\/td><td>\n<center><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/center>\n<\/td><td>\n<p>The minimum chargeable amount per invoice.<br \/>\nThe value is represented using the euro currency and minor units (i.e. <em>1000<\/em> = EUR\u00a010).<\/p>\n<\/td><\/tr><tr><td>\n<p><code>minimumTxs<\/code><\/p>\n<\/td><td>\n<p>int<\/p>\n<\/td><td>\n<center><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/center>\n<\/td><td>\n<p>The minimum number of transactions per month.  <\/p>\n<\/td><\/tr><tr><td>\n<p><code>name<\/code><\/p>\n<\/td><td>\n<p>String<\/p>\n<\/td><td>\n<center><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/center>\n<\/td><td>\n<p>The name identifying the cost contract.<\/p>\n<\/td><\/tr><tr><td><p><code>remark<\/code><br>\n<\/p><\/td><td>\n<p>String<\/p>\n<\/td><td>\n<center><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/center>\n<\/td><td>\n<p>Free text comment or remark about the cost contract.<\/p>\n<\/td><\/tr><tr><td>\n<p><code>startDate<\/code><\/p>\n<\/td><td>\n<p>String<\/p>\n<\/td><td>\n<center><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/center>\n<\/td><td>\n<p>The start date when the cost contract becomes effective.<\/p>\n<\/td><\/tr><tr><td>\n<p><code>stopDate<\/code><\/p>\n<\/td><td>\n<p>String<\/p>\n<\/td><td>\n<center><img title=\"-x-\" alt=\"-x-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/x.png\" \/><\/center>\n<\/td><td>The end date after which the cost contract is not effective any longer.<br>\nIf not end date is returned, it means the contract is effective until one of the parties takes action to terminate it.<\/td><\/tr><tr><td>\n<p><code>pspReference<\/code><\/p>\n<\/td><td>\n<p>String<\/p>\n<\/td><td>\n<center><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/center>\n<\/td><td>\n<p>Adyen's 16-character unique reference associated with the transaction\/the request.\u00a0This value is globally unique; quote it when communicating with us about this request.<\/p>\n<\/td><\/tr><\/tbody><\/table>\n<h2>Examples<\/h2>\n<h3 id=\"request\">Request<\/h3>\n<div data-component-wrapper=\"code-sample\">\n    <code-sample :title=\"''\" :id=\"'419082230'\" :code-data='[{\"language\":\"json\",\"tabTitle\":\"JSON\",\"content\":\"{  \\n   \\\"accountKey\\\":\\\"MerchantAccount.TestMerchant\\\"\\n}\"},{\"language\":\"xml\",\"tabTitle\":\"Soap\",\"content\":\"\\u00a0&lt;soapenv:Envelope xmlns:soapenv=\\\"http:\\\/\\\/schemas.xmlsoap.org\\\/soap\\\/envelope\\\/\\\" xmlns:xsd=\\\"http:\\\/\\\/www.w3.org\\\/2001\\\/XMLSchema\\\" xmlns:xsi=\\\"http:\\\/\\\/www.w3.org\\\/2001\\\/XMLSchema-instance\\\"&gt;\\n  &lt;soapenv:Body&gt;\\n    &lt;listCostContracts xmlns=\\\"http:\\\/\\\/caaccount.services.adyen.com\\\"&gt;\\n      &lt;request&gt;\\n        &lt;accountKey&gt;MerchantAccount.TestMerchant&lt;\\\/accountKey&gt;\\n      &lt;\\\/request&gt;\\n    &lt;\\\/listCostContracts&gt;\\n  &lt;\\\/soapenv:Body&gt;\\n&lt;\\\/soapenv:Envelope&gt;\"}]' :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>\n<h3 id=\"response\">Response<\/h3>\n<div data-component-wrapper=\"code-sample\">\n    <code-sample :title=\"''\" :id=\"'548009467'\" :code-data='[{\"language\":\"json\",\"tabTitle\":\"JSON\",\"content\":\"{  \\n   \\\"pspReference\\\":\\\"9914526948880159\\\",\\n   \\\"costContractData\\\":[  \\n      {  \\n         \\\"CostContractDataSO\\\":{  \\n            \\\"billable\\\":\\\"true\\\",\\n            \\\"minimumTxs\\\":1000,\\n            \\\"name\\\":\\\"merchantDemoContract\\\",\\n            \\\"startDate\\\":\\\"2008-01-01T00:00:00+01:00\\\"\\n         }\\n      }\\n   ]\\n}\"},{\"language\":\"xml\",\"tabTitle\":\"Soap\",\"content\":\"\\u00a0&lt;soap:Envelope xmlns:soap=\\\"http:\\\/\\\/schemas.xmlsoap.org\\\/soap\\\/envelope\\\/\\\" xmlns:xsd=\\\"http:\\\/\\\/www.w3.org\\\/2001\\\/XMLSchema\\\" xmlns:xsi=\\\"http:\\\/\\\/www.w3.org\\\/2001\\\/XMLSchema-instance\\\" xmlns:ns1=\\\"http:\\\/\\\/serviceobjects.caaccount.services.adyen.com\\\" xmlns:ns0=\\\"http:\\\/\\\/caaccount.services.adyen.com\\\"&gt;    &lt;soap:Body&gt;\\n        &lt;ns0:listCostContractsResponse&gt;\\n            &lt;ns0:response&gt;\\n                &lt;ns0:pspReference&gt;9914140635430144&lt;\\\/ns0:pspReference&gt;\\n                &lt;ns0:costContractData&gt;\\n                    &lt;ns0:CostContractDataSO&gt;\\n                        &lt;ns1:billable&gt;true&lt;\\\/ns1:billable&gt;\\n                        &lt;ns1:minimumTxs&gt;1000&lt;\\\/ns1:minimumTxs&gt;\\n                        &lt;ns1:name&gt;merchantDemoContract&lt;\\\/ns1:name&gt;\\n                        &lt;ns1:startDate&gt;2008-01-01T00:00:00+01:00&lt;\\\/ns1:startDate&gt;\\n                    &lt;\\\/ns0:CostContractDataSO&gt;\\n                &lt;\\\/ns0:costContractData&gt;\\n            &lt;\\\/ns0:response&gt;\\n        &lt;\\\/ns0:listCostContractsResponse&gt;\\n    &lt;\\\/soap:Body&gt;\\n&lt;\\\/soap:Envelope&gt;\"}]' :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>","url":"https:\/\/docs.adyen.com\/pt\/account-management-api\/manage-cost-contracts\/listcostcontracts","articleFields":{"id":"25134953","type":"page","description":"Retrieve data for all cost contracts, either for a company or the specified merchant accounts.","_expandable":{"operations":""},"status":"current"},"algolia":{"url":"https:\/\/docs.adyen.com\/pt\/account-management-api\/manage-cost-contracts\/listcostcontracts","title":"List cost contracts","content":"Request parameters\nTo retrieve a list of cost contracts for a specific account key, make a POST \/listCostContracts request specifying:\nNameTypeRequiredDescription\naccountKey\n\nString\n\n\nUnique reference to identify an account.\n\n-   Company account key format: `Company.COMPANY_CODE`\n-   Merchant account key format:\u00a0`Merchant.MERCHANT_CODE`\n\nResponse parameters\nThe response contains a cost contract\u00a0list for the specified account key.\n \nThere needs to be at least one cost contract associated with the specified\u00a0 accountKey for the response to return a populated\u00a0 costContractDataSO object. \n\nNameTypeReturned\u00a0by\u00a0defaultDescription\ncostContractDataSO\n\nclass\n\n\n\nA container for cost contract data.This field takes the following children:billableminimumAmountminimumTxsnameremarkstartDatestopDate\u00a0\n\nbillable\n\nBoolean\n\n\n\n\ntrue: the cost contract is billable.\n\nfalse: the cost contract is not billable.\n\n\nminimumAmount\nint\n(Long)\n\n\nThe minimum chargeable amount per invoice.\nThe value is represented using the euro currency and minor units (i.e. 1000 = EUR\u00a010).\n\nminimumTxs\n\nint\n\n\n\nThe minimum number of transactions per month.  \n\nname\n\nString\n\n\n\nThe name identifying the cost contract.\nremark\n\nString\n\n\n\nFree text comment or remark about the cost contract.\n\nstartDate\n\nString\n\n\n\nThe start date when the cost contract becomes effective.\n\nstopDate\n\nString\n\n\nThe end date after which the cost contract is not effective any longer.\nIf not end date is returned, it means the contract is effective until one of the parties takes action to terminate it.\npspReference\n\nString\n\n\n\nAdyen's 16-character unique reference associated with the transaction\/the request.\u00a0This value is globally unique; quote it when communicating with us about this request.\n\nExamples\nRequest\n\n    \n\nResponse\n\n    \n","type":"page","locale":"pt","boost":17,"hierarchy":{"lvl0":"Home","lvl1":"Account management API","lvl2":"Manage cost contracts","lvl3":"List cost contracts"},"hierarchy_url":{"lvl0":"https:\/\/docs.adyen.com\/pt","lvl1":"https:\/\/docs.adyen.com\/pt\/account-management-api","lvl2":"https:\/\/docs.adyen.com\/pt\/account-management-api\/manage-cost-contracts","lvl3":"\/pt\/account-management-api\/manage-cost-contracts\/listcostcontracts"},"levels":4,"category":"","category_color":"","tags":["contracts"]},"articleFiles":{"419082230.json":"<p alt=\"\">419082230.json<\/p>","548009467.json":"<p alt=\"\">548009467.json<\/p>"}}
