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
data/docs/PayoutHistoryApi.md
CHANGED
@@ -5,13 +5,14 @@ All URIs are relative to *https://api.sandbox.velopayments.com*
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
7
|
[**get_payments_for_payout**](PayoutHistoryApi.md#get_payments_for_payout) | **GET** /v3/paymentaudit/payouts/{payoutId} | Get Payments for Payout
|
8
|
+
[**get_payments_for_payout_v4**](PayoutHistoryApi.md#get_payments_for_payout_v4) | **GET** /v4/paymentaudit/payouts/{payoutId} | Get Payments for Payout
|
8
9
|
[**get_payout_stats**](PayoutHistoryApi.md#get_payout_stats) | **GET** /v1/paymentaudit/payoutStatistics | Get Payout Statistics
|
9
10
|
|
10
11
|
|
11
12
|
|
12
13
|
## get_payments_for_payout
|
13
14
|
|
14
|
-
>
|
15
|
+
> GetPaymentsForPayoutResponseV3 get_payments_for_payout(payout_id, opts)
|
15
16
|
|
16
17
|
Get Payments for Payout
|
17
18
|
|
@@ -75,7 +76,85 @@ Name | Type | Description | Notes
|
|
75
76
|
|
76
77
|
### Return type
|
77
78
|
|
78
|
-
[**
|
79
|
+
[**GetPaymentsForPayoutResponseV3**](GetPaymentsForPayoutResponseV3.md)
|
80
|
+
|
81
|
+
### Authorization
|
82
|
+
|
83
|
+
[OAuth2](../README.md#OAuth2)
|
84
|
+
|
85
|
+
### HTTP request headers
|
86
|
+
|
87
|
+
- **Content-Type**: Not defined
|
88
|
+
- **Accept**: application/json
|
89
|
+
|
90
|
+
|
91
|
+
## get_payments_for_payout_v4
|
92
|
+
|
93
|
+
> GetPaymentsForPayoutResponseV4 get_payments_for_payout_v4(payout_id, opts)
|
94
|
+
|
95
|
+
Get Payments for Payout
|
96
|
+
|
97
|
+
Get List of payments for Payout, allowing for RETURNED status
|
98
|
+
|
99
|
+
### Example
|
100
|
+
|
101
|
+
```ruby
|
102
|
+
# load the gem
|
103
|
+
require 'velopayments'
|
104
|
+
# setup authorization
|
105
|
+
VeloPayments.configure do |config|
|
106
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
107
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
108
|
+
end
|
109
|
+
|
110
|
+
api_instance = VeloPayments::PayoutHistoryApi.new
|
111
|
+
payout_id = 'payout_id_example' # String | The id (UUID) of the payout.
|
112
|
+
opts = {
|
113
|
+
remote_id: 'remote_id_example', # String | The remote id of the payees.
|
114
|
+
status: 'status_example', # String | Payment Status
|
115
|
+
source_amount_from: 56, # Integer | The source amount from range filter. Filters for sourceAmount >= sourceAmountFrom
|
116
|
+
source_amount_to: 56, # Integer | The source amount to range filter. Filters for sourceAmount ⇐ sourceAmountTo
|
117
|
+
payment_amount_from: 56, # Integer | The payment amount from range filter. Filters for paymentAmount >= paymentAmountFrom
|
118
|
+
payment_amount_to: 56, # Integer | The payment amount to range filter. Filters for paymentAmount ⇐ paymentAmountTo
|
119
|
+
submitted_date_from: Date.parse('2013-10-20'), # Date | The submitted date from range filter. Format is yyyy-MM-dd.
|
120
|
+
submitted_date_to: Date.parse('2013-10-20'), # Date | The submitted date to range filter. Format is yyyy-MM-dd.
|
121
|
+
page: 1, # Integer | Page number. Default is 1.
|
122
|
+
page_size: 25, # Integer | Page size. Default is 25. Max allowable is 100.
|
123
|
+
sort: 'sort_example', # String | List of sort fields (e.g. ?sort=submittedDateTime:asc,status:asc). Default is sort by remoteId The supported sort fields are: sourceAmount, sourceCurrency, paymentAmount, paymentCurrency, routingNumber, accountNumber, remoteId, submittedDateTime and status
|
124
|
+
sensitive: true # Boolean | Optional. If omitted or set to false, any Personal Identifiable Information (PII) values are returned masked. If set to true, and you have permission, the PII values will be returned as their original unmasked values.
|
125
|
+
}
|
126
|
+
|
127
|
+
begin
|
128
|
+
#Get Payments for Payout
|
129
|
+
result = api_instance.get_payments_for_payout_v4(payout_id, opts)
|
130
|
+
p result
|
131
|
+
rescue VeloPayments::ApiError => e
|
132
|
+
puts "Exception when calling PayoutHistoryApi->get_payments_for_payout_v4: #{e}"
|
133
|
+
end
|
134
|
+
```
|
135
|
+
|
136
|
+
### Parameters
|
137
|
+
|
138
|
+
|
139
|
+
Name | Type | Description | Notes
|
140
|
+
------------- | ------------- | ------------- | -------------
|
141
|
+
**payout_id** | [**String**](.md)| The id (UUID) of the payout. |
|
142
|
+
**remote_id** | **String**| The remote id of the payees. | [optional]
|
143
|
+
**status** | **String**| Payment Status | [optional]
|
144
|
+
**source_amount_from** | **Integer**| The source amount from range filter. Filters for sourceAmount >= sourceAmountFrom | [optional]
|
145
|
+
**source_amount_to** | **Integer**| The source amount to range filter. Filters for sourceAmount ⇐ sourceAmountTo | [optional]
|
146
|
+
**payment_amount_from** | **Integer**| The payment amount from range filter. Filters for paymentAmount >= paymentAmountFrom | [optional]
|
147
|
+
**payment_amount_to** | **Integer**| The payment amount to range filter. Filters for paymentAmount ⇐ paymentAmountTo | [optional]
|
148
|
+
**submitted_date_from** | **Date**| The submitted date from range filter. Format is yyyy-MM-dd. | [optional]
|
149
|
+
**submitted_date_to** | **Date**| The submitted date to range filter. Format is yyyy-MM-dd. | [optional]
|
150
|
+
**page** | **Integer**| Page number. Default is 1. | [optional] [default to 1]
|
151
|
+
**page_size** | **Integer**| Page size. Default is 25. Max allowable is 100. | [optional] [default to 25]
|
152
|
+
**sort** | **String**| List of sort fields (e.g. ?sort=submittedDateTime:asc,status:asc). Default is sort by remoteId The supported sort fields are: sourceAmount, sourceCurrency, paymentAmount, paymentCurrency, routingNumber, accountNumber, remoteId, submittedDateTime and status | [optional]
|
153
|
+
**sensitive** | **Boolean**| Optional. If omitted or set to false, any Personal Identifiable Information (PII) values are returned masked. If set to true, and you have permission, the PII values will be returned as their original unmasked values. | [optional]
|
154
|
+
|
155
|
+
### Return type
|
156
|
+
|
157
|
+
[**GetPaymentsForPayoutResponseV4**](GetPaymentsForPayoutResponseV4.md)
|
79
158
|
|
80
159
|
### Authorization
|
81
160
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# VeloPayments::
|
1
|
+
# VeloPayments::PayoutStatusV3
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
|
|
10
10
|
```ruby
|
11
11
|
require 'VeloPayments'
|
12
12
|
|
13
|
-
instance = VeloPayments::
|
13
|
+
instance = VeloPayments::PayoutStatusV3.new()
|
14
14
|
```
|
15
15
|
|
16
16
|
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# VeloPayments::PayoutStatusV4
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
|
8
|
+
## Code Sample
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'VeloPayments'
|
12
|
+
|
13
|
+
instance = VeloPayments::PayoutStatusV4.new()
|
14
|
+
```
|
15
|
+
|
16
|
+
|
@@ -0,0 +1,41 @@
|
|
1
|
+
# VeloPayments::PayoutSummaryAuditV3
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**payout_id** | **String** | |
|
8
|
+
**payor_id** | **String** | | [optional]
|
9
|
+
**status** | [**PayoutStatusV3**](PayoutStatusV3.md) | |
|
10
|
+
**date_time** | **DateTime** | | [optional]
|
11
|
+
**submitted_date_time** | **String** | |
|
12
|
+
**instructed_date_time** | **String** | | [optional]
|
13
|
+
**withdrawn_date_time** | **String** | | [optional]
|
14
|
+
**total_payments** | **Integer** | | [optional]
|
15
|
+
**total_incomplete_payments** | **Integer** | | [optional]
|
16
|
+
**total_failed_payments** | **Integer** | | [optional]
|
17
|
+
**source_account_summary** | [**Array<SourceAccountSummaryV3>**](SourceAccountSummaryV3.md) | | [optional]
|
18
|
+
**fx_summaries** | [**Array<FxSummaryV3>**](FxSummaryV3.md) | | [optional]
|
19
|
+
**payout_memo** | **String** | | [optional]
|
20
|
+
|
21
|
+
## Code Sample
|
22
|
+
|
23
|
+
```ruby
|
24
|
+
require 'VeloPayments'
|
25
|
+
|
26
|
+
instance = VeloPayments::PayoutSummaryAuditV3.new(payout_id: null,
|
27
|
+
payor_id: null,
|
28
|
+
status: null,
|
29
|
+
date_time: null,
|
30
|
+
submitted_date_time: null,
|
31
|
+
instructed_date_time: null,
|
32
|
+
withdrawn_date_time: null,
|
33
|
+
total_payments: 123,
|
34
|
+
total_incomplete_payments: 123,
|
35
|
+
total_failed_payments: 123,
|
36
|
+
source_account_summary: null,
|
37
|
+
fx_summaries: null,
|
38
|
+
payout_memo: null)
|
39
|
+
```
|
40
|
+
|
41
|
+
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# VeloPayments::
|
1
|
+
# VeloPayments::PayoutSummaryAuditV4
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -6,15 +6,16 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**payout_id** | **String** | |
|
8
8
|
**payor_id** | **String** | | [optional]
|
9
|
-
**status** | [**
|
9
|
+
**status** | [**PayoutStatusV4**](PayoutStatusV4.md) | |
|
10
10
|
**date_time** | **DateTime** | | [optional]
|
11
11
|
**submitted_date_time** | **String** | |
|
12
12
|
**instructed_date_time** | **String** | | [optional]
|
13
|
+
**withdrawn_date_time** | **String** | | [optional]
|
13
14
|
**total_payments** | **Integer** | | [optional]
|
14
15
|
**total_incomplete_payments** | **Integer** | | [optional]
|
15
|
-
**
|
16
|
-
**source_account_summary** | [**Array<
|
17
|
-
**fx_summaries** | [**Array<
|
16
|
+
**total_returned_payments** | **Integer** | | [optional]
|
17
|
+
**source_account_summary** | [**Array<SourceAccountSummaryV4>**](SourceAccountSummaryV4.md) | | [optional]
|
18
|
+
**fx_summaries** | [**Array<FxSummaryV4>**](FxSummaryV4.md) | | [optional]
|
18
19
|
**payout_memo** | **String** | | [optional]
|
19
20
|
|
20
21
|
## Code Sample
|
@@ -22,15 +23,16 @@ Name | Type | Description | Notes
|
|
22
23
|
```ruby
|
23
24
|
require 'VeloPayments'
|
24
25
|
|
25
|
-
instance = VeloPayments::
|
26
|
+
instance = VeloPayments::PayoutSummaryAuditV4.new(payout_id: null,
|
26
27
|
payor_id: null,
|
27
28
|
status: null,
|
28
29
|
date_time: null,
|
29
30
|
submitted_date_time: null,
|
30
31
|
instructed_date_time: null,
|
32
|
+
withdrawn_date_time: null,
|
31
33
|
total_payments: null,
|
32
34
|
total_incomplete_payments: null,
|
33
|
-
|
35
|
+
total_returned_payments: null,
|
34
36
|
source_account_summary: null,
|
35
37
|
fx_summaries: null,
|
36
38
|
payout_memo: null)
|
@@ -19,10 +19,10 @@ Name | Type | Description | Notes
|
|
19
19
|
require 'VeloPayments'
|
20
20
|
|
21
21
|
instance = VeloPayments::PayoutSummaryResponse.new(payout_id: null,
|
22
|
-
status:
|
23
|
-
payments_submitted:
|
24
|
-
payments_accepted:
|
25
|
-
payments_rejected:
|
22
|
+
status: COMPLETED,
|
23
|
+
payments_submitted: 10,
|
24
|
+
payments_accepted: 10,
|
25
|
+
payments_rejected: 0,
|
26
26
|
fx_summaries: null,
|
27
27
|
accounts: null,
|
28
28
|
rejected_payments: null)
|
data/docs/QuoteFxSummary.md
CHANGED
@@ -4,8 +4,8 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**rate** | **
|
8
|
-
**inverted_rate** | **
|
7
|
+
**rate** | **Float** | |
|
8
|
+
**inverted_rate** | **Float** | | [optional]
|
9
9
|
**creation_time** | **DateTime** | |
|
10
10
|
**expiry_time** | **DateTime** | | [optional]
|
11
11
|
**quote_id** | **String** | |
|
@@ -21,17 +21,17 @@ Name | Type | Description | Notes
|
|
21
21
|
```ruby
|
22
22
|
require 'VeloPayments'
|
23
23
|
|
24
|
-
instance = VeloPayments::QuoteFxSummary.new(rate:
|
25
|
-
inverted_rate:
|
24
|
+
instance = VeloPayments::QuoteFxSummary.new(rate: 1.12,
|
25
|
+
inverted_rate: 1.12,
|
26
26
|
creation_time: null,
|
27
27
|
expiry_time: null,
|
28
28
|
quote_id: null,
|
29
|
-
total_source_amount:
|
30
|
-
total_payment_amount:
|
31
|
-
source_currency:
|
32
|
-
payment_currency:
|
33
|
-
funding_status:
|
34
|
-
status:
|
29
|
+
total_source_amount: 1234,
|
30
|
+
total_payment_amount: 1234,
|
31
|
+
source_currency: USD,
|
32
|
+
payment_currency: USD,
|
33
|
+
funding_status: FUNDED,
|
34
|
+
status: QUOTED)
|
35
35
|
```
|
36
36
|
|
37
37
|
|
data/docs/RejectedPayment.md
CHANGED
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
|
|
10
10
|
**source_account_name** | **String** | |
|
11
11
|
**payor_payment_id** | **String** | |
|
12
12
|
**reason** | **String** | |
|
13
|
+
**reason_code** | **String** | | [optional]
|
13
14
|
**line_number** | **Integer** | | [optional]
|
14
15
|
**message** | **String** | | [optional]
|
15
16
|
|
@@ -18,14 +19,15 @@ Name | Type | Description | Notes
|
|
18
19
|
```ruby
|
19
20
|
require 'VeloPayments'
|
20
21
|
|
21
|
-
instance = VeloPayments::RejectedPayment.new(remote_id:
|
22
|
-
currency_type:
|
23
|
-
amount:
|
24
|
-
source_account_name:
|
25
|
-
payor_payment_id:
|
26
|
-
reason:
|
27
|
-
|
28
|
-
|
22
|
+
instance = VeloPayments::RejectedPayment.new(remote_id: remoteIdVal123,
|
23
|
+
currency_type: USD,
|
24
|
+
amount: 1234,
|
25
|
+
source_account_name: Chase,
|
26
|
+
payor_payment_id: paymenIdVal123123,
|
27
|
+
reason: The payee has not been onboarded,
|
28
|
+
reason_code: PAYMENT_VALUE_TOO_HIGH,
|
29
|
+
line_number: 10,
|
30
|
+
message: Payment cannot be processed because of the Payee's OFAC or Compliance Status)
|
29
31
|
```
|
30
32
|
|
31
33
|
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# VeloPayments::SetNotificationsRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**minimum_balance** | **Integer** | Amount to set as minimum balance in minor units |
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'VeloPayments'
|
13
|
+
|
14
|
+
instance = VeloPayments::SetNotificationsRequest.new(minimum_balance: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
data/docs/SourceAccount.md
CHANGED
@@ -14,10 +14,10 @@ Name | Type | Description | Notes
|
|
14
14
|
```ruby
|
15
15
|
require 'VeloPayments'
|
16
16
|
|
17
|
-
instance = VeloPayments::SourceAccount.new(source_account_name:
|
17
|
+
instance = VeloPayments::SourceAccount.new(source_account_name: AccountName,
|
18
18
|
source_account_id: null,
|
19
|
-
currency:
|
20
|
-
total_payout_cost:
|
19
|
+
currency: USD,
|
20
|
+
total_payout_cost: 1231200)
|
21
21
|
```
|
22
22
|
|
23
23
|
|
@@ -5,7 +5,7 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**id** | **String** | Source Account Id | [optional]
|
8
|
-
**balance** | **
|
8
|
+
**balance** | **Integer** | Decimal implied | [optional]
|
9
9
|
**currency** | **String** | | [optional]
|
10
10
|
**funding_ref** | **String** | | [optional]
|
11
11
|
**physical_account_name** | **String** | | [optional]
|
@@ -16,6 +16,7 @@ Name | Type | Description | Notes
|
|
16
16
|
**balance_visible** | **Boolean** | | [optional]
|
17
17
|
**customer_id** | **String** | | [optional]
|
18
18
|
**physical_account_id** | **String** | | [optional]
|
19
|
+
**funding_account_id** | **String** | | [optional]
|
19
20
|
|
20
21
|
## Code Sample
|
21
22
|
|
@@ -23,17 +24,18 @@ Name | Type | Description | Notes
|
|
23
24
|
require 'VeloPayments'
|
24
25
|
|
25
26
|
instance = VeloPayments::SourceAccountResponse.new(id: null,
|
26
|
-
balance:
|
27
|
-
currency:
|
28
|
-
funding_ref:
|
29
|
-
physical_account_name:
|
30
|
-
rails_id:
|
27
|
+
balance: 1203489,
|
28
|
+
currency: USD,
|
29
|
+
funding_ref: a1b2c3d4,
|
30
|
+
physical_account_name: VELO_FBO_MYBANKA_USD,
|
31
|
+
rails_id: BOA_RAIL,
|
31
32
|
payor_id: null,
|
32
|
-
name:
|
33
|
+
name: MyAccountName,
|
33
34
|
pooled: null,
|
34
35
|
balance_visible: null,
|
35
|
-
customer_id:
|
36
|
-
physical_account_id: null
|
36
|
+
customer_id: Joe Customer,
|
37
|
+
physical_account_id: null,
|
38
|
+
funding_account_id: null)
|
37
39
|
```
|
38
40
|
|
39
41
|
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# VeloPayments::SourceAccountResponseV2
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**id** | **String** | Source Account Id |
|
8
|
+
**balance** | **Integer** | Decimal implied | [optional]
|
9
|
+
**currency** | **String** | | [optional]
|
10
|
+
**funding_ref** | **String** | |
|
11
|
+
**physical_account_name** | **String** | |
|
12
|
+
**rails_id** | **String** | |
|
13
|
+
**payor_id** | **String** | | [optional]
|
14
|
+
**name** | **String** | | [optional]
|
15
|
+
**pooled** | **Boolean** | |
|
16
|
+
**balance_visible** | **Boolean** | |
|
17
|
+
**customer_id** | **String** | | [optional]
|
18
|
+
**physical_account_id** | **String** | | [optional]
|
19
|
+
**notifications** | [**Notifications**](Notifications.md) | | [optional]
|
20
|
+
**funding_account_id** | **String** | | [optional]
|
21
|
+
**auto_top_up_config** | [**AutoTopUpConfig**](AutoTopUpConfig.md) | |
|
22
|
+
|
23
|
+
## Code Sample
|
24
|
+
|
25
|
+
```ruby
|
26
|
+
require 'VeloPayments'
|
27
|
+
|
28
|
+
instance = VeloPayments::SourceAccountResponseV2.new(id: null,
|
29
|
+
balance: 1203489,
|
30
|
+
currency: USD,
|
31
|
+
funding_ref: a1b2c3d4,
|
32
|
+
physical_account_name: VELO_FBO_MYBANKA_USD,
|
33
|
+
rails_id: BOA_RAIL,
|
34
|
+
payor_id: null,
|
35
|
+
name: MyAccountName,
|
36
|
+
pooled: null,
|
37
|
+
balance_visible: null,
|
38
|
+
customer_id: Joe Customer,
|
39
|
+
physical_account_id: null,
|
40
|
+
notifications: null,
|
41
|
+
funding_account_id: null,
|
42
|
+
auto_top_up_config: null)
|
43
|
+
```
|
44
|
+
|
45
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# VeloPayments::SourceAccountSummaryV3
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**source_account_id** | **String** | |
|
8
|
+
**total_cost** | **Integer** | |
|
9
|
+
**currency** | [**PaymentAuditCurrencyV3**](PaymentAuditCurrencyV3.md) | | [optional]
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'VeloPayments'
|
15
|
+
|
16
|
+
instance = VeloPayments::SourceAccountSummaryV3.new(source_account_id: null,
|
17
|
+
total_cost: 3434,
|
18
|
+
currency: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|