Skip to main content
POST
/
import
/
settlements
/
recon
Get Import Settlement Recon Details
curl --request POST \
  --url https://sandbox.cashfree.com/import/settlements/recon \
  --header 'Content-Type: application/json' \
  --header 'x-api-version: <x-api-version>' \
  --header 'x-client-id: <x-client-id>' \
  --header 'x-client-secret: <x-client-secret>' \
  --data '
{
  "filter": {
    "start_date": "2025-09-01T01:01:01.00+05:30",
    "end_date": "2025-09-02T01:01:01.00+05:30",
    "cf_ica_settlement_ids": [
      123
    ],
    "settlement_utrs": [
      "UTR123456789"
    ]
  },
  "pagination": {
    "limit": 123,
    "cursor": "<string>"
  }
}
'
import requests

url = "https://sandbox.cashfree.com/import/settlements/recon"

payload = {
    "filter": {
        "start_date": "2025-09-01T01:01:01.00+05:30",
        "end_date": "2025-09-02T01:01:01.00+05:30",
        "cf_ica_settlement_ids": [123],
        "settlement_utrs": ["UTR123456789"]
    },
    "pagination": {
        "limit": 123,
        "cursor": "<string>"
    }
}
headers = {
    "x-client-id": "<x-client-id>",
    "x-client-secret": "<x-client-secret>",
    "x-api-version": "<x-api-version>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
const options = {
  method: 'POST',
  headers: {
    'x-client-id': '<x-client-id>',
    'x-client-secret': '<x-client-secret>',
    'x-api-version': '<x-api-version>',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    filter: {
      start_date: '2025-09-01T01:01:01.00+05:30',
      end_date: '2025-09-02T01:01:01.00+05:30',
      cf_ica_settlement_ids: [123],
      settlement_utrs: ['UTR123456789']
    },
    pagination: {limit: 123, cursor: '<string>'}
  })
};

fetch('https://sandbox.cashfree.com/import/settlements/recon', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
  CURLOPT_URL => "https://sandbox.cashfree.com/import/settlements/recon",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => json_encode([
    'filter' => [
        'start_date' => '2025-09-01T01:01:01.00+05:30',
        'end_date' => '2025-09-02T01:01:01.00+05:30',
        'cf_ica_settlement_ids' => [
                123
        ],
        'settlement_utrs' => [
                'UTR123456789'
        ]
    ],
    'pagination' => [
        'limit' => 123,
        'cursor' => '<string>'
    ]
  ]),
  CURLOPT_HTTPHEADER => [
    "Content-Type: application/json",
    "x-api-version: <x-api-version>",
    "x-client-id: <x-client-id>",
    "x-client-secret: <x-client-secret>"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://sandbox.cashfree.com/import/settlements/recon"

	payload := strings.NewReader("{\n  \"filter\": {\n    \"start_date\": \"2025-09-01T01:01:01.00+05:30\",\n    \"end_date\": \"2025-09-02T01:01:01.00+05:30\",\n    \"cf_ica_settlement_ids\": [\n      123\n    ],\n    \"settlement_utrs\": [\n      \"UTR123456789\"\n    ]\n  },\n  \"pagination\": {\n    \"limit\": 123,\n    \"cursor\": \"<string>\"\n  }\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("x-client-id", "<x-client-id>")
	req.Header.Add("x-client-secret", "<x-client-secret>")
	req.Header.Add("x-api-version", "<x-api-version>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.post("https://sandbox.cashfree.com/import/settlements/recon")
  .header("x-client-id", "<x-client-id>")
  .header("x-client-secret", "<x-client-secret>")
  .header("x-api-version", "<x-api-version>")
  .header("Content-Type", "application/json")
  .body("{\n  \"filter\": {\n    \"start_date\": \"2025-09-01T01:01:01.00+05:30\",\n    \"end_date\": \"2025-09-02T01:01:01.00+05:30\",\n    \"cf_ica_settlement_ids\": [\n      123\n    ],\n    \"settlement_utrs\": [\n      \"UTR123456789\"\n    ]\n  },\n  \"pagination\": {\n    \"limit\": 123,\n    \"cursor\": \"<string>\"\n  }\n}")
  .asString();
require 'uri'
require 'net/http'

url = URI("https://sandbox.cashfree.com/import/settlements/recon")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["x-client-id"] = '<x-client-id>'
request["x-client-secret"] = '<x-client-secret>'
request["x-api-version"] = '<x-api-version>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"filter\": {\n    \"start_date\": \"2025-09-01T01:01:01.00+05:30\",\n    \"end_date\": \"2025-09-02T01:01:01.00+05:30\",\n    \"cf_ica_settlement_ids\": [\n      123\n    ],\n    \"settlement_utrs\": [\n      \"UTR123456789\"\n    ]\n  },\n  \"pagination\": {\n    \"limit\": 123,\n    \"cursor\": \"<string>\"\n  }\n}"

response = http.request(request)
puts response.read_body
{
  "cursor": null,
  "limit": 1,
  "data": [
    {
      "event_id": "5114910810523",
      "entity": "recon",
      "event_type": "PAYMENT",
      "sale_type": "CREDIT",
      "event_time": "2024-08-02T13:32:27+05:30",
      "event_settlement_amount": 49856.58,
      "event_amount": 51000,
      "event_status": "SUCCESS",
      "event_currency": "INR",
      "order_id": "6f9db742-e423-40ed-afee-2e7898b98c9e",
      "customer_name": "Rachit",
      "customer_phone": "9101496247",
      "customer_email": "sk729485@gmail.com",
      "cf_payment_id": null,
      "payment_amount": null,
      "order_amount": 51000,
      "payment_time": null,
      "payment_service_charge": 969,
      "payment_service_tax": 174.42,
      "payment_utr": "123",
      "cf_ica_settlement_id": 7,
      "vendor_commission": 0,
      "split_service_charge": 0,
      "split_service_tax": 0,
      "settlement_utr": null,
      "refund_note": null,
      "refund_id": null,
      "refund_arn": null,
      "refund_processed_at": null,
      "closed_in_favor_of": null,
      "resolved_on": null,
      "dispute_category": null,
      "dispute_note": null,
      "dispute_resolved_on": null,
      "adjustment_remarks": null,
      "adjustment": null,
      "service_tax": null,
      "service_charge": null,
      "amount_settled": null,
      "payment_from": null,
      "payment_till": null,
      "reason": null,
      "settlement_initiated_on": null,
      "settlement_settled_on": null,
      "settlement_type": null,
      "settlement_charge": null,
      "settlement_tax": null,
      "payment_group": "UPI",
      "remarks": null
    }
  ]
}
{
  "type": "authentication_error",
  "message": "authentication Failed",
  "code": "request_failed"
}

Headers

x-client-id
string
required

Client ID generated from the merchant dashboard.

x-client-secret
string
required

Client secret generated from the merchant dashboard.

x-api-version
string
default:2023-08-01
required

API version to be used. Format is in YYYY-MM-DD.

Body

application/json
filter
object
required
pagination
object
required

Response

Success response for getting the import settlement recon details.

cursor
object

Cursor for pagination, used to fetch the next set of results

limit
number

Maximum number of records to return per page

Example:

3

data
object[]