|
| 1 | +# CyberSource::NetFundingsApi |
| 2 | + |
| 3 | +All URIs are relative to *https://apitest.cybersource.com* |
| 4 | + |
| 5 | +Method | HTTP request | Description |
| 6 | +------------- | ------------- | ------------- |
| 7 | +[**get_net_funding_info**](NetFundingsApi.md#get_net_funding_info) | **GET** /reporting/v3/net-fundings | Get Netfunding information for an account or a merchant |
| 8 | + |
| 9 | + |
| 10 | +# **get_net_funding_info** |
| 11 | +> ReportingV3NetFundingsGet200Response get_net_funding_info(start_time, end_time, opts) |
| 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 | +```ruby |
| 19 | +# load the gem |
| 20 | +require 'cybersource_rest_client' |
| 21 | + |
| 22 | +api_instance = CyberSource::NetFundingsApi.new |
| 23 | + |
| 24 | +start_time = DateTime.parse("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 |
| 25 | + |
| 26 | +end_time = DateTime.parse("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 |
| 27 | + |
| 28 | +opts = { |
| 29 | + organization_id: "organization_id_example", # String | Valid Cybersource Organization Id |
| 30 | + group_name: "group_name_example" # String | Valid CyberSource Group Name. |
| 31 | +} |
| 32 | + |
| 33 | +begin |
| 34 | + #Get Netfunding information for an account or a merchant |
| 35 | + result = api_instance.get_net_funding_info(start_time, end_time, opts) |
| 36 | + p result |
| 37 | +rescue CyberSource::ApiError => e |
| 38 | + puts "Exception when calling NetFundingsApi->get_net_funding_info: #{e}" |
| 39 | +end |
| 40 | +``` |
| 41 | + |
| 42 | +### Parameters |
| 43 | + |
| 44 | +Name | Type | Description | Notes |
| 45 | +------------- | ------------- | ------------- | ------------- |
| 46 | + **start_time** | **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 | |
| 47 | + **end_time** | **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 | |
| 48 | + **organization_id** | **String**| Valid Cybersource Organization Id | [optional] |
| 49 | + **group_name** | **String**| Valid CyberSource Group Name. | [optional] |
| 50 | + |
| 51 | +### Return type |
| 52 | + |
| 53 | +[**ReportingV3NetFundingsGet200Response**](ReportingV3NetFundingsGet200Response.md) |
| 54 | + |
| 55 | +### Authorization |
| 56 | + |
| 57 | +No authorization required |
| 58 | + |
| 59 | +### HTTP request headers |
| 60 | + |
| 61 | + - **Content-Type**: application/json;charset=utf-8 |
| 62 | + - **Accept**: application/hal+json |
| 63 | + |
| 64 | + |
| 65 | + |
0 commit comments