velopayments 2.11.73 → 2.14.90.pre.1
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 +4 -4
- data/Gemfile.lock +1 -1
- data/Makefile +7 -1
- data/README.md +82 -26
- data/docs/Address.md +5 -5
- data/docs/AuthApi.md +65 -0
- data/docs/AuthResponse.md +25 -0
- data/docs/AutoTopUpConfig.md +21 -0
- data/docs/Company.md +3 -1
- data/docs/CreateIndividual.md +21 -0
- data/docs/CreatePayee.md +3 -25
- data/docs/CreatePayeeAddress.md +31 -0
- data/docs/CreatePayeesCSVRequest.md +17 -15
- data/docs/CreatePayoutRequest.md +1 -1
- data/docs/FundingManagerApi.md +180 -10
- data/docs/{FundingRequest.md → FundingRequestV1.md} +2 -2
- data/docs/{FundingRequest2.md → FundingRequestV2.md} +2 -2
- data/docs/FxSummaryV3.md +35 -0
- data/docs/{FxSummary.md → FxSummaryV4.md} +7 -7
- data/docs/GetFundingsResponseAllOf.md +17 -0
- data/docs/GetPaymentsForPayoutResponseV3.md +23 -0
- data/docs/GetPaymentsForPayoutResponseV3Page.md +25 -0
- data/docs/GetPaymentsForPayoutResponseV3Summary.md +33 -0
- data/docs/GetPaymentsForPayoutResponseV4.md +23 -0
- data/docs/GetPaymentsForPayoutResponseV4Summary.md +33 -0
- data/docs/GetPayoutsResponseV3.md +23 -0
- data/docs/GetPayoutsResponseV3Links.md +19 -0
- data/docs/GetPayoutsResponseV3Page.md +25 -0
- data/docs/GetPayoutsResponseV3Summary.md +25 -0
- data/docs/GetPayoutsResponseV4.md +23 -0
- data/docs/Individual.md +2 -2
- data/docs/{PaymentAuditCurrency.md → InvitationStatus.md} +2 -2
- data/docs/ListPaymentsResponse.md +4 -4
- data/docs/ListPaymentsResponsePage.md +25 -0
- data/docs/ListPaymentsResponseSummary.md +25 -0
- data/docs/ListSourceAccountResponse.md +2 -2
- data/docs/ListSourceAccountResponseLinks.md +19 -0
- data/docs/ListSourceAccountResponsePage.md +25 -0
- data/docs/ListSourceAccountResponseV2.md +21 -0
- data/docs/ListSourceAccountResponseV2Page.md +25 -0
- data/docs/Notifications.md +17 -0
- data/docs/PagedPayeeInvitationStatusResponse.md +21 -0
- data/docs/Payee.md +1 -3
- data/docs/PayeeDelta.md +29 -0
- data/docs/PayeeDeltaResponse.md +21 -0
- data/docs/PayeeDeltaResponseLinks.md +19 -0
- data/docs/PayeeDeltaResponsePage.md +25 -0
- data/docs/PayeeInvitationApi.md +68 -5
- data/docs/PayeeInvitationStatus.md +1 -1
- data/docs/PayeeInvitationStatusResponse.md +21 -0
- data/docs/PayeeResponse.md +3 -3
- data/docs/{GetPaymentsForPayoutResponseLinks.md → PayeeResponseLinks.md} +2 -2
- data/docs/{GetPaymentsForPayoutResponsePage.md → PayeeResponsePage.md} +2 -2
- data/docs/{GetPaymentsForPayoutResponseSummary.md → PayeeResponseSummary.md} +2 -2
- data/docs/PayeesApi.md +61 -0
- data/docs/PaymentAuditCurrencyV3.md +16 -0
- data/docs/PaymentAuditCurrencyV4.md +16 -0
- data/docs/PaymentAuditServiceApi.md +302 -6
- data/docs/PaymentEventResponseV3.md +39 -0
- data/docs/{PaymentEventResponse.md → PaymentEventResponseV4.md} +8 -8
- data/docs/PaymentInstruction.md +6 -6
- data/docs/PaymentResponseV3.md +81 -0
- data/docs/{PaymentResponse.md → PaymentResponseV4.md} +5 -5
- data/docs/PayorApplicationsApi.md +1 -1
- data/docs/PayorBrandingResponse.md +5 -5
- data/docs/PayorCreateApiKeyRequest.md +3 -3
- data/docs/PayorCreateApiKeyResponse.md +2 -2
- data/docs/PayorCreateApplicationRequest.md +2 -2
- data/docs/PayorEmailOptOutRequest.md +1 -1
- data/docs/PayorFundingBankDetailsUpdate.md +3 -3
- data/docs/PayorLinksResponse.md +19 -0
- data/docs/PayorLinksResponseLinks.md +23 -0
- data/docs/PayorLinksResponsePayors.md +23 -0
- data/docs/PayorRef.md +2 -2
- data/docs/{Payor.md → PayorV1.md} +15 -15
- data/docs/PayorV2.md +49 -0
- data/docs/PayorsApi.md +116 -6
- data/docs/PayoutHistoryApi.md +81 -2
- data/docs/{PayoutStatus.md → PayoutStatusV3.md} +2 -2
- data/docs/PayoutStatusV4.md +16 -0
- data/docs/PayoutSummaryAuditV3.md +41 -0
- data/docs/{PayoutSummaryAudit.md → PayoutSummaryAuditV4.md} +9 -7
- data/docs/PayoutSummaryResponse.md +4 -4
- data/docs/QuoteFxSummary.md +10 -10
- data/docs/RejectedPayment.md +10 -8
- data/docs/SetNotificationsRequest.md +17 -0
- data/docs/SourceAccount.md +3 -3
- data/docs/SourceAccountResponse.md +11 -9
- data/docs/SourceAccountResponseV2.md +45 -0
- data/docs/SourceAccountSummaryV3.md +21 -0
- data/docs/SourceAccountSummaryV4.md +21 -0
- data/docs/SubmitPayoutApi.md +2 -2
- data/docs/SupportedCountry.md +2 -2
- data/lib/velopayments.rb +58 -18
- data/lib/velopayments/api/auth_api.rb +88 -0
- data/lib/velopayments/api/countries_api.rb +35 -17
- data/lib/velopayments/api/currencies_api.rb +19 -10
- data/lib/velopayments/api/funding_manager_api.rb +323 -69
- data/lib/velopayments/api/get_payout_api.rb +20 -11
- data/lib/velopayments/api/instruct_payout_api.rb +21 -11
- data/lib/velopayments/api/payee_invitation_api.rb +150 -40
- data/lib/velopayments/api/payees_api.rb +130 -26
- data/lib/velopayments/api/payment_audit_service_api.rb +481 -55
- data/lib/velopayments/api/payor_applications_api.rb +40 -21
- data/lib/velopayments/api/payors_api.rb +209 -43
- data/lib/velopayments/api/payout_history_api.rb +141 -21
- data/lib/velopayments/api/quote_payout_api.rb +20 -11
- data/lib/velopayments/api/submit_payout_api.rb +22 -12
- data/lib/velopayments/api/withdraw_payout_api.rb +21 -11
- data/lib/velopayments/api_client.rb +3 -4
- data/lib/velopayments/api_error.rb +2 -2
- data/lib/velopayments/configuration.rb +7 -6
- data/lib/velopayments/models/address.rb +2 -2
- data/lib/velopayments/models/auth_response.rb +242 -0
- data/lib/velopayments/models/auto_top_up_config.rb +222 -0
- data/lib/velopayments/models/challenge.rb +2 -2
- data/lib/velopayments/models/company.rb +39 -6
- data/lib/velopayments/models/create_individual.rb +249 -0
- data/lib/velopayments/models/create_payee.rb +7 -109
- data/lib/velopayments/models/create_payee_address.rb +478 -0
- data/lib/velopayments/models/create_payees_csv_request.rb +268 -183
- data/lib/velopayments/models/create_payees_csv_response.rb +2 -2
- data/lib/velopayments/models/create_payees_request.rb +2 -2
- data/lib/velopayments/models/create_payment_channel.rb +9 -15
- data/lib/velopayments/models/create_payout_request.rb +2 -2
- data/lib/velopayments/models/failed_submission.rb +2 -2
- data/lib/velopayments/models/funding_audit.rb +2 -2
- data/lib/velopayments/models/funding_event.rb +2 -2
- data/lib/velopayments/models/funding_event_type.rb +2 -2
- data/lib/velopayments/models/{funding_request.rb → funding_request_v1.rb} +5 -5
- data/lib/velopayments/models/{funding_request2.rb → funding_request_v2.rb} +5 -5
- data/lib/velopayments/models/{fx_summary.rb → fx_summary_v3.rb} +7 -7
- data/lib/velopayments/models/fx_summary_v4.rb +363 -0
- data/lib/velopayments/models/get_fundings_response.rb +3 -2
- data/lib/velopayments/models/get_fundings_response_all_of.rb +196 -0
- data/lib/velopayments/models/get_payments_for_payout_response_v3.rb +228 -0
- data/lib/velopayments/models/get_payments_for_payout_response_v3_page.rb +232 -0
- data/lib/velopayments/models/get_payments_for_payout_response_v3_summary.rb +311 -0
- data/lib/velopayments/models/{get_payments_for_payout_response.rb → get_payments_for_payout_response_v4.rb} +9 -9
- data/lib/velopayments/models/get_payments_for_payout_response_v4_summary.rb +311 -0
- data/lib/velopayments/models/get_payout_statistics.rb +2 -2
- data/lib/velopayments/models/{get_payouts_response.rb → get_payouts_response_v3.rb} +9 -9
- data/lib/velopayments/models/{get_payments_for_payout_response_links.rb → get_payouts_response_v3_links.rb} +5 -5
- data/lib/velopayments/models/{get_payments_for_payout_response_page.rb → get_payouts_response_v3_page.rb} +5 -5
- data/lib/velopayments/models/{get_payments_for_payout_response_summary.rb → get_payouts_response_v3_summary.rb} +5 -5
- data/lib/velopayments/models/get_payouts_response_v4.rb +228 -0
- data/lib/velopayments/models/individual.rb +6 -4
- data/lib/velopayments/models/individual_name.rb +2 -2
- data/lib/velopayments/models/invitation_status.rb +37 -0
- data/lib/velopayments/models/invitation_status_response.rb +2 -2
- data/lib/velopayments/models/invite_payee_request.rb +2 -2
- data/lib/velopayments/models/language.rb +2 -2
- data/lib/velopayments/models/list_payments_response.rb +6 -6
- data/lib/velopayments/models/list_payments_response_page.rb +232 -0
- data/lib/velopayments/models/list_payments_response_summary.rb +232 -0
- data/lib/velopayments/models/list_source_account_response.rb +4 -4
- data/lib/velopayments/models/{social.rb → list_source_account_response_links.rb} +18 -27
- data/lib/velopayments/models/list_source_account_response_page.rb +232 -0
- data/lib/velopayments/models/list_source_account_response_v2.rb +219 -0
- data/lib/velopayments/models/list_source_account_response_v2_page.rb +232 -0
- data/lib/velopayments/models/marketing_opt_in.rb +2 -2
- data/lib/velopayments/models/notifications.rb +196 -0
- data/lib/velopayments/models/ofac_status.rb +2 -2
- data/lib/velopayments/models/onboarded_status.rb +2 -2
- data/lib/velopayments/models/paged_payee_invitation_status_response.rb +219 -0
- data/lib/velopayments/models/paged_response.rb +2 -2
- data/lib/velopayments/models/paged_response_page.rb +2 -2
- data/lib/velopayments/models/payee.rb +6 -15
- data/lib/velopayments/models/payee_delta.rb +288 -0
- data/lib/velopayments/models/payee_delta_response.rb +219 -0
- data/lib/velopayments/models/payee_delta_response_links.rb +205 -0
- data/lib/velopayments/models/payee_delta_response_page.rb +232 -0
- data/lib/velopayments/models/payee_invitation_status.rb +2 -2
- data/lib/velopayments/models/payee_invitation_status_response.rb +224 -0
- data/lib/velopayments/models/payee_response.rb +5 -5
- data/lib/velopayments/models/payee_response_links.rb +205 -0
- data/lib/velopayments/models/payee_response_page.rb +232 -0
- data/lib/velopayments/models/payee_response_summary.rb +232 -0
- data/lib/velopayments/models/payee_type.rb +2 -2
- data/lib/velopayments/models/{payment_audit_currency.rb → payment_audit_currency_v3.rb} +5 -5
- data/lib/velopayments/models/payment_audit_currency_v4.rb +37 -0
- data/lib/velopayments/models/payment_channel.rb +2 -2
- data/lib/velopayments/models/payment_channel_country.rb +2 -2
- data/lib/velopayments/models/payment_channel_rule.rb +2 -2
- data/lib/velopayments/models/payment_channel_rules_response.rb +2 -2
- data/lib/velopayments/models/{payment_event_response.rb → payment_event_response_v3.rb} +9 -9
- data/lib/velopayments/models/payment_event_response_v4.rb +351 -0
- data/lib/velopayments/models/payment_instruction.rb +2 -2
- data/lib/velopayments/models/{payment_response.rb → payment_response_v3.rb} +8 -8
- data/lib/velopayments/models/payment_response_v4.rb +587 -0
- data/lib/velopayments/models/payor_branding_response.rb +2 -2
- data/lib/velopayments/models/payor_create_api_key_request.rb +2 -2
- data/lib/velopayments/models/payor_create_api_key_response.rb +2 -2
- data/lib/velopayments/models/payor_create_application_request.rb +2 -2
- data/lib/velopayments/models/payor_email_opt_out_request.rb +7 -2
- data/lib/velopayments/models/payor_funding_bank_details_update.rb +2 -2
- data/lib/velopayments/models/payor_links_response.rb +210 -0
- data/lib/velopayments/models/payor_links_response_links.rb +277 -0
- data/lib/velopayments/models/payor_links_response_payors.rb +267 -0
- data/lib/velopayments/models/payor_logo_request.rb +2 -2
- data/lib/velopayments/models/payor_ref.rb +2 -2
- data/lib/velopayments/models/{payor.rb → payor_v1.rb} +6 -6
- data/lib/velopayments/models/payor_v2.rb +405 -0
- data/lib/velopayments/models/{payout_status.rb → payout_status_v3.rb} +5 -5
- data/lib/velopayments/models/payout_status_v4.rb +43 -0
- data/lib/velopayments/models/{payout_summary_audit.rb → payout_summary_audit_v3.rb} +18 -9
- data/lib/velopayments/models/payout_summary_audit_v4.rb +323 -0
- data/lib/velopayments/models/payout_summary_response.rb +2 -2
- data/lib/velopayments/models/query_batch_response.rb +2 -2
- data/lib/velopayments/models/quote_fx_summary.rb +4 -4
- data/lib/velopayments/models/quote_response.rb +2 -2
- data/lib/velopayments/models/rejected_payment.rb +37 -34
- data/lib/velopayments/models/set_notifications_request.rb +230 -0
- data/lib/velopayments/models/source_account.rb +2 -2
- data/lib/velopayments/models/source_account_response.rb +16 -7
- data/lib/velopayments/models/source_account_response_v2.rb +403 -0
- data/lib/velopayments/models/{source_account_summary.rb → source_account_summary_v3.rb} +7 -7
- data/lib/velopayments/models/source_account_summary_v4.rb +224 -0
- data/lib/velopayments/models/supported_countries_response.rb +2 -2
- data/lib/velopayments/models/supported_country.rb +36 -2
- data/lib/velopayments/models/supported_currency.rb +2 -2
- data/lib/velopayments/models/supported_currency_response.rb +2 -2
- data/lib/velopayments/version.rb +3 -3
- data/oa3-config.json +1 -1
- data/spec/api/auth_api_spec.rb +48 -0
- data/spec/api/countries_api_spec.rb +2 -2
- data/spec/api/currencies_api_spec.rb +2 -2
- data/spec/api/funding_manager_api_spec.rb +45 -4
- data/spec/api/get_payout_api_spec.rb +2 -2
- data/spec/api/instruct_payout_api_spec.rb +2 -2
- data/spec/api/payee_invitation_api_spec.rb +20 -4
- data/spec/api/payees_api_spec.rb +17 -2
- data/spec/api/payment_audit_service_api_spec.rb +91 -5
- data/spec/api/payor_applications_api_spec.rb +3 -3
- data/spec/api/payors_api_spec.rb +31 -6
- data/spec/api/payout_history_api_spec.rb +27 -3
- data/spec/api/quote_payout_api_spec.rb +2 -2
- data/spec/api/submit_payout_api_spec.rb +3 -3
- data/spec/api/withdraw_payout_api_spec.rb +2 -2
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/address_spec.rb +2 -2
- data/spec/models/auth_response_spec.rb +65 -0
- data/spec/models/{social_spec.rb → auto_top_up_config_spec.rb} +11 -11
- data/spec/models/challenge_spec.rb +2 -2
- data/spec/models/company_spec.rb +8 -2
- data/spec/models/create_individual_spec.rb +53 -0
- data/spec/models/create_payee_address_spec.rb +83 -0
- data/spec/models/create_payee_spec.rb +2 -68
- data/spec/models/create_payees_csv_request_spec.rb +26 -16
- data/spec/models/create_payees_csv_response_spec.rb +2 -2
- data/spec/models/create_payees_request_spec.rb +2 -2
- data/spec/models/create_payment_channel_spec.rb +6 -2
- data/spec/models/create_payout_request_spec.rb +2 -2
- data/spec/models/failed_submission_spec.rb +2 -2
- data/spec/models/funding_audit_spec.rb +2 -2
- data/spec/models/funding_event_spec.rb +2 -2
- data/spec/models/funding_event_type_spec.rb +2 -2
- data/spec/models/{funding_request2_spec.rb → funding_request_v1_spec.rb} +8 -8
- data/spec/models/{funding_request_spec.rb → funding_request_v2_spec.rb} +8 -8
- data/spec/models/{fx_summary_spec.rb → fx_summary_v3_spec.rb} +8 -8
- data/spec/models/fx_summary_v4_spec.rb +103 -0
- data/spec/models/get_fundings_response_all_of_spec.rb +41 -0
- data/spec/models/get_fundings_response_spec.rb +2 -2
- data/spec/models/{get_payments_for_payout_response_page_spec.rb → get_payments_for_payout_response_v3_page_spec.rb} +8 -8
- data/spec/models/{get_payments_for_payout_response_spec.rb → get_payments_for_payout_response_v3_spec.rb} +8 -8
- data/spec/models/get_payments_for_payout_response_v3_summary_spec.rb +93 -0
- data/spec/models/get_payments_for_payout_response_v4_spec.rb +59 -0
- data/spec/models/get_payments_for_payout_response_v4_summary_spec.rb +93 -0
- data/spec/models/get_payout_statistics_spec.rb +2 -2
- data/spec/models/get_payouts_response_v3_links_spec.rb +47 -0
- data/spec/models/get_payouts_response_v3_page_spec.rb +65 -0
- data/spec/models/{get_payouts_response_spec.rb → get_payouts_response_v3_spec.rb} +8 -8
- data/spec/models/{get_payments_for_payout_response_summary_spec.rb → get_payouts_response_v3_summary_spec.rb} +8 -8
- data/spec/models/get_payouts_response_v4_spec.rb +59 -0
- data/spec/models/individual_name_spec.rb +2 -2
- data/spec/models/individual_spec.rb +2 -2
- data/spec/models/invitation_status_response_spec.rb +2 -2
- data/spec/models/invitation_status_spec.rb +35 -0
- data/spec/models/invite_payee_request_spec.rb +2 -2
- data/spec/models/language_spec.rb +2 -2
- data/spec/models/list_payments_response_page_spec.rb +65 -0
- data/spec/models/list_payments_response_spec.rb +2 -2
- data/spec/models/list_payments_response_summary_spec.rb +65 -0
- data/spec/models/{get_payments_for_payout_response_links_spec.rb → list_source_account_response_links_spec.rb} +8 -8
- data/spec/models/list_source_account_response_page_spec.rb +65 -0
- data/spec/models/list_source_account_response_spec.rb +2 -2
- data/spec/models/list_source_account_response_v2_page_spec.rb +65 -0
- data/spec/models/list_source_account_response_v2_spec.rb +53 -0
- data/spec/models/marketing_opt_in_spec.rb +2 -2
- data/spec/models/notifications_spec.rb +41 -0
- data/spec/models/ofac_status_spec.rb +2 -2
- data/spec/models/onboarded_status_spec.rb +2 -2
- data/spec/models/paged_payee_invitation_status_response_spec.rb +53 -0
- data/spec/models/paged_response_page_spec.rb +2 -2
- data/spec/models/paged_response_spec.rb +2 -2
- data/spec/models/payee_delta_response_links_spec.rb +47 -0
- data/spec/models/payee_delta_response_page_spec.rb +65 -0
- data/spec/models/payee_delta_response_spec.rb +53 -0
- data/spec/models/payee_delta_spec.rb +77 -0
- data/spec/models/payee_invitation_status_response_spec.rb +53 -0
- data/spec/models/payee_invitation_status_spec.rb +2 -2
- data/spec/models/payee_response_links_spec.rb +47 -0
- data/spec/models/payee_response_page_spec.rb +65 -0
- data/spec/models/payee_response_spec.rb +2 -2
- data/spec/models/payee_response_summary_spec.rb +65 -0
- data/spec/models/payee_spec.rb +2 -8
- data/spec/models/payee_type_spec.rb +2 -2
- data/spec/models/{payment_audit_currency_spec.rb → payment_audit_currency_v3_spec.rb} +8 -8
- data/spec/models/payment_audit_currency_v4_spec.rb +35 -0
- data/spec/models/payment_channel_country_spec.rb +2 -2
- data/spec/models/payment_channel_rule_spec.rb +2 -2
- data/spec/models/payment_channel_rules_response_spec.rb +2 -2
- data/spec/models/payment_channel_spec.rb +2 -2
- data/spec/models/{payment_event_response_spec.rb → payment_event_response_v3_spec.rb} +8 -8
- data/spec/models/payment_event_response_v4_spec.rb +111 -0
- data/spec/models/payment_instruction_spec.rb +2 -2
- data/spec/models/{payment_response_spec.rb → payment_response_v3_spec.rb} +8 -8
- data/spec/models/payment_response_v4_spec.rb +241 -0
- data/spec/models/payor_branding_response_spec.rb +2 -2
- data/spec/models/payor_create_api_key_request_spec.rb +2 -2
- data/spec/models/payor_create_api_key_response_spec.rb +2 -2
- data/spec/models/payor_create_application_request_spec.rb +2 -2
- data/spec/models/payor_email_opt_out_request_spec.rb +2 -2
- data/spec/models/payor_funding_bank_details_update_spec.rb +2 -2
- data/spec/models/payor_links_response_links_spec.rb +63 -0
- data/spec/models/payor_links_response_payors_spec.rb +63 -0
- data/spec/models/payor_links_response_spec.rb +47 -0
- data/spec/models/payor_logo_request_spec.rb +2 -2
- data/spec/models/payor_ref_spec.rb +2 -2
- data/spec/models/{payor_spec.rb → payor_v1_spec.rb} +8 -8
- data/spec/models/payor_v2_spec.rb +145 -0
- data/spec/models/{payout_status_spec.rb → payout_status_v3_spec.rb} +8 -8
- data/spec/models/payout_status_v4_spec.rb +35 -0
- data/spec/models/{payout_summary_audit_spec.rb → payout_summary_audit_v3_spec.rb} +14 -8
- data/spec/models/payout_summary_audit_v4_spec.rb +113 -0
- data/spec/models/payout_summary_response_spec.rb +2 -2
- data/spec/models/query_batch_response_spec.rb +2 -2
- data/spec/models/quote_fx_summary_spec.rb +2 -2
- data/spec/models/quote_response_spec.rb +2 -2
- data/spec/models/rejected_payment_spec.rb +8 -6
- data/spec/models/set_notifications_request_spec.rb +41 -0
- data/spec/models/source_account_response_spec.rb +8 -2
- data/spec/models/source_account_response_v2_spec.rb +129 -0
- data/spec/models/source_account_spec.rb +2 -2
- data/spec/models/{source_account_summary_spec.rb → source_account_summary_v3_spec.rb} +8 -8
- data/spec/models/source_account_summary_v4_spec.rb +53 -0
- data/spec/models/supported_countries_response_spec.rb +2 -2
- data/spec/models/supported_country_spec.rb +10 -2
- data/spec/models/supported_currency_response_spec.rb +2 -2
- data/spec/models/supported_currency_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- data/velopayments-2.11.73.gem +0 -0
- data/velopayments-2.14.90.gem +0 -0
- data/velopayments.gemspec +2 -2
- metadata +230 -68
- data/docs/GetPaymentsForPayoutResponse.md +0 -23
- data/docs/GetPayoutsResponse.md +0 -23
- data/docs/Social.md +0 -21
- data/docs/SourceAccountSummary.md +0 -21
@@ -0,0 +1,31 @@
|
|
1
|
+
# VeloPayments::CreatePayeeAddress
|
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::CreatePayeeAddress.new(line1: 500 Duval St,
|
22
|
+
line2: null,
|
23
|
+
line3: null,
|
24
|
+
line4: null,
|
25
|
+
city: Key West,
|
26
|
+
county_or_province: FL,
|
27
|
+
zip_or_postcode: 33945,
|
28
|
+
country: US)
|
29
|
+
```
|
30
|
+
|
31
|
+
|
@@ -15,22 +15,23 @@ Name | Type | Description | Notes
|
|
15
15
|
**address_county_or_province** | **String** | | [optional]
|
16
16
|
**address_zip_or_postcode** | **String** | |
|
17
17
|
**address_country** | **String** | |
|
18
|
+
**individual_national_identification** | **String** | | [optional]
|
19
|
+
**individual_date_of_birth** | **Date** | Must not be date in future. Example - 1970-05-20 | [optional]
|
18
20
|
**individual_title** | **String** | | [optional]
|
19
21
|
**individual_first_name** | **String** | | [optional]
|
20
22
|
**individual_other_names** | **String** | | [optional]
|
21
23
|
**individual_last_name** | **String** | | [optional]
|
22
|
-
**individual_national_identification** | **String** | | [optional]
|
23
|
-
**individual_date_of_birth** | **Date** | example - 1970-05-20 | [optional]
|
24
24
|
**company_name** | **String** | | [optional]
|
25
|
-
**
|
25
|
+
**company_ein** | **String** | Company Tax Id (EIN) must be 9 numeric characters. Must match the regular expression ```[\\d]{9}```. | [optional]
|
26
|
+
**company_operating_name** | **String** | | [optional]
|
27
|
+
**payment_channel_account_number** | **String** | Either routing number and account number or only iban must be set | [optional]
|
28
|
+
**payment_channel_routing_number** | **String** | Either routing number and account number or only iban must be set | [optional]
|
29
|
+
**payment_channel_account_name** | **String** | | [optional]
|
26
30
|
**payment_channel_iban** | **String** | Must match the regular expression ```^[A-Za-z0-9]+$```. | [optional]
|
27
|
-
**
|
28
|
-
**payment_channel_routing_no** | **String** | | [optional]
|
29
|
-
**payment_channel_country_code** | **String** | Must be a 3 character currency code. ISO 4217 | [optional]
|
31
|
+
**payment_channel_country_code** | **String** | Must be a 2 character country code - per ISO 3166-1 | [optional]
|
30
32
|
**payment_channel_currency** | **String** | | [optional]
|
31
|
-
**payment_channel_account_name** | **String** | | [optional]
|
32
|
-
**challenge_value** | **String** | | [optional]
|
33
33
|
**challenge_description** | **String** | | [optional]
|
34
|
+
**challenge_value** | **String** | | [optional]
|
34
35
|
**payee_language** | **String** | | [optional]
|
35
36
|
|
36
37
|
## Code Sample
|
@@ -49,22 +50,23 @@ instance = VeloPayments::CreatePayeesCSVRequest.new(type: null,
|
|
49
50
|
address_county_or_province: null,
|
50
51
|
address_zip_or_postcode: null,
|
51
52
|
address_country: null,
|
53
|
+
individual_national_identification: null,
|
54
|
+
individual_date_of_birth: null,
|
52
55
|
individual_title: null,
|
53
56
|
individual_first_name: null,
|
54
57
|
individual_other_names: null,
|
55
58
|
individual_last_name: null,
|
56
|
-
individual_national_identification: null,
|
57
|
-
individual_date_of_birth: null,
|
58
59
|
company_name: null,
|
59
|
-
|
60
|
-
|
60
|
+
company_ein: null,
|
61
|
+
company_operating_name: null,
|
61
62
|
payment_channel_account_number: null,
|
62
|
-
|
63
|
+
payment_channel_routing_number: null,
|
64
|
+
payment_channel_account_name: null,
|
65
|
+
payment_channel_iban: null,
|
63
66
|
payment_channel_country_code: null,
|
64
67
|
payment_channel_currency: null,
|
65
|
-
payment_channel_account_name: null,
|
66
|
-
challenge_value: null,
|
67
68
|
challenge_description: null,
|
69
|
+
challenge_value: null,
|
68
70
|
payee_language: null)
|
69
71
|
```
|
70
72
|
|
data/docs/CreatePayoutRequest.md
CHANGED
data/docs/FundingManagerApi.md
CHANGED
@@ -8,14 +8,17 @@ Method | HTTP request | Description
|
|
8
8
|
[**create_funding_request**](FundingManagerApi.md#create_funding_request) | **POST** /v2/sourceAccounts/{sourceAccountId}/fundingRequest | Create Funding Request
|
9
9
|
[**get_fundings**](FundingManagerApi.md#get_fundings) | **GET** /v1/paymentaudit/fundings | Get Fundings for Payor
|
10
10
|
[**get_source_account**](FundingManagerApi.md#get_source_account) | **GET** /v1/sourceAccounts/{sourceAccountId} | Get details about given source account.
|
11
|
+
[**get_source_account_v2**](FundingManagerApi.md#get_source_account_v2) | **GET** /v2/sourceAccounts/{sourceAccountId} | Get details about given source account.
|
11
12
|
[**get_source_accounts**](FundingManagerApi.md#get_source_accounts) | **GET** /v1/sourceAccounts | Get list of source accounts
|
13
|
+
[**get_source_accounts_v2**](FundingManagerApi.md#get_source_accounts_v2) | **GET** /v2/sourceAccounts | Get list of source accounts
|
14
|
+
[**set_notifications_request**](FundingManagerApi.md#set_notifications_request) | **POST** /v1/sourceAccounts/{sourceAccountId}/notifications | Set notifications
|
12
15
|
[**set_payor_funding_bank_details**](FundingManagerApi.md#set_payor_funding_bank_details) | **POST** /v1/payors/{payorId}/payorFundingBankDetailsUpdate | Set Funding Bank Details
|
13
16
|
|
14
17
|
|
15
18
|
|
16
19
|
## create_ach_funding_request
|
17
20
|
|
18
|
-
> create_ach_funding_request(source_account_id,
|
21
|
+
> create_ach_funding_request(source_account_id, funding_request_v1)
|
19
22
|
|
20
23
|
Create Funding Request
|
21
24
|
|
@@ -34,11 +37,11 @@ end
|
|
34
37
|
|
35
38
|
api_instance = VeloPayments::FundingManagerApi.new
|
36
39
|
source_account_id = 'source_account_id_example' # String | Source account id
|
37
|
-
|
40
|
+
funding_request_v1 = VeloPayments::FundingRequestV1.new # FundingRequestV1 | Body to included ammount to be funded
|
38
41
|
|
39
42
|
begin
|
40
43
|
#Create Funding Request
|
41
|
-
api_instance.create_ach_funding_request(source_account_id,
|
44
|
+
api_instance.create_ach_funding_request(source_account_id, funding_request_v1)
|
42
45
|
rescue VeloPayments::ApiError => e
|
43
46
|
puts "Exception when calling FundingManagerApi->create_ach_funding_request: #{e}"
|
44
47
|
end
|
@@ -50,7 +53,7 @@ end
|
|
50
53
|
Name | Type | Description | Notes
|
51
54
|
------------- | ------------- | ------------- | -------------
|
52
55
|
**source_account_id** | [**String**](.md)| Source account id |
|
53
|
-
**
|
56
|
+
**funding_request_v1** | [**FundingRequestV1**](FundingRequestV1.md)| Body to included ammount to be funded |
|
54
57
|
|
55
58
|
### Return type
|
56
59
|
|
@@ -63,12 +66,12 @@ nil (empty response body)
|
|
63
66
|
### HTTP request headers
|
64
67
|
|
65
68
|
- **Content-Type**: application/json
|
66
|
-
- **Accept**:
|
69
|
+
- **Accept**: Not defined
|
67
70
|
|
68
71
|
|
69
72
|
## create_funding_request
|
70
73
|
|
71
|
-
> create_funding_request(source_account_id,
|
74
|
+
> create_funding_request(source_account_id, funding_request_v2)
|
72
75
|
|
73
76
|
Create Funding Request
|
74
77
|
|
@@ -87,11 +90,11 @@ end
|
|
87
90
|
|
88
91
|
api_instance = VeloPayments::FundingManagerApi.new
|
89
92
|
source_account_id = 'source_account_id_example' # String | Source account id
|
90
|
-
|
93
|
+
funding_request_v2 = VeloPayments::FundingRequestV2.new # FundingRequestV2 | Body to included ammount to be funded
|
91
94
|
|
92
95
|
begin
|
93
96
|
#Create Funding Request
|
94
|
-
api_instance.create_funding_request(source_account_id,
|
97
|
+
api_instance.create_funding_request(source_account_id, funding_request_v2)
|
95
98
|
rescue VeloPayments::ApiError => e
|
96
99
|
puts "Exception when calling FundingManagerApi->create_funding_request: #{e}"
|
97
100
|
end
|
@@ -103,7 +106,7 @@ end
|
|
103
106
|
Name | Type | Description | Notes
|
104
107
|
------------- | ------------- | ------------- | -------------
|
105
108
|
**source_account_id** | [**String**](.md)| Source account id |
|
106
|
-
**
|
109
|
+
**funding_request_v2** | [**FundingRequestV2**](FundingRequestV2.md)| Body to included ammount to be funded |
|
107
110
|
|
108
111
|
### Return type
|
109
112
|
|
@@ -116,7 +119,7 @@ nil (empty response body)
|
|
116
119
|
### HTTP request headers
|
117
120
|
|
118
121
|
- **Content-Type**: application/json
|
119
|
-
- **Accept**:
|
122
|
+
- **Accept**: Not defined
|
120
123
|
|
121
124
|
|
122
125
|
## get_fundings
|
@@ -231,6 +234,58 @@ Name | Type | Description | Notes
|
|
231
234
|
- **Accept**: application/json
|
232
235
|
|
233
236
|
|
237
|
+
## get_source_account_v2
|
238
|
+
|
239
|
+
> SourceAccountResponseV2 get_source_account_v2(source_account_id)
|
240
|
+
|
241
|
+
Get details about given source account.
|
242
|
+
|
243
|
+
Get details about given source account.
|
244
|
+
|
245
|
+
### Example
|
246
|
+
|
247
|
+
```ruby
|
248
|
+
# load the gem
|
249
|
+
require 'velopayments'
|
250
|
+
# setup authorization
|
251
|
+
VeloPayments.configure do |config|
|
252
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
253
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
254
|
+
end
|
255
|
+
|
256
|
+
api_instance = VeloPayments::FundingManagerApi.new
|
257
|
+
source_account_id = 'source_account_id_example' # String | Source account id
|
258
|
+
|
259
|
+
begin
|
260
|
+
#Get details about given source account.
|
261
|
+
result = api_instance.get_source_account_v2(source_account_id)
|
262
|
+
p result
|
263
|
+
rescue VeloPayments::ApiError => e
|
264
|
+
puts "Exception when calling FundingManagerApi->get_source_account_v2: #{e}"
|
265
|
+
end
|
266
|
+
```
|
267
|
+
|
268
|
+
### Parameters
|
269
|
+
|
270
|
+
|
271
|
+
Name | Type | Description | Notes
|
272
|
+
------------- | ------------- | ------------- | -------------
|
273
|
+
**source_account_id** | [**String**](.md)| Source account id |
|
274
|
+
|
275
|
+
### Return type
|
276
|
+
|
277
|
+
[**SourceAccountResponseV2**](SourceAccountResponseV2.md)
|
278
|
+
|
279
|
+
### Authorization
|
280
|
+
|
281
|
+
[OAuth2](../README.md#OAuth2)
|
282
|
+
|
283
|
+
### HTTP request headers
|
284
|
+
|
285
|
+
- **Content-Type**: Not defined
|
286
|
+
- **Accept**: application/json
|
287
|
+
|
288
|
+
|
234
289
|
## get_source_accounts
|
235
290
|
|
236
291
|
> ListSourceAccountResponse get_source_accounts(opts)
|
@@ -293,6 +348,121 @@ Name | Type | Description | Notes
|
|
293
348
|
- **Accept**: application/json
|
294
349
|
|
295
350
|
|
351
|
+
## get_source_accounts_v2
|
352
|
+
|
353
|
+
> ListSourceAccountResponseV2 get_source_accounts_v2(opts)
|
354
|
+
|
355
|
+
Get list of source accounts
|
356
|
+
|
357
|
+
List source accounts.
|
358
|
+
|
359
|
+
### Example
|
360
|
+
|
361
|
+
```ruby
|
362
|
+
# load the gem
|
363
|
+
require 'velopayments'
|
364
|
+
# setup authorization
|
365
|
+
VeloPayments.configure do |config|
|
366
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
367
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
368
|
+
end
|
369
|
+
|
370
|
+
api_instance = VeloPayments::FundingManagerApi.new
|
371
|
+
opts = {
|
372
|
+
physical_account_name: 'physical_account_name_example', # String | Physical Account Name
|
373
|
+
payor_id: 'payor_id_example', # String | The account owner Payor ID
|
374
|
+
page: 1, # Integer | Page number. Default is 1.
|
375
|
+
page_size: 25, # Integer | Page size. Default is 25. Max allowable is 100.
|
376
|
+
sort: 'sort_example' # String | Sort String
|
377
|
+
}
|
378
|
+
|
379
|
+
begin
|
380
|
+
#Get list of source accounts
|
381
|
+
result = api_instance.get_source_accounts_v2(opts)
|
382
|
+
p result
|
383
|
+
rescue VeloPayments::ApiError => e
|
384
|
+
puts "Exception when calling FundingManagerApi->get_source_accounts_v2: #{e}"
|
385
|
+
end
|
386
|
+
```
|
387
|
+
|
388
|
+
### Parameters
|
389
|
+
|
390
|
+
|
391
|
+
Name | Type | Description | Notes
|
392
|
+
------------- | ------------- | ------------- | -------------
|
393
|
+
**physical_account_name** | **String**| Physical Account Name | [optional]
|
394
|
+
**payor_id** | [**String**](.md)| The account owner Payor ID | [optional]
|
395
|
+
**page** | **Integer**| Page number. Default is 1. | [optional] [default to 1]
|
396
|
+
**page_size** | **Integer**| Page size. Default is 25. Max allowable is 100. | [optional] [default to 25]
|
397
|
+
**sort** | **String**| Sort String | [optional]
|
398
|
+
|
399
|
+
### Return type
|
400
|
+
|
401
|
+
[**ListSourceAccountResponseV2**](ListSourceAccountResponseV2.md)
|
402
|
+
|
403
|
+
### Authorization
|
404
|
+
|
405
|
+
[OAuth2](../README.md#OAuth2)
|
406
|
+
|
407
|
+
### HTTP request headers
|
408
|
+
|
409
|
+
- **Content-Type**: Not defined
|
410
|
+
- **Accept**: application/json
|
411
|
+
|
412
|
+
|
413
|
+
## set_notifications_request
|
414
|
+
|
415
|
+
> set_notifications_request(source_account_id, set_notifications_request)
|
416
|
+
|
417
|
+
Set notifications
|
418
|
+
|
419
|
+
Set notifications for a given source account
|
420
|
+
|
421
|
+
### Example
|
422
|
+
|
423
|
+
```ruby
|
424
|
+
# load the gem
|
425
|
+
require 'velopayments'
|
426
|
+
# setup authorization
|
427
|
+
VeloPayments.configure do |config|
|
428
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
429
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
430
|
+
end
|
431
|
+
|
432
|
+
api_instance = VeloPayments::FundingManagerApi.new
|
433
|
+
source_account_id = 'source_account_id_example' # String | Source account id
|
434
|
+
set_notifications_request = VeloPayments::SetNotificationsRequest.new # SetNotificationsRequest | Body to included minimum balance to set
|
435
|
+
|
436
|
+
begin
|
437
|
+
#Set notifications
|
438
|
+
api_instance.set_notifications_request(source_account_id, set_notifications_request)
|
439
|
+
rescue VeloPayments::ApiError => e
|
440
|
+
puts "Exception when calling FundingManagerApi->set_notifications_request: #{e}"
|
441
|
+
end
|
442
|
+
```
|
443
|
+
|
444
|
+
### Parameters
|
445
|
+
|
446
|
+
|
447
|
+
Name | Type | Description | Notes
|
448
|
+
------------- | ------------- | ------------- | -------------
|
449
|
+
**source_account_id** | [**String**](.md)| Source account id |
|
450
|
+
**set_notifications_request** | [**SetNotificationsRequest**](SetNotificationsRequest.md)| Body to included minimum balance to set |
|
451
|
+
|
452
|
+
### Return type
|
453
|
+
|
454
|
+
nil (empty response body)
|
455
|
+
|
456
|
+
### Authorization
|
457
|
+
|
458
|
+
[OAuth2](../README.md#OAuth2)
|
459
|
+
|
460
|
+
### HTTP request headers
|
461
|
+
|
462
|
+
- **Content-Type**: application/json
|
463
|
+
- **Accept**: Not defined
|
464
|
+
|
465
|
+
|
296
466
|
## set_payor_funding_bank_details
|
297
467
|
|
298
468
|
> set_payor_funding_bank_details(payor_id, payor_funding_bank_details_update)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# VeloPayments::
|
1
|
+
# VeloPayments::FundingRequestV1
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
|
|
11
11
|
```ruby
|
12
12
|
require 'VeloPayments'
|
13
13
|
|
14
|
-
instance = VeloPayments::
|
14
|
+
instance = VeloPayments::FundingRequestV1.new(amount: null)
|
15
15
|
```
|
16
16
|
|
17
17
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# VeloPayments::
|
1
|
+
# VeloPayments::FundingRequestV2
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
|
|
11
11
|
```ruby
|
12
12
|
require 'VeloPayments'
|
13
13
|
|
14
|
-
instance = VeloPayments::
|
14
|
+
instance = VeloPayments::FundingRequestV2.new(amount: null)
|
15
15
|
```
|
16
16
|
|
17
17
|
|
data/docs/FxSummaryV3.md
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
# VeloPayments::FxSummaryV3
|
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** | [**PaymentAuditCurrencyV3**](PaymentAuditCurrencyV3.md) | | [optional]
|
14
|
+
**payment_currency** | [**PaymentAuditCurrencyV3**](PaymentAuditCurrencyV3.md) | | [optional]
|
15
|
+
**status** | **String** | |
|
16
|
+
**funding_status** | **String** | |
|
17
|
+
|
18
|
+
## Code Sample
|
19
|
+
|
20
|
+
```ruby
|
21
|
+
require 'VeloPayments'
|
22
|
+
|
23
|
+
instance = VeloPayments::FxSummaryV3.new(quote_id: null,
|
24
|
+
creation_date_time: null,
|
25
|
+
rate: 1.12,
|
26
|
+
inverted_rate: 1.12,
|
27
|
+
total_cost: 1234,
|
28
|
+
total_payment_amount: 1234,
|
29
|
+
source_currency: null,
|
30
|
+
payment_currency: null,
|
31
|
+
status: null,
|
32
|
+
funding_status: null)
|
33
|
+
```
|
34
|
+
|
35
|
+
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# VeloPayments::
|
1
|
+
# VeloPayments::FxSummaryV4
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -10,8 +10,8 @@ Name | Type | Description | Notes
|
|
10
10
|
**inverted_rate** | **Float** | |
|
11
11
|
**total_cost** | **Integer** | |
|
12
12
|
**total_payment_amount** | **Integer** | |
|
13
|
-
**source_currency** | [**
|
14
|
-
**payment_currency** | [**
|
13
|
+
**source_currency** | [**PaymentAuditCurrencyV4**](PaymentAuditCurrencyV4.md) | | [optional]
|
14
|
+
**payment_currency** | [**PaymentAuditCurrencyV4**](PaymentAuditCurrencyV4.md) | | [optional]
|
15
15
|
**status** | **String** | |
|
16
16
|
**funding_status** | **String** | |
|
17
17
|
|
@@ -20,12 +20,12 @@ Name | Type | Description | Notes
|
|
20
20
|
```ruby
|
21
21
|
require 'VeloPayments'
|
22
22
|
|
23
|
-
instance = VeloPayments::
|
23
|
+
instance = VeloPayments::FxSummaryV4.new(quote_id: null,
|
24
24
|
creation_date_time: null,
|
25
|
-
rate:
|
26
|
-
inverted_rate:
|
25
|
+
rate: 123.23,
|
26
|
+
inverted_rate: 123.23,
|
27
27
|
total_cost: null,
|
28
|
-
total_payment_amount:
|
28
|
+
total_payment_amount: 34235,
|
29
29
|
source_currency: null,
|
30
30
|
payment_currency: null,
|
31
31
|
status: null,
|