Settlements
The settlements
 object captures the status of transaction(s) associated with a merchant location. GET
 requests to this endpoint can be filtered according to settlement date, response, and method.
Settlements Object
Parameter | Description | Type | Req |
organization_id | The identification number of the associated organization. For example, org_5551236. | string | R |
location_id | The identification number of the associated location. For example, loc_1234568. | string | R |
funding_id | A unique string used to represent a funding entry. For example, fnd_ACH-0226-173C5. [max length = 20] | string | -- |
customer_token | A unique string used to represent a customer. For example, cst_SoGUG6mcLUS1nVzYBIbk3g. [max length = 26] | string | -- |
customer_id | A merchant-defined string created at the customer level to identify the customer. [max length = 15] | string | -- |
order_number | A merchant-defined string. [max length = 50] | string | -- |
reference_id | A merchant-defined string that identifies the transaction. [max length = 50] | string | -- |
settle_id | The settlement ID of the settled transaction (e.g., stl_51cf4633-1767-484f-8784-be76a4076791). [max length = 40] | string | R |
transaction_id | A 36-character code that uniquely identifies the transaction. | string | -- |
settle_batch_id | The ID of the credit card settlement batch, which the merchant can use to reconcile credit card bank deposits. This parameter is view-only and only for credit card transactions. | string | -- |
settle_date | The date when the transaction was settled. This parameter is return only. | datetime | -- |
settle_type | The type of settlement. Supported settlement types include the following values. For echeck transactions:
For credit card transactions:
This parameter is return only. | string | -- |
settle_response_code | See the Response Codes table for more information. This parameter is return only. NOTE: Credit card transactions that do not return a settle response can be considered settled. | object | O |
settle_amount | The amount the transaction settled for. This parameter is return only. | decimal | -- |
method | The payment method. This parameter is return only. The supported payment methods include the following values:
| string | -- |
GET All Settlements from a Location
{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/settlements/
Â
This URI returns all the transaction settlements for a Location. To narrow your search data using specific criteria, use the following parameters to filter your results:
- customer_token
- transaction_id
- customer_id
- order_number
- reference_id
- start_settle_date / end_settle_date
- settle_response_code
- method
NOTES:
- All date filter parameters are time aware.
- If theÂ
start_settle_date
 andÂend_settle_date
 filters are not passed in via the body of the requst, the query automatically uses a default date range of 90 days. If you do not pass in any date filters, the system automatically uses the current date and the previous 90 days.
.
Example Request
curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/settlements/' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--data ''
Example Response
{
"number_results": 13,
"search_criteria": {
"page_size": 50,
"page_index": 0,
"home_organization_id": "org_334316",
"resource_specific": {
"location_id": "loc_192642",
"start_settle_date": "2016-10-01T00:00:00",
"end_settle_date": "2016-10-31T00:00:00"
}
},
"results": [
{
"settle_id": "stl_f90ce5f6-3990-4384-bfd5-13dbc63dc895",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_05169f58-241f-45b0-a335-3569d4a4e13e",
"settle_batch_id": "123123123",
"settle_date": "2016-10-11T22:00:00",
"settle_type": "deposit",
"settle_response_code": "A01",
"settle_amount": 102.45,
"method": "cc",
"links": {
"self": "https://api.forte.net/v3//settlements/stl_f90ce5f6-3990-4384-bfd5-13dbc63dc895"
}
},
{
"settle_id": "stl_a2c3dcf6-0c0f-4bfc-9bdf-266ce0e475e6",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_0da1b367-b2fc-4a8d-bf0c-6e17f9cfcade",
"settle_batch_id": "123123123",
"settle_date": "2016-10-17T08:55:22.333",
"settle_type": "reject",
"settle_response_code": "R49",
"settle_amount": 0,
"method": "echeck",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_a2c3dcf6-0c0f-4bfc-9bdf-266ce0e475e6"
}
},
{
"settle_id": "stl_45a168b1-2c14-4250-85b5-2bb306956489",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_0ebbc660-80a2-4a20-a610-11e2f205f742",
"settle_batch_id": "123123123",
"settle_date": "2016-10-11T22:00:00",
"settle_type": "withdrawal",
"settle_response_code": "A01",
"settle_amount": -1,
"method": "cc",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_45a168b1-2c14-4250-85b5-2bb306956489"
}
},
{
"settle_id": "stl_0e48f734-630e-4738-a990-2f1ba62d4614",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_eb64304c-6fbe-43db-9316-fdff1ef1a16a",
"settle_batch_id": "123123123",
"settle_date": "2016-10-11T22:00:00",
"settle_type": "deposit",
"settle_response_code": "A01",
"settle_amount": 45698.45,
"method": "cc",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_0e48f734-630e-4738-a990-2f1ba62d4614"
}
},
{
"settle_id": "stl_dc1aad35-409c-416d-b267-31be430d2401",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_dc0a2890-688f-4dc7-872b-820f23835dbd",
"settle_batch_id": "123123123",
"settle_date": "2016-10-11T22:00:00",
"settle_type": "deposit",
"settle_response_code": "A01",
"settle_amount": 1500.45,
"method": "cc",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_dc1aad35-409c-416d-b267-31be430d2401"
}
},
{
"settle_id": "stl_db452945-8866-40d5-8625-4d67fe7c0f2f",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_8d888da5-67b1-42ee-a211-3111fe916718",
"settle_batch_id": "123123123",
"settle_date": "2016-10-11T22:00:00",
"settle_type": "deposit",
"settle_response_code": "A01",
"settle_amount": 1103.45,
"method": "cc",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_db452945-8866-40d5-8625-4d67fe7c0f2f"
}
},
{
"settle_id": "stl_051849e9-d104-4fd7-a5b6-61f5c4183d65",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_173d67bb-0b30-47de-a82c-d8bb4429f84e",
"settle_batch_id": "123123123",
"settle_date": "2016-10-17T08:54:40.443",
"settle_type": "reject",
"settle_response_code": "R52",
"settle_amount": 0,
"method": "echeck",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_051849e9-d104-4fd7-a5b6-61f5c4183d65"
}
},
{
"settle_id": "stl_d66ca0ff-8ba3-48d8-9f20-8a4db3b74236",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_77aada8a-b324-4e1b-bdcf-2c3c4f8110ac",
"customer_id": "customer ID",
"order_number": "2925432",
"reference_id": "inv-232",
"settle_batch_id": "123123123",
"settle_date": "2016-10-11T22:00:00",
"settle_type": "deposit",
"settle_response_code": "A01",
"settle_amount": 1,
"method": "cc",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_d66ca0ff-8ba3-48d8-9f20-8a4db3b74236"
}
},
{
"settle_id": "stl_515761cb-7a78-4de3-aadb-9038a570cf57",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_e3beac6d-c421-430c-9ce8-96873d938c9b",
"customer_id": "customer ID",
"order_number": "2925432",
"reference_id": "inv-232",
"settle_batch_id": "123123123",
"settle_date": "2016-10-17T09:20:11.947",
"settle_type": "deposit",
"settle_response_code": "S01",
"settle_amount": 1,
"method": "echeck",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_515761cb-7a78-4de3-aadb-9038a570cf57"
}
},
{
"settle_id": "stl_17024769-b2a8-4e5e-9000-b27ff90e5518",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_a514ebde-cf90-4152-b67c-083ec78823a8",
"settle_batch_id": "123123123",
"settle_date": "2016-10-17T09:44:06.9",
"settle_response_code": "A01",
"method": "echeck",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_17024769-b2a8-4e5e-9000-b27ff90e5518"
}
},
{
"settle_id": "stl_edce2138-ce1f-4c12-828c-d603fb8bcfde",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_69106bd2-ed33-45c2-9bfc-7f3b57b50dfe",
"settle_batch_id": "123123123",
"settle_date": "2016-10-17T08:53:57.643",
"settle_type": "reject",
"settle_response_code": "R52",
"settle_amount": 0,
"method": "echeck",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_edce2138-ce1f-4c12-828c-d603fb8bcfde"
}
},
{
"settle_id": "stl_60e00b41-7dce-41f3-bc25-e9857cb5295d",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_67de8503-6723-44d4-ac05-72607dca3d67",
"settle_batch_id": "123123123",
"settle_date": "2016-10-17T08:54:46.893",
"settle_type": "reject",
"settle_response_code": "R52",
"settle_amount": 0,
"method": "echeck",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_60e00b41-7dce-41f3-bc25-e9857cb5295d"
}
},
{
"settle_id": "stl_42ccb5cb-0c0b-466a-ae04-fcb76803f03a",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_69009c9f-2fb4-4634-ad43-fd5acde6010c",
"settle_batch_id": "123123123",
"settle_date": "2016-10-11T22:00:00",
"settle_type": "deposit",
"settle_response_code": "A01",
"settle_amount": 102.45,
"method": "cc",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_42ccb5cb-0c0b-466a-ae04-fcb76803f03a"
}
}
],
"response": {
"environment": "live",
"response_desc": "Get Successful."
},
"links": {
"self": "https://api.forte.net/v3/settlements/?filter=start_settle_date+eq+%272016-10-01%27+AND+end_settle_date+eq+%272016-10-31%27"
}
}
Headers (13) |
|
---|---|
cache-control |
no-cache |
connection |
keep-alive |
content-encoding |
gzip |
content-type |
application/json; charset=utf-8 |
date |
Mon, 04 Dec 2017 22:16:01 GMT |
expires |
-1 |
pragma |
no-cache |
server |
Microsoft-IIS/8.5 |
transfer-encoding |
chunked |
x-aspnet-version |
4.0.30319 |
x-cdn |
Incapsula |
x-iinfo |
10-282049648-282063276 NNNN CT(33 44 0) RT(1512425701235 60075) q(0 0 0 -1) r(1 1) U16 |
x-powered-by |
ASP.NET |
GET Settlements from a Specific Data Range
{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/settlements/?filter=start_settle_date+eq+%272016-10-01%27+AND+end_settle_date+eq+%272016-10-31%27
Â
This URI returns all the transaction settlements for a Location within a specific date range.
Note: Please note that sending a request at the partner (org) level may result in a large data set and may cause timeout errors depending on the request. We recommend sending your GET request at the Merchant (Organization) level.
Example Request
curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/settlements/?filter=start_settle_date%2Beq%2B%25272016-10-01%2527%2BAND%2Bend_settle_date%2Beq%2B%25272016-10-31%2527' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--data ''
Example Response
{
"number_results": 13,
"search_criteria": {
"page_size": 50,
"page_index": 0,
"home_organization_id": "org_334316",
"resource_specific": {
"location_id": "loc_192642",
"start_settle_date": "2016-10-01T00:00:00",
"end_settle_date": "2016-10-31T00:00:00"
}
},
"results": [
{
"settle_id": "stl_f90ce5f6-3990-4384-bfd5-13dbc63dc895",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_05169f58-241f-45b0-a335-3569d4a4e13e",
"settle_batch_id": "123123123",
"settle_date": "2016-10-11T22:00:00",
"settle_type": "deposit",
"settle_response_code": "A01",
"settle_amount": 102.45,
"method": "cc",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_f90ce5f6-3990-4384-bfd5-13dbc63dc895"
}
},
{
"settle_id": "stl_a2c3dcf6-0c0f-4bfc-9bdf-266ce0e475e6",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_0da1b367-b2fc-4a8d-bf0c-6e17f9cfcade",
"settle_batch_id": "123123123",
"settle_date": "2016-10-17T08:55:22.333",
"settle_type": "reject",
"settle_response_code": "R49",
"settle_amount": 0,
"method": "echeck",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_a2c3dcf6-0c0f-4bfc-9bdf-266ce0e475e6"
}
},
{
"settle_id": "stl_45a168b1-2c14-4250-85b5-2bb306956489",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_0ebbc660-80a2-4a20-a610-11e2f205f742",
"settle_batch_id": "123123123",
"settle_date": "2016-10-11T22:00:00",
"settle_type": "withdrawal",
"settle_response_code": "A01",
"settle_amount": -1,
"method": "cc",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_45a168b1-2c14-4250-85b5-2bb306956489"
}
},
{
"settle_id": "stl_0e48f734-630e-4738-a990-2f1ba62d4614",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_eb64304c-6fbe-43db-9316-fdff1ef1a16a",
"settle_batch_id": "123123123",
"settle_date": "2016-10-11T22:00:00",
"settle_type": "deposit",
"settle_response_code": "A01",
"settle_amount": 45698.45,
"method": "cc",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_0e48f734-630e-4738-a990-2f1ba62d4614"
}
},
{
"settle_id": "stl_dc1aad35-409c-416d-b267-31be430d2401",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_dc0a2890-688f-4dc7-872b-820f23835dbd",
"settle_batch_id": "123123123",
"settle_date": "2016-10-11T22:00:00",
"settle_type": "deposit",
"settle_response_code": "A01",
"settle_amount": 1500.45,
"method": "cc",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_dc1aad35-409c-416d-b267-31be430d2401"
}
},
{
"settle_id": "stl_db452945-8866-40d5-8625-4d67fe7c0f2f",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_8d888da5-67b1-42ee-a211-3111fe916718",
"settle_batch_id": "123123123",
"settle_date": "2016-10-11T22:00:00",
"settle_type": "deposit",
"settle_response_code": "A01",
"settle_amount": 1103.45,
"method": "cc",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_db452945-8866-40d5-8625-4d67fe7c0f2f"
}
},
{
"settle_id": "stl_051849e9-d104-4fd7-a5b6-61f5c4183d65",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_173d67bb-0b30-47de-a82c-d8bb4429f84e",
"settle_batch_id": "123123123",
"settle_date": "2016-10-17T08:54:40.443",
"settle_type": "reject",
"settle_response_code": "R52",
"settle_amount": 0,
"method": "echeck",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_051849e9-d104-4fd7-a5b6-61f5c4183d65"
}
},
{
"settle_id": "stl_d66ca0ff-8ba3-48d8-9f20-8a4db3b74236",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_77aada8a-b324-4e1b-bdcf-2c3c4f8110ac",
"customer_id": "customer ID",
"order_number": "2925432",
"reference_id": "inv-232",
"settle_batch_id": "123123123",
"settle_date": "2016-10-11T22:00:00",
"settle_type": "deposit",
"settle_response_code": "A01",
"settle_amount": 1,
"method": "cc",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_d66ca0ff-8ba3-48d8-9f20-8a4db3b74236"
}
},
{
"settle_id": "stl_515761cb-7a78-4de3-aadb-9038a570cf57",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_e3beac6d-c421-430c-9ce8-96873d938c9b",
"customer_id": "customer ID",
"order_number": "2925432",
"reference_id": "inv-232",
"settle_batch_id": "123123123",
"settle_date": "2016-10-17T09:20:11.947",
"settle_type": "deposit",
"settle_response_code": "S01",
"settle_amount": 1,
"method": "echeck",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_515761cb-7a78-4de3-aadb-9038a570cf57"
}
},
{
"settle_id": "stl_17024769-b2a8-4e5e-9000-b27ff90e5518",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_a514ebde-cf90-4152-b67c-083ec78823a8",
"settle_batch_id": "123123123",
"settle_date": "2016-10-17T09:44:06.9",
"settle_response_code": "A01",
"method": "echeck",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_17024769-b2a8-4e5e-9000-b27ff90e5518"
}
},
{
"settle_id": "stl_edce2138-ce1f-4c12-828c-d603fb8bcfde",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_69106bd2-ed33-45c2-9bfc-7f3b57b50dfe",
"settle_batch_id": "123123123",
"settle_date": "2016-10-17T08:53:57.643",
"settle_type": "reject",
"settle_response_code": "R52",
"settle_amount": 0,
"method": "echeck",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_edce2138-ce1f-4c12-828c-d603fb8bcfde"
}
},
{
"settle_id": "stl_60e00b41-7dce-41f3-bc25-e9857cb5295d",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_67de8503-6723-44d4-ac05-72607dca3d67",
"settle_batch_id": "123123123",
"settle_date": "2016-10-17T08:54:46.893",
"settle_type": "reject",
"settle_response_code": "R52",
"settle_amount": 0,
"method": "echeck",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_60e00b41-7dce-41f3-bc25-e9857cb5295d"
}
},
{
"settle_id": "stl_42ccb5cb-0c0b-466a-ae04-fcb76803f03a",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_69009c9f-2fb4-4634-ad43-fd5acde6010c",
"settle_batch_id": "123123123",
"settle_date": "2016-10-11T22:00:00",
"settle_type": "deposit",
"settle_response_code": "A01",
"settle_amount": 102.45,
"method": "cc",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_42ccb5cb-0c0b-466a-ae04-fcb76803f03a"
}
}
],
"response": {
"environment": "live",
"response_desc": "Get Successful."
},
"links": {
"self": "https://api.forte.net/v3/settlements/?filter=start_settle_date+eq+%272016-10-01%27+AND+end_settle_date+eq+%272016-10-31%27"
}
}
Headers (12) |
|
---|---|
cache-control |
no-cache |
connection |
keep-alive |
content-type |
application/json; charset=utf-8 |
date |
Mon, 23 Oct 2017 15:56:41 GMT |
expires |
-1 |
pragma |
no-cache |
server |
Microsoft-IIS/8.5 |
transfer-encoding |
chunked |
x-aspnet-version |
4.0.30319 |
x-cdn |
Incapsula |
x-iinfo |
8-88496946-88496950 NNNN CT(48 39 0) RT(1508774201101 26) q(0 0 1 -1) r(2 2) U16 |
x-powered-by |
ASP.NET |
GET Settlements by Transaction ID
{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions/trn_{{transactionID}}/settlements/
This URI returns all the settlement data for a specific transaction. NOTE: Most transactions only have one settlement, but due to disputes and returns, some transactions may have multiple settlements.
Example Request
curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/transactions/{{transactionID}}/settlements/' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--data ''
Example Response
{
"settle_id": "stl_42ccb5cb-0c0b-466a-ae04-fcb76803f03a",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_69009c9f-2fb4-4634-ad43-fd5acde6010c",
"settle_batch_id": "123123123",
"settle_date": "2016-10-11T22:00:00",
"settle_type": "deposit",
"settle_response_code": "A01",
"settle_amount": 102.45,
"method": "cc",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_42ccb5cb-0c0b-466a-ae04-fcb76803f03a"
},
"response": {
"environment": "live",
"response_desc": "Get Successful."
}
}
Headers (17) |
|
---|---|
Cache-Control |
no-cache Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds |
Connection |
Close Options that are desired for the connection |
Content-Encoding |
gzip The type of encoding used on the data. |
Content-Type |
application/json; charset=utf-8 The mime type of this content |
date |
Wed, 30 May 2018 19:42:54 GMT The date and time that the message was sent |
expires |
-1 Gives the date/time after which the response is considered stale |
pragma |
no-cache Implementation-specific headers that may have various effects anywhere along the request-response chain. |
server |
Microsoft-IIS/8.5 A name for the server |
Set-Cookie |
incap_ses_516_636562=a; Max-Age=0; path=/; expires=Sun, 27 May 2018 10:06:08 GMT; Domain=.forte.net an HTTP cookie |
Set-Cookie  |
incap_ses_515_636562=a; Max-Age=0; path=/; expires=Sun, 27 May 2018 10:06:08 GMT; Domain=.forte.net an HTTP cookie |
Set-Cookie  |
incap_ses_618_621087=a; Max-Age=0; path=/; expires=Sun, 27 May 2018 10:06:08 GMT; Domain=.forte.net an HTTP cookie |
Transfer-Encoding |
chunked The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity. |
WWW-Authenticate |
Basic realm="sandbox.forte.net" Indicates the authentication scheme that should be used to access the requested entity. Â |
X-AspNet-Version |
4.0.30319 Custom header |
X-CDN |
Incapsula Custom header |
X-Iinfo  |
5-21504188-21504190 NNNN CT(32 33 0) RT(1527709373590 31) q(0 0 0 -1) r(3 3) U16 Custom header |
X-Powered-By  |
ASP.NET Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version) |
GET All Settlements from an Organization
{{baseURI}}/organizations/org_{{organizationID}}/settlements/
This URI returns all the transaction settlements for an Organization. To narrow your search data using specific criteria, use the following parameters to filter your results:
location_id
customer_token
transaction_id
customer_id
order_number
reference_id
start_settle_date / end_settle_date
settle_response_code
method
NOTES:
All date filter parameters are time aware.
If theÂ
start_settle_date
 andÂend_settle_date
 filters are not passed in via the body of the requst, the query automatically uses a default date range of 90 days. If you do not pass in any date filters, the system automatically uses the current date and the previous 90 days.
