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,17 @@
|
|
1
|
+
# VeloPayments::FundingRequest2
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**amount** | **Integer** | Amount to fund, decimal implied |
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'VeloPayments'
|
13
|
+
|
14
|
+
instance = VeloPayments::FundingRequest2.new(amount: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
data/docs/FxSummary.md
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
# VeloPayments::FxSummary
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**quote_id** | **String** | |
|
8
|
+
**creation_date_time** | **DateTime** | |
|
9
|
+
**rate** | **Float** | |
|
10
|
+
**inverted_rate** | **Float** | |
|
11
|
+
**total_cost** | **Integer** | |
|
12
|
+
**total_payment_amount** | **Integer** | |
|
13
|
+
**source_currency** | [**PaymentAuditCurrency**](PaymentAuditCurrency.md) | | [optional]
|
14
|
+
**payment_currency** | [**PaymentAuditCurrency**](PaymentAuditCurrency.md) | | [optional]
|
15
|
+
**status** | **String** | |
|
16
|
+
**funding_status** | **String** | |
|
17
|
+
|
18
|
+
## Code Sample
|
19
|
+
|
20
|
+
```ruby
|
21
|
+
require 'VeloPayments'
|
22
|
+
|
23
|
+
instance = VeloPayments::FxSummary.new(quote_id: null,
|
24
|
+
creation_date_time: null,
|
25
|
+
rate: null,
|
26
|
+
inverted_rate: null,
|
27
|
+
total_cost: null,
|
28
|
+
total_payment_amount: null,
|
29
|
+
source_currency: null,
|
30
|
+
payment_currency: null,
|
31
|
+
status: null,
|
32
|
+
funding_status: null)
|
33
|
+
```
|
34
|
+
|
35
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# VeloPayments::GetFundingsResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**page** | [**PagedResponsePage**](PagedResponsePage.md) | | [optional]
|
8
|
+
**links** | **Array<Object>** | | [optional]
|
9
|
+
**content** | [**FundingAudit**](FundingAudit.md) | | [optional]
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'VeloPayments'
|
15
|
+
|
16
|
+
instance = VeloPayments::GetFundingsResponse.new(page: null,
|
17
|
+
links: null,
|
18
|
+
content: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# VeloPayments::GetPaymentsForPayoutResponse
|
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<PaymentResponse>**](PaymentResponse.md) | | [optional]
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'VeloPayments'
|
16
|
+
|
17
|
+
instance = VeloPayments::GetPaymentsForPayoutResponse.new(summary: null,
|
18
|
+
page: null,
|
19
|
+
links: null,
|
20
|
+
content: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# VeloPayments::GetPaymentsForPayoutResponseLinks
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**rel** | **String** | | [optional]
|
8
|
+
**href** | **String** | | [optional]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'VeloPayments'
|
14
|
+
|
15
|
+
instance = VeloPayments::GetPaymentsForPayoutResponseLinks.new(rel: null,
|
16
|
+
href: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# VeloPayments::GetPaymentsForPayoutResponsePage
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**number_of_elements** | **Integer** | | [optional]
|
8
|
+
**total_elements** | **Integer** | | [optional]
|
9
|
+
**total_pages** | **Integer** | | [optional]
|
10
|
+
**page** | **Integer** | | [optional]
|
11
|
+
**page_size** | **Integer** | | [optional]
|
12
|
+
|
13
|
+
## Code Sample
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'VeloPayments'
|
17
|
+
|
18
|
+
instance = VeloPayments::GetPaymentsForPayoutResponsePage.new(number_of_elements: null,
|
19
|
+
total_elements: null,
|
20
|
+
total_pages: null,
|
21
|
+
page: null,
|
22
|
+
page_size: null)
|
23
|
+
```
|
24
|
+
|
25
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# VeloPayments::GetPaymentsForPayoutResponseSummary
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**total_payees_count** | **Integer** | | [optional]
|
8
|
+
**total_invited_count** | **Integer** | | [optional]
|
9
|
+
**total_registered_count** | **Integer** | | [optional]
|
10
|
+
**total_onboarded_count** | **Integer** | | [optional]
|
11
|
+
**total_ofac_failed_count** | **Integer** | | [optional]
|
12
|
+
|
13
|
+
## Code Sample
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'VeloPayments'
|
17
|
+
|
18
|
+
instance = VeloPayments::GetPaymentsForPayoutResponseSummary.new(total_payees_count: null,
|
19
|
+
total_invited_count: null,
|
20
|
+
total_registered_count: null,
|
21
|
+
total_onboarded_count: null,
|
22
|
+
total_ofac_failed_count: null)
|
23
|
+
```
|
24
|
+
|
25
|
+
|
@@ -0,0 +1,61 @@
|
|
1
|
+
# VeloPayments::GetPayoutApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://api.sandbox.velopayments.com*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**v3_payouts_payout_id_get**](GetPayoutApi.md#v3_payouts_payout_id_get) | **GET** /v3/payouts/{payoutId} | Get Payout Summary
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
## v3_payouts_payout_id_get
|
12
|
+
|
13
|
+
> PayoutSummaryResponse v3_payouts_payout_id_get(payout_id)
|
14
|
+
|
15
|
+
Get Payout Summary
|
16
|
+
|
17
|
+
Get payout summary - returns the current state of the payout.
|
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::GetPayoutApi.new
|
31
|
+
payout_id = 'payout_id_example' # String | Id of the payout
|
32
|
+
|
33
|
+
begin
|
34
|
+
#Get Payout Summary
|
35
|
+
result = api_instance.v3_payouts_payout_id_get(payout_id)
|
36
|
+
p result
|
37
|
+
rescue VeloPayments::ApiError => e
|
38
|
+
puts "Exception when calling GetPayoutApi->v3_payouts_payout_id_get: #{e}"
|
39
|
+
end
|
40
|
+
```
|
41
|
+
|
42
|
+
### Parameters
|
43
|
+
|
44
|
+
|
45
|
+
Name | Type | Description | Notes
|
46
|
+
------------- | ------------- | ------------- | -------------
|
47
|
+
**payout_id** | [**String**](.md)| Id of the payout |
|
48
|
+
|
49
|
+
### Return type
|
50
|
+
|
51
|
+
[**PayoutSummaryResponse**](PayoutSummaryResponse.md)
|
52
|
+
|
53
|
+
### Authorization
|
54
|
+
|
55
|
+
[OAuth2](../README.md#OAuth2)
|
56
|
+
|
57
|
+
### HTTP request headers
|
58
|
+
|
59
|
+
- **Content-Type**: Not defined
|
60
|
+
- **Accept**: application/json
|
61
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# VeloPayments::GetPayoutStatistics
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**this_month_payouts_count** | **Integer** | |
|
8
|
+
**this_month_failed_payments_count** | **Integer** | |
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'VeloPayments'
|
14
|
+
|
15
|
+
instance = VeloPayments::GetPayoutStatistics.new(this_month_payouts_count: null,
|
16
|
+
this_month_failed_payments_count: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# VeloPayments::GetPayoutsResponse
|
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<PayoutSummaryAudit>**](PayoutSummaryAudit.md) | | [optional]
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'VeloPayments'
|
16
|
+
|
17
|
+
instance = VeloPayments::GetPayoutsResponse.new(summary: null,
|
18
|
+
page: null,
|
19
|
+
links: null,
|
20
|
+
content: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
data/docs/Individual.md
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# VeloPayments::Individual
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**name** | [**IndividualName**](IndividualName.md) | |
|
8
|
+
**national_identification** | [**OneOfstringstring**](OneOfstringstring.md) | | [optional]
|
9
|
+
**date_of_birth** | [**OneOfdatestring**](OneOfdatestring.md) | |
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'VeloPayments'
|
15
|
+
|
16
|
+
instance = VeloPayments::Individual.new(name: null,
|
17
|
+
national_identification: null,
|
18
|
+
date_of_birth: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# VeloPayments::IndividualName
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**title** | **String** | | [optional]
|
8
|
+
**first_name** | **String** | |
|
9
|
+
**other_names** | **String** | | [optional]
|
10
|
+
**last_name** | **String** | |
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'VeloPayments'
|
16
|
+
|
17
|
+
instance = VeloPayments::IndividualName.new(title: null,
|
18
|
+
first_name: null,
|
19
|
+
other_names: null,
|
20
|
+
last_name: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
@@ -0,0 +1,60 @@
|
|
1
|
+
# VeloPayments::InstructPayoutApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://api.sandbox.velopayments.com*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**v3_payouts_payout_id_post**](InstructPayoutApi.md#v3_payouts_payout_id_post) | **POST** /v3/payouts/{payoutId} | Instruct Payout
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
## v3_payouts_payout_id_post
|
12
|
+
|
13
|
+
> v3_payouts_payout_id_post(payout_id)
|
14
|
+
|
15
|
+
Instruct Payout
|
16
|
+
|
17
|
+
Instruct a payout to be made for the specified payoutId.
|
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::InstructPayoutApi.new
|
31
|
+
payout_id = 'payout_id_example' # String | Id of the payout
|
32
|
+
|
33
|
+
begin
|
34
|
+
#Instruct Payout
|
35
|
+
api_instance.v3_payouts_payout_id_post(payout_id)
|
36
|
+
rescue VeloPayments::ApiError => e
|
37
|
+
puts "Exception when calling InstructPayoutApi->v3_payouts_payout_id_post: #{e}"
|
38
|
+
end
|
39
|
+
```
|
40
|
+
|
41
|
+
### Parameters
|
42
|
+
|
43
|
+
|
44
|
+
Name | Type | Description | Notes
|
45
|
+
------------- | ------------- | ------------- | -------------
|
46
|
+
**payout_id** | [**String**](.md)| Id of the payout |
|
47
|
+
|
48
|
+
### Return type
|
49
|
+
|
50
|
+
nil (empty response body)
|
51
|
+
|
52
|
+
### Authorization
|
53
|
+
|
54
|
+
[OAuth2](../README.md#OAuth2)
|
55
|
+
|
56
|
+
### HTTP request headers
|
57
|
+
|
58
|
+
- **Content-Type**: Not defined
|
59
|
+
- **Accept**: Not defined
|
60
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# VeloPayments::InvitationStatusResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**payee_invitation_statuses** | [**Array<PayeeInvitationStatus>**](PayeeInvitationStatus.md) | |
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'VeloPayments'
|
13
|
+
|
14
|
+
instance = VeloPayments::InvitationStatusResponse.new(payee_invitation_statuses: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# VeloPayments::InvitePayeeRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**payor_id** | **String** | |
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'VeloPayments'
|
13
|
+
|
14
|
+
instance = VeloPayments::InvitePayeeRequest.new(payor_id: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
data/docs/Language.md
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
# VeloPayments::Language
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
|
8
|
+
## Code Sample
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'VeloPayments'
|
12
|
+
|
13
|
+
instance = VeloPayments::Language.new()
|
14
|
+
```
|
15
|
+
|
16
|
+
|