|
| 1 | +# CyberSource\NetFundingsApi |
| 2 | + |
| 3 | +All URIs are relative to *https://apitest.cybersource.com* |
| 4 | + |
| 5 | +Method | HTTP request | Description |
| 6 | +------------- | ------------- | ------------- |
| 7 | +[**getNetFundingInfo**](NetFundingsApi.md#getNetFundingInfo) | **GET** /reporting/v3/net-fundings | Get Netfunding information for an account or a merchant |
| 8 | + |
| 9 | + |
| 10 | +# **getNetFundingInfo** |
| 11 | +> \CyberSource\Model\ReportingV3NetFundingsGet200Response getNetFundingInfo($startTime, $endTime, $organizationId, $groupName) |
| 12 | +
|
| 13 | +Get Netfunding information for an account or a merchant |
| 14 | + |
| 15 | +Get Netfunding information for an account or a merchant. |
| 16 | + |
| 17 | +### Example |
| 18 | +```php |
| 19 | +<?php |
| 20 | +require_once(__DIR__ . '/vendor/autoload.php'); |
| 21 | + |
| 22 | +$api_instance = new CyberSource\Api\NetFundingsApi(); |
| 23 | +$startTime = new \DateTime("2013-10-20T19:20:30+01:00"); // \DateTime | Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format. - https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14 **Example date format:** - yyyy-MM-dd'T'HH:mm:ssXXX |
| 24 | +$endTime = new \DateTime("2013-10-20T19:20:30+01:00"); // \DateTime | Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format. - https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14 **Example date format:** - yyyy-MM-dd'T'HH:mm:ssXXX |
| 25 | +$organizationId = "organizationId_example"; // string | Valid Cybersource Organization Id |
| 26 | +$groupName = "groupName_example"; // string | Valid CyberSource Group Name. |
| 27 | + |
| 28 | +try { |
| 29 | + $result = $api_instance->getNetFundingInfo($startTime, $endTime, $organizationId, $groupName); |
| 30 | + print_r($result); |
| 31 | +} catch (Exception $e) { |
| 32 | + echo 'Exception when calling NetFundingsApi->getNetFundingInfo: ', $e->getMessage(), PHP_EOL; |
| 33 | +} |
| 34 | +?> |
| 35 | +``` |
| 36 | + |
| 37 | +### Parameters |
| 38 | + |
| 39 | +Name | Type | Description | Notes |
| 40 | +------------- | ------------- | ------------- | ------------- |
| 41 | + **startTime** | **\DateTime**| Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format. - https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14 **Example date format:** - yyyy-MM-dd'T'HH:mm:ssXXX | |
| 42 | + **endTime** | **\DateTime**| Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format. - https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14 **Example date format:** - yyyy-MM-dd'T'HH:mm:ssXXX | |
| 43 | + **organizationId** | **string**| Valid Cybersource Organization Id | [optional] |
| 44 | + **groupName** | **string**| Valid CyberSource Group Name. | [optional] |
| 45 | + |
| 46 | +### Return type |
| 47 | + |
| 48 | +[**\CyberSource\Model\ReportingV3NetFundingsGet200Response**](../Model/ReportingV3NetFundingsGet200Response.md) |
| 49 | + |
| 50 | +### Authorization |
| 51 | + |
| 52 | +No authorization required |
| 53 | + |
| 54 | +### HTTP request headers |
| 55 | + |
| 56 | + - **Content-Type**: application/json;charset=utf-8 |
| 57 | + - **Accept**: application/hal+json |
| 58 | + |
| 59 | +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) |
| 60 | + |
0 commit comments