Please note that sending a request at the partner (org) level may result in a large data set and may cause timeout errors depending on the request. We recommend sending your GET request at the Merchant (Organization) level.
Example Request
curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/settlements/' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--data ''
Example Response
{
"number_results": 13,
"search_criteria": {
"page_size": 50,
"page_index": 0,
"home_organization_id": "org_334316",
"resource_specific": {
"start_settle_date": "2016-10-01T00:00:00",
"end_settle_date": "2016-10-31T00:00:00"
}
},
"results": [
{
"settle_id": "stl_f90ce5f6-3990-4384-bfd5-13dbc63dc895",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_05169f58-241f-45b0-a335-3569d4a4e13e",
"settle_batch_id": "123123123",
"settle_date": "2016-10-11T22:00:00",
"settle_type": "deposit",
"settle_response_code": "A01",
"settle_amount": 102.45,
"method": "cc",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_f90ce5f6-3990-4384-bfd5-13dbc63dc895"
}
},
{
"settle_id": "stl_a2c3dcf6-0c0f-4bfc-9bdf-266ce0e475e6",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_0da1b367-b2fc-4a8d-bf0c-6e17f9cfcade",
"settle_batch_id": "123123123",
"settle_date": "2016-10-17T08:55:22.333",
"settle_type": "reject",
"settle_response_code": "R49",
"settle_amount": 0,
"method": "echeck",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_a2c3dcf6-0c0f-4bfc-9bdf-266ce0e475e6"
}
},
{
"settle_id": "stl_45a168b1-2c14-4250-85b5-2bb306956489",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_0ebbc660-80a2-4a20-a610-11e2f205f742",
"settle_batch_id": "123123123",
"settle_date": "2016-10-11T22:00:00",
"settle_type": "withdrawal",
"settle_response_code": "A01",
"settle_amount": -1,
"method": "cc",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_45a168b1-2c14-4250-85b5-2bb306956489"
}
},
{
"settle_id": "stl_0e48f734-630e-4738-a990-2f1ba62d4614",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_eb64304c-6fbe-43db-9316-fdff1ef1a16a",
"settle_batch_id": "123123123",
"settle_date": "2016-10-11T22:00:00",
"settle_type": "deposit",
"settle_response_code": "A01",
"settle_amount": 45698.45,
"method": "cc",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_0e48f734-630e-4738-a990-2f1ba62d4614"
}
},
{
"settle_id": "stl_dc1aad35-409c-416d-b267-31be430d2401",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_dc0a2890-688f-4dc7-872b-820f23835dbd",
"settle_batch_id": "123123123",
"settle_date": "2016-10-11T22:00:00",
"settle_type": "deposit",
"settle_response_code": "A01",
"settle_amount": 1500.45,
"method": "cc",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_dc1aad35-409c-416d-b267-31be430d2401"
}
},
{
"settle_id": "stl_db452945-8866-40d5-8625-4d67fe7c0f2f",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_8d888da5-67b1-42ee-a211-3111fe916718",
"settle_batch_id": "123123123",
"settle_date": "2016-10-11T22:00:00",
"settle_type": "deposit",
"settle_response_code": "A01",
"settle_amount": 1103.45,
"method": "cc",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_db452945-8866-40d5-8625-4d67fe7c0f2f"
}
},
{
"settle_id": "stl_051849e9-d104-4fd7-a5b6-61f5c4183d65",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_173d67bb-0b30-47de-a82c-d8bb4429f84e",
"settle_batch_id": "123123123",
"settle_date": "2016-10-17T08:54:40.443",
"settle_type": "reject",
"settle_response_code": "R52",
"settle_amount": 0,
"method": "echeck",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_051849e9-d104-4fd7-a5b6-61f5c4183d65"
}
},
{
"settle_id": "stl_d66ca0ff-8ba3-48d8-9f20-8a4db3b74236",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_77aada8a-b324-4e1b-bdcf-2c3c4f8110ac",
"customer_id": "customer ID",
"order_number": "2925432",
"reference_id": "inv-232",
"settle_batch_id": "123123123",
"settle_date": "2016-10-11T22:00:00",
"settle_type": "deposit",
"settle_response_code": "A01",
"settle_amount": 1,
"method": "cc",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_d66ca0ff-8ba3-48d8-9f20-8a4db3b74236"
}
},
{
"settle_id": "stl_515761cb-7a78-4de3-aadb-9038a570cf57",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_e3beac6d-c421-430c-9ce8-96873d938c9b",
"customer_id": "customer ID",
"order_number": "2925432",
"reference_id": "inv-232",
"settle_batch_id": "123123123",
"settle_date": "2016-10-17T09:20:11.947",
"settle_type": "deposit",
"settle_response_code": "S01",
"settle_amount": 1,
"method": "echeck",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_515761cb-7a78-4de3-aadb-9038a570cf57"
}
},
{
"settle_id": "stl_17024769-b2a8-4e5e-9000-b27ff90e5518",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_a514ebde-cf90-4152-b67c-083ec78823a8",
"settle_batch_id": "123123123",
"settle_date": "2016-10-17T09:44:06.9",
"settle_response_code": "A01",
"method": "echeck",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_17024769-b2a8-4e5e-9000-b27ff90e5518"
}
},
{
"settle_id": "stl_edce2138-ce1f-4c12-828c-d603fb8bcfde",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_69106bd2-ed33-45c2-9bfc-7f3b57b50dfe",
"settle_batch_id": "123123123",
"settle_date": "2016-10-17T08:53:57.643",
"settle_type": "reject",
"settle_response_code": "R52",
"settle_amount": 0,
"method": "echeck",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_edce2138-ce1f-4c12-828c-d603fb8bcfde"
}
},
{
"settle_id": "stl_60e00b41-7dce-41f3-bc25-e9857cb5295d",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_67de8503-6723-44d4-ac05-72607dca3d67",
"settle_batch_id": "123123123",
"settle_date": "2016-10-17T08:54:46.893",
"settle_type": "reject",
"settle_response_code": "R52",
"settle_amount": 0,
"method": "echeck",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_60e00b41-7dce-41f3-bc25-e9857cb5295d"
}
},
{
"settle_id": "stl_42ccb5cb-0c0b-466a-ae04-fcb76803f03a",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_69009c9f-2fb4-4634-ad43-fd5acde6010c",
"settle_batch_id": "123123123",
"settle_date": "2016-10-11T22:00:00",
"settle_type": "deposit",
"settle_response_code": "A01",
"settle_amount": 102.45,
"method": "cc",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_42ccb5cb-0c0b-466a-ae04-fcb76803f03a"
}
}
],
"response": {
"environment": "live",
"response_desc": "Get Successful."
},
"links": {
"self": "https://api.forte.net/v3/settlements/?filter=start_settle_date+eq+%272016-10-01%27+AND+end_settle_date+eq+%272016-10-31%27"
}
}