velopayments 2.14.90.pre.1 → 2.17.8.beta1
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/LICENSE +1 -1
- data/Makefile +41 -9
- data/README.md +61 -23
- data/docs/AuthApi.md +8 -9
- data/docs/AuthResponse.md +3 -1
- data/docs/CompanyResponse.md +19 -0
- data/docs/{Company.md → CompanyV1.md} +2 -2
- data/docs/CreateIndividual.md +1 -1
- data/docs/CreateIndividual2.md +21 -0
- data/docs/CreatePayee.md +3 -3
- data/docs/CreatePayee2.md +37 -0
- data/docs/CreatePayeeAddress.md +1 -1
- data/docs/CreatePayeeAddress2.md +31 -0
- data/docs/CreatePayeesCSVRequest.md +1 -1
- data/docs/CreatePayeesCSVRequest2.md +73 -0
- data/docs/CreatePayeesCSVResponse2.md +19 -0
- data/docs/CreatePayeesRequest2.md +19 -0
- data/docs/CreatePaymentChannel2.md +29 -0
- data/docs/CreatePayoutRequest.md +6 -2
- data/docs/Error.md +23 -0
- data/docs/ErrorResponse.md +19 -0
- data/docs/FundingAudit.md +3 -1
- data/docs/FundingDelta.md +23 -0
- data/docs/FundingDeltaResponse.md +21 -0
- data/docs/FundingDeltaResponseLinks.md +19 -0
- data/docs/FundingEvent.md +3 -1
- data/docs/FundingManagerApi.md +33 -26
- data/docs/GetFundingsResponse.md +1 -1
- data/docs/GetFundingsResponseAllOf.md +1 -1
- data/docs/GetPaymentsForPayoutResponseV4.md +2 -2
- data/docs/GetPaymentsForPayoutResponseV4Summary.md +16 -0
- data/docs/GetPayoutsResponseV4.md +3 -3
- data/docs/IndividualResponse.md +17 -0
- data/docs/{Individual.md → IndividualV1.md} +5 -5
- data/docs/{IndividualName.md → IndividualV1Name.md} +2 -2
- data/docs/PagedPayeeInvitationStatusResponse.md +2 -2
- data/docs/PagedPayeeResponse.md +23 -0
- data/docs/PagedPayeeResponse2.md +23 -0
- data/docs/PagedPayeeResponse2Summary.md +25 -0
- data/docs/{PayeeResponseLinks.md → PagedPayeeResponseLinks.md} +2 -2
- data/docs/{PayeeResponsePage.md → PagedPayeeResponsePage.md} +2 -2
- data/docs/{PayeeResponseSummary.md → PagedPayeeResponseSummary.md} +2 -2
- data/docs/Payee.md +9 -9
- data/docs/{Address.md → PayeeAddress.md} +2 -2
- data/docs/PayeeDelta.md +1 -1
- data/docs/PayeeInvitationApi.md +109 -3
- data/docs/{PaymentChannel.md → PayeePaymentChannel.md} +2 -2
- data/docs/{PayorRef.md → PayeePayorRef.md} +2 -2
- data/docs/PayeePayorRef2.md +21 -0
- data/docs/PayeeResponse.md +40 -8
- data/docs/PayeeResponse2.md +55 -0
- data/docs/PayeesApi.md +133 -4
- data/docs/PaymentAuditServiceApi.md +70 -7
- data/docs/PaymentDelta.md +31 -0
- data/docs/PaymentDeltaResponse.md +21 -0
- data/docs/PaymentResponseV4.md +4 -2
- data/docs/PaymentResponseV4Payout.md +19 -0
- data/docs/PaymentStatus.md +16 -0
- data/docs/PayorAddress.md +31 -0
- data/docs/PayorAddressV2.md +31 -0
- data/docs/PayorV1.md +9 -7
- data/docs/PayorV2.md +9 -7
- data/docs/PayorsApi.md +8 -6
- data/docs/PayoutPayorV4.md +25 -0
- data/docs/PayoutPrincipalV4.md +19 -0
- data/docs/PayoutSummaryAuditV4.md +5 -3
- data/docs/PayoutTypeV4.md +16 -0
- data/docs/QuoteFxSummary.md +2 -2
- data/docs/UpdateRemoteIdRequest.md +19 -0
- data/docs/WatchlistStatus.md +16 -0
- data/lib/velopayments.rb +41 -12
- data/lib/velopayments/api/auth_api.rb +9 -16
- data/lib/velopayments/api/countries_api.rb +2 -2
- data/lib/velopayments/api/currencies_api.rb +2 -2
- data/lib/velopayments/api/funding_manager_api.rb +63 -55
- data/lib/velopayments/api/get_payout_api.rb +3 -3
- data/lib/velopayments/api/instruct_payout_api.rb +3 -3
- data/lib/velopayments/api/payee_invitation_api.rb +134 -8
- data/lib/velopayments/api/payees_api.rb +177 -9
- data/lib/velopayments/api/payment_audit_service_api.rb +95 -12
- data/lib/velopayments/api/payor_applications_api.rb +4 -4
- data/lib/velopayments/api/payors_api.rb +18 -19
- data/lib/velopayments/api/payout_history_api.rb +4 -4
- data/lib/velopayments/api/quote_payout_api.rb +3 -3
- data/lib/velopayments/api/submit_payout_api.rb +2 -2
- data/lib/velopayments/api/withdraw_payout_api.rb +3 -3
- data/lib/velopayments/api_client.rb +30 -30
- data/lib/velopayments/api_error.rb +2 -2
- data/lib/velopayments/configuration.rb +9 -2
- data/lib/velopayments/models/auth_response.rb +28 -7
- data/lib/velopayments/models/auto_top_up_config.rb +15 -3
- data/lib/velopayments/models/challenge.rb +13 -3
- data/lib/velopayments/models/company_response.rb +273 -0
- data/lib/velopayments/models/{company.rb → company_v1.rb} +18 -6
- data/lib/velopayments/models/create_individual.rb +14 -4
- data/lib/velopayments/models/create_individual2.rb +259 -0
- data/lib/velopayments/models/create_payee.rb +17 -5
- data/lib/velopayments/models/{payor_funding_bank_details_update.rb → create_payee2.rb} +153 -93
- data/lib/velopayments/models/create_payee_address.rb +19 -3
- data/lib/velopayments/models/create_payee_address2.rb +510 -0
- data/lib/velopayments/models/create_payees_csv_request.rb +14 -3
- data/lib/velopayments/models/create_payees_csv_request2.rb +1142 -0
- data/lib/velopayments/models/create_payees_csv_response.rb +13 -3
- data/lib/velopayments/models/create_payees_csv_response2.rb +217 -0
- data/lib/velopayments/models/create_payees_request.rb +13 -3
- data/lib/velopayments/models/create_payees_request2.rb +227 -0
- data/lib/velopayments/models/create_payment_channel.rb +13 -3
- data/lib/velopayments/models/create_payment_channel2.rb +418 -0
- data/lib/velopayments/models/create_payout_request.rb +36 -9
- data/lib/velopayments/models/error.rb +271 -0
- data/lib/velopayments/models/error_response.rb +222 -0
- data/lib/velopayments/models/failed_submission.rb +13 -3
- data/lib/velopayments/models/funding_audit.rb +38 -7
- data/lib/velopayments/models/funding_delta.rb +298 -0
- data/lib/velopayments/models/funding_delta_response.rb +229 -0
- data/lib/velopayments/models/funding_delta_response_links.rb +215 -0
- data/lib/velopayments/models/funding_event.rb +26 -7
- data/lib/velopayments/models/funding_event_type.rb +2 -2
- data/lib/velopayments/models/funding_request_v1.rb +13 -3
- data/lib/velopayments/models/funding_request_v2.rb +13 -3
- data/lib/velopayments/models/fx_summary_v3.rb +13 -3
- data/lib/velopayments/models/fx_summary_v4.rb +13 -3
- data/lib/velopayments/models/get_fundings_response.rb +17 -5
- data/lib/velopayments/models/get_fundings_response_all_of.rb +17 -5
- data/lib/velopayments/models/get_payments_for_payout_response_v3.rb +13 -3
- data/lib/velopayments/models/get_payments_for_payout_response_v3_page.rb +13 -3
- data/lib/velopayments/models/get_payments_for_payout_response_v3_summary.rb +13 -3
- data/lib/velopayments/models/get_payments_for_payout_response_v4.rb +15 -5
- data/lib/velopayments/models/get_payments_for_payout_response_v4_summary.rb +87 -4
- data/lib/velopayments/models/get_payout_statistics.rb +13 -3
- data/lib/velopayments/models/get_payouts_response_v3.rb +13 -3
- data/lib/velopayments/models/get_payouts_response_v3_links.rb +13 -3
- data/lib/velopayments/models/get_payouts_response_v3_page.rb +13 -3
- data/lib/velopayments/models/get_payouts_response_v3_summary.rb +13 -3
- data/lib/velopayments/models/get_payouts_response_v4.rb +16 -6
- data/lib/velopayments/models/individual_response.rb +211 -0
- data/lib/velopayments/models/{individual.rb → individual_v1.rb} +17 -7
- data/lib/velopayments/models/{individual_name.rb → individual_v1_name.rb} +16 -6
- data/lib/velopayments/models/invitation_status.rb +2 -2
- data/lib/velopayments/models/invitation_status_response.rb +13 -3
- data/lib/velopayments/models/invite_payee_request.rb +13 -3
- data/lib/velopayments/models/language.rb +2 -2
- data/lib/velopayments/models/list_payments_response.rb +13 -3
- data/lib/velopayments/models/list_payments_response_page.rb +13 -3
- data/lib/velopayments/models/list_payments_response_summary.rb +13 -3
- data/lib/velopayments/models/list_source_account_response.rb +13 -3
- data/lib/velopayments/models/list_source_account_response_links.rb +13 -3
- data/lib/velopayments/models/list_source_account_response_page.rb +13 -3
- data/lib/velopayments/models/list_source_account_response_v2.rb +13 -3
- data/lib/velopayments/models/list_source_account_response_v2_page.rb +13 -3
- data/lib/velopayments/models/marketing_opt_in.rb +13 -3
- data/lib/velopayments/models/notifications.rb +13 -3
- 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 +15 -5
- data/lib/velopayments/models/paged_payee_response.rb +238 -0
- data/lib/velopayments/models/paged_payee_response2.rb +238 -0
- data/lib/velopayments/models/paged_payee_response2_summary.rb +242 -0
- data/lib/velopayments/models/{payee_response_links.rb → paged_payee_response_links.rb} +16 -6
- data/lib/velopayments/models/{payee_response_page.rb → paged_payee_response_page.rb} +16 -6
- data/lib/velopayments/models/{payee_response_summary.rb → paged_payee_response_summary.rb} +16 -6
- data/lib/velopayments/models/paged_response.rb +13 -3
- data/lib/velopayments/models/paged_response_page.rb +13 -3
- data/lib/velopayments/models/payee.rb +24 -8
- data/lib/velopayments/models/{address.rb → payee_address.rb} +21 -6
- data/lib/velopayments/models/payee_delta.rb +14 -3
- data/lib/velopayments/models/payee_delta_response.rb +13 -3
- data/lib/velopayments/models/payee_delta_response_links.rb +13 -3
- data/lib/velopayments/models/payee_delta_response_page.rb +13 -3
- data/lib/velopayments/models/payee_invitation_status.rb +13 -3
- data/lib/velopayments/models/payee_invitation_status_response.rb +13 -3
- data/lib/velopayments/models/{payment_channel.rb → payee_payment_channel.rb} +16 -6
- data/lib/velopayments/models/{payor_ref.rb → payee_payor_ref.rb} +16 -6
- data/lib/velopayments/models/payee_payor_ref2.rb +224 -0
- data/lib/velopayments/models/payee_response.rb +192 -32
- data/lib/velopayments/models/payee_response2.rb +388 -0
- data/lib/velopayments/models/payee_type.rb +2 -2
- data/lib/velopayments/models/payment_audit_currency_v3.rb +2 -2
- data/lib/velopayments/models/payment_audit_currency_v4.rb +2 -2
- data/lib/velopayments/models/payment_channel_country.rb +13 -3
- data/lib/velopayments/models/payment_channel_rule.rb +13 -3
- data/lib/velopayments/models/payment_channel_rules_response.rb +13 -3
- data/lib/velopayments/models/payment_delta.rb +285 -0
- data/lib/velopayments/models/payment_delta_response.rb +229 -0
- data/lib/velopayments/models/payment_event_response_v3.rb +13 -3
- data/lib/velopayments/models/payment_event_response_v4.rb +13 -3
- data/lib/velopayments/models/payment_instruction.rb +13 -3
- data/lib/velopayments/models/payment_response_v3.rb +13 -3
- data/lib/velopayments/models/payment_response_v4.rb +27 -7
- data/lib/velopayments/models/payment_response_v4_payout.rb +215 -0
- data/lib/velopayments/models/payment_status.rb +42 -0
- data/lib/velopayments/models/payor_address.rb +493 -0
- data/lib/velopayments/models/payor_address_v2.rb +493 -0
- data/lib/velopayments/models/payor_branding_response.rb +16 -3
- data/lib/velopayments/models/payor_create_api_key_request.rb +14 -3
- data/lib/velopayments/models/payor_create_api_key_response.rb +13 -3
- data/lib/velopayments/models/payor_create_application_request.rb +14 -3
- data/lib/velopayments/models/payor_email_opt_out_request.rb +13 -3
- data/lib/velopayments/models/payor_links_response.rb +13 -3
- data/lib/velopayments/models/payor_links_response_links.rb +13 -3
- data/lib/velopayments/models/payor_links_response_payors.rb +13 -3
- data/lib/velopayments/models/payor_logo_request.rb +13 -3
- data/lib/velopayments/models/payor_v1.rb +27 -8
- data/lib/velopayments/models/payor_v2.rb +27 -8
- data/lib/velopayments/models/payout_payor_v4.rb +273 -0
- data/lib/velopayments/models/payout_principal_v4.rb +228 -0
- data/lib/velopayments/models/payout_status_v3.rb +2 -2
- data/lib/velopayments/models/payout_status_v4.rb +2 -2
- data/lib/velopayments/models/payout_summary_audit_v3.rb +13 -3
- data/lib/velopayments/models/payout_summary_audit_v4.rb +33 -8
- data/lib/velopayments/models/payout_summary_response.rb +13 -3
- data/lib/velopayments/models/payout_type_v4.rb +37 -0
- data/lib/velopayments/models/query_batch_response.rb +13 -3
- data/lib/velopayments/models/quote_fx_summary.rb +69 -3
- data/lib/velopayments/models/quote_response.rb +13 -3
- data/lib/velopayments/models/rejected_payment.rb +13 -3
- data/lib/velopayments/models/set_notifications_request.rb +13 -3
- data/lib/velopayments/models/source_account.rb +13 -3
- data/lib/velopayments/models/source_account_response.rb +15 -3
- data/lib/velopayments/models/source_account_response_v2.rb +15 -3
- data/lib/velopayments/models/source_account_summary_v3.rb +13 -3
- data/lib/velopayments/models/source_account_summary_v4.rb +13 -3
- data/lib/velopayments/models/supported_countries_response.rb +13 -3
- data/lib/velopayments/models/supported_country.rb +13 -3
- data/lib/velopayments/models/supported_currency.rb +13 -3
- data/lib/velopayments/models/supported_currency_response.rb +13 -3
- data/lib/velopayments/models/update_remote_id_request.rb +253 -0
- data/lib/velopayments/models/watchlist_status.rb +39 -0
- data/lib/velopayments/version.rb +3 -3
- data/oa3-config.json +2 -2
- data/spec/api/auth_api_spec.rb +3 -4
- 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 +17 -15
- 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 +27 -3
- data/spec/api/payees_api_spec.rb +39 -4
- data/spec/api/payment_audit_service_api_spec.rb +21 -5
- data/spec/api/payor_applications_api_spec.rb +2 -2
- data/spec/api/payors_api_spec.rb +5 -4
- data/spec/api/payout_history_api_spec.rb +2 -2
- data/spec/api/quote_payout_api_spec.rb +2 -2
- data/spec/api/submit_payout_api_spec.rb +2 -2
- data/spec/api/withdraw_payout_api_spec.rb +2 -2
- data/spec/api_client_spec.rb +3 -3
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/auth_response_spec.rb +8 -2
- data/spec/models/auto_top_up_config_spec.rb +2 -2
- data/spec/models/challenge_spec.rb +2 -2
- data/spec/models/company_response_spec.rb +47 -0
- data/spec/models/{company_spec.rb → company_v1_spec.rb} +8 -8
- data/spec/models/{payor_funding_bank_details_update_spec.rb → create_individual2_spec.rb} +11 -11
- data/spec/models/create_individual_spec.rb +2 -2
- data/spec/models/create_payee2_spec.rb +101 -0
- data/spec/models/create_payee_address2_spec.rb +87 -0
- data/spec/models/create_payee_address_spec.rb +2 -2
- data/spec/models/create_payee_spec.rb +2 -2
- data/spec/models/create_payees_csv_request2_spec.rb +225 -0
- data/spec/models/create_payees_csv_request_spec.rb +2 -2
- data/spec/models/create_payees_csv_response2_spec.rb +47 -0
- data/spec/models/create_payees_csv_response_spec.rb +2 -2
- data/spec/models/create_payees_request2_spec.rb +47 -0
- data/spec/models/create_payees_request_spec.rb +2 -2
- data/spec/models/create_payment_channel2_spec.rb +85 -0
- data/spec/models/create_payment_channel_spec.rb +2 -2
- data/spec/models/create_payout_request_spec.rb +14 -2
- data/spec/models/error_response_spec.rb +47 -0
- data/spec/models/error_spec.rb +63 -0
- data/spec/models/failed_submission_spec.rb +2 -2
- data/spec/models/funding_audit_spec.rb +12 -2
- data/spec/models/funding_delta_response_links_spec.rb +47 -0
- data/spec/models/funding_delta_response_spec.rb +53 -0
- data/spec/models/funding_delta_spec.rb +59 -0
- data/spec/models/funding_event_spec.rb +8 -2
- data/spec/models/funding_event_type_spec.rb +2 -2
- data/spec/models/funding_request_v1_spec.rb +2 -2
- data/spec/models/funding_request_v2_spec.rb +2 -2
- data/spec/models/fx_summary_v3_spec.rb +2 -2
- data/spec/models/fx_summary_v4_spec.rb +2 -2
- data/spec/models/get_fundings_response_all_of_spec.rb +2 -2
- data/spec/models/get_fundings_response_spec.rb +2 -2
- data/spec/models/get_payments_for_payout_response_v3_page_spec.rb +2 -2
- data/spec/models/get_payments_for_payout_response_v3_spec.rb +2 -2
- data/spec/models/get_payments_for_payout_response_v3_summary_spec.rb +2 -2
- data/spec/models/get_payments_for_payout_response_v4_spec.rb +2 -2
- data/spec/models/get_payments_for_payout_response_v4_summary_spec.rb +50 -2
- data/spec/models/get_payout_statistics_spec.rb +2 -2
- data/spec/models/get_payouts_response_v3_links_spec.rb +2 -2
- data/spec/models/get_payouts_response_v3_page_spec.rb +2 -2
- data/spec/models/get_payouts_response_v3_spec.rb +2 -2
- data/spec/models/get_payouts_response_v3_summary_spec.rb +2 -2
- data/spec/models/get_payouts_response_v4_spec.rb +2 -2
- data/spec/models/individual_response_spec.rb +41 -0
- data/spec/models/{individual_name_spec.rb → individual_v1_name_spec.rb} +8 -8
- data/spec/models/{individual_spec.rb → individual_v1_spec.rb} +8 -8
- data/spec/models/invitation_status_response_spec.rb +2 -2
- data/spec/models/invitation_status_spec.rb +2 -2
- 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 +2 -2
- data/spec/models/list_payments_response_spec.rb +2 -2
- data/spec/models/list_payments_response_summary_spec.rb +2 -2
- data/spec/models/list_source_account_response_links_spec.rb +2 -2
- data/spec/models/list_source_account_response_page_spec.rb +2 -2
- data/spec/models/list_source_account_response_spec.rb +2 -2
- data/spec/models/list_source_account_response_v2_page_spec.rb +2 -2
- data/spec/models/list_source_account_response_v2_spec.rb +2 -2
- data/spec/models/marketing_opt_in_spec.rb +2 -2
- data/spec/models/notifications_spec.rb +2 -2
- 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 +2 -2
- data/spec/models/paged_payee_response2_spec.rb +59 -0
- data/spec/models/paged_payee_response2_summary_spec.rb +65 -0
- data/spec/models/{payee_response_links_spec.rb → paged_payee_response_links_spec.rb} +8 -8
- data/spec/models/{payee_response_page_spec.rb → paged_payee_response_page_spec.rb} +8 -8
- data/spec/models/paged_payee_response_spec.rb +59 -0
- data/spec/models/{payee_response_summary_spec.rb → paged_payee_response_summary_spec.rb} +8 -8
- data/spec/models/paged_response_page_spec.rb +2 -2
- data/spec/models/paged_response_spec.rb +2 -2
- data/spec/models/{address_spec.rb → payee_address_spec.rb} +8 -8
- data/spec/models/payee_delta_response_links_spec.rb +2 -2
- data/spec/models/payee_delta_response_page_spec.rb +2 -2
- data/spec/models/payee_delta_response_spec.rb +2 -2
- data/spec/models/payee_delta_spec.rb +2 -2
- data/spec/models/payee_invitation_status_response_spec.rb +2 -2
- data/spec/models/payee_invitation_status_spec.rb +2 -2
- data/spec/models/{payment_channel_spec.rb → payee_payment_channel_spec.rb} +8 -8
- data/spec/models/payee_payor_ref2_spec.rb +53 -0
- data/spec/models/{payor_ref_spec.rb → payee_payor_ref_spec.rb} +8 -8
- data/spec/models/payee_response2_spec.rb +155 -0
- data/spec/models/payee_response_spec.rb +102 -6
- data/spec/models/payee_spec.rb +2 -2
- data/spec/models/payee_type_spec.rb +2 -2
- data/spec/models/payment_audit_currency_v3_spec.rb +2 -2
- data/spec/models/payment_audit_currency_v4_spec.rb +2 -2
- 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_delta_response_spec.rb +53 -0
- data/spec/models/payment_delta_spec.rb +83 -0
- data/spec/models/payment_event_response_v3_spec.rb +2 -2
- data/spec/models/payment_event_response_v4_spec.rb +2 -2
- data/spec/models/payment_instruction_spec.rb +2 -2
- data/spec/models/payment_response_v3_spec.rb +2 -2
- data/spec/models/payment_response_v4_payout_spec.rb +47 -0
- data/spec/models/payment_response_v4_spec.rb +8 -2
- data/spec/models/payment_status_spec.rb +35 -0
- data/spec/models/payor_address_spec.rb +83 -0
- data/spec/models/payor_address_v2_spec.rb +83 -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_links_response_links_spec.rb +2 -2
- data/spec/models/payor_links_response_payors_spec.rb +2 -2
- data/spec/models/payor_links_response_spec.rb +2 -2
- data/spec/models/payor_logo_request_spec.rb +2 -2
- data/spec/models/payor_v1_spec.rb +8 -2
- data/spec/models/payor_v2_spec.rb +8 -2
- data/spec/models/payout_payor_v4_spec.rb +65 -0
- data/spec/models/payout_principal_v4_spec.rb +47 -0
- data/spec/models/payout_status_v3_spec.rb +2 -2
- data/spec/models/payout_status_v4_spec.rb +2 -2
- data/spec/models/payout_summary_audit_v3_spec.rb +2 -2
- data/spec/models/payout_summary_audit_v4_spec.rb +8 -2
- data/spec/models/payout_summary_response_spec.rb +2 -2
- data/spec/models/payout_type_v4_spec.rb +35 -0
- data/spec/models/query_batch_response_spec.rb +2 -2
- data/spec/models/quote_fx_summary_spec.rb +10 -2
- data/spec/models/quote_response_spec.rb +2 -2
- data/spec/models/rejected_payment_spec.rb +2 -2
- data/spec/models/set_notifications_request_spec.rb +2 -2
- data/spec/models/source_account_response_spec.rb +2 -2
- data/spec/models/source_account_response_v2_spec.rb +2 -2
- data/spec/models/source_account_spec.rb +2 -2
- data/spec/models/source_account_summary_v3_spec.rb +2 -2
- data/spec/models/source_account_summary_v4_spec.rb +2 -2
- data/spec/models/supported_countries_response_spec.rb +2 -2
- data/spec/models/supported_country_spec.rb +2 -2
- data/spec/models/supported_currency_response_spec.rb +2 -2
- data/spec/models/supported_currency_spec.rb +2 -2
- data/spec/models/update_remote_id_request_spec.rb +47 -0
- data/spec/models/watchlist_status_spec.rb +35 -0
- data/spec/spec_helper.rb +2 -2
- data/velopayments.gemspec +2 -8
- metadata +252 -259
- data/Gemfile.lock +0 -79
- data/docs/PayorFundingBankDetailsUpdate.md +0 -21
- data/velopayments-2.11.73.gem +0 -0
- data/velopayments-2.14.90.gem +0 -0
@@ -12,6 +12,7 @@ Method | HTTP request | Description
|
|
12
12
|
[**get_payments_for_payout_v4**](PaymentAuditServiceApi.md#get_payments_for_payout_v4) | **GET** /v4/paymentaudit/payouts/{payoutId} | Get Payments for Payout
|
13
13
|
[**get_payouts_for_payor**](PaymentAuditServiceApi.md#get_payouts_for_payor) | **GET** /v3/paymentaudit/payouts | Get Payouts for Payor
|
14
14
|
[**get_payouts_for_payor_v4**](PaymentAuditServiceApi.md#get_payouts_for_payor_v4) | **GET** /v4/paymentaudit/payouts | Get Payouts for Payor
|
15
|
+
[**list_payment_changes**](PaymentAuditServiceApi.md#list_payment_changes) | **GET** /v1/deltas/payments | List Payment Changes
|
15
16
|
[**list_payments_audit**](PaymentAuditServiceApi.md#list_payments_audit) | **GET** /v3/paymentaudit/payments | Get List of Payments
|
16
17
|
[**list_payments_audit_v4**](PaymentAuditServiceApi.md#list_payments_audit_v4) | **GET** /v4/paymentaudit/payments | Get List of Payments
|
17
18
|
|
@@ -38,9 +39,10 @@ end
|
|
38
39
|
|
39
40
|
api_instance = VeloPayments::PaymentAuditServiceApi.new
|
40
41
|
opts = {
|
41
|
-
payor_id: 'payor_id_example', # String | The
|
42
|
+
payor_id: 'payor_id_example', # String | The Payor ID for whom you wish to run the report. For a Payor requesting the report, this could be their exact Payor, or it could be a child/descendant Payor.
|
42
43
|
start_date: Date.parse('2013-10-20'), # Date | Start date, inclusive. Format is YYYY-MM-DD
|
43
|
-
submitted_date_from: Date.parse('2013-10-20') # Date | Start date, inclusive. Format is YYYY-MM-DD
|
44
|
+
submitted_date_from: Date.parse('2013-10-20'), # Date | Start date, inclusive. Format is YYYY-MM-DD
|
45
|
+
include: 'include_example' # String | Mode to determine whether to include other Payor's data in the results. May only be used if payorId is specified. Can be omitted or set to 'payorOnly' or 'payorAndDescendants'. payorOnly: Only include results for the specified Payor. This is the default if 'include' is omitted. payorAndDescendants: Aggregate results for all descendant Payors of the specified Payor. Should only be used if the Payor with the specified payorId has at least one child Payor. Note when a Payor requests the report and include=payorAndDescendants is used, the following additional columns are included in the CSV: Payor Name, Payor Id
|
44
46
|
}
|
45
47
|
|
46
48
|
begin
|
@@ -57,9 +59,10 @@ end
|
|
57
59
|
|
58
60
|
Name | Type | Description | Notes
|
59
61
|
------------- | ------------- | ------------- | -------------
|
60
|
-
**payor_id** | [**String**](.md)| The
|
62
|
+
**payor_id** | [**String**](.md)| The Payor ID for whom you wish to run the report. For a Payor requesting the report, this could be their exact Payor, or it could be a child/descendant Payor. | [optional]
|
61
63
|
**start_date** | **Date**| Start date, inclusive. Format is YYYY-MM-DD | [optional]
|
62
64
|
**submitted_date_from** | **Date**| Start date, inclusive. Format is YYYY-MM-DD | [optional]
|
65
|
+
**include** | **String**| Mode to determine whether to include other Payor's data in the results. May only be used if payorId is specified. Can be omitted or set to 'payorOnly' or 'payorAndDescendants'. payorOnly: Only include results for the specified Payor. This is the default if 'include' is omitted. payorAndDescendants: Aggregate results for all descendant Payors of the specified Payor. Should only be used if the Payor with the specified payorId has at least one child Payor. Note when a Payor requests the report and include=payorAndDescendants is used, the following additional columns are included in the CSV: Payor Name, Payor Id | [optional]
|
63
66
|
|
64
67
|
### Return type
|
65
68
|
|
@@ -539,6 +542,66 @@ Name | Type | Description | Notes
|
|
539
542
|
- **Accept**: application/json
|
540
543
|
|
541
544
|
|
545
|
+
## list_payment_changes
|
546
|
+
|
547
|
+
> PaymentDeltaResponse list_payment_changes(payor_id, updated_since, opts)
|
548
|
+
|
549
|
+
List Payment Changes
|
550
|
+
|
551
|
+
Get a paginated response listing payment changes.
|
552
|
+
|
553
|
+
### Example
|
554
|
+
|
555
|
+
```ruby
|
556
|
+
# load the gem
|
557
|
+
require 'velopayments'
|
558
|
+
# setup authorization
|
559
|
+
VeloPayments.configure do |config|
|
560
|
+
# Configure OAuth2 access token for authorization: OAuth2
|
561
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
562
|
+
end
|
563
|
+
|
564
|
+
api_instance = VeloPayments::PaymentAuditServiceApi.new
|
565
|
+
payor_id = 'payor_id_example' # String | The Payor ID to find associated Payments
|
566
|
+
updated_since = DateTime.parse('2013-10-20T19:20:30+01:00') # DateTime | The updatedSince filter in the format YYYY-MM-DDThh:mm:ss+hh:mm
|
567
|
+
opts = {
|
568
|
+
page: 1, # Integer | Page number. Default is 1.
|
569
|
+
page_size: 100 # Integer | Page size. Default is 100. Max allowable is 1000.
|
570
|
+
}
|
571
|
+
|
572
|
+
begin
|
573
|
+
#List Payment Changes
|
574
|
+
result = api_instance.list_payment_changes(payor_id, updated_since, opts)
|
575
|
+
p result
|
576
|
+
rescue VeloPayments::ApiError => e
|
577
|
+
puts "Exception when calling PaymentAuditServiceApi->list_payment_changes: #{e}"
|
578
|
+
end
|
579
|
+
```
|
580
|
+
|
581
|
+
### Parameters
|
582
|
+
|
583
|
+
|
584
|
+
Name | Type | Description | Notes
|
585
|
+
------------- | ------------- | ------------- | -------------
|
586
|
+
**payor_id** | [**String**](.md)| The Payor ID to find associated Payments |
|
587
|
+
**updated_since** | **DateTime**| The updatedSince filter in the format YYYY-MM-DDThh:mm:ss+hh:mm |
|
588
|
+
**page** | **Integer**| Page number. Default is 1. | [optional] [default to 1]
|
589
|
+
**page_size** | **Integer**| Page size. Default is 100. Max allowable is 1000. | [optional] [default to 100]
|
590
|
+
|
591
|
+
### Return type
|
592
|
+
|
593
|
+
[**PaymentDeltaResponse**](PaymentDeltaResponse.md)
|
594
|
+
|
595
|
+
### Authorization
|
596
|
+
|
597
|
+
[OAuth2](../README.md#OAuth2)
|
598
|
+
|
599
|
+
### HTTP request headers
|
600
|
+
|
601
|
+
- **Content-Type**: Not defined
|
602
|
+
- **Accept**: application/json
|
603
|
+
|
604
|
+
|
542
605
|
## list_payments_audit
|
543
606
|
|
544
607
|
> ListPaymentsResponse list_payments_audit(opts)
|
@@ -571,7 +634,7 @@ opts = {
|
|
571
634
|
source_currency: 'source_currency_example', # String | The source currency filter. Filters based on an exact match on the currency.
|
572
635
|
payment_amount_from: 56, # Integer | The payment amount from range filter. Filters for paymentAmount >= paymentAmountFrom
|
573
636
|
payment_amount_to: 56, # Integer | The payment amount to range filter. Filters for paymentAmount ⇐ paymentAmountTo
|
574
|
-
payment_currency: 'payment_currency_example', # String | The
|
637
|
+
payment_currency: 'payment_currency_example', # String | The payment currency filter. Filters based on an exact match on the currency.
|
575
638
|
submitted_date_from: Date.parse('2013-10-20'), # Date | The submitted date from range filter. Format is yyyy-MM-dd.
|
576
639
|
submitted_date_to: Date.parse('2013-10-20'), # Date | The submitted date to range filter. Format is yyyy-MM-dd.
|
577
640
|
payment_memo: 'payment_memo_example', # String | The payment memo filter. This filters via a case insensitive substring match.
|
@@ -606,7 +669,7 @@ Name | Type | Description | Notes
|
|
606
669
|
**source_currency** | **String**| The source currency filter. Filters based on an exact match on the currency. | [optional]
|
607
670
|
**payment_amount_from** | **Integer**| The payment amount from range filter. Filters for paymentAmount >= paymentAmountFrom | [optional]
|
608
671
|
**payment_amount_to** | **Integer**| The payment amount to range filter. Filters for paymentAmount ⇐ paymentAmountTo | [optional]
|
609
|
-
**payment_currency** | **String**| The
|
672
|
+
**payment_currency** | **String**| The payment currency filter. Filters based on an exact match on the currency. | [optional]
|
610
673
|
**submitted_date_from** | **Date**| The submitted date from range filter. Format is yyyy-MM-dd. | [optional]
|
611
674
|
**submitted_date_to** | **Date**| The submitted date to range filter. Format is yyyy-MM-dd. | [optional]
|
612
675
|
**payment_memo** | **String**| The payment memo filter. This filters via a case insensitive substring match. | [optional]
|
@@ -661,7 +724,7 @@ opts = {
|
|
661
724
|
source_currency: 'source_currency_example', # String | The source currency filter. Filters based on an exact match on the currency.
|
662
725
|
payment_amount_from: 56, # Integer | The payment amount from range filter. Filters for paymentAmount >= paymentAmountFrom
|
663
726
|
payment_amount_to: 56, # Integer | The payment amount to range filter. Filters for paymentAmount ⇐ paymentAmountTo
|
664
|
-
payment_currency: 'payment_currency_example', # String | The
|
727
|
+
payment_currency: 'payment_currency_example', # String | The payment currency filter. Filters based on an exact match on the currency.
|
665
728
|
submitted_date_from: Date.parse('2013-10-20'), # Date | The submitted date from range filter. Format is yyyy-MM-dd.
|
666
729
|
submitted_date_to: Date.parse('2013-10-20'), # Date | The submitted date to range filter. Format is yyyy-MM-dd.
|
667
730
|
payment_memo: 'payment_memo_example', # String | The payment memo filter. This filters via a case insensitive substring match.
|
@@ -696,7 +759,7 @@ Name | Type | Description | Notes
|
|
696
759
|
**source_currency** | **String**| The source currency filter. Filters based on an exact match on the currency. | [optional]
|
697
760
|
**payment_amount_from** | **Integer**| The payment amount from range filter. Filters for paymentAmount >= paymentAmountFrom | [optional]
|
698
761
|
**payment_amount_to** | **Integer**| The payment amount to range filter. Filters for paymentAmount ⇐ paymentAmountTo | [optional]
|
699
|
-
**payment_currency** | **String**| The
|
762
|
+
**payment_currency** | **String**| The payment currency filter. Filters based on an exact match on the currency. | [optional]
|
700
763
|
**submitted_date_from** | **Date**| The submitted date from range filter. Format is yyyy-MM-dd. | [optional]
|
701
764
|
**submitted_date_to** | **Date**| The submitted date to range filter. Format is yyyy-MM-dd. | [optional]
|
702
765
|
**payment_memo** | **String**| The payment memo filter. This filters via a case insensitive substring match. | [optional]
|
@@ -0,0 +1,31 @@
|
|
1
|
+
# VeloPayments::PaymentDelta
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**payment_id** | **String** | | [readonly]
|
8
|
+
**payout_id** | **String** | | [readonly]
|
9
|
+
**payor_payment_id** | **String** | | [optional]
|
10
|
+
**payment_currency** | **String** | | [optional]
|
11
|
+
**payment_amount** | **Integer** | | [optional]
|
12
|
+
**status** | [**PaymentStatus**](PaymentStatus.md) | | [optional]
|
13
|
+
**source_currency** | **String** | | [optional]
|
14
|
+
**source_amount** | **Integer** | | [optional]
|
15
|
+
|
16
|
+
## Code Sample
|
17
|
+
|
18
|
+
```ruby
|
19
|
+
require 'VeloPayments'
|
20
|
+
|
21
|
+
instance = VeloPayments::PaymentDelta.new(payment_id: null,
|
22
|
+
payout_id: null,
|
23
|
+
payor_payment_id: null,
|
24
|
+
payment_currency: null,
|
25
|
+
payment_amount: null,
|
26
|
+
status: null,
|
27
|
+
source_currency: null,
|
28
|
+
source_amount: null)
|
29
|
+
```
|
30
|
+
|
31
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# VeloPayments::PaymentDeltaResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**page** | [**PagedPayeeResponsePage**](PagedPayeeResponsePage.md) | | [optional]
|
8
|
+
**links** | [**Array<PagedPayeeResponseLinks>**](PagedPayeeResponseLinks.md) | | [optional]
|
9
|
+
**content** | [**Array<PaymentDelta>**](PaymentDelta.md) | | [optional]
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'VeloPayments'
|
15
|
+
|
16
|
+
instance = VeloPayments::PaymentDeltaResponse.new(page: null,
|
17
|
+
links: null,
|
18
|
+
content: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
data/docs/PaymentResponseV4.md
CHANGED
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**payment_id** | **String** | |
|
8
8
|
**payee_id** | **String** | |
|
9
|
-
**payor_id** | **String** |
|
9
|
+
**payor_id** | **String** | Deprecated in v2.16. Will be populated with submitting payor ID until removed in a later release. |
|
10
10
|
**payor_name** | **String** | | [optional]
|
11
11
|
**quote_id** | **String** | |
|
12
12
|
**source_account_id** | **String** | |
|
@@ -37,6 +37,7 @@ Name | Type | Description | Notes
|
|
37
37
|
**events** | [**Array<PaymentEventResponseV4>**](PaymentEventResponseV4.md) | |
|
38
38
|
**return_cost** | **Integer** | | [optional]
|
39
39
|
**return_reason** | **String** | | [optional]
|
40
|
+
**payout** | [**PaymentResponseV4Payout**](PaymentResponseV4Payout.md) | | [optional]
|
40
41
|
|
41
42
|
## Code Sample
|
42
43
|
|
@@ -75,7 +76,8 @@ instance = VeloPayments::PaymentResponseV4.new(payment_id: null,
|
|
75
76
|
country_code: null,
|
76
77
|
events: null,
|
77
78
|
return_cost: null,
|
78
|
-
return_reason: null
|
79
|
+
return_reason: null,
|
80
|
+
payout: null)
|
79
81
|
```
|
80
82
|
|
81
83
|
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# VeloPayments::PaymentResponseV4Payout
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**payout_from** | [**PayoutPayorV4**](PayoutPayorV4.md) | | [optional]
|
8
|
+
**payout_to** | [**PayoutPayorV4**](PayoutPayorV4.md) | | [optional]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'VeloPayments'
|
14
|
+
|
15
|
+
instance = VeloPayments::PaymentResponseV4Payout.new(payout_from: null,
|
16
|
+
payout_to: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# VeloPayments::PaymentStatus
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
|
8
|
+
## Code Sample
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'VeloPayments'
|
12
|
+
|
13
|
+
instance = VeloPayments::PaymentStatus.new()
|
14
|
+
```
|
15
|
+
|
16
|
+
|
@@ -0,0 +1,31 @@
|
|
1
|
+
# VeloPayments::PayorAddress
|
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::PayorAddress.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
|
+
|
@@ -0,0 +1,31 @@
|
|
1
|
+
# VeloPayments::PayorAddressV2
|
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::PayorAddressV2.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
|
+
|
data/docs/PayorV1.md
CHANGED
@@ -4,26 +4,27 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**payor_id** | **String** | | [optional]
|
7
|
+
**payor_id** | **String** | | [optional] [readonly]
|
8
8
|
**payor_name** | **String** | The name of the payor. |
|
9
|
-
**address** | [**
|
9
|
+
**address** | [**PayorAddress**](PayorAddress.md) | | [optional]
|
10
10
|
**primary_contact_name** | **String** | Name of primary contact for the payor. | [optional]
|
11
11
|
**primary_contact_phone** | **String** | Primary contact phone number for the payor. | [optional]
|
12
12
|
**primary_contact_email** | **String** | Primary contact email for the payor. | [optional]
|
13
13
|
**funding_account_routing_number** | **String** | The funding account routing number to be used for the payor. | [optional]
|
14
14
|
**funding_account_account_number** | **String** | The funding account number to be used for the payor. | [optional]
|
15
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]
|
16
|
+
**kyc_state** | **String** | The kyc state of the payor. | [optional] [readonly]
|
17
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]
|
18
|
+
**payee_grace_period_processing_enabled** | **Boolean** | Whether grace period processing is enabled. | [optional] [readonly]
|
19
|
+
**payee_grace_period_days** | **Integer** | The grace period for paying payees in days. | [optional] [readonly]
|
20
20
|
**collective_alias** | **String** | How the payor has chosen to refer to payees. | [optional]
|
21
21
|
**support_contact** | **String** | The payor’s support contact email address. | [optional]
|
22
22
|
**dba_name** | **String** | The payor’s 'Doing Business As' name. | [optional]
|
23
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]
|
24
|
+
**reminder_emails_opt_out** | **Boolean** | Whether or not the payor has opted-out of reminder emails being sent. | [optional] [readonly]
|
25
25
|
**language** | **String** | The payor’s language preference. Must be one of [EN, FR]. | [optional]
|
26
26
|
**includes_reports** | **Boolean** | | [optional]
|
27
|
+
**max_master_payor_admins** | **Integer** | | [optional]
|
27
28
|
|
28
29
|
## Code Sample
|
29
30
|
|
@@ -49,7 +50,8 @@ instance = VeloPayments::PayorV1.new(payor_id: null,
|
|
49
50
|
allows_language_choice: null,
|
50
51
|
reminder_emails_opt_out: null,
|
51
52
|
language: EN,
|
52
|
-
includes_reports: null
|
53
|
+
includes_reports: null,
|
54
|
+
max_master_payor_admins: null)
|
53
55
|
```
|
54
56
|
|
55
57
|
|
data/docs/PayorV2.md
CHANGED
@@ -4,23 +4,24 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**payor_id** | **String** | | [optional]
|
7
|
+
**payor_id** | **String** | | [optional] [readonly]
|
8
8
|
**payor_name** | **String** | The name of the payor. |
|
9
|
-
**address** | [**
|
9
|
+
**address** | [**PayorAddressV2**](PayorAddressV2.md) | | [optional]
|
10
10
|
**primary_contact_name** | **String** | Name of primary contact for the payor. | [optional]
|
11
11
|
**primary_contact_phone** | **String** | Primary contact phone number for the payor. | [optional]
|
12
12
|
**primary_contact_email** | **String** | Primary contact email for the payor. | [optional]
|
13
|
-
**kyc_state** | **String** | The kyc state of the payor. | [optional]
|
13
|
+
**kyc_state** | **String** | The kyc state of the payor. | [optional] [readonly]
|
14
14
|
**manual_lockout** | **Boolean** | Whether or not the payor has been manually locked by the backoffice. | [optional]
|
15
|
-
**payee_grace_period_processing_enabled** | **Boolean** | Whether grace period processing is enabled. | [optional]
|
16
|
-
**payee_grace_period_days** | **Integer** | The grace period for paying payees in days. | [optional]
|
15
|
+
**payee_grace_period_processing_enabled** | **Boolean** | Whether grace period processing is enabled. | [optional] [readonly]
|
16
|
+
**payee_grace_period_days** | **Integer** | The grace period for paying payees in days. | [optional] [readonly]
|
17
17
|
**collective_alias** | **String** | How the payor has chosen to refer to payees. | [optional]
|
18
18
|
**support_contact** | **String** | The payor’s support contact email address. | [optional]
|
19
19
|
**dba_name** | **String** | The payor’s 'Doing Business As' name. | [optional]
|
20
20
|
**allows_language_choice** | **Boolean** | Whether or not the payor allows language choice in the UI. | [optional]
|
21
|
-
**reminder_emails_opt_out** | **Boolean** | Whether or not the payor has opted-out of reminder emails being sent. | [optional]
|
21
|
+
**reminder_emails_opt_out** | **Boolean** | Whether or not the payor has opted-out of reminder emails being sent. | [optional] [readonly]
|
22
22
|
**language** | **String** | The payor’s language preference. Must be one of [EN, FR]. | [optional]
|
23
23
|
**includes_reports** | **Boolean** | | [optional]
|
24
|
+
**max_master_payor_admins** | **Integer** | | [optional]
|
24
25
|
|
25
26
|
## Code Sample
|
26
27
|
|
@@ -43,7 +44,8 @@ instance = VeloPayments::PayorV2.new(payor_id: null,
|
|
43
44
|
allows_language_choice: null,
|
44
45
|
reminder_emails_opt_out: null,
|
45
46
|
language: EN,
|
46
|
-
includes_reports: null
|
47
|
+
includes_reports: null,
|
48
|
+
max_master_payor_admins: null)
|
47
49
|
```
|
48
50
|
|
49
51
|
|
data/docs/PayorsApi.md
CHANGED
@@ -279,7 +279,7 @@ Name | Type | Description | Notes
|
|
279
279
|
|
280
280
|
## payor_links
|
281
281
|
|
282
|
-
> PayorLinksResponse payor_links(
|
282
|
+
> PayorLinksResponse payor_links(opts)
|
283
283
|
|
284
284
|
List Payor Links
|
285
285
|
|
@@ -297,14 +297,15 @@ VeloPayments.configure do |config|
|
|
297
297
|
end
|
298
298
|
|
299
299
|
api_instance = VeloPayments::PayorsApi.new
|
300
|
-
descendants_of_payor = 'descendants_of_payor_example' # String | The Payor ID from which to start the query to show all descendants
|
301
300
|
opts = {
|
302
|
-
|
301
|
+
descendants_of_payor: 'descendants_of_payor_example', # String | The Payor ID from which to start the query to show all descendants
|
302
|
+
parent_of_payor: 'parent_of_payor_example', # String | Look for the parent payor details for this payor id
|
303
|
+
fields: 'fields_example' # String | List of additional Payor fields to include in the response for each Payor. The values of payorId and payorName and always included for each Payor - 'fields' allows you to add to this. Example: ```fields=primaryContactEmail,kycState``` - will include payorId+payorName+primaryContactEmail+kycState for each Payor Default if not specified is to include only payorId and payorName. The supported fields are any combination of: primaryContactEmail,kycState
|
303
304
|
}
|
304
305
|
|
305
306
|
begin
|
306
307
|
#List Payor Links
|
307
|
-
result = api_instance.payor_links(
|
308
|
+
result = api_instance.payor_links(opts)
|
308
309
|
p result
|
309
310
|
rescue VeloPayments::ApiError => e
|
310
311
|
puts "Exception when calling PayorsApi->payor_links: #{e}"
|
@@ -316,8 +317,9 @@ end
|
|
316
317
|
|
317
318
|
Name | Type | Description | Notes
|
318
319
|
------------- | ------------- | ------------- | -------------
|
319
|
-
**descendants_of_payor** | [**String**](.md)| The Payor ID from which to start the query to show all descendants |
|
320
|
-
**
|
320
|
+
**descendants_of_payor** | [**String**](.md)| The Payor ID from which to start the query to show all descendants | [optional]
|
321
|
+
**parent_of_payor** | [**String**](.md)| Look for the parent payor details for this payor id | [optional]
|
322
|
+
**fields** | **String**| List of additional Payor fields to include in the response for each Payor. The values of payorId and payorName and always included for each Payor - 'fields' allows you to add to this. Example: ```fields=primaryContactEmail,kycState``` - will include payorId+payorName+primaryContactEmail+kycState for each Payor Default if not specified is to include only payorId and payorName. The supported fields are any combination of: primaryContactEmail,kycState | [optional]
|
321
323
|
|
322
324
|
### Return type
|
323
325
|
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# VeloPayments::PayoutPayorV4
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**payor_id** | **String** | The id of the payor. |
|
8
|
+
**payor_name** | **String** | The name of the payor. |
|
9
|
+
**dba_name** | **String** | The alternate name of the payor. |
|
10
|
+
**principal** | **String** | Email address if principal is a user or ID if application. |
|
11
|
+
**principal_id** | **String** | The id of the principal. |
|
12
|
+
|
13
|
+
## Code Sample
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'VeloPayments'
|
17
|
+
|
18
|
+
instance = VeloPayments::PayoutPayorV4.new(payor_id: null,
|
19
|
+
payor_name: null,
|
20
|
+
dba_name: null,
|
21
|
+
principal: null,
|
22
|
+
principal_id: null)
|
23
|
+
```
|
24
|
+
|
25
|
+
|