velopayments 2.11.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/Gemfile.lock +79 -0
- data/LICENSE +201 -0
- data/Makefile +39 -0
- data/README.md +279 -0
- data/Rakefile +10 -0
- data/docs/Address.md +31 -0
- data/docs/Challenge.md +19 -0
- data/docs/Company.md +19 -0
- data/docs/CountriesApi.md +106 -0
- data/docs/CreatePayee.md +59 -0
- data/docs/CreatePayeesCSVRequest.md +71 -0
- data/docs/CreatePayeesCSVResponse.md +19 -0
- data/docs/CreatePayeesRequest.md +19 -0
- data/docs/CreatePaymentChannel.md +29 -0
- data/docs/CreatePayoutRequest.md +21 -0
- data/docs/CurrenciesApi.md +57 -0
- data/docs/FailedSubmission.md +19 -0
- data/docs/FundingAudit.md +31 -0
- data/docs/FundingEvent.md +21 -0
- data/docs/FundingEventType.md +16 -0
- data/docs/FundingManagerApi.md +347 -0
- data/docs/FundingRequest.md +17 -0
- data/docs/FundingRequest2.md +17 -0
- data/docs/FxSummary.md +35 -0
- data/docs/GetFundingsResponse.md +21 -0
- data/docs/GetPaymentsForPayoutResponse.md +23 -0
- data/docs/GetPaymentsForPayoutResponseLinks.md +19 -0
- data/docs/GetPaymentsForPayoutResponsePage.md +25 -0
- data/docs/GetPaymentsForPayoutResponseSummary.md +25 -0
- data/docs/GetPayoutApi.md +61 -0
- data/docs/GetPayoutStatistics.md +19 -0
- data/docs/GetPayoutsResponse.md +23 -0
- data/docs/Individual.md +21 -0
- data/docs/IndividualName.md +23 -0
- data/docs/InstructPayoutApi.md +60 -0
- data/docs/InvitationStatusResponse.md +17 -0
- data/docs/InvitePayeeRequest.md +17 -0
- data/docs/Language.md +16 -0
- data/docs/ListPaymentsResponse.md +23 -0
- data/docs/ListSourceAccountResponse.md +21 -0
- data/docs/MarketingOptIn.md +19 -0
- data/docs/OfacStatus.md +16 -0
- data/docs/OnboardedStatus.md +16 -0
- data/docs/PagedResponse.md +19 -0
- data/docs/PagedResponsePage.md +25 -0
- data/docs/Payee.md +57 -0
- data/docs/PayeeInvitationApi.md +222 -0
- data/docs/PayeeInvitationStatus.md +21 -0
- data/docs/PayeeResponse.md +23 -0
- data/docs/PayeeType.md +16 -0
- data/docs/PayeesApi.md +192 -0
- data/docs/PaymentAuditCurrency.md +16 -0
- data/docs/PaymentAuditServiceApi.md +424 -0
- data/docs/PaymentChannel.md +29 -0
- data/docs/PaymentChannelCountry.md +19 -0
- data/docs/PaymentChannelRule.md +29 -0
- data/docs/PaymentChannelRulesResponse.md +17 -0
- data/docs/PaymentEventResponse.md +39 -0
- data/docs/PaymentInstruction.md +27 -0
- data/docs/PaymentResponse.md +81 -0
- data/docs/Payor.md +55 -0
- data/docs/PayorApplicationsApi.md +119 -0
- data/docs/PayorBrandingResponse.md +25 -0
- data/docs/PayorCreateApiKeyRequest.md +21 -0
- data/docs/PayorCreateApiKeyResponse.md +19 -0
- data/docs/PayorCreateApplicationRequest.md +19 -0
- data/docs/PayorEmailOptOutRequest.md +17 -0
- data/docs/PayorFundingBankDetailsUpdate.md +21 -0
- data/docs/PayorLogoRequest.md +17 -0
- data/docs/PayorRef.md +21 -0
- data/docs/PayorsApi.md +224 -0
- data/docs/PayoutHistoryApi.md +142 -0
- data/docs/PayoutStatus.md +16 -0
- data/docs/PayoutSummaryAudit.md +39 -0
- data/docs/PayoutSummaryResponse.md +31 -0
- data/docs/QueryBatchResponse.md +23 -0
- data/docs/QuoteFxSummary.md +37 -0
- data/docs/QuotePayoutApi.md +61 -0
- data/docs/QuoteResponse.md +17 -0
- data/docs/RejectedPayment.md +31 -0
- data/docs/Social.md +21 -0
- data/docs/SourceAccount.md +23 -0
- data/docs/SourceAccountResponse.md +39 -0
- data/docs/SourceAccountSummary.md +21 -0
- data/docs/SubmitPayoutApi.md +60 -0
- data/docs/SupportedCountriesResponse.md +17 -0
- data/docs/SupportedCountry.md +19 -0
- data/docs/SupportedCurrency.md +19 -0
- data/docs/SupportedCurrencyResponse.md +17 -0
- data/docs/WithdrawPayoutApi.md +60 -0
- data/lib/velopayments.rb +124 -0
- data/lib/velopayments/api/countries_api.rb +116 -0
- data/lib/velopayments/api/currencies_api.rb +69 -0
- data/lib/velopayments/api/funding_manager_api.rb +374 -0
- data/lib/velopayments/api/get_payout_api.rb +75 -0
- data/lib/velopayments/api/instruct_payout_api.rb +72 -0
- data/lib/velopayments/api/payee_invitation_api.rb +244 -0
- data/lib/velopayments/api/payees_api.rb +217 -0
- data/lib/velopayments/api/payment_audit_service_api.rb +473 -0
- data/lib/velopayments/api/payor_applications_api.rb +147 -0
- data/lib/velopayments/api/payors_api.rb +241 -0
- data/lib/velopayments/api/payout_history_api.rb +165 -0
- data/lib/velopayments/api/quote_payout_api.rb +75 -0
- data/lib/velopayments/api/submit_payout_api.rb +74 -0
- data/lib/velopayments/api/withdraw_payout_api.rb +72 -0
- data/lib/velopayments/api_client.rb +387 -0
- data/lib/velopayments/api_error.rb +57 -0
- data/lib/velopayments/configuration.rb +251 -0
- data/lib/velopayments/models/address.rb +478 -0
- data/lib/velopayments/models/challenge.rb +271 -0
- data/lib/velopayments/models/company.rb +256 -0
- data/lib/velopayments/models/create_payee.rb +466 -0
- data/lib/velopayments/models/create_payees_csv_request.rb +1052 -0
- data/lib/velopayments/models/create_payees_csv_response.rb +207 -0
- data/lib/velopayments/models/create_payees_request.rb +217 -0
- data/lib/velopayments/models/create_payment_channel.rb +414 -0
- data/lib/velopayments/models/create_payout_request.rb +226 -0
- data/lib/velopayments/models/failed_submission.rb +205 -0
- data/lib/velopayments/models/funding_audit.rb +295 -0
- data/lib/velopayments/models/funding_event.rb +214 -0
- data/lib/velopayments/models/funding_event_type.rb +41 -0
- data/lib/velopayments/models/funding_request.rb +230 -0
- data/lib/velopayments/models/funding_request2.rb +230 -0
- data/lib/velopayments/models/fx_summary.rb +363 -0
- data/lib/velopayments/models/get_fundings_response.rb +223 -0
- data/lib/velopayments/models/get_payments_for_payout_response.rb +228 -0
- data/lib/velopayments/models/get_payments_for_payout_response_links.rb +205 -0
- data/lib/velopayments/models/get_payments_for_payout_response_page.rb +232 -0
- data/lib/velopayments/models/get_payments_for_payout_response_summary.rb +232 -0
- data/lib/velopayments/models/get_payout_statistics.rb +215 -0
- data/lib/velopayments/models/get_payouts_response.rb +228 -0
- data/lib/velopayments/models/individual.rb +224 -0
- data/lib/velopayments/models/individual_name.rb +337 -0
- data/lib/velopayments/models/invitation_status_response.rb +203 -0
- data/lib/velopayments/models/invite_payee_request.rb +201 -0
- data/lib/velopayments/models/language.rb +45 -0
- data/lib/velopayments/models/list_payments_response.rb +228 -0
- data/lib/velopayments/models/list_source_account_response.rb +219 -0
- data/lib/velopayments/models/marketing_opt_in.rb +205 -0
- data/lib/velopayments/models/ofac_status.rb +37 -0
- data/lib/velopayments/models/onboarded_status.rb +38 -0
- data/lib/velopayments/models/paged_response.rb +207 -0
- data/lib/velopayments/models/paged_response_page.rb +232 -0
- data/lib/velopayments/models/payee.rb +381 -0
- data/lib/velopayments/models/payee_invitation_status.rb +258 -0
- data/lib/velopayments/models/payee_response.rb +228 -0
- data/lib/velopayments/models/payee_type.rb +36 -0
- data/lib/velopayments/models/payment_audit_currency.rb +37 -0
- data/lib/velopayments/models/payment_channel.rb +430 -0
- data/lib/velopayments/models/payment_channel_country.rb +207 -0
- data/lib/velopayments/models/payment_channel_rule.rb +250 -0
- data/lib/velopayments/models/payment_channel_rules_response.rb +198 -0
- data/lib/velopayments/models/payment_event_response.rb +351 -0
- data/lib/velopayments/models/payment_instruction.rb +430 -0
- data/lib/velopayments/models/payment_response.rb +587 -0
- data/lib/velopayments/models/payor.rb +435 -0
- data/lib/velopayments/models/payor_branding_response.rb +247 -0
- data/lib/velopayments/models/payor_create_api_key_request.rb +303 -0
- data/lib/velopayments/models/payor_create_api_key_response.rb +207 -0
- data/lib/velopayments/models/payor_create_application_request.rb +264 -0
- data/lib/velopayments/models/payor_email_opt_out_request.rb +196 -0
- data/lib/velopayments/models/payor_funding_bank_details_update.rb +316 -0
- data/lib/velopayments/models/payor_logo_request.rb +196 -0
- data/lib/velopayments/models/payor_ref.rb +214 -0
- data/lib/velopayments/models/payout_status.rb +43 -0
- data/lib/velopayments/models/payout_summary_audit.rb +314 -0
- data/lib/velopayments/models/payout_summary_response.rb +280 -0
- data/lib/velopayments/models/query_batch_response.rb +260 -0
- data/lib/velopayments/models/quote_fx_summary.rb +377 -0
- data/lib/velopayments/models/quote_response.rb +198 -0
- data/lib/velopayments/models/rejected_payment.rb +323 -0
- data/lib/velopayments/models/social.rb +214 -0
- data/lib/velopayments/models/source_account.rb +243 -0
- data/lib/velopayments/models/source_account_response.rb +341 -0
- data/lib/velopayments/models/source_account_summary.rb +224 -0
- data/lib/velopayments/models/supported_countries_response.rb +198 -0
- data/lib/velopayments/models/supported_country.rb +207 -0
- data/lib/velopayments/models/supported_currency.rb +206 -0
- data/lib/velopayments/models/supported_currency_response.rb +198 -0
- data/lib/velopayments/version.rb +15 -0
- data/oa3-config.json +8 -0
- data/spec/api/countries_api_spec.rb +57 -0
- data/spec/api/currencies_api_spec.rb +46 -0
- data/spec/api/funding_manager_api_spec.rb +117 -0
- data/spec/api/get_payout_api_spec.rb +47 -0
- data/spec/api/instruct_payout_api_spec.rb +47 -0
- data/spec/api/payee_invitation_api_spec.rb +84 -0
- data/spec/api/payees_api_spec.rb +82 -0
- data/spec/api/payment_audit_service_api_spec.rb +150 -0
- data/spec/api/payor_applications_api_spec.rb +62 -0
- data/spec/api/payors_api_spec.rb +85 -0
- data/spec/api/payout_history_api_spec.rb +71 -0
- data/spec/api/quote_payout_api_spec.rb +47 -0
- data/spec/api/submit_payout_api_spec.rb +47 -0
- data/spec/api/withdraw_payout_api_spec.rb +47 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/address_spec.rb +83 -0
- data/spec/models/challenge_spec.rb +47 -0
- data/spec/models/company_spec.rb +47 -0
- data/spec/models/create_payee_spec.rb +167 -0
- data/spec/models/create_payees_csv_request_spec.rb +211 -0
- data/spec/models/create_payees_csv_response_spec.rb +47 -0
- data/spec/models/create_payees_request_spec.rb +47 -0
- data/spec/models/create_payment_channel_spec.rb +81 -0
- data/spec/models/create_payout_request_spec.rb +53 -0
- data/spec/models/failed_submission_spec.rb +47 -0
- data/spec/models/funding_audit_spec.rb +87 -0
- data/spec/models/funding_event_spec.rb +53 -0
- data/spec/models/funding_event_type_spec.rb +35 -0
- data/spec/models/funding_request2_spec.rb +41 -0
- data/spec/models/funding_request_spec.rb +41 -0
- data/spec/models/fx_summary_spec.rb +103 -0
- data/spec/models/get_fundings_response_spec.rb +53 -0
- data/spec/models/get_payments_for_payout_response_links_spec.rb +47 -0
- data/spec/models/get_payments_for_payout_response_page_spec.rb +65 -0
- data/spec/models/get_payments_for_payout_response_spec.rb +59 -0
- data/spec/models/get_payments_for_payout_response_summary_spec.rb +65 -0
- data/spec/models/get_payout_statistics_spec.rb +47 -0
- data/spec/models/get_payouts_response_spec.rb +59 -0
- data/spec/models/individual_name_spec.rb +59 -0
- data/spec/models/individual_spec.rb +53 -0
- data/spec/models/invitation_status_response_spec.rb +41 -0
- data/spec/models/invite_payee_request_spec.rb +41 -0
- data/spec/models/language_spec.rb +35 -0
- data/spec/models/list_payments_response_spec.rb +59 -0
- data/spec/models/list_source_account_response_spec.rb +53 -0
- data/spec/models/marketing_opt_in_spec.rb +47 -0
- data/spec/models/ofac_status_spec.rb +35 -0
- data/spec/models/onboarded_status_spec.rb +35 -0
- data/spec/models/paged_response_page_spec.rb +65 -0
- data/spec/models/paged_response_spec.rb +47 -0
- data/spec/models/payee_invitation_status_spec.rb +57 -0
- data/spec/models/payee_response_spec.rb +59 -0
- data/spec/models/payee_spec.rb +161 -0
- data/spec/models/payee_type_spec.rb +35 -0
- data/spec/models/payment_audit_currency_spec.rb +35 -0
- data/spec/models/payment_channel_country_spec.rb +47 -0
- data/spec/models/payment_channel_rule_spec.rb +77 -0
- data/spec/models/payment_channel_rules_response_spec.rb +41 -0
- data/spec/models/payment_channel_spec.rb +81 -0
- data/spec/models/payment_event_response_spec.rb +111 -0
- data/spec/models/payment_instruction_spec.rb +75 -0
- data/spec/models/payment_response_spec.rb +241 -0
- data/spec/models/payor_branding_response_spec.rb +65 -0
- data/spec/models/payor_create_api_key_request_spec.rb +57 -0
- data/spec/models/payor_create_api_key_response_spec.rb +47 -0
- data/spec/models/payor_create_application_request_spec.rb +47 -0
- data/spec/models/payor_email_opt_out_request_spec.rb +41 -0
- data/spec/models/payor_funding_bank_details_update_spec.rb +53 -0
- data/spec/models/payor_logo_request_spec.rb +41 -0
- data/spec/models/payor_ref_spec.rb +53 -0
- data/spec/models/payor_spec.rb +163 -0
- data/spec/models/payout_status_spec.rb +35 -0
- data/spec/models/payout_summary_audit_spec.rb +107 -0
- data/spec/models/payout_summary_response_spec.rb +83 -0
- data/spec/models/query_batch_response_spec.rb +63 -0
- data/spec/models/quote_fx_summary_spec.rb +101 -0
- data/spec/models/quote_response_spec.rb +41 -0
- data/spec/models/rejected_payment_spec.rb +87 -0
- data/spec/models/social_spec.rb +53 -0
- data/spec/models/source_account_response_spec.rb +111 -0
- data/spec/models/source_account_spec.rb +59 -0
- data/spec/models/source_account_summary_spec.rb +53 -0
- data/spec/models/supported_countries_response_spec.rb +41 -0
- data/spec/models/supported_country_spec.rb +47 -0
- data/spec/models/supported_currency_response_spec.rb +41 -0
- data/spec/models/supported_currency_spec.rb +47 -0
- data/spec/spec_helper.rb +111 -0
- data/velopayments.gemspec +45 -0
- metadata +586 -0
@@ -0,0 +1,23 @@
|
|
1
|
+
# VeloPayments::PayeeResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**summary** | [**GetPaymentsForPayoutResponseSummary**](GetPaymentsForPayoutResponseSummary.md) | | [optional]
|
8
|
+
**page** | [**GetPaymentsForPayoutResponsePage**](GetPaymentsForPayoutResponsePage.md) | | [optional]
|
9
|
+
**links** | [**Array<GetPaymentsForPayoutResponseLinks>**](GetPaymentsForPayoutResponseLinks.md) | | [optional]
|
10
|
+
**content** | [**Array<Payee>**](Payee.md) | | [optional]
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'VeloPayments'
|
16
|
+
|
17
|
+
instance = VeloPayments::PayeeResponse.new(summary: null,
|
18
|
+
page: null,
|
19
|
+
links: null,
|
20
|
+
content: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
data/docs/PayeeType.md
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
# VeloPayments::PayeeType
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
|
8
|
+
## Code Sample
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'VeloPayments'
|
12
|
+
|
13
|
+
instance = VeloPayments::PayeeType.new()
|
14
|
+
```
|
15
|
+
|
16
|
+
|
data/docs/PayeesApi.md
ADDED
@@ -0,0 +1,192 @@
|
|
1
|
+
# VeloPayments::PayeesApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://api.sandbox.velopayments.com*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**delete_payee_by_id**](PayeesApi.md#delete_payee_by_id) | **DELETE** /v1/payees/{payeeId} | Delete Payee by Id
|
8
|
+
[**get_payee_by_id**](PayeesApi.md#get_payee_by_id) | **GET** /v1/payees/{payeeId} | Get Payee by Id
|
9
|
+
[**list_payees**](PayeesApi.md#list_payees) | **GET** /v1/payees | List Payees
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
## delete_payee_by_id
|
14
|
+
|
15
|
+
> delete_payee_by_id(payee_id)
|
16
|
+
|
17
|
+
Delete Payee by Id
|
18
|
+
|
19
|
+
This API will delete Payee by Id (UUID). Deletion by ID is not allowed if: * Payee ID is not found * If Payee has not been on-boarded * If Payee is in grace period * If Payee has existing payments
|
20
|
+
|
21
|
+
### Example
|
22
|
+
|
23
|
+
```ruby
|
24
|
+
# load the gem
|
25
|
+
require 'velopayments'
|
26
|
+
# setup authorization
|
27
|
+
VeloPayments.configure do |config|
|
28
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
29
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
30
|
+
end
|
31
|
+
|
32
|
+
api_instance = VeloPayments::PayeesApi.new
|
33
|
+
payee_id = 'payee_id_example' # String | The UUID of the payee.
|
34
|
+
|
35
|
+
begin
|
36
|
+
#Delete Payee by Id
|
37
|
+
api_instance.delete_payee_by_id(payee_id)
|
38
|
+
rescue VeloPayments::ApiError => e
|
39
|
+
puts "Exception when calling PayeesApi->delete_payee_by_id: #{e}"
|
40
|
+
end
|
41
|
+
```
|
42
|
+
|
43
|
+
### Parameters
|
44
|
+
|
45
|
+
|
46
|
+
Name | Type | Description | Notes
|
47
|
+
------------- | ------------- | ------------- | -------------
|
48
|
+
**payee_id** | [**String**](.md)| The UUID of the payee. |
|
49
|
+
|
50
|
+
### Return type
|
51
|
+
|
52
|
+
nil (empty response body)
|
53
|
+
|
54
|
+
### Authorization
|
55
|
+
|
56
|
+
[OAuth2](../README.md#OAuth2)
|
57
|
+
|
58
|
+
### HTTP request headers
|
59
|
+
|
60
|
+
- **Content-Type**: Not defined
|
61
|
+
- **Accept**: Not defined
|
62
|
+
|
63
|
+
|
64
|
+
## get_payee_by_id
|
65
|
+
|
66
|
+
> Payee get_payee_by_id(payee_id, opts)
|
67
|
+
|
68
|
+
Get Payee by Id
|
69
|
+
|
70
|
+
Get Payee by Id
|
71
|
+
|
72
|
+
### Example
|
73
|
+
|
74
|
+
```ruby
|
75
|
+
# load the gem
|
76
|
+
require 'velopayments'
|
77
|
+
# setup authorization
|
78
|
+
VeloPayments.configure do |config|
|
79
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
80
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
81
|
+
end
|
82
|
+
|
83
|
+
api_instance = VeloPayments::PayeesApi.new
|
84
|
+
payee_id = 'payee_id_example' # String | The UUID of the payee.
|
85
|
+
opts = {
|
86
|
+
sensitive: true # Boolean | Optional. If omitted or set to false, any Personal Identifiable Information (PII) values are returned masked. If set to true, and you have permission, the PII values will be returned as their original unmasked values.
|
87
|
+
}
|
88
|
+
|
89
|
+
begin
|
90
|
+
#Get Payee by Id
|
91
|
+
result = api_instance.get_payee_by_id(payee_id, opts)
|
92
|
+
p result
|
93
|
+
rescue VeloPayments::ApiError => e
|
94
|
+
puts "Exception when calling PayeesApi->get_payee_by_id: #{e}"
|
95
|
+
end
|
96
|
+
```
|
97
|
+
|
98
|
+
### Parameters
|
99
|
+
|
100
|
+
|
101
|
+
Name | Type | Description | Notes
|
102
|
+
------------- | ------------- | ------------- | -------------
|
103
|
+
**payee_id** | [**String**](.md)| The UUID of the payee. |
|
104
|
+
**sensitive** | **Boolean**| Optional. If omitted or set to false, any Personal Identifiable Information (PII) values are returned masked. If set to true, and you have permission, the PII values will be returned as their original unmasked values. | [optional]
|
105
|
+
|
106
|
+
### Return type
|
107
|
+
|
108
|
+
[**Payee**](Payee.md)
|
109
|
+
|
110
|
+
### Authorization
|
111
|
+
|
112
|
+
[OAuth2](../README.md#OAuth2)
|
113
|
+
|
114
|
+
### HTTP request headers
|
115
|
+
|
116
|
+
- **Content-Type**: Not defined
|
117
|
+
- **Accept**: application/json
|
118
|
+
|
119
|
+
|
120
|
+
## list_payees
|
121
|
+
|
122
|
+
> PayeeResponse list_payees(payor_id, opts)
|
123
|
+
|
124
|
+
List Payees
|
125
|
+
|
126
|
+
Get a paginated response listing the payees for a payor.
|
127
|
+
|
128
|
+
### Example
|
129
|
+
|
130
|
+
```ruby
|
131
|
+
# load the gem
|
132
|
+
require 'velopayments'
|
133
|
+
# setup authorization
|
134
|
+
VeloPayments.configure do |config|
|
135
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
136
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
137
|
+
end
|
138
|
+
|
139
|
+
api_instance = VeloPayments::PayeesApi.new
|
140
|
+
payor_id = 'payor_id_example' # String | The account owner Payor ID
|
141
|
+
opts = {
|
142
|
+
ofac_status: VeloPayments::OfacStatus.new, # OfacStatus | The ofacStatus of the payees.
|
143
|
+
onboarded_status: VeloPayments::OnboardedStatus.new, # OnboardedStatus | The onboarded status of the payees.
|
144
|
+
email: 'email_example', # String | Email address
|
145
|
+
display_name: 'display_name_example', # String | The display name of the payees.
|
146
|
+
remote_id: 'remote_id_example', # String | The remote id of the payees.
|
147
|
+
payee_type: VeloPayments::PayeeType.new, # PayeeType | The onboarded status of the payees.
|
148
|
+
payee_country: 'payee_country_example', # String | The country of the payees.
|
149
|
+
page: 1, # Integer | Page number. Default is 1.
|
150
|
+
page_size: 25, # Integer | Page size. Default is 25. Max allowable is 100.
|
151
|
+
sort: 'displayName:asc' # String | List of sort fields (e.g. ?sort=onboardedStatus:asc,name:asc) Default is name:asc 'name' is treated as company name for companies - last name + ',' + firstName for individuals The supported sort fields are - payeeId, displayName, payoutStatus, onboardedStatus.
|
152
|
+
}
|
153
|
+
|
154
|
+
begin
|
155
|
+
#List Payees
|
156
|
+
result = api_instance.list_payees(payor_id, opts)
|
157
|
+
p result
|
158
|
+
rescue VeloPayments::ApiError => e
|
159
|
+
puts "Exception when calling PayeesApi->list_payees: #{e}"
|
160
|
+
end
|
161
|
+
```
|
162
|
+
|
163
|
+
### Parameters
|
164
|
+
|
165
|
+
|
166
|
+
Name | Type | Description | Notes
|
167
|
+
------------- | ------------- | ------------- | -------------
|
168
|
+
**payor_id** | [**String**](.md)| The account owner Payor ID |
|
169
|
+
**ofac_status** | [**OfacStatus**](.md)| The ofacStatus of the payees. | [optional]
|
170
|
+
**onboarded_status** | [**OnboardedStatus**](.md)| The onboarded status of the payees. | [optional]
|
171
|
+
**email** | [**String**](.md)| Email address | [optional]
|
172
|
+
**display_name** | **String**| The display name of the payees. | [optional]
|
173
|
+
**remote_id** | **String**| The remote id of the payees. | [optional]
|
174
|
+
**payee_type** | [**PayeeType**](.md)| The onboarded status of the payees. | [optional]
|
175
|
+
**payee_country** | **String**| The country of the payees. | [optional]
|
176
|
+
**page** | **Integer**| Page number. Default is 1. | [optional] [default to 1]
|
177
|
+
**page_size** | **Integer**| Page size. Default is 25. Max allowable is 100. | [optional] [default to 25]
|
178
|
+
**sort** | **String**| List of sort fields (e.g. ?sort=onboardedStatus:asc,name:asc) Default is name:asc 'name' is treated as company name for companies - last name + ',' + firstName for individuals The supported sort fields are - payeeId, displayName, payoutStatus, onboardedStatus. | [optional] [default to 'displayName:asc']
|
179
|
+
|
180
|
+
### Return type
|
181
|
+
|
182
|
+
[**PayeeResponse**](PayeeResponse.md)
|
183
|
+
|
184
|
+
### Authorization
|
185
|
+
|
186
|
+
[OAuth2](../README.md#OAuth2)
|
187
|
+
|
188
|
+
### HTTP request headers
|
189
|
+
|
190
|
+
- **Content-Type**: Not defined
|
191
|
+
- **Accept**: application/json
|
192
|
+
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# VeloPayments::PaymentAuditCurrency
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
|
8
|
+
## Code Sample
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'VeloPayments'
|
12
|
+
|
13
|
+
instance = VeloPayments::PaymentAuditCurrency.new()
|
14
|
+
```
|
15
|
+
|
16
|
+
|
@@ -0,0 +1,424 @@
|
|
1
|
+
# VeloPayments::PaymentAuditServiceApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://api.sandbox.velopayments.com*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**export_transactions_csv**](PaymentAuditServiceApi.md#export_transactions_csv) | **GET** /v4/paymentaudit/transactions | Export Transactions
|
8
|
+
[**get_fundings**](PaymentAuditServiceApi.md#get_fundings) | **GET** /v1/paymentaudit/fundings | Get Fundings for Payor
|
9
|
+
[**get_payment_details**](PaymentAuditServiceApi.md#get_payment_details) | **GET** /v3/paymentaudit/payments/{paymentId} | Get Payment
|
10
|
+
[**get_payments_for_payout**](PaymentAuditServiceApi.md#get_payments_for_payout) | **GET** /v3/paymentaudit/payouts/{payoutId} | Get Payments for Payout
|
11
|
+
[**get_payouts_for_payor**](PaymentAuditServiceApi.md#get_payouts_for_payor) | **GET** /v3/paymentaudit/payouts | Get Payouts for Payor
|
12
|
+
[**list_payments_audit**](PaymentAuditServiceApi.md#list_payments_audit) | **GET** /v3/paymentaudit/payments | Get List of Payments
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
## export_transactions_csv
|
17
|
+
|
18
|
+
> String export_transactions_csv(opts)
|
19
|
+
|
20
|
+
Export Transactions
|
21
|
+
|
22
|
+
Download a CSV file containing payments in a date range. Uses Transfer-Encoding - chunked to stream to the client. Date range is inclusive of both the start and end dates.
|
23
|
+
|
24
|
+
### Example
|
25
|
+
|
26
|
+
```ruby
|
27
|
+
# load the gem
|
28
|
+
require 'velopayments'
|
29
|
+
# setup authorization
|
30
|
+
VeloPayments.configure do |config|
|
31
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
32
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
33
|
+
end
|
34
|
+
|
35
|
+
api_instance = VeloPayments::PaymentAuditServiceApi.new
|
36
|
+
opts = {
|
37
|
+
payor_id: 'payor_id_example', # String | The account owner Payor ID
|
38
|
+
start_date: Date.parse('2013-10-20'), # Date | Start date, inclusive. Format is YYYY-MM-DD
|
39
|
+
submitted_date_from: Date.parse('2013-10-20') # Date | Start date, inclusive. Format is YYYY-MM-DD
|
40
|
+
}
|
41
|
+
|
42
|
+
begin
|
43
|
+
#Export Transactions
|
44
|
+
result = api_instance.export_transactions_csv(opts)
|
45
|
+
p result
|
46
|
+
rescue VeloPayments::ApiError => e
|
47
|
+
puts "Exception when calling PaymentAuditServiceApi->export_transactions_csv: #{e}"
|
48
|
+
end
|
49
|
+
```
|
50
|
+
|
51
|
+
### Parameters
|
52
|
+
|
53
|
+
|
54
|
+
Name | Type | Description | Notes
|
55
|
+
------------- | ------------- | ------------- | -------------
|
56
|
+
**payor_id** | [**String**](.md)| The account owner Payor ID | [optional]
|
57
|
+
**start_date** | **Date**| Start date, inclusive. Format is YYYY-MM-DD | [optional]
|
58
|
+
**submitted_date_from** | **Date**| Start date, inclusive. Format is YYYY-MM-DD | [optional]
|
59
|
+
|
60
|
+
### Return type
|
61
|
+
|
62
|
+
**String**
|
63
|
+
|
64
|
+
### Authorization
|
65
|
+
|
66
|
+
[OAuth2](../README.md#OAuth2)
|
67
|
+
|
68
|
+
### HTTP request headers
|
69
|
+
|
70
|
+
- **Content-Type**: Not defined
|
71
|
+
- **Accept**: application/csv
|
72
|
+
|
73
|
+
|
74
|
+
## get_fundings
|
75
|
+
|
76
|
+
> GetFundingsResponse get_fundings(opts)
|
77
|
+
|
78
|
+
Get Fundings for Payor
|
79
|
+
|
80
|
+
Get a list of Fundings for a payor.
|
81
|
+
|
82
|
+
### Example
|
83
|
+
|
84
|
+
```ruby
|
85
|
+
# load the gem
|
86
|
+
require 'velopayments'
|
87
|
+
# setup authorization
|
88
|
+
VeloPayments.configure do |config|
|
89
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
90
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
91
|
+
end
|
92
|
+
|
93
|
+
api_instance = VeloPayments::PaymentAuditServiceApi.new
|
94
|
+
opts = {
|
95
|
+
payor_id: 'payor_id_example', # String | The account owner Payor ID
|
96
|
+
page: 1, # Integer | Page number. Default is 1.
|
97
|
+
page_size: 25, # Integer | Page size. Default is 25. Max allowable is 100.
|
98
|
+
sort: 'sort_example' # String | List of sort fields. Example: ```?sort=destinationCurrency:asc,destinationAmount:asc``` Default is no sort. The supported sort fields are: dateTime and amount.
|
99
|
+
}
|
100
|
+
|
101
|
+
begin
|
102
|
+
#Get Fundings for Payor
|
103
|
+
result = api_instance.get_fundings(opts)
|
104
|
+
p result
|
105
|
+
rescue VeloPayments::ApiError => e
|
106
|
+
puts "Exception when calling PaymentAuditServiceApi->get_fundings: #{e}"
|
107
|
+
end
|
108
|
+
```
|
109
|
+
|
110
|
+
### Parameters
|
111
|
+
|
112
|
+
|
113
|
+
Name | Type | Description | Notes
|
114
|
+
------------- | ------------- | ------------- | -------------
|
115
|
+
**payor_id** | [**String**](.md)| The account owner Payor ID | [optional]
|
116
|
+
**page** | **Integer**| Page number. Default is 1. | [optional] [default to 1]
|
117
|
+
**page_size** | **Integer**| Page size. Default is 25. Max allowable is 100. | [optional] [default to 25]
|
118
|
+
**sort** | **String**| List of sort fields. Example: ```?sort=destinationCurrency:asc,destinationAmount:asc``` Default is no sort. The supported sort fields are: dateTime and amount. | [optional]
|
119
|
+
|
120
|
+
### Return type
|
121
|
+
|
122
|
+
[**GetFundingsResponse**](GetFundingsResponse.md)
|
123
|
+
|
124
|
+
### Authorization
|
125
|
+
|
126
|
+
[OAuth2](../README.md#OAuth2)
|
127
|
+
|
128
|
+
### HTTP request headers
|
129
|
+
|
130
|
+
- **Content-Type**: Not defined
|
131
|
+
- **Accept**: application/json
|
132
|
+
|
133
|
+
|
134
|
+
## get_payment_details
|
135
|
+
|
136
|
+
> PaymentResponse get_payment_details(payment_id, opts)
|
137
|
+
|
138
|
+
Get Payment
|
139
|
+
|
140
|
+
Get the payment with the given id. This contains the payment history.
|
141
|
+
|
142
|
+
### Example
|
143
|
+
|
144
|
+
```ruby
|
145
|
+
# load the gem
|
146
|
+
require 'velopayments'
|
147
|
+
# setup authorization
|
148
|
+
VeloPayments.configure do |config|
|
149
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
150
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
151
|
+
end
|
152
|
+
|
153
|
+
api_instance = VeloPayments::PaymentAuditServiceApi.new
|
154
|
+
payment_id = 'payment_id_example' # String | Payment Id
|
155
|
+
opts = {
|
156
|
+
sensitive: true # Boolean | Optional. If omitted or set to false, any Personal Identifiable Information (PII) values are returned masked. If set to true, and you have permission, the PII values will be returned as their original unmasked values.
|
157
|
+
}
|
158
|
+
|
159
|
+
begin
|
160
|
+
#Get Payment
|
161
|
+
result = api_instance.get_payment_details(payment_id, opts)
|
162
|
+
p result
|
163
|
+
rescue VeloPayments::ApiError => e
|
164
|
+
puts "Exception when calling PaymentAuditServiceApi->get_payment_details: #{e}"
|
165
|
+
end
|
166
|
+
```
|
167
|
+
|
168
|
+
### Parameters
|
169
|
+
|
170
|
+
|
171
|
+
Name | Type | Description | Notes
|
172
|
+
------------- | ------------- | ------------- | -------------
|
173
|
+
**payment_id** | [**String**](.md)| Payment Id |
|
174
|
+
**sensitive** | **Boolean**| Optional. If omitted or set to false, any Personal Identifiable Information (PII) values are returned masked. If set to true, and you have permission, the PII values will be returned as their original unmasked values. | [optional]
|
175
|
+
|
176
|
+
### Return type
|
177
|
+
|
178
|
+
[**PaymentResponse**](PaymentResponse.md)
|
179
|
+
|
180
|
+
### Authorization
|
181
|
+
|
182
|
+
[OAuth2](../README.md#OAuth2)
|
183
|
+
|
184
|
+
### HTTP request headers
|
185
|
+
|
186
|
+
- **Content-Type**: Not defined
|
187
|
+
- **Accept**: application/json
|
188
|
+
|
189
|
+
|
190
|
+
## get_payments_for_payout
|
191
|
+
|
192
|
+
> GetPaymentsForPayoutResponse get_payments_for_payout(payout_id, opts)
|
193
|
+
|
194
|
+
Get Payments for Payout
|
195
|
+
|
196
|
+
Get List of payments for Payout
|
197
|
+
|
198
|
+
### Example
|
199
|
+
|
200
|
+
```ruby
|
201
|
+
# load the gem
|
202
|
+
require 'velopayments'
|
203
|
+
# setup authorization
|
204
|
+
VeloPayments.configure do |config|
|
205
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
206
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
207
|
+
end
|
208
|
+
|
209
|
+
api_instance = VeloPayments::PaymentAuditServiceApi.new
|
210
|
+
payout_id = 'payout_id_example' # String | The id (UUID) of the payout.
|
211
|
+
opts = {
|
212
|
+
remote_id: 'remote_id_example', # String | The remote id of the payees.
|
213
|
+
status: 'status_example', # String | Payment Status
|
214
|
+
source_amount_from: 56, # Integer | The source amount from range filter. Filters for sourceAmount >= sourceAmountFrom
|
215
|
+
source_amount_to: 56, # Integer | The source amount to range filter. Filters for sourceAmount ⇐ sourceAmountTo
|
216
|
+
payment_amount_from: 56, # Integer | The payment amount from range filter. Filters for paymentAmount >= paymentAmountFrom
|
217
|
+
payment_amount_to: 56, # Integer | The payment amount to range filter. Filters for paymentAmount ⇐ paymentAmountTo
|
218
|
+
submitted_date_from: Date.parse('2013-10-20'), # Date | The submitted date from range filter. Format is yyyy-MM-dd.
|
219
|
+
submitted_date_to: Date.parse('2013-10-20'), # Date | The submitted date to range filter. Format is yyyy-MM-dd.
|
220
|
+
page: 1, # Integer | Page number. Default is 1.
|
221
|
+
page_size: 25, # Integer | Page size. Default is 25. Max allowable is 100.
|
222
|
+
sort: 'sort_example', # String | List of sort fields (e.g. ?sort=submittedDateTime:asc,status:asc). Default is sort by remoteId The supported sort fields are: sourceAmount, sourceCurrency, paymentAmount, paymentCurrency, routingNumber, accountNumber, remoteId, submittedDateTime and status
|
223
|
+
sensitive: true # Boolean | Optional. If omitted or set to false, any Personal Identifiable Information (PII) values are returned masked. If set to true, and you have permission, the PII values will be returned as their original unmasked values.
|
224
|
+
}
|
225
|
+
|
226
|
+
begin
|
227
|
+
#Get Payments for Payout
|
228
|
+
result = api_instance.get_payments_for_payout(payout_id, opts)
|
229
|
+
p result
|
230
|
+
rescue VeloPayments::ApiError => e
|
231
|
+
puts "Exception when calling PaymentAuditServiceApi->get_payments_for_payout: #{e}"
|
232
|
+
end
|
233
|
+
```
|
234
|
+
|
235
|
+
### Parameters
|
236
|
+
|
237
|
+
|
238
|
+
Name | Type | Description | Notes
|
239
|
+
------------- | ------------- | ------------- | -------------
|
240
|
+
**payout_id** | [**String**](.md)| The id (UUID) of the payout. |
|
241
|
+
**remote_id** | **String**| The remote id of the payees. | [optional]
|
242
|
+
**status** | **String**| Payment Status | [optional]
|
243
|
+
**source_amount_from** | **Integer**| The source amount from range filter. Filters for sourceAmount >= sourceAmountFrom | [optional]
|
244
|
+
**source_amount_to** | **Integer**| The source amount to range filter. Filters for sourceAmount ⇐ sourceAmountTo | [optional]
|
245
|
+
**payment_amount_from** | **Integer**| The payment amount from range filter. Filters for paymentAmount >= paymentAmountFrom | [optional]
|
246
|
+
**payment_amount_to** | **Integer**| The payment amount to range filter. Filters for paymentAmount ⇐ paymentAmountTo | [optional]
|
247
|
+
**submitted_date_from** | **Date**| The submitted date from range filter. Format is yyyy-MM-dd. | [optional]
|
248
|
+
**submitted_date_to** | **Date**| The submitted date to range filter. Format is yyyy-MM-dd. | [optional]
|
249
|
+
**page** | **Integer**| Page number. Default is 1. | [optional] [default to 1]
|
250
|
+
**page_size** | **Integer**| Page size. Default is 25. Max allowable is 100. | [optional] [default to 25]
|
251
|
+
**sort** | **String**| List of sort fields (e.g. ?sort=submittedDateTime:asc,status:asc). Default is sort by remoteId The supported sort fields are: sourceAmount, sourceCurrency, paymentAmount, paymentCurrency, routingNumber, accountNumber, remoteId, submittedDateTime and status | [optional]
|
252
|
+
**sensitive** | **Boolean**| Optional. If omitted or set to false, any Personal Identifiable Information (PII) values are returned masked. If set to true, and you have permission, the PII values will be returned as their original unmasked values. | [optional]
|
253
|
+
|
254
|
+
### Return type
|
255
|
+
|
256
|
+
[**GetPaymentsForPayoutResponse**](GetPaymentsForPayoutResponse.md)
|
257
|
+
|
258
|
+
### Authorization
|
259
|
+
|
260
|
+
[OAuth2](../README.md#OAuth2)
|
261
|
+
|
262
|
+
### HTTP request headers
|
263
|
+
|
264
|
+
- **Content-Type**: Not defined
|
265
|
+
- **Accept**: application/json
|
266
|
+
|
267
|
+
|
268
|
+
## get_payouts_for_payor
|
269
|
+
|
270
|
+
> GetPayoutsResponse get_payouts_for_payor(payor_id, opts)
|
271
|
+
|
272
|
+
Get Payouts for Payor
|
273
|
+
|
274
|
+
Get List of payouts for payor
|
275
|
+
|
276
|
+
### Example
|
277
|
+
|
278
|
+
```ruby
|
279
|
+
# load the gem
|
280
|
+
require 'velopayments'
|
281
|
+
# setup authorization
|
282
|
+
VeloPayments.configure do |config|
|
283
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
284
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
285
|
+
end
|
286
|
+
|
287
|
+
api_instance = VeloPayments::PaymentAuditServiceApi.new
|
288
|
+
payor_id = 'payor_id_example' # String | The account owner Payor ID
|
289
|
+
opts = {
|
290
|
+
payout_memo: 'payout_memo_example', # String | Payout Memo filter - case insensitive sub-string match
|
291
|
+
status: 'status_example', # String | Payout Status
|
292
|
+
submitted_date_from: Date.parse('2013-10-20'), # Date | The submitted date from range filter. Format is yyyy-MM-dd.
|
293
|
+
submitted_date_to: Date.parse('2013-10-20'), # Date | The submitted date to range filter. Format is yyyy-MM-dd.
|
294
|
+
page: 1, # Integer | Page number. Default is 1.
|
295
|
+
page_size: 25, # Integer | Page size. Default is 25. Max allowable is 100.
|
296
|
+
sort: 'sort_example' # String | List of sort fields (e.g. ?sort=submittedDateTime:asc,instructedDateTime:asc,status:asc) Default is submittedDateTime:asc The supported sort fields are: submittedDateTime, instructedDateTime, status.
|
297
|
+
}
|
298
|
+
|
299
|
+
begin
|
300
|
+
#Get Payouts for Payor
|
301
|
+
result = api_instance.get_payouts_for_payor(payor_id, opts)
|
302
|
+
p result
|
303
|
+
rescue VeloPayments::ApiError => e
|
304
|
+
puts "Exception when calling PaymentAuditServiceApi->get_payouts_for_payor: #{e}"
|
305
|
+
end
|
306
|
+
```
|
307
|
+
|
308
|
+
### Parameters
|
309
|
+
|
310
|
+
|
311
|
+
Name | Type | Description | Notes
|
312
|
+
------------- | ------------- | ------------- | -------------
|
313
|
+
**payor_id** | [**String**](.md)| The account owner Payor ID |
|
314
|
+
**payout_memo** | **String**| Payout Memo filter - case insensitive sub-string match | [optional]
|
315
|
+
**status** | **String**| Payout Status | [optional]
|
316
|
+
**submitted_date_from** | **Date**| The submitted date from range filter. Format is yyyy-MM-dd. | [optional]
|
317
|
+
**submitted_date_to** | **Date**| The submitted date to range filter. Format is yyyy-MM-dd. | [optional]
|
318
|
+
**page** | **Integer**| Page number. Default is 1. | [optional] [default to 1]
|
319
|
+
**page_size** | **Integer**| Page size. Default is 25. Max allowable is 100. | [optional] [default to 25]
|
320
|
+
**sort** | **String**| List of sort fields (e.g. ?sort=submittedDateTime:asc,instructedDateTime:asc,status:asc) Default is submittedDateTime:asc The supported sort fields are: submittedDateTime, instructedDateTime, status. | [optional]
|
321
|
+
|
322
|
+
### Return type
|
323
|
+
|
324
|
+
[**GetPayoutsResponse**](GetPayoutsResponse.md)
|
325
|
+
|
326
|
+
### Authorization
|
327
|
+
|
328
|
+
[OAuth2](../README.md#OAuth2)
|
329
|
+
|
330
|
+
### HTTP request headers
|
331
|
+
|
332
|
+
- **Content-Type**: Not defined
|
333
|
+
- **Accept**: application/json
|
334
|
+
|
335
|
+
|
336
|
+
## list_payments_audit
|
337
|
+
|
338
|
+
> ListPaymentsResponse list_payments_audit(opts)
|
339
|
+
|
340
|
+
Get List of Payments
|
341
|
+
|
342
|
+
Get payments for the given payor Id
|
343
|
+
|
344
|
+
### Example
|
345
|
+
|
346
|
+
```ruby
|
347
|
+
# load the gem
|
348
|
+
require 'velopayments'
|
349
|
+
# setup authorization
|
350
|
+
VeloPayments.configure do |config|
|
351
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
352
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
353
|
+
end
|
354
|
+
|
355
|
+
api_instance = VeloPayments::PaymentAuditServiceApi.new
|
356
|
+
opts = {
|
357
|
+
payee_id: 'payee_id_example', # String | The UUID of the payee.
|
358
|
+
payor_id: 'payor_id_example', # String | The account owner Payor Id. Required for external users.
|
359
|
+
payor_name: 'payor_name_example', # String | The payor’s name. This filters via a case insensitive substring match.
|
360
|
+
remote_id: 'remote_id_example', # String | The remote id of the payees.
|
361
|
+
status: 'status_example', # String | Payment Status
|
362
|
+
source_account_name: 'source_account_name_example', # String | The source account name filter. This filters via a case insensitive substring match.
|
363
|
+
source_amount_from: 56, # Integer | The source amount from range filter. Filters for sourceAmount >= sourceAmountFrom
|
364
|
+
source_amount_to: 56, # Integer | The source amount to range filter. Filters for sourceAmount ⇐ sourceAmountTo
|
365
|
+
source_currency: 'source_currency_example', # String | The source currency filter. Filters based on an exact match on the currency.
|
366
|
+
payment_amount_from: 56, # Integer | The payment amount from range filter. Filters for paymentAmount >= paymentAmountFrom
|
367
|
+
payment_amount_to: 56, # Integer | The payment amount to range filter. Filters for paymentAmount ⇐ paymentAmountTo
|
368
|
+
payment_currency: 'payment_currency_example', # String | The source currency filter. Filters based on an exact match on the currency.
|
369
|
+
submitted_date_from: Date.parse('2013-10-20'), # Date | The submitted date from range filter. Format is yyyy-MM-dd.
|
370
|
+
submitted_date_to: Date.parse('2013-10-20'), # Date | The submitted date to range filter. Format is yyyy-MM-dd.
|
371
|
+
payment_memo: 'payment_memo_example', # String | The payment memo filter. This filters via a case insensitive substring match.
|
372
|
+
page: 1, # Integer | Page number. Default is 1.
|
373
|
+
page_size: 25, # Integer | Page size. Default is 25. Max allowable is 100.
|
374
|
+
sort: 'sort_example', # String | List of sort fields (e.g. ?sort=submittedDateTime:asc,status:asc). Default is sort by remoteId The supported sort fields are: sourceAmount, sourceCurrency, paymentAmount, paymentCurrency, routingNumber, accountNumber, remoteId, submittedDateTime and status
|
375
|
+
sensitive: true # Boolean | Optional. If omitted or set to false, any Personal Identifiable Information (PII) values are returned masked. If set to true, and you have permission, the PII values will be returned as their original unmasked values.
|
376
|
+
}
|
377
|
+
|
378
|
+
begin
|
379
|
+
#Get List of Payments
|
380
|
+
result = api_instance.list_payments_audit(opts)
|
381
|
+
p result
|
382
|
+
rescue VeloPayments::ApiError => e
|
383
|
+
puts "Exception when calling PaymentAuditServiceApi->list_payments_audit: #{e}"
|
384
|
+
end
|
385
|
+
```
|
386
|
+
|
387
|
+
### Parameters
|
388
|
+
|
389
|
+
|
390
|
+
Name | Type | Description | Notes
|
391
|
+
------------- | ------------- | ------------- | -------------
|
392
|
+
**payee_id** | [**String**](.md)| The UUID of the payee. | [optional]
|
393
|
+
**payor_id** | [**String**](.md)| The account owner Payor Id. Required for external users. | [optional]
|
394
|
+
**payor_name** | **String**| The payor’s name. This filters via a case insensitive substring match. | [optional]
|
395
|
+
**remote_id** | **String**| The remote id of the payees. | [optional]
|
396
|
+
**status** | **String**| Payment Status | [optional]
|
397
|
+
**source_account_name** | **String**| The source account name filter. This filters via a case insensitive substring match. | [optional]
|
398
|
+
**source_amount_from** | **Integer**| The source amount from range filter. Filters for sourceAmount >= sourceAmountFrom | [optional]
|
399
|
+
**source_amount_to** | **Integer**| The source amount to range filter. Filters for sourceAmount ⇐ sourceAmountTo | [optional]
|
400
|
+
**source_currency** | **String**| The source currency filter. Filters based on an exact match on the currency. | [optional]
|
401
|
+
**payment_amount_from** | **Integer**| The payment amount from range filter. Filters for paymentAmount >= paymentAmountFrom | [optional]
|
402
|
+
**payment_amount_to** | **Integer**| The payment amount to range filter. Filters for paymentAmount ⇐ paymentAmountTo | [optional]
|
403
|
+
**payment_currency** | **String**| The source currency filter. Filters based on an exact match on the currency. | [optional]
|
404
|
+
**submitted_date_from** | **Date**| The submitted date from range filter. Format is yyyy-MM-dd. | [optional]
|
405
|
+
**submitted_date_to** | **Date**| The submitted date to range filter. Format is yyyy-MM-dd. | [optional]
|
406
|
+
**payment_memo** | **String**| The payment memo filter. This filters via a case insensitive substring match. | [optional]
|
407
|
+
**page** | **Integer**| Page number. Default is 1. | [optional] [default to 1]
|
408
|
+
**page_size** | **Integer**| Page size. Default is 25. Max allowable is 100. | [optional] [default to 25]
|
409
|
+
**sort** | **String**| List of sort fields (e.g. ?sort=submittedDateTime:asc,status:asc). Default is sort by remoteId The supported sort fields are: sourceAmount, sourceCurrency, paymentAmount, paymentCurrency, routingNumber, accountNumber, remoteId, submittedDateTime and status | [optional]
|
410
|
+
**sensitive** | **Boolean**| Optional. If omitted or set to false, any Personal Identifiable Information (PII) values are returned masked. If set to true, and you have permission, the PII values will be returned as their original unmasked values. | [optional]
|
411
|
+
|
412
|
+
### Return type
|
413
|
+
|
414
|
+
[**ListPaymentsResponse**](ListPaymentsResponse.md)
|
415
|
+
|
416
|
+
### Authorization
|
417
|
+
|
418
|
+
[OAuth2](../README.md#OAuth2)
|
419
|
+
|
420
|
+
### HTTP request headers
|
421
|
+
|
422
|
+
- **Content-Type**: Not defined
|
423
|
+
- **Accept**: application/json
|
424
|
+
|