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,29 @@
|
|
1
|
+
# VeloPayments::PaymentChannel
|
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]+$```. | [optional]
|
9
|
+
**account_number** | **String** | |
|
10
|
+
**routing_no** | **String** | |
|
11
|
+
**country_code** | **String** | Must be a 3 character currency code. ISO 4217 |
|
12
|
+
**currency** | **String** | |
|
13
|
+
**account_name** | **String** | |
|
14
|
+
|
15
|
+
## Code Sample
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'VeloPayments'
|
19
|
+
|
20
|
+
instance = VeloPayments::PaymentChannel.new(payment_channel_name: null,
|
21
|
+
iban: null,
|
22
|
+
account_number: null,
|
23
|
+
routing_no: null,
|
24
|
+
country_code: null,
|
25
|
+
currency: null,
|
26
|
+
account_name: null)
|
27
|
+
```
|
28
|
+
|
29
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# VeloPayments::PaymentChannelCountry
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**iso_country_code** | **String** | | [optional]
|
8
|
+
**rules** | [**Array<PaymentChannelRule>**](PaymentChannelRule.md) | | [optional]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'VeloPayments'
|
14
|
+
|
15
|
+
instance = VeloPayments::PaymentChannelCountry.new(iso_country_code: null,
|
16
|
+
rules: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# VeloPayments::PaymentChannelRule
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**element** | **String** | | [optional]
|
8
|
+
**required** | **Boolean** | | [optional]
|
9
|
+
**display_name** | **String** | | [optional]
|
10
|
+
**min_length** | **Integer** | | [optional]
|
11
|
+
**max_length** | **Integer** | | [optional]
|
12
|
+
**validation** | **String** | | [optional]
|
13
|
+
**display_order** | **Integer** | | [optional]
|
14
|
+
|
15
|
+
## Code Sample
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'VeloPayments'
|
19
|
+
|
20
|
+
instance = VeloPayments::PaymentChannelRule.new(element: null,
|
21
|
+
required: null,
|
22
|
+
display_name: null,
|
23
|
+
min_length: null,
|
24
|
+
max_length: null,
|
25
|
+
validation: null,
|
26
|
+
display_order: null)
|
27
|
+
```
|
28
|
+
|
29
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# VeloPayments::PaymentChannelRulesResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**bank** | [**Array<PaymentChannelCountry>**](PaymentChannelCountry.md) | | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'VeloPayments'
|
13
|
+
|
14
|
+
instance = VeloPayments::PaymentChannelRulesResponse.new(bank: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,39 @@
|
|
1
|
+
# VeloPayments::PaymentEventResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**event_id** | **String** | The id of the event. |
|
8
|
+
**event_date_time** | **DateTime** | The date/time at which the event occurred. |
|
9
|
+
**event_type** | **String** | The type of the event. |
|
10
|
+
**source_currency** | [**PaymentAuditCurrency**](PaymentAuditCurrency.md) | | [optional]
|
11
|
+
**source_amount** | **Float** | The source amount exposed by the event. | [optional]
|
12
|
+
**payment_currency** | [**PaymentAuditCurrency**](PaymentAuditCurrency.md) | | [optional]
|
13
|
+
**payment_amount** | **Float** | The destination amount exposed by the event. | [optional]
|
14
|
+
**account_number** | **String** | The account number attached to the event. | [optional]
|
15
|
+
**routing_number** | **String** | The routing number attached to the event. | [optional]
|
16
|
+
**iban** | **String** | | [optional]
|
17
|
+
**account_name** | **String** | | [optional]
|
18
|
+
**principal** | **String** | | [optional]
|
19
|
+
|
20
|
+
## Code Sample
|
21
|
+
|
22
|
+
```ruby
|
23
|
+
require 'VeloPayments'
|
24
|
+
|
25
|
+
instance = VeloPayments::PaymentEventResponse.new(event_id: null,
|
26
|
+
event_date_time: null,
|
27
|
+
event_type: null,
|
28
|
+
source_currency: null,
|
29
|
+
source_amount: null,
|
30
|
+
payment_currency: null,
|
31
|
+
payment_amount: null,
|
32
|
+
account_number: null,
|
33
|
+
routing_number: null,
|
34
|
+
iban: null,
|
35
|
+
account_name: null,
|
36
|
+
principal: null)
|
37
|
+
```
|
38
|
+
|
39
|
+
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# VeloPayments::PaymentInstruction
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**remote_id** | **String** | Your identifier for payee |
|
8
|
+
**currency** | **String** | Payee's currency |
|
9
|
+
**amount** | **Integer** | Amount to send to Payee |
|
10
|
+
**payment_memo** | **String** | | [optional]
|
11
|
+
**source_account_name** | **String** | |
|
12
|
+
**payor_payment_id** | **String** | | [optional]
|
13
|
+
|
14
|
+
## Code Sample
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
require 'VeloPayments'
|
18
|
+
|
19
|
+
instance = VeloPayments::PaymentInstruction.new(remote_id: null,
|
20
|
+
currency: null,
|
21
|
+
amount: null,
|
22
|
+
payment_memo: null,
|
23
|
+
source_account_name: null,
|
24
|
+
payor_payment_id: null)
|
25
|
+
```
|
26
|
+
|
27
|
+
|
@@ -0,0 +1,81 @@
|
|
1
|
+
# VeloPayments::PaymentResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**payment_id** | **String** | |
|
8
|
+
**payee_id** | **String** | |
|
9
|
+
**payor_id** | **String** | |
|
10
|
+
**payor_name** | **String** | | [optional]
|
11
|
+
**quote_id** | **String** | |
|
12
|
+
**source_account_id** | **String** | |
|
13
|
+
**source_account_name** | **String** | | [optional]
|
14
|
+
**remote_id** | **String** | | [optional]
|
15
|
+
**source_amount** | **Integer** | | [optional]
|
16
|
+
**source_currency** | [**PaymentAuditCurrency**](PaymentAuditCurrency.md) | | [optional]
|
17
|
+
**payment_amount** | **Integer** | |
|
18
|
+
**payment_currency** | [**PaymentAuditCurrency**](PaymentAuditCurrency.md) | | [optional]
|
19
|
+
**rate** | **Float** | | [optional]
|
20
|
+
**inverted_rate** | **Float** | | [optional]
|
21
|
+
**submitted_date_time** | **DateTime** | |
|
22
|
+
**status** | **String** | |
|
23
|
+
**funding_status** | **String** | |
|
24
|
+
**routing_number** | **String** | | [optional]
|
25
|
+
**account_number** | **String** | | [optional]
|
26
|
+
**iban** | **String** | | [optional]
|
27
|
+
**payment_memo** | **String** | | [optional]
|
28
|
+
**filename_reference** | **String** | | [optional]
|
29
|
+
**individual_identification_number** | **String** | | [optional]
|
30
|
+
**trace_number** | **String** | | [optional]
|
31
|
+
**payor_payment_id** | **String** | | [optional]
|
32
|
+
**payment_channel_id** | **String** | | [optional]
|
33
|
+
**payment_channel_name** | **String** | | [optional]
|
34
|
+
**account_name** | **String** | | [optional]
|
35
|
+
**rails_id** | **String** | |
|
36
|
+
**country_code** | **String** | | [optional]
|
37
|
+
**events** | [**Array<PaymentEventResponse>**](PaymentEventResponse.md) | |
|
38
|
+
**return_cost** | **Integer** | | [optional]
|
39
|
+
**return_reason** | **String** | | [optional]
|
40
|
+
|
41
|
+
## Code Sample
|
42
|
+
|
43
|
+
```ruby
|
44
|
+
require 'VeloPayments'
|
45
|
+
|
46
|
+
instance = VeloPayments::PaymentResponse.new(payment_id: null,
|
47
|
+
payee_id: null,
|
48
|
+
payor_id: null,
|
49
|
+
payor_name: null,
|
50
|
+
quote_id: null,
|
51
|
+
source_account_id: null,
|
52
|
+
source_account_name: null,
|
53
|
+
remote_id: null,
|
54
|
+
source_amount: null,
|
55
|
+
source_currency: null,
|
56
|
+
payment_amount: null,
|
57
|
+
payment_currency: null,
|
58
|
+
rate: null,
|
59
|
+
inverted_rate: null,
|
60
|
+
submitted_date_time: null,
|
61
|
+
status: null,
|
62
|
+
funding_status: null,
|
63
|
+
routing_number: null,
|
64
|
+
account_number: null,
|
65
|
+
iban: null,
|
66
|
+
payment_memo: null,
|
67
|
+
filename_reference: null,
|
68
|
+
individual_identification_number: null,
|
69
|
+
trace_number: null,
|
70
|
+
payor_payment_id: null,
|
71
|
+
payment_channel_id: null,
|
72
|
+
payment_channel_name: null,
|
73
|
+
account_name: null,
|
74
|
+
rails_id: null,
|
75
|
+
country_code: null,
|
76
|
+
events: null,
|
77
|
+
return_cost: null,
|
78
|
+
return_reason: null)
|
79
|
+
```
|
80
|
+
|
81
|
+
|
data/docs/Payor.md
ADDED
@@ -0,0 +1,55 @@
|
|
1
|
+
# VeloPayments::Payor
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**payor_id** | **String** | | [optional]
|
8
|
+
**payor_name** | **String** | The name of the payor. |
|
9
|
+
**address** | [**Address**](Address.md) | | [optional]
|
10
|
+
**primary_contact_name** | **String** | Name of primary contact for the payor. | [optional]
|
11
|
+
**primary_contact_phone** | **String** | Primary contact phone number for the payor. | [optional]
|
12
|
+
**primary_contact_email** | **String** | Primary contact email for the payor. | [optional]
|
13
|
+
**funding_account_routing_number** | **String** | The funding account routing number to be used for the payor. | [optional]
|
14
|
+
**funding_account_account_number** | **String** | The funding account number to be used for the payor. | [optional]
|
15
|
+
**funding_account_account_name** | **String** | The funding account name to be used for the payor. | [optional]
|
16
|
+
**kyc_state** | **String** | The kyc state of the payor. | [optional]
|
17
|
+
**manual_lockout** | **Boolean** | Whether or not the payor has been manually locked by the backoffice. | [optional]
|
18
|
+
**payee_grace_period_processing_enabled** | **Boolean** | Whether grace period processing is enabled. | [optional]
|
19
|
+
**payee_grace_period_days** | **Integer** | The grace period for paying payees in days. | [optional]
|
20
|
+
**collective_alias** | **String** | How the payor has chosen to refer to payees. | [optional]
|
21
|
+
**support_contact** | **String** | The payor’s support contact address. | [optional]
|
22
|
+
**dba_name** | **String** | The payor’s 'Doing Business As' name. | [optional]
|
23
|
+
**allows_language_choice** | **Boolean** | Whether or not the payor allows language choice in the UI. | [optional]
|
24
|
+
**reminder_emails_opt_out** | **Boolean** | Whether or not the payor has opted-out of reminder emails being sent. | [optional]
|
25
|
+
**language** | **String** | The payor’s language preference. Must be one of [EN, FR]. | [optional]
|
26
|
+
**includes_reports** | **Boolean** | | [optional]
|
27
|
+
|
28
|
+
## Code Sample
|
29
|
+
|
30
|
+
```ruby
|
31
|
+
require 'VeloPayments'
|
32
|
+
|
33
|
+
instance = VeloPayments::Payor.new(payor_id: null,
|
34
|
+
payor_name: null,
|
35
|
+
address: null,
|
36
|
+
primary_contact_name: null,
|
37
|
+
primary_contact_phone: null,
|
38
|
+
primary_contact_email: null,
|
39
|
+
funding_account_routing_number: null,
|
40
|
+
funding_account_account_number: null,
|
41
|
+
funding_account_account_name: null,
|
42
|
+
kyc_state: null,
|
43
|
+
manual_lockout: null,
|
44
|
+
payee_grace_period_processing_enabled: null,
|
45
|
+
payee_grace_period_days: null,
|
46
|
+
collective_alias: null,
|
47
|
+
support_contact: null,
|
48
|
+
dba_name: null,
|
49
|
+
allows_language_choice: null,
|
50
|
+
reminder_emails_opt_out: null,
|
51
|
+
language: null,
|
52
|
+
includes_reports: null)
|
53
|
+
```
|
54
|
+
|
55
|
+
|
@@ -0,0 +1,119 @@
|
|
1
|
+
# VeloPayments::PayorApplicationsApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://api.sandbox.velopayments.com*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**payor_create_api_key_request**](PayorApplicationsApi.md#payor_create_api_key_request) | **POST** /v1/payors/{payorId}/applications/{applicationId}/keys | Create API Key
|
8
|
+
[**payor_create_application_request**](PayorApplicationsApi.md#payor_create_application_request) | **POST** /v1/payors/{payorId}/applications | Create Application
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
## payor_create_api_key_request
|
13
|
+
|
14
|
+
> PayorCreateApiKeyResponse payor_create_api_key_request(payor_id, application_id, payor_create_api_key_request)
|
15
|
+
|
16
|
+
Create API Key
|
17
|
+
|
18
|
+
Create an an API key for the given payor Id and application Id
|
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::PayorApplicationsApi.new
|
32
|
+
payor_id = 'payor_id_example' # String | The account owner Payor ID
|
33
|
+
application_id = 'application_id_example' # String | Application ID
|
34
|
+
payor_create_api_key_request = VeloPayments::PayorCreateApiKeyRequest.new # PayorCreateApiKeyRequest | Details of application API key to create
|
35
|
+
|
36
|
+
begin
|
37
|
+
#Create API Key
|
38
|
+
result = api_instance.payor_create_api_key_request(payor_id, application_id, payor_create_api_key_request)
|
39
|
+
p result
|
40
|
+
rescue VeloPayments::ApiError => e
|
41
|
+
puts "Exception when calling PayorApplicationsApi->payor_create_api_key_request: #{e}"
|
42
|
+
end
|
43
|
+
```
|
44
|
+
|
45
|
+
### Parameters
|
46
|
+
|
47
|
+
|
48
|
+
Name | Type | Description | Notes
|
49
|
+
------------- | ------------- | ------------- | -------------
|
50
|
+
**payor_id** | [**String**](.md)| The account owner Payor ID |
|
51
|
+
**application_id** | [**String**](.md)| Application ID |
|
52
|
+
**payor_create_api_key_request** | [**PayorCreateApiKeyRequest**](PayorCreateApiKeyRequest.md)| Details of application API key to create |
|
53
|
+
|
54
|
+
### Return type
|
55
|
+
|
56
|
+
[**PayorCreateApiKeyResponse**](PayorCreateApiKeyResponse.md)
|
57
|
+
|
58
|
+
### Authorization
|
59
|
+
|
60
|
+
[OAuth2](../README.md#OAuth2)
|
61
|
+
|
62
|
+
### HTTP request headers
|
63
|
+
|
64
|
+
- **Content-Type**: application/json
|
65
|
+
- **Accept**: application/json
|
66
|
+
|
67
|
+
|
68
|
+
## payor_create_application_request
|
69
|
+
|
70
|
+
> payor_create_application_request(payor_id, payor_create_application_request)
|
71
|
+
|
72
|
+
Create Application
|
73
|
+
|
74
|
+
Create an application for the given Payor ID
|
75
|
+
|
76
|
+
### Example
|
77
|
+
|
78
|
+
```ruby
|
79
|
+
# load the gem
|
80
|
+
require 'velopayments'
|
81
|
+
# setup authorization
|
82
|
+
VeloPayments.configure do |config|
|
83
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
84
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
85
|
+
end
|
86
|
+
|
87
|
+
api_instance = VeloPayments::PayorApplicationsApi.new
|
88
|
+
payor_id = 'payor_id_example' # String | The account owner Payor ID
|
89
|
+
payor_create_application_request = VeloPayments::PayorCreateApplicationRequest.new # PayorCreateApplicationRequest | Details of application to create
|
90
|
+
|
91
|
+
begin
|
92
|
+
#Create Application
|
93
|
+
api_instance.payor_create_application_request(payor_id, payor_create_application_request)
|
94
|
+
rescue VeloPayments::ApiError => e
|
95
|
+
puts "Exception when calling PayorApplicationsApi->payor_create_application_request: #{e}"
|
96
|
+
end
|
97
|
+
```
|
98
|
+
|
99
|
+
### Parameters
|
100
|
+
|
101
|
+
|
102
|
+
Name | Type | Description | Notes
|
103
|
+
------------- | ------------- | ------------- | -------------
|
104
|
+
**payor_id** | [**String**](.md)| The account owner Payor ID |
|
105
|
+
**payor_create_application_request** | [**PayorCreateApplicationRequest**](PayorCreateApplicationRequest.md)| Details of application to create |
|
106
|
+
|
107
|
+
### Return type
|
108
|
+
|
109
|
+
nil (empty response body)
|
110
|
+
|
111
|
+
### Authorization
|
112
|
+
|
113
|
+
[OAuth2](../README.md#OAuth2)
|
114
|
+
|
115
|
+
### HTTP request headers
|
116
|
+
|
117
|
+
- **Content-Type**: application/json
|
118
|
+
- **Accept**: Not defined
|
119
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# VeloPayments::PayorBrandingResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**payor_name** | **String** | The name of the payor |
|
8
|
+
**logo_url** | **String** | The URL to use for this payor’s logo |
|
9
|
+
**collective_alias** | **String** | How the payor has chosen to refer to payees | [optional]
|
10
|
+
**support_contact** | **String** | The payor’s support contact address | [optional]
|
11
|
+
**dba_name** | **String** | The payor’s 'Doing Business As' name | [optional]
|
12
|
+
|
13
|
+
## Code Sample
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'VeloPayments'
|
17
|
+
|
18
|
+
instance = VeloPayments::PayorBrandingResponse.new(payor_name: null,
|
19
|
+
logo_url: null,
|
20
|
+
collective_alias: null,
|
21
|
+
support_contact: null,
|
22
|
+
dba_name: null)
|
23
|
+
```
|
24
|
+
|
25
|
+
|