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
data/Rakefile
ADDED
data/docs/Address.md
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
# VeloPayments::Address
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**line1** | **String** | |
|
8
|
+
**line2** | **String** | | [optional]
|
9
|
+
**line3** | **String** | | [optional]
|
10
|
+
**line4** | **String** | | [optional]
|
11
|
+
**city** | **String** | |
|
12
|
+
**county_or_province** | **String** | | [optional]
|
13
|
+
**zip_or_postcode** | **String** | | [optional]
|
14
|
+
**country** | **String** | |
|
15
|
+
|
16
|
+
## Code Sample
|
17
|
+
|
18
|
+
```ruby
|
19
|
+
require 'VeloPayments'
|
20
|
+
|
21
|
+
instance = VeloPayments::Address.new(line1: null,
|
22
|
+
line2: null,
|
23
|
+
line3: null,
|
24
|
+
line4: null,
|
25
|
+
city: null,
|
26
|
+
county_or_province: null,
|
27
|
+
zip_or_postcode: null,
|
28
|
+
country: null)
|
29
|
+
```
|
30
|
+
|
31
|
+
|
data/docs/Challenge.md
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
# VeloPayments::Challenge
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**value** | **String** | |
|
8
|
+
**description** | **String** | |
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'VeloPayments'
|
14
|
+
|
15
|
+
instance = VeloPayments::Challenge.new(value: null,
|
16
|
+
description: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
data/docs/Company.md
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
# VeloPayments::Company
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**name** | **String** | |
|
8
|
+
**tax_id** | **String** | Company Tax Id (EIN) must be 9 numeric characters. Must match the regular expression ```[\\d]{9}```. | [optional]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'VeloPayments'
|
14
|
+
|
15
|
+
instance = VeloPayments::Company.new(name: null,
|
16
|
+
tax_id: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,106 @@
|
|
1
|
+
# VeloPayments::CountriesApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://api.sandbox.velopayments.com*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**list_supported_countries**](CountriesApi.md#list_supported_countries) | **GET** /v1/supportedCountries | List Supported Countries
|
8
|
+
[**v1_payment_channel_rules_get**](CountriesApi.md#v1_payment_channel_rules_get) | **GET** /v1/paymentChannelRules | List Payment Channel Country Rules
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
## list_supported_countries
|
13
|
+
|
14
|
+
> SupportedCountriesResponse list_supported_countries
|
15
|
+
|
16
|
+
List Supported Countries
|
17
|
+
|
18
|
+
List the supported countries.
|
19
|
+
|
20
|
+
### Example
|
21
|
+
|
22
|
+
```ruby
|
23
|
+
# load the gem
|
24
|
+
require 'velopayments'
|
25
|
+
# setup authorization
|
26
|
+
VeloPayments.configure do |config|
|
27
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
28
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
29
|
+
end
|
30
|
+
|
31
|
+
api_instance = VeloPayments::CountriesApi.new
|
32
|
+
|
33
|
+
begin
|
34
|
+
#List Supported Countries
|
35
|
+
result = api_instance.list_supported_countries
|
36
|
+
p result
|
37
|
+
rescue VeloPayments::ApiError => e
|
38
|
+
puts "Exception when calling CountriesApi->list_supported_countries: #{e}"
|
39
|
+
end
|
40
|
+
```
|
41
|
+
|
42
|
+
### Parameters
|
43
|
+
|
44
|
+
This endpoint does not need any parameter.
|
45
|
+
|
46
|
+
### Return type
|
47
|
+
|
48
|
+
[**SupportedCountriesResponse**](SupportedCountriesResponse.md)
|
49
|
+
|
50
|
+
### Authorization
|
51
|
+
|
52
|
+
[OAuth2](../README.md#OAuth2)
|
53
|
+
|
54
|
+
### HTTP request headers
|
55
|
+
|
56
|
+
- **Content-Type**: Not defined
|
57
|
+
- **Accept**: application/json
|
58
|
+
|
59
|
+
|
60
|
+
## v1_payment_channel_rules_get
|
61
|
+
|
62
|
+
> PaymentChannelRulesResponse v1_payment_channel_rules_get
|
63
|
+
|
64
|
+
List Payment Channel Country Rules
|
65
|
+
|
66
|
+
List the country specific payment channel rules.
|
67
|
+
|
68
|
+
### Example
|
69
|
+
|
70
|
+
```ruby
|
71
|
+
# load the gem
|
72
|
+
require 'velopayments'
|
73
|
+
# setup authorization
|
74
|
+
VeloPayments.configure do |config|
|
75
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
76
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
77
|
+
end
|
78
|
+
|
79
|
+
api_instance = VeloPayments::CountriesApi.new
|
80
|
+
|
81
|
+
begin
|
82
|
+
#List Payment Channel Country Rules
|
83
|
+
result = api_instance.v1_payment_channel_rules_get
|
84
|
+
p result
|
85
|
+
rescue VeloPayments::ApiError => e
|
86
|
+
puts "Exception when calling CountriesApi->v1_payment_channel_rules_get: #{e}"
|
87
|
+
end
|
88
|
+
```
|
89
|
+
|
90
|
+
### Parameters
|
91
|
+
|
92
|
+
This endpoint does not need any parameter.
|
93
|
+
|
94
|
+
### Return type
|
95
|
+
|
96
|
+
[**PaymentChannelRulesResponse**](PaymentChannelRulesResponse.md)
|
97
|
+
|
98
|
+
### Authorization
|
99
|
+
|
100
|
+
[OAuth2](../README.md#OAuth2)
|
101
|
+
|
102
|
+
### HTTP request headers
|
103
|
+
|
104
|
+
- **Content-Type**: Not defined
|
105
|
+
- **Accept**: application/json
|
106
|
+
|
data/docs/CreatePayee.md
ADDED
@@ -0,0 +1,59 @@
|
|
1
|
+
# VeloPayments::CreatePayee
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**payee_id** | **String** | | [optional]
|
8
|
+
**payor_refs** | [**Array<PayorRef>**](PayorRef.md) | | [optional]
|
9
|
+
**email** | **String** | |
|
10
|
+
**remote_id** | **String** | |
|
11
|
+
**type** | [**PayeeType**](PayeeType.md) | |
|
12
|
+
**display_name** | **String** | | [optional]
|
13
|
+
**country** | **String** | | [optional]
|
14
|
+
**address** | [**Address**](Address.md) | |
|
15
|
+
**payment_channel** | [**CreatePaymentChannel**](CreatePaymentChannel.md) | | [optional]
|
16
|
+
**challenge** | [**Challenge**](Challenge.md) | | [optional]
|
17
|
+
**language** | [**Language**](Language.md) | | [optional]
|
18
|
+
**accept_terms_and_conditions_timestamp** | **DateTime** | The timestamp when the payee last accepted T&Cs | [optional]
|
19
|
+
**cellphone_number** | **String** | | [optional]
|
20
|
+
**company** | [**Company**](Company.md) | | [optional]
|
21
|
+
**individual** | [**Individual**](Individual.md) | | [optional]
|
22
|
+
**created** | **DateTime** | | [optional]
|
23
|
+
**grace_period_end_date** | **Date** | | [optional]
|
24
|
+
**last_ofac_check_timestamp** | **String** | | [optional]
|
25
|
+
**marketing_opt_ins** | [**Array<MarketingOptIn>**](MarketingOptIn.md) | | [optional]
|
26
|
+
**ofac_status** | [**OfacStatus**](OfacStatus.md) | | [optional]
|
27
|
+
**onboarded_status** | [**OnboardedStatus**](OnboardedStatus.md) | | [optional]
|
28
|
+
**social** | [**Social**](Social.md) | | [optional]
|
29
|
+
|
30
|
+
## Code Sample
|
31
|
+
|
32
|
+
```ruby
|
33
|
+
require 'VeloPayments'
|
34
|
+
|
35
|
+
instance = VeloPayments::CreatePayee.new(payee_id: null,
|
36
|
+
payor_refs: null,
|
37
|
+
email: null,
|
38
|
+
remote_id: null,
|
39
|
+
type: null,
|
40
|
+
display_name: null,
|
41
|
+
country: null,
|
42
|
+
address: null,
|
43
|
+
payment_channel: null,
|
44
|
+
challenge: null,
|
45
|
+
language: null,
|
46
|
+
accept_terms_and_conditions_timestamp: null,
|
47
|
+
cellphone_number: null,
|
48
|
+
company: null,
|
49
|
+
individual: null,
|
50
|
+
created: null,
|
51
|
+
grace_period_end_date: null,
|
52
|
+
last_ofac_check_timestamp: null,
|
53
|
+
marketing_opt_ins: null,
|
54
|
+
ofac_status: null,
|
55
|
+
onboarded_status: null,
|
56
|
+
social: null)
|
57
|
+
```
|
58
|
+
|
59
|
+
|
@@ -0,0 +1,71 @@
|
|
1
|
+
# VeloPayments::CreatePayeesCSVRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**type** | [**PayeeType**](PayeeType.md) | |
|
8
|
+
**remote_id** | **String** | |
|
9
|
+
**email** | **String** | |
|
10
|
+
**address_line1** | **String** | |
|
11
|
+
**address_line2** | **String** | | [optional]
|
12
|
+
**address_line3** | **String** | | [optional]
|
13
|
+
**address_line4** | **String** | | [optional]
|
14
|
+
**address_city** | **String** | |
|
15
|
+
**address_county_or_province** | **String** | | [optional]
|
16
|
+
**address_zip_or_postcode** | **String** | |
|
17
|
+
**address_country** | **String** | |
|
18
|
+
**individual_title** | **String** | | [optional]
|
19
|
+
**individual_first_name** | **String** | | [optional]
|
20
|
+
**individual_other_names** | **String** | | [optional]
|
21
|
+
**individual_last_name** | **String** | | [optional]
|
22
|
+
**individual_national_identification** | **String** | | [optional]
|
23
|
+
**individual_date_of_birth** | **Date** | example - 1970-05-20 | [optional]
|
24
|
+
**company_name** | **String** | | [optional]
|
25
|
+
**company_tax_id** | **String** | Company Tax Id (EIN) must be 9 numeric characters. Must match the regular expression ```[\\d]{9}```. | [optional]
|
26
|
+
**payment_channel_iban** | **String** | Must match the regular expression ```^[A-Za-z0-9]+$```. | [optional]
|
27
|
+
**payment_channel_account_number** | **String** | | [optional]
|
28
|
+
**payment_channel_routing_no** | **String** | | [optional]
|
29
|
+
**payment_channel_country_code** | **String** | Must be a 3 character currency code. ISO 4217 | [optional]
|
30
|
+
**payment_channel_currency** | **String** | | [optional]
|
31
|
+
**payment_channel_account_name** | **String** | | [optional]
|
32
|
+
**challenge_value** | **String** | | [optional]
|
33
|
+
**challenge_description** | **String** | | [optional]
|
34
|
+
**payee_language** | **String** | | [optional]
|
35
|
+
|
36
|
+
## Code Sample
|
37
|
+
|
38
|
+
```ruby
|
39
|
+
require 'VeloPayments'
|
40
|
+
|
41
|
+
instance = VeloPayments::CreatePayeesCSVRequest.new(type: null,
|
42
|
+
remote_id: null,
|
43
|
+
email: null,
|
44
|
+
address_line1: null,
|
45
|
+
address_line2: null,
|
46
|
+
address_line3: null,
|
47
|
+
address_line4: null,
|
48
|
+
address_city: null,
|
49
|
+
address_county_or_province: null,
|
50
|
+
address_zip_or_postcode: null,
|
51
|
+
address_country: null,
|
52
|
+
individual_title: null,
|
53
|
+
individual_first_name: null,
|
54
|
+
individual_other_names: null,
|
55
|
+
individual_last_name: null,
|
56
|
+
individual_national_identification: null,
|
57
|
+
individual_date_of_birth: null,
|
58
|
+
company_name: null,
|
59
|
+
company_tax_id: null,
|
60
|
+
payment_channel_iban: null,
|
61
|
+
payment_channel_account_number: null,
|
62
|
+
payment_channel_routing_no: null,
|
63
|
+
payment_channel_country_code: null,
|
64
|
+
payment_channel_currency: null,
|
65
|
+
payment_channel_account_name: null,
|
66
|
+
challenge_value: null,
|
67
|
+
challenge_description: null,
|
68
|
+
payee_language: null)
|
69
|
+
```
|
70
|
+
|
71
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# VeloPayments::CreatePayeesCSVResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**batch_id** | **String** | | [optional]
|
8
|
+
**rejected_csv_rows** | **Array<String>** | | [optional]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'VeloPayments'
|
14
|
+
|
15
|
+
instance = VeloPayments::CreatePayeesCSVResponse.new(batch_id: null,
|
16
|
+
rejected_csv_rows: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# VeloPayments::CreatePayeesRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**payor_id** | **String** | |
|
8
|
+
**payees** | [**Array<CreatePayee>**](CreatePayee.md) | |
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'VeloPayments'
|
14
|
+
|
15
|
+
instance = VeloPayments::CreatePayeesRequest.new(payor_id: null,
|
16
|
+
payees: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# VeloPayments::CreatePaymentChannel
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**payment_channel_name** | **String** | | [optional]
|
8
|
+
**iban** | **String** | Must match the regular expression ```^[A-Za-z0-9]+$```. Either routing number and account number or only iban must be set | [optional]
|
9
|
+
**account_number** | **String** | Either routing number and account number or only iban must be set | [optional]
|
10
|
+
**routing_number** | **String** | Either routing number and account number or only iban must be set | [optional]
|
11
|
+
**country_code** | **String** | Two character country code |
|
12
|
+
**currency** | **String** | |
|
13
|
+
**account_name** | **String** | |
|
14
|
+
|
15
|
+
## Code Sample
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'VeloPayments'
|
19
|
+
|
20
|
+
instance = VeloPayments::CreatePaymentChannel.new(payment_channel_name: null,
|
21
|
+
iban: null,
|
22
|
+
account_number: null,
|
23
|
+
routing_number: null,
|
24
|
+
country_code: null,
|
25
|
+
currency: null,
|
26
|
+
account_name: null)
|
27
|
+
```
|
28
|
+
|
29
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# VeloPayments::CreatePayoutRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**payor_id** | **String** | |
|
8
|
+
**payout_memo** | **String** | | [optional]
|
9
|
+
**payments** | [**Array<PaymentInstruction>**](PaymentInstruction.md) | |
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'VeloPayments'
|
15
|
+
|
16
|
+
instance = VeloPayments::CreatePayoutRequest.new(payor_id: null,
|
17
|
+
payout_memo: null,
|
18
|
+
payments: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
@@ -0,0 +1,57 @@
|
|
1
|
+
# VeloPayments::CurrenciesApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://api.sandbox.velopayments.com*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**list_supported_currencies**](CurrenciesApi.md#list_supported_currencies) | **GET** /v2/currencies | List Supported Currencies
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
## list_supported_currencies
|
12
|
+
|
13
|
+
> SupportedCurrencyResponse list_supported_currencies
|
14
|
+
|
15
|
+
List Supported Currencies
|
16
|
+
|
17
|
+
List the supported currencies.
|
18
|
+
|
19
|
+
### Example
|
20
|
+
|
21
|
+
```ruby
|
22
|
+
# load the gem
|
23
|
+
require 'velopayments'
|
24
|
+
# setup authorization
|
25
|
+
VeloPayments.configure do |config|
|
26
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
27
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
28
|
+
end
|
29
|
+
|
30
|
+
api_instance = VeloPayments::CurrenciesApi.new
|
31
|
+
|
32
|
+
begin
|
33
|
+
#List Supported Currencies
|
34
|
+
result = api_instance.list_supported_currencies
|
35
|
+
p result
|
36
|
+
rescue VeloPayments::ApiError => e
|
37
|
+
puts "Exception when calling CurrenciesApi->list_supported_currencies: #{e}"
|
38
|
+
end
|
39
|
+
```
|
40
|
+
|
41
|
+
### Parameters
|
42
|
+
|
43
|
+
This endpoint does not need any parameter.
|
44
|
+
|
45
|
+
### Return type
|
46
|
+
|
47
|
+
[**SupportedCurrencyResponse**](SupportedCurrencyResponse.md)
|
48
|
+
|
49
|
+
### Authorization
|
50
|
+
|
51
|
+
[OAuth2](../README.md#OAuth2)
|
52
|
+
|
53
|
+
### HTTP request headers
|
54
|
+
|
55
|
+
- **Content-Type**: Not defined
|
56
|
+
- **Accept**: application/json
|
57
|
+
|