velopayments 2.35.58 → 2.37.150.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/Gemfile.lock +3 -3
- data/README.md +50 -11
- data/docs/{PayorAddress.md → AddressV4.md} +3 -3
- data/docs/CommonLinkObject.md +20 -0
- data/docs/CommonPageObject.md +26 -0
- data/docs/CreateFundingAccountRequestV2.md +2 -2
- data/docs/CreatePaymentChannelRequestV4.md +30 -0
- data/docs/CreateTransactionRequest.md +24 -0
- data/docs/CreateTransactionResponse.md +20 -0
- data/docs/FundingAccountResponseV2.md +3 -3
- data/docs/FundingApi.md +2 -2
- data/docs/FundingAudit.md +8 -2
- data/docs/FundingEvent.md +6 -8
- data/docs/FundingEvent2.md +24 -0
- data/docs/FundingManagerPrivateApi.md +1 -1
- data/docs/FundingResponse.md +7 -3
- data/docs/GetPayeeListResponseV4.md +2 -0
- data/docs/InstructPayoutRequestV3.md +4 -2
- data/docs/ListFundingAccountsResponseV2.md +1 -1
- data/docs/NotificationSource.md +3 -0
- data/docs/PageResourceTransactions.md +22 -0
- data/docs/PayeeDetailResponseV4.md +4 -0
- data/docs/PayeePaymentChannelsApi.md +522 -0
- data/docs/PayeesApi.md +2 -2
- data/docs/PaymentAuditServiceApi.md +7 -1
- data/docs/PaymentChannelOrderRequestV4.md +18 -0
- data/docs/PaymentChannelResponseV4.md +56 -0
- data/docs/PaymentChannelSummaryV4.md +32 -0
- data/docs/PaymentChannelsResponseV4.md +20 -0
- data/docs/PaymentInstructionV3.md +4 -2
- data/docs/PaymentResponseV4.md +10 -0
- data/docs/PaymentV3.md +4 -2
- data/docs/PayorCreateApiKeyRequest.md +3 -3
- data/docs/PayorFundingDetected.md +46 -0
- data/docs/PayorFundingDetectedAllOf.md +40 -0
- data/docs/PayorToPaymentChannelMappingV4.md +20 -0
- data/docs/PayorV2.md +19 -19
- data/docs/PayorsApi.md +14 -84
- data/docs/PayoutsApi.md +2 -2
- data/docs/SourceAccountResponseV3.md +3 -1
- data/docs/TransactionResponse.md +36 -0
- data/docs/TransactionsApi.md +229 -0
- data/docs/UpdatePayeeDetailsRequestV3.md +3 -1
- data/docs/UpdatePaymentChannelRequestV4.md +30 -0
- data/docs/WebhooksResponse.md +2 -2
- data/lib/velopayments/api/countries_api.rb +2 -2
- data/lib/velopayments/api/currencies_api.rb +2 -2
- data/lib/velopayments/api/funding_api.rb +5 -5
- data/lib/velopayments/api/funding_manager_private_api.rb +2 -2
- data/lib/velopayments/api/login_api.rb +2 -2
- data/lib/velopayments/api/payee_invitation_api.rb +2 -2
- data/lib/velopayments/api/payee_payment_channels_api.rb +538 -0
- data/lib/velopayments/api/payees_api.rb +6 -2
- data/lib/velopayments/api/payment_audit_service_api.rb +12 -3
- data/lib/velopayments/api/payment_audit_service_deprecated_api.rb +2 -2
- data/lib/velopayments/api/payor_hierarchy_api.rb +2 -2
- data/lib/velopayments/api/payors_api.rb +16 -79
- data/lib/velopayments/api/payors_private_api.rb +2 -2
- data/lib/velopayments/api/payouts_api.rb +2 -6
- data/lib/velopayments/api/source_accounts_api.rb +2 -2
- data/lib/velopayments/api/tokens_api.rb +2 -2
- data/lib/velopayments/api/transactions_api.rb +229 -0
- data/lib/velopayments/api/users_api.rb +2 -2
- data/lib/velopayments/api/webhooks_api.rb +2 -2
- data/lib/velopayments/api_client.rb +2 -2
- data/lib/velopayments/api_error.rb +2 -2
- data/lib/velopayments/configuration.rb +2 -2
- data/lib/velopayments/models/accepted_payment_v3.rb +2 -2
- data/lib/velopayments/models/access_token_response.rb +2 -2
- data/lib/velopayments/models/access_token_validation_request.rb +2 -2
- data/lib/velopayments/models/{payor_address.rb → address_v4.rb} +92 -80
- data/lib/velopayments/models/auth_response.rb +2 -2
- data/lib/velopayments/models/auto_top_up_config_v2.rb +2 -2
- data/lib/velopayments/models/auto_top_up_config_v3.rb +2 -2
- data/lib/velopayments/models/category.rb +4 -3
- data/lib/velopayments/models/challenge_v3.rb +2 -2
- data/lib/velopayments/models/challenge_v4.rb +2 -2
- data/lib/velopayments/models/{list_funding_accounts_response_v2_links.rb → common_link_object.rb} +7 -5
- data/lib/velopayments/models/common_page_object.rb +250 -0
- data/lib/velopayments/models/company_v3.rb +2 -2
- data/lib/velopayments/models/company_v4.rb +2 -2
- data/lib/velopayments/models/create_funding_account_request_v2.rb +34 -27
- data/lib/velopayments/models/create_individual_v3.rb +2 -2
- data/lib/velopayments/models/create_individual_v3_name.rb +2 -2
- data/lib/velopayments/models/create_individual_v4.rb +2 -2
- data/lib/velopayments/models/create_payee_address_v3.rb +2 -2
- data/lib/velopayments/models/create_payee_address_v4.rb +2 -2
- data/lib/velopayments/models/create_payee_v3.rb +2 -2
- data/lib/velopayments/models/create_payee_v4.rb +2 -2
- data/lib/velopayments/models/create_payees_csv_request_v3.rb +2 -2
- data/lib/velopayments/models/create_payees_csv_request_v4.rb +2 -2
- data/lib/velopayments/models/create_payees_csv_response_v3.rb +2 -2
- data/lib/velopayments/models/create_payees_csv_response_v3_rejected_csv_rows.rb +2 -2
- data/lib/velopayments/models/create_payees_csv_response_v4.rb +2 -2
- data/lib/velopayments/models/create_payees_request_v3.rb +2 -2
- data/lib/velopayments/models/create_payees_request_v4.rb +2 -2
- data/lib/velopayments/models/create_payment_channel_request_v4.rb +472 -0
- data/lib/velopayments/models/create_payment_channel_v3.rb +2 -2
- data/lib/velopayments/models/create_payment_channel_v4.rb +2 -2
- data/lib/velopayments/models/create_payor_link_request.rb +2 -2
- data/lib/velopayments/models/create_payout_request_v3.rb +2 -2
- data/lib/velopayments/models/create_transaction_request.rb +324 -0
- data/lib/velopayments/models/create_transaction_response.rb +239 -0
- data/lib/velopayments/models/create_webhook_request.rb +2 -2
- data/lib/velopayments/models/debit_event.rb +2 -2
- data/lib/velopayments/models/debit_event_all_of.rb +2 -2
- data/lib/velopayments/models/debit_status_changed.rb +2 -2
- data/lib/velopayments/models/debit_status_changed_all_of.rb +2 -2
- data/lib/velopayments/models/error.rb +2 -2
- data/lib/velopayments/models/error_data.rb +2 -2
- data/lib/velopayments/models/error_response.rb +2 -2
- data/lib/velopayments/models/failed_payee_v3.rb +2 -2
- data/lib/velopayments/models/failed_payee_v4.rb +2 -2
- data/lib/velopayments/models/failed_submission_v3.rb +2 -2
- data/lib/velopayments/models/failed_submission_v4.rb +2 -2
- data/lib/velopayments/models/funding_account_response_v2.rb +25 -25
- data/lib/velopayments/models/funding_audit.rb +37 -7
- data/lib/velopayments/models/funding_event.rb +50 -28
- data/lib/velopayments/models/funding_event2.rb +242 -0
- data/lib/velopayments/models/funding_payor_status_audit_response.rb +2 -2
- data/lib/velopayments/models/funding_request_v2.rb +2 -2
- data/lib/velopayments/models/funding_request_v3.rb +2 -2
- data/lib/velopayments/models/funding_response.rb +35 -14
- data/lib/velopayments/models/fx_summary.rb +2 -2
- data/lib/velopayments/models/fx_summary_v3.rb +2 -2
- data/lib/velopayments/models/get_fundings_response.rb +2 -2
- data/lib/velopayments/models/get_fundings_response_links.rb +2 -2
- data/lib/velopayments/models/get_payee_list_response_company_v3.rb +2 -2
- data/lib/velopayments/models/get_payee_list_response_company_v4.rb +2 -2
- data/lib/velopayments/models/get_payee_list_response_individual_v3.rb +2 -2
- data/lib/velopayments/models/get_payee_list_response_individual_v4.rb +2 -2
- data/lib/velopayments/models/get_payee_list_response_v3.rb +2 -2
- data/lib/velopayments/models/get_payee_list_response_v4.rb +13 -3
- data/lib/velopayments/models/get_payments_for_payout_response_v3.rb +2 -2
- data/lib/velopayments/models/get_payments_for_payout_response_v3_page.rb +2 -2
- data/lib/velopayments/models/get_payments_for_payout_response_v3_summary.rb +2 -2
- data/lib/velopayments/models/get_payments_for_payout_response_v4.rb +2 -2
- data/lib/velopayments/models/get_payments_for_payout_response_v4_summary.rb +2 -2
- data/lib/velopayments/models/get_payout_statistics.rb +2 -2
- data/lib/velopayments/models/get_payouts_response.rb +2 -2
- data/lib/velopayments/models/get_payouts_response_v3.rb +2 -2
- data/lib/velopayments/models/get_payouts_response_v3_links.rb +2 -2
- data/lib/velopayments/models/get_payouts_response_v3_page.rb +2 -2
- data/lib/velopayments/models/individual_v3.rb +2 -2
- data/lib/velopayments/models/individual_v3_name.rb +2 -2
- data/lib/velopayments/models/individual_v4.rb +2 -2
- data/lib/velopayments/models/inline_response400.rb +2 -2
- data/lib/velopayments/models/inline_response401.rb +2 -2
- data/lib/velopayments/models/inline_response403.rb +2 -2
- data/lib/velopayments/models/inline_response404.rb +2 -2
- data/lib/velopayments/models/inline_response409.rb +2 -2
- data/lib/velopayments/models/inline_response412.rb +2 -2
- data/lib/velopayments/models/instruct_payout_request_v3.rb +19 -7
- data/lib/velopayments/models/invite_payee_request_v3.rb +2 -2
- data/lib/velopayments/models/invite_payee_request_v4.rb +2 -2
- data/lib/velopayments/models/invite_user_request.rb +2 -2
- data/lib/velopayments/models/link_for_response.rb +2 -2
- data/lib/velopayments/models/list_funding_accounts_response_v2.rb +3 -3
- data/lib/velopayments/models/list_funding_accounts_response_v2_page.rb +2 -2
- data/lib/velopayments/models/list_payments_response_v3.rb +2 -2
- data/lib/velopayments/models/list_payments_response_v3_page.rb +2 -2
- data/lib/velopayments/models/list_payments_response_v4.rb +2 -2
- data/lib/velopayments/models/list_source_account_response_v2.rb +2 -2
- data/lib/velopayments/models/list_source_account_response_v2_links.rb +2 -2
- data/lib/velopayments/models/list_source_account_response_v3.rb +2 -2
- data/lib/velopayments/models/list_source_account_response_v3_links.rb +2 -2
- data/lib/velopayments/models/localisation_details.rb +2 -2
- data/lib/velopayments/models/mfa_details.rb +2 -2
- data/lib/velopayments/models/mfa_type.rb +2 -2
- data/lib/velopayments/models/name_v3.rb +2 -2
- data/lib/velopayments/models/name_v4.rb +2 -2
- data/lib/velopayments/models/notification.rb +2 -2
- data/lib/velopayments/models/notification_source.rb +4 -2
- data/lib/velopayments/models/notifications_v2.rb +2 -2
- data/lib/velopayments/models/notifications_v3.rb +2 -2
- data/lib/velopayments/models/onboarding_status_changed.rb +2 -2
- data/lib/velopayments/models/page_for_response.rb +2 -2
- data/lib/velopayments/models/page_resource_funding_payor_status_audit_response_funding_payor_status_audit_response.rb +2 -2
- data/lib/velopayments/models/page_resource_transactions.rb +236 -0
- data/lib/velopayments/models/paged_payee_invitation_status_response_v3.rb +2 -2
- data/lib/velopayments/models/paged_payee_invitation_status_response_v3_page.rb +2 -2
- data/lib/velopayments/models/paged_payee_invitation_status_response_v4.rb +2 -2
- data/lib/velopayments/models/paged_payee_response_v3.rb +2 -2
- data/lib/velopayments/models/paged_payee_response_v3_links.rb +2 -2
- data/lib/velopayments/models/paged_payee_response_v3_page.rb +2 -2
- data/lib/velopayments/models/paged_payee_response_v3_summary.rb +2 -2
- data/lib/velopayments/models/paged_payee_response_v4.rb +2 -2
- data/lib/velopayments/models/paged_payments_response_v3.rb +2 -2
- data/lib/velopayments/models/paged_user_response.rb +2 -2
- data/lib/velopayments/models/paged_user_response_links.rb +2 -2
- data/lib/velopayments/models/paged_user_response_page.rb +2 -2
- data/lib/velopayments/models/password_request.rb +12 -12
- data/lib/velopayments/models/payable_issue_v3.rb +2 -2
- data/lib/velopayments/models/payable_issue_v4.rb +2 -2
- data/lib/velopayments/models/payable_status_changed.rb +2 -2
- data/lib/velopayments/models/payee_address_v3.rb +2 -2
- data/lib/velopayments/models/payee_address_v4.rb +2 -2
- data/lib/velopayments/models/payee_delta_response_v3.rb +2 -2
- data/lib/velopayments/models/payee_delta_response_v3_links.rb +2 -2
- data/lib/velopayments/models/payee_delta_response_v3_page.rb +2 -2
- data/lib/velopayments/models/payee_delta_response_v4.rb +2 -2
- data/lib/velopayments/models/payee_delta_response_v4_links.rb +2 -2
- data/lib/velopayments/models/payee_delta_v3.rb +2 -2
- data/lib/velopayments/models/payee_delta_v4.rb +2 -2
- data/lib/velopayments/models/payee_detail_response_v3.rb +2 -2
- data/lib/velopayments/models/payee_detail_response_v4.rb +26 -3
- data/lib/velopayments/models/payee_details_changed.rb +2 -2
- data/lib/velopayments/models/payee_event.rb +2 -2
- data/lib/velopayments/models/payee_event_all_of.rb +2 -2
- data/lib/velopayments/models/payee_event_all_of_reasons.rb +2 -2
- data/lib/velopayments/models/payee_invitation_status_response_v3.rb +2 -2
- data/lib/velopayments/models/payee_invitation_status_response_v4.rb +2 -2
- data/lib/velopayments/models/payee_payor_ref_v3.rb +2 -2
- data/lib/velopayments/models/payee_payor_ref_v4.rb +2 -2
- data/lib/velopayments/models/payee_type.rb +2 -2
- data/lib/velopayments/models/payee_type_enum.rb +2 -2
- data/lib/velopayments/models/payee_user_self_update_request.rb +2 -2
- data/lib/velopayments/models/payment_channel_country.rb +2 -2
- data/lib/velopayments/models/{transmission_types.rb → payment_channel_order_request_v4.rb} +19 -51
- data/lib/velopayments/models/payment_channel_response_v4.rb +607 -0
- 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_channel_summary_v4.rb +396 -0
- data/lib/velopayments/models/payment_channels_response_v4.rb +227 -0
- data/lib/velopayments/models/payment_delta.rb +2 -2
- data/lib/velopayments/models/payment_delta_response.rb +2 -2
- data/lib/velopayments/models/payment_delta_response_v1.rb +2 -2
- data/lib/velopayments/models/payment_delta_v1.rb +2 -2
- data/lib/velopayments/models/payment_event.rb +2 -2
- data/lib/velopayments/models/payment_event_all_of.rb +2 -2
- data/lib/velopayments/models/payment_event_response.rb +2 -2
- data/lib/velopayments/models/payment_event_response_v3.rb +2 -2
- data/lib/velopayments/models/payment_instruction_v3.rb +19 -50
- data/lib/velopayments/models/payment_rejected_or_returned.rb +2 -2
- data/lib/velopayments/models/payment_rejected_or_returned_all_of.rb +2 -2
- data/lib/velopayments/models/payment_response_v3.rb +2 -2
- data/lib/velopayments/models/payment_response_v4.rb +50 -3
- data/lib/velopayments/models/payment_response_v4_payout.rb +2 -2
- data/lib/velopayments/models/payment_status_changed.rb +2 -2
- data/lib/velopayments/models/payment_status_changed_all_of.rb +2 -2
- data/lib/velopayments/models/payment_v3.rb +17 -7
- data/lib/velopayments/models/payor_address_v2.rb +32 -17
- data/lib/velopayments/models/payor_aml_transaction.rb +2 -2
- data/lib/velopayments/models/payor_aml_transaction_v3.rb +2 -2
- data/lib/velopayments/models/payor_branding_response.rb +2 -5
- 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 +2 -2
- data/lib/velopayments/models/payor_funding_detected.rb +399 -0
- data/lib/velopayments/models/payor_funding_detected_all_of.rb +339 -0
- data/lib/velopayments/models/payor_links_response.rb +2 -2
- data/lib/velopayments/models/payor_links_response_links.rb +2 -2
- data/lib/velopayments/models/payor_links_response_payors.rb +2 -2
- data/lib/velopayments/models/{transmission_types2.rb → payor_to_payment_channel_mapping_v4.rb} +18 -51
- data/lib/velopayments/models/payor_v2.rb +26 -20
- data/lib/velopayments/models/payout_company_v3.rb +2 -2
- data/lib/velopayments/models/payout_individual_v3.rb +2 -2
- data/lib/velopayments/models/payout_name_v3.rb +2 -2
- data/lib/velopayments/models/payout_payee_v3.rb +2 -2
- data/lib/velopayments/models/payout_payor.rb +2 -2
- data/lib/velopayments/models/payout_payor_ids.rb +2 -2
- data/lib/velopayments/models/payout_principal.rb +2 -2
- data/lib/velopayments/models/payout_schedule.rb +2 -2
- data/lib/velopayments/models/payout_schedule_v3.rb +2 -2
- data/lib/velopayments/models/payout_summary_audit.rb +2 -2
- data/lib/velopayments/models/payout_summary_audit_v3.rb +2 -2
- data/lib/velopayments/models/payout_summary_response_v3.rb +2 -2
- data/lib/velopayments/models/ping.rb +2 -2
- data/lib/velopayments/models/ping_response.rb +2 -2
- data/lib/velopayments/models/post_instruct_fx_info.rb +2 -2
- data/lib/velopayments/models/query_batch_response_v3.rb +2 -2
- data/lib/velopayments/models/query_batch_response_v4.rb +2 -2
- data/lib/velopayments/models/quote_fx_summary_v3.rb +2 -2
- data/lib/velopayments/models/quote_response_v3.rb +2 -2
- data/lib/velopayments/models/region_v2.rb +2 -2
- data/lib/velopayments/models/register_sms_request.rb +2 -2
- data/lib/velopayments/models/rejected_payment_v3.rb +2 -2
- data/lib/velopayments/models/resend_token_request.rb +2 -2
- data/lib/velopayments/models/reset_password_request.rb +2 -2
- data/lib/velopayments/models/role.rb +2 -2
- data/lib/velopayments/models/role_update_request.rb +2 -2
- data/lib/velopayments/models/schedule_payout_request_v3.rb +2 -2
- data/lib/velopayments/models/self_mfa_type_unregister_request.rb +2 -2
- data/lib/velopayments/models/self_update_password_request.rb +22 -22
- data/lib/velopayments/models/set_notifications_request.rb +2 -2
- data/lib/velopayments/models/set_notifications_request2.rb +2 -2
- data/lib/velopayments/models/source_account_response_v2.rb +2 -2
- data/lib/velopayments/models/source_account_response_v3.rb +18 -6
- data/lib/velopayments/models/source_account_summary.rb +2 -2
- data/lib/velopayments/models/source_account_summary_v3.rb +2 -2
- data/lib/velopayments/models/source_account_v3.rb +2 -2
- data/lib/velopayments/models/source_event.rb +2 -2
- data/lib/velopayments/models/supported_countries_response.rb +2 -2
- data/lib/velopayments/models/supported_countries_response_v2.rb +2 -2
- data/lib/velopayments/models/supported_country.rb +2 -2
- data/lib/velopayments/models/supported_country_v2.rb +2 -2
- data/lib/velopayments/models/supported_currency_response_v2.rb +2 -2
- data/lib/velopayments/models/supported_currency_v2.rb +2 -2
- data/lib/velopayments/models/{payor_v1.rb → transaction_response.rb} +143 -181
- data/lib/velopayments/models/transfer_request_v2.rb +2 -2
- data/lib/velopayments/models/transfer_request_v3.rb +2 -2
- data/lib/velopayments/models/unregister_mfa_request.rb +2 -2
- data/lib/velopayments/models/update_payee_details_request_v3.rb +38 -7
- data/lib/velopayments/models/update_payee_details_request_v4.rb +2 -2
- data/lib/velopayments/models/update_payment_channel_request_v4.rb +472 -0
- data/lib/velopayments/models/update_remote_id_request_v3.rb +2 -2
- data/lib/velopayments/models/update_remote_id_request_v4.rb +2 -2
- data/lib/velopayments/models/update_webhook_request.rb +2 -2
- data/lib/velopayments/models/user_details_update_request.rb +2 -2
- data/lib/velopayments/models/user_info.rb +2 -2
- data/lib/velopayments/models/user_response.rb +4 -4
- data/lib/velopayments/models/user_status.rb +2 -2
- data/lib/velopayments/models/user_type.rb +2 -2
- data/lib/velopayments/models/user_type2.rb +2 -2
- data/lib/velopayments/models/validate_password_response.rb +2 -2
- data/lib/velopayments/models/webhook_response.rb +2 -2
- data/lib/velopayments/models/webhooks_response.rb +4 -4
- data/lib/velopayments/models/withdraw_payment_request.rb +2 -2
- data/lib/velopayments/version.rb +3 -3
- data/lib/velopayments.rb +21 -7
- data/oa3-config.json +1 -1
- data/spec/api/payee_payment_channels_api_spec.rb +132 -0
- data/spec/api/transactions_api_spec.rb +75 -0
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- data/specs/api/payee_payment_channels_api_spec.rb +132 -0
- data/specs/api/transactions_api_spec.rb +75 -0
- data/velopayments.gemspec +2 -2
- metadata +48 -14
- data/docs/ListFundingAccountsResponseV2Links.md +0 -20
- data/docs/PayorV1.md +0 -60
- data/docs/TransmissionTypes.md +0 -22
- data/docs/TransmissionTypes2.md +0 -22
@@ -0,0 +1,56 @@
|
|
1
|
+
# VeloPayments::PaymentChannelResponseV4
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **id** | **String** | | |
|
8
|
+
| **payee_id** | **String** | | [optional] |
|
9
|
+
| **payment_channel_name** | **String** | | |
|
10
|
+
| **account_name** | **String** | | |
|
11
|
+
| **channel_type** | **String** | Payment channel type. One of the following values: CHANNEL_BANK | |
|
12
|
+
| **country_code** | **String** | Valid ISO 3166 2 character country code. See the <a href=\"https://www.iso.org/iso-3166-country-codes.html\" target=\"_blank\" a>ISO specification</a> for details. | |
|
13
|
+
| **routing_number** | **String** | | [optional] |
|
14
|
+
| **account_number** | **String** | | [optional] |
|
15
|
+
| **iban** | **String** | Must match the regular expression ```^[A-Za-z0-9]+$```. | [optional] |
|
16
|
+
| **currency** | **String** | Valid ISO 4217 3 letter currency code. See the <a href=\"https://www.iso.org/iso-4217-currency-codes.html\" target=\"_blank\" a>ISO specification</a> for details. | |
|
17
|
+
| **payor_ids** | **Array<String>** | | [optional] |
|
18
|
+
| **payee_name** | **String** | | [optional] |
|
19
|
+
| **bank_name** | **String** | | [optional] |
|
20
|
+
| **bank_swift_bic** | **String** | | [optional] |
|
21
|
+
| **bank_address** | [**AddressV4**](AddressV4.md) | | [optional] |
|
22
|
+
| **deleted** | **Boolean** | | [optional] |
|
23
|
+
| **enabled** | **Boolean** | | [optional] |
|
24
|
+
| **disabled_reason_code** | **String** | | [optional] |
|
25
|
+
| **disabled_reason** | **String** | | [optional] |
|
26
|
+
| **payable** | **Boolean** | Whether this payment channel is payable | [optional] |
|
27
|
+
|
28
|
+
## Example
|
29
|
+
|
30
|
+
```ruby
|
31
|
+
require 'velopayments'
|
32
|
+
|
33
|
+
instance = VeloPayments::PaymentChannelResponseV4.new(
|
34
|
+
id: 70faaff7-2c32-4b44-b27f-f0b6c484e6f3,
|
35
|
+
payee_id: 70faaff7-2c32-4b44-b27f-f0b6c484e6f3,
|
36
|
+
payment_channel_name: My Payment Channel,
|
37
|
+
account_name: My Account,
|
38
|
+
channel_type: CHANNEL_BANK,
|
39
|
+
country_code: US,
|
40
|
+
routing_number: XXXXX6789,
|
41
|
+
account_number: XXXXXX5678,
|
42
|
+
iban: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX1234,
|
43
|
+
currency: USD,
|
44
|
+
payor_ids: null,
|
45
|
+
payee_name: John Stuart,
|
46
|
+
bank_name: HSBC Bank plc,
|
47
|
+
bank_swift_bic: MIDLGB22,
|
48
|
+
bank_address: null,
|
49
|
+
deleted: null,
|
50
|
+
enabled: null,
|
51
|
+
disabled_reason_code: disabled reason code,
|
52
|
+
disabled_reason: disabled reason,
|
53
|
+
payable: null
|
54
|
+
)
|
55
|
+
```
|
56
|
+
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# VeloPayments::PaymentChannelSummaryV4
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **payment_channel_id** | **String** | | |
|
8
|
+
| **name** | **String** | The payment channel name | |
|
9
|
+
| **country_code** | **String** | Valid ISO 3166 2 character country code. See the <a href=\"https://www.iso.org/iso-3166-country-codes.html\" target=\"_blank\" a>ISO specification</a> for details. | |
|
10
|
+
| **currency** | **String** | Valid ISO 4217 3 letter currency code. See the <a href=\"https://www.iso.org/iso-4217-currency-codes.html\" target=\"_blank\" a>ISO specification</a> for details. | |
|
11
|
+
| **last4_digits** | **String** | The last 4 digits of the account number or IBAN | [optional] |
|
12
|
+
| **enabled** | **Boolean** | Usually true. False if an associated payment is returned | |
|
13
|
+
| **disabled_reason** | **String** | Indicates why the payment channel was disabled | [optional] |
|
14
|
+
| **disabled_reason_code** | **String** | | [optional] |
|
15
|
+
|
16
|
+
## Example
|
17
|
+
|
18
|
+
```ruby
|
19
|
+
require 'velopayments'
|
20
|
+
|
21
|
+
instance = VeloPayments::PaymentChannelSummaryV4.new(
|
22
|
+
payment_channel_id: 70faaff7-2c32-4b44-b27f-f0b6c484e6f3,
|
23
|
+
name: Bank of America USD,
|
24
|
+
country_code: US,
|
25
|
+
currency: USD,
|
26
|
+
last4_digits: 1234,
|
27
|
+
enabled: false,
|
28
|
+
disabled_reason: User request,
|
29
|
+
disabled_reason_code: VR100
|
30
|
+
)
|
31
|
+
```
|
32
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# VeloPayments::PaymentChannelsResponseV4
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **payment_channels** | [**Array<PaymentChannelResponseV4>**](PaymentChannelResponseV4.md) | | [optional] |
|
8
|
+
| **payor_to_payment_channel_mappings** | [**Array<PayorToPaymentChannelMappingV4>**](PayorToPaymentChannelMappingV4.md) | | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'velopayments'
|
14
|
+
|
15
|
+
instance = VeloPayments::PaymentChannelsResponseV4.new(
|
16
|
+
payment_channels: null,
|
17
|
+
payor_to_payment_channel_mappings: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -8,9 +8,10 @@
|
|
8
8
|
| **currency** | **String** | Valid ISO 4217 3 letter currency code. See the <a href=\"https://www.iso.org/iso-4217-currency-codes.html\" target=\"_blank\" a>ISO specification</a> for details. | |
|
9
9
|
| **amount** | **Integer** | <p>Amount to send to Payee</p> <p>The maximum payment amount is dependent on the currency</p> | |
|
10
10
|
| **payment_memo** | **String** | <p>Any value here will override the memo value in the parent payout</p> <p>This should be the reference field on the statement seen by the payee (but not via ACH)</p> | [optional] |
|
11
|
-
| **source_account_name** | **String** | Must match a valid source account name belonging to the payor |
|
11
|
+
| **source_account_name** | **String** | Must match a valid source account name belonging to the payor. Exactly one of sourceAccountName or transactionId is required. | [optional] |
|
12
|
+
| **transaction_id** | **String** | Must match a valid transaction id previously created by the payor. Exactly one of sourceAccountName or transactionId is required. | [optional] |
|
12
13
|
| **payor_payment_id** | **String** | A reference identifier for the payor for the given payee payment | [optional] |
|
13
|
-
| **transmission_type** | **String** | Optionally choose a specific transmission method for the payment | [optional] |
|
14
|
+
| **transmission_type** | **String** | <p>Optionally choose a specific transmission method for the payment.</p> <p>Valid values for transmissionType can be found attached to the Source Account</p> | [optional] |
|
14
15
|
| **remote_system_id** | **String** | <p>The identifier for the remote payments system if not Velo</p> <p>Should only be used after consultation with Velo Payments</p> | [optional] |
|
15
16
|
| **payment_metadata** | **String** | <p>Metadata about the payment that may be relevant to the specific rails or remote system making the payout</p> <p>The structure of the data will be dictated by the requirements of the payment rails</p> | [optional] |
|
16
17
|
|
@@ -25,6 +26,7 @@ instance = VeloPayments::PaymentInstructionV3.new(
|
|
25
26
|
amount: 1299,
|
26
27
|
payment_memo: my memo,
|
27
28
|
source_account_name: MyAccountName,
|
29
|
+
transaction_id: 859af785-223b-4d5b-a708-5fa57f006dbb,
|
28
30
|
payor_payment_id: 123211321ABSD,
|
29
31
|
transmission_type: ACH,
|
30
32
|
remote_system_id: null,
|
data/docs/PaymentResponseV4.md
CHANGED
@@ -43,14 +43,19 @@
|
|
43
43
|
| **return_reason** | **String** | | [optional] |
|
44
44
|
| **rails_payment_id** | **String** | | [optional] |
|
45
45
|
| **rails_batch_id** | **String** | | [optional] |
|
46
|
+
| **rails_account_id** | **String** | | [optional] |
|
46
47
|
| **payment_scheme** | **String** | | [optional] |
|
47
48
|
| **rejection_reason** | **String** | | [optional] |
|
49
|
+
| **rails_rejection_information** | **String** | The original reason that the payment was rejected. This can be third party rails specific if rejected by the underlying third party rails logic. | [optional] |
|
48
50
|
| **withdrawn_reason** | **String** | | [optional] |
|
49
51
|
| **withdrawable** | **Boolean** | | [optional] |
|
50
52
|
| **auto_withdrawn_reason_code** | **String** | Populated with rejection reason code if the payment was withdrawn automatically at instruct time | [optional] |
|
51
53
|
| **transmission_type** | **String** | The transmission type of the payment, e.g. ACH, SAME_DAY_ACH, WIRE, GACHO | [optional] |
|
54
|
+
| **transmission_type_requested** | **String** | The transmission type of the payment requested by the payor | [optional] |
|
52
55
|
| **payment_tracking_reference** | **String** | | [optional] |
|
53
56
|
| **payment_metadata** | **String** | Metadata for the payment | [optional] |
|
57
|
+
| **transaction_id** | **String** | | [optional] |
|
58
|
+
| **transaction_reference** | **String** | | [optional] |
|
54
59
|
| **schedule** | [**PayoutSchedule**](PayoutSchedule.md) | | [optional] |
|
55
60
|
| **post_instruct_fx_info** | [**PostInstructFxInfo**](PostInstructFxInfo.md) | | [optional] |
|
56
61
|
| **payout** | [**PaymentResponseV4Payout**](PaymentResponseV4Payout.md) | | [optional] |
|
@@ -100,14 +105,19 @@ instance = VeloPayments::PaymentResponseV4.new(
|
|
100
105
|
return_reason: Some Reason Value,
|
101
106
|
rails_payment_id: null,
|
102
107
|
rails_batch_id: null,
|
108
|
+
rails_account_id: null,
|
103
109
|
payment_scheme: null,
|
104
110
|
rejection_reason: null,
|
111
|
+
rails_rejection_information: null,
|
105
112
|
withdrawn_reason: null,
|
106
113
|
withdrawable: null,
|
107
114
|
auto_withdrawn_reason_code: null,
|
108
115
|
transmission_type: null,
|
116
|
+
transmission_type_requested: null,
|
109
117
|
payment_tracking_reference: null,
|
110
118
|
payment_metadata: sample metadata,
|
119
|
+
transaction_id: null,
|
120
|
+
transaction_reference: null,
|
111
121
|
schedule: null,
|
112
122
|
post_instruct_fx_info: null,
|
113
123
|
payout: null
|
data/docs/PaymentV3.md
CHANGED
@@ -14,11 +14,12 @@
|
|
14
14
|
| **payee** | [**PayoutPayeeV3**](PayoutPayeeV3.md) | | [optional] |
|
15
15
|
| **withdrawable** | **Boolean** | Can this paynent be withdrawn | [optional] |
|
16
16
|
| **status** | **String** | Current status of payment. One of the following values: SUBMITTED, ACCEPTED, REJECTED, WITHDRAWN, RETURNED, AWAITING_FUNDS, FUNDED, UNFUNDED, CANCELLED, BANK_PAYMENT_REQUESTED | [optional] |
|
17
|
-
| **transmission_type** | **String** | The transmission method of the payment
|
17
|
+
| **transmission_type** | **String** | <p>The transmission method of the payment.</p> <p>Valid values for transmissionType can be found attached to the Source Account</p> | [optional] |
|
18
18
|
| **remote_system_id** | **String** | <p>The identifier for the remote payments system if not Velo</p> | [optional] |
|
19
19
|
| **payment_metadata** | **String** | <p>Metadata about the payment that may be relevant to the specific rails or remote system making the payout</p> <p>The structure of the data will be dictated by the requirements of the payment rails</p> | [optional] |
|
20
20
|
| **auto_withdrawn_reason_code** | **String** | Populated only if the payment was automatically withdrawn during instruction for being invalid | [optional] |
|
21
21
|
| **rails_id** | **String** | Indicates the 3rd party system involved in making this payment | [optional] |
|
22
|
+
| **transaction_id** | **String** | The id of the transaction associated with this payment if there was one | [optional] |
|
22
23
|
|
23
24
|
## Example
|
24
25
|
|
@@ -40,7 +41,8 @@ instance = VeloPayments::PaymentV3.new(
|
|
40
41
|
remote_system_id: OB012,
|
41
42
|
payment_metadata: invoiceeId_123|abc001:12345|xyz002:4567,
|
42
43
|
auto_withdrawn_reason_code: VE0003,
|
43
|
-
rails_id: SVB
|
44
|
+
rails_id: SVB,
|
45
|
+
transaction_id: 859af785-223b-4d5b-a708-5fa57f006dbb
|
44
46
|
)
|
45
47
|
```
|
46
48
|
|
@@ -14,9 +14,9 @@
|
|
14
14
|
require 'velopayments'
|
15
15
|
|
16
16
|
instance = VeloPayments::PayorCreateApiKeyRequest.new(
|
17
|
-
name:
|
18
|
-
description: Key for
|
19
|
-
roles: ["
|
17
|
+
name: SAP Key 01,
|
18
|
+
description: An API Key for the SAP Application,
|
19
|
+
roles: ["payor.admin"]
|
20
20
|
)
|
21
21
|
```
|
22
22
|
|
@@ -0,0 +1,46 @@
|
|
1
|
+
# VeloPayments::PayorFundingDetected
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **source_type** | **String** | OA3 Schema type name for the source info which is used as the discriminator value to ensure that data binding works correctly | |
|
8
|
+
| **event_id** | **String** | UUID id of the source event in the Velo platform | |
|
9
|
+
| **created_at** | **Time** | ISO8601 timestamp indicating when the source event was created | |
|
10
|
+
| **rails_id** | **String** | the identifier of the payment rail from which funding was received | [optional] |
|
11
|
+
| **payor_id** | **String** | ID of the payor within the Velo platform | |
|
12
|
+
| **funding_request_id** | **String** | ID of this funding transaction within the Velo platform | |
|
13
|
+
| **funding_ref** | **String** | the external identity reference for this funding transaction | [optional] |
|
14
|
+
| **currency** | **String** | the ISO-4217 code for the currency in which the funding was made | [optional] |
|
15
|
+
| **amount** | **Integer** | the received funding amount in currency minor units | [optional] |
|
16
|
+
| **physical_account_name** | **String** | the name of the account as registered with the payment rail | [optional] |
|
17
|
+
| **source_account_name** | **String** | the name of the account as registered with the Velo platform | [optional] |
|
18
|
+
| **source_account_id** | **String** | the ID of the account as registered with the Velo platform | [optional] |
|
19
|
+
| **additional_information** | **String** | any additional information received from the payment rail | [optional] |
|
20
|
+
| **transaction_id** | **String** | The Id of the related transaction | [optional] |
|
21
|
+
| **transaction_reference** | **String** | The payors own reference for the related transaction | [optional] |
|
22
|
+
|
23
|
+
## Example
|
24
|
+
|
25
|
+
```ruby
|
26
|
+
require 'velopayments'
|
27
|
+
|
28
|
+
instance = VeloPayments::PayorFundingDetected.new(
|
29
|
+
source_type: payment_status_changed,
|
30
|
+
event_id: 270ab907-27ec-4b83-8028-0ff432bbdec4,
|
31
|
+
created_at: 2020-06-18T15:09:42Z,
|
32
|
+
rails_id: WUBS,
|
33
|
+
payor_id: cbd9280f-8fde-4190-b014-979d88f3ec54,
|
34
|
+
funding_request_id: cbd9280f-8fde-4190-b014-979d88f3ec54,
|
35
|
+
funding_ref: some-ref-text,
|
36
|
+
currency: GBP,
|
37
|
+
amount: 1234,
|
38
|
+
physical_account_name: Acme Company Ltd,
|
39
|
+
source_account_name: Acme Co UK,
|
40
|
+
source_account_id: cbd9280f-8fde-4190-b014-979d88f3ec54,
|
41
|
+
additional_information: any additional information,
|
42
|
+
transaction_id: 4d88e559-d057-45b1-8d8b-b9ccc06f4503,
|
43
|
+
transaction_reference: myInvoiceNumber-1234567890
|
44
|
+
)
|
45
|
+
```
|
46
|
+
|
@@ -0,0 +1,40 @@
|
|
1
|
+
# VeloPayments::PayorFundingDetectedAllOf
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **rails_id** | **String** | the identifier of the payment rail from which funding was received | [optional] |
|
8
|
+
| **payor_id** | **String** | ID of the payor within the Velo platform | |
|
9
|
+
| **funding_request_id** | **String** | ID of this funding transaction within the Velo platform | |
|
10
|
+
| **funding_ref** | **String** | the external identity reference for this funding transaction | [optional] |
|
11
|
+
| **currency** | **String** | the ISO-4217 code for the currency in which the funding was made | [optional] |
|
12
|
+
| **amount** | **Integer** | the received funding amount in currency minor units | [optional] |
|
13
|
+
| **physical_account_name** | **String** | the name of the account as registered with the payment rail | [optional] |
|
14
|
+
| **source_account_name** | **String** | the name of the account as registered with the Velo platform | [optional] |
|
15
|
+
| **source_account_id** | **String** | the ID of the account as registered with the Velo platform | [optional] |
|
16
|
+
| **additional_information** | **String** | any additional information received from the payment rail | [optional] |
|
17
|
+
| **transaction_id** | **String** | The Id of the related transaction | [optional] |
|
18
|
+
| **transaction_reference** | **String** | The payors own reference for the related transaction | [optional] |
|
19
|
+
|
20
|
+
## Example
|
21
|
+
|
22
|
+
```ruby
|
23
|
+
require 'velopayments'
|
24
|
+
|
25
|
+
instance = VeloPayments::PayorFundingDetectedAllOf.new(
|
26
|
+
rails_id: WUBS,
|
27
|
+
payor_id: cbd9280f-8fde-4190-b014-979d88f3ec54,
|
28
|
+
funding_request_id: cbd9280f-8fde-4190-b014-979d88f3ec54,
|
29
|
+
funding_ref: some-ref-text,
|
30
|
+
currency: GBP,
|
31
|
+
amount: 1234,
|
32
|
+
physical_account_name: Acme Company Ltd,
|
33
|
+
source_account_name: Acme Co UK,
|
34
|
+
source_account_id: cbd9280f-8fde-4190-b014-979d88f3ec54,
|
35
|
+
additional_information: any additional information,
|
36
|
+
transaction_id: 4d88e559-d057-45b1-8d8b-b9ccc06f4503,
|
37
|
+
transaction_reference: myInvoiceNumber-1234567890
|
38
|
+
)
|
39
|
+
```
|
40
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# VeloPayments::PayorToPaymentChannelMappingV4
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **payor_id** | **String** | | [optional] |
|
8
|
+
| **payment_channel_id** | **String** | | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'velopayments'
|
14
|
+
|
15
|
+
instance = VeloPayments::PayorToPaymentChannelMappingV4.new(
|
16
|
+
payor_id: 9ac75325-5dcd-42d5-b992-175d7e0a035e,
|
17
|
+
payment_channel_id: 70faaff7-2c32-4b44-b27f-f0b6c484e6f3
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
data/docs/PayorV2.md
CHANGED
@@ -4,33 +4,33 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **payor_id** | **String** |
|
8
|
-
| **payor_name** | **String** | The name of the payor
|
7
|
+
| **payor_id** | **String** | The Payor Id | |
|
8
|
+
| **payor_name** | **String** | The name of the payor | |
|
9
9
|
| **payor_xid** | **String** | A unique identifier that an external system uses to reference the payor in their system | [optional] |
|
10
10
|
| **provider** | **String** | The source of the payorXid, default is null which means Velo | [optional] |
|
11
11
|
| **address** | [**PayorAddressV2**](PayorAddressV2.md) | | [optional] |
|
12
12
|
| **primary_contact_name** | **String** | Name of primary contact for the payor. | [optional] |
|
13
13
|
| **primary_contact_phone** | **String** | Primary contact phone number for the payor. | [optional] |
|
14
14
|
| **primary_contact_email** | **String** | Primary contact email for the payor. | [optional] |
|
15
|
-
| **kyc_state** | **String** | The kyc state of the payor. One of the following values: FAILED_KYC, PASSED_KYC, REQUIRES_KYC | [optional]
|
15
|
+
| **kyc_state** | **String** | The kyc state of the payor. One of the following values: FAILED_KYC, PASSED_KYC, REQUIRES_KYC | [optional] |
|
16
16
|
| **manual_lockout** | **Boolean** | Whether or not the payor has been manually locked by the backoffice. | [optional] |
|
17
17
|
| **open_banking_enabled** | **Boolean** | Is Open Banking supported for this payor | [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] |
|
19
|
+
| **payee_grace_period_days** | **Integer** | The grace period for paying payees in days before the payee must be onboarded. | [optional] |
|
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] |
|
25
25
|
| **language** | **String** | The payor’s language preference. Must be one of [EN, FR] | [optional] |
|
26
|
-
| **includes_reports** | **Boolean** |
|
27
|
-
| **wu_customer_id** | **String** |
|
28
|
-
| **max_master_payor_admins** | **Integer** |
|
29
|
-
| **payment_rails** | **String** |
|
30
|
-
| **
|
31
|
-
| **
|
32
|
-
| **
|
33
|
-
| **
|
26
|
+
| **includes_reports** | **Boolean** | For internal use only (will be removed in a later version) | [optional] |
|
27
|
+
| **wu_customer_id** | **String** | For internal use only (will be removed in a later version) | [optional] |
|
28
|
+
| **max_master_payor_admins** | **Integer** | The maximum number of payor users with the master admin role | [optional] |
|
29
|
+
| **payment_rails** | **String** | For internal use only (will be removed in a later version) | [optional] |
|
30
|
+
| **remote_system_ids** | **Array<String>** | For internal use only (will be removed in a later version) | [optional] |
|
31
|
+
| **usd_txn_value_reporting_threshold** | **Integer** | USD in minor units. For internal use only (will be removed in a later version) | [optional] |
|
32
|
+
| **managing_payees** | **Boolean** | Does this payor manage their own payees (payees are not invited but managed by the payor) | [optional] |
|
33
|
+
| **created_at** | **Time** | The date of creation of the payor | [optional] |
|
34
34
|
|
35
35
|
## Example
|
36
36
|
|
@@ -39,7 +39,7 @@ require 'velopayments'
|
|
39
39
|
|
40
40
|
instance = VeloPayments::PayorV2.new(
|
41
41
|
payor_id: null,
|
42
|
-
payor_name: Example
|
42
|
+
payor_name: Example Corp,
|
43
43
|
payor_xid: ABC_201234,
|
44
44
|
provider: null,
|
45
45
|
address: null,
|
@@ -51,7 +51,7 @@ instance = VeloPayments::PayorV2.new(
|
|
51
51
|
open_banking_enabled: null,
|
52
52
|
payee_grace_period_processing_enabled: null,
|
53
53
|
payee_grace_period_days: null,
|
54
|
-
collective_alias:
|
54
|
+
collective_alias: Vendors,
|
55
55
|
support_contact: support@example.com,
|
56
56
|
dba_name: Some Biz,
|
57
57
|
allows_language_choice: null,
|
@@ -59,12 +59,12 @@ instance = VeloPayments::PayorV2.new(
|
|
59
59
|
language: EN,
|
60
60
|
includes_reports: null,
|
61
61
|
wu_customer_id: null,
|
62
|
-
max_master_payor_admins:
|
62
|
+
max_master_payor_admins: 5,
|
63
63
|
payment_rails: null,
|
64
|
-
transmission_types: null,
|
65
64
|
remote_system_ids: null,
|
66
65
|
usd_txn_value_reporting_threshold: 1000000,
|
67
|
-
managing_payees: null
|
66
|
+
managing_payees: null,
|
67
|
+
created_at: 2021-12-08T14:41:02.354982Z
|
68
68
|
)
|
69
69
|
```
|
70
70
|
|
data/docs/PayorsApi.md
CHANGED
@@ -4,7 +4,6 @@ All URIs are relative to *https://api.sandbox.velopayments.com*
|
|
4
4
|
|
5
5
|
| Method | HTTP request | Description |
|
6
6
|
| ------ | ------------ | ----------- |
|
7
|
-
| [**get_payor_by_id_v1**](PayorsApi.md#get_payor_by_id_v1) | **GET** /v1/payors/{payorId} | Get Payor |
|
8
7
|
| [**get_payor_by_id_v2**](PayorsApi.md#get_payor_by_id_v2) | **GET** /v2/payors/{payorId} | Get Payor |
|
9
8
|
| [**payor_add_payor_logo_v1**](PayorsApi.md#payor_add_payor_logo_v1) | **POST** /v1/payors/{payorId}/branding/logos | Add Logo |
|
10
9
|
| [**payor_create_api_key_v1**](PayorsApi.md#payor_create_api_key_v1) | **POST** /v1/payors/{payorId}/applications/{applicationId}/keys | Create API Key |
|
@@ -13,75 +12,6 @@ All URIs are relative to *https://api.sandbox.velopayments.com*
|
|
13
12
|
| [**payor_get_branding**](PayorsApi.md#payor_get_branding) | **GET** /v1/payors/{payorId}/branding | Get Branding |
|
14
13
|
|
15
14
|
|
16
|
-
## get_payor_by_id_v1
|
17
|
-
|
18
|
-
> <PayorV1> get_payor_by_id_v1(payor_id)
|
19
|
-
|
20
|
-
Get Payor
|
21
|
-
|
22
|
-
<p>Get a Single Payor by Id.</p> <p>deprecated since v2.10 - Use /v2/payors
|
23
|
-
|
24
|
-
### Examples
|
25
|
-
|
26
|
-
```ruby
|
27
|
-
require 'time'
|
28
|
-
require 'velopayments'
|
29
|
-
# setup authorization
|
30
|
-
VeloPayments.configure do |config|
|
31
|
-
# Configure OAuth2 access token for authorization: OAuth2
|
32
|
-
config.access_token = 'YOUR ACCESS TOKEN'
|
33
|
-
end
|
34
|
-
|
35
|
-
api_instance = VeloPayments::PayorsApi.new
|
36
|
-
payor_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | The Payor Id
|
37
|
-
|
38
|
-
begin
|
39
|
-
# Get Payor
|
40
|
-
result = api_instance.get_payor_by_id_v1(payor_id)
|
41
|
-
p result
|
42
|
-
rescue VeloPayments::ApiError => e
|
43
|
-
puts "Error when calling PayorsApi->get_payor_by_id_v1: #{e}"
|
44
|
-
end
|
45
|
-
```
|
46
|
-
|
47
|
-
#### Using the get_payor_by_id_v1_with_http_info variant
|
48
|
-
|
49
|
-
This returns an Array which contains the response data, status code and headers.
|
50
|
-
|
51
|
-
> <Array(<PayorV1>, Integer, Hash)> get_payor_by_id_v1_with_http_info(payor_id)
|
52
|
-
|
53
|
-
```ruby
|
54
|
-
begin
|
55
|
-
# Get Payor
|
56
|
-
data, status_code, headers = api_instance.get_payor_by_id_v1_with_http_info(payor_id)
|
57
|
-
p status_code # => 2xx
|
58
|
-
p headers # => { ... }
|
59
|
-
p data # => <PayorV1>
|
60
|
-
rescue VeloPayments::ApiError => e
|
61
|
-
puts "Error when calling PayorsApi->get_payor_by_id_v1_with_http_info: #{e}"
|
62
|
-
end
|
63
|
-
```
|
64
|
-
|
65
|
-
### Parameters
|
66
|
-
|
67
|
-
| Name | Type | Description | Notes |
|
68
|
-
| ---- | ---- | ----------- | ----- |
|
69
|
-
| **payor_id** | **String** | The Payor Id | |
|
70
|
-
|
71
|
-
### Return type
|
72
|
-
|
73
|
-
[**PayorV1**](PayorV1.md)
|
74
|
-
|
75
|
-
### Authorization
|
76
|
-
|
77
|
-
[OAuth2](../README.md#OAuth2)
|
78
|
-
|
79
|
-
### HTTP request headers
|
80
|
-
|
81
|
-
- **Content-Type**: Not defined
|
82
|
-
- **Accept**: application/json
|
83
|
-
|
84
|
-
|
85
15
|
## get_payor_by_id_v2
|
86
16
|
|
87
17
|
> <PayorV2> get_payor_by_id_v2(payor_id)
|
@@ -102,7 +32,7 @@ VeloPayments.configure do |config|
|
|
102
32
|
end
|
103
33
|
|
104
34
|
api_instance = VeloPayments::PayorsApi.new
|
105
|
-
payor_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | The Payor
|
35
|
+
payor_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | The account owner Payor ID
|
106
36
|
|
107
37
|
begin
|
108
38
|
# Get Payor
|
@@ -135,7 +65,7 @@ end
|
|
135
65
|
|
136
66
|
| Name | Type | Description | Notes |
|
137
67
|
| ---- | ---- | ----------- | ----- |
|
138
|
-
| **payor_id** | **String** | The Payor
|
68
|
+
| **payor_id** | **String** | The account owner Payor ID | |
|
139
69
|
|
140
70
|
### Return type
|
141
71
|
|
@@ -171,7 +101,7 @@ VeloPayments.configure do |config|
|
|
171
101
|
end
|
172
102
|
|
173
103
|
api_instance = VeloPayments::PayorsApi.new
|
174
|
-
payor_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | The Payor
|
104
|
+
payor_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | The account owner Payor ID
|
175
105
|
opts = {
|
176
106
|
logo: File.new('/path/to/some/file') # File |
|
177
107
|
}
|
@@ -206,7 +136,7 @@ end
|
|
206
136
|
|
207
137
|
| Name | Type | Description | Notes |
|
208
138
|
| ---- | ---- | ----------- | ----- |
|
209
|
-
| **payor_id** | **String** | The Payor
|
139
|
+
| **payor_id** | **String** | The account owner Payor ID | |
|
210
140
|
| **logo** | **File** | | [optional] |
|
211
141
|
|
212
142
|
### Return type
|
@@ -229,7 +159,7 @@ nil (empty response body)
|
|
229
159
|
|
230
160
|
Create API Key
|
231
161
|
|
232
|
-
<p>Create an an API key for the given payor Id and application Id</p> <p>You can create multiple API Keys for a given application</p> <p>API Keys are programmatic users for integrating your application with the Velo platform</p>
|
162
|
+
<p>Create an an API key for the given payor Id and application Id</p> <p>You can create multiple API Keys for a given application</p> <p>API Keys are programmatic users for integrating your application with the Velo platform</p> <p>The response will return the API Key and the secret. This is the only time you will be able to see the secret</p>
|
233
163
|
|
234
164
|
### Examples
|
235
165
|
|
@@ -243,9 +173,9 @@ VeloPayments.configure do |config|
|
|
243
173
|
end
|
244
174
|
|
245
175
|
api_instance = VeloPayments::PayorsApi.new
|
246
|
-
payor_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | The Payor
|
176
|
+
payor_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | The account owner Payor ID
|
247
177
|
application_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | Application ID
|
248
|
-
payor_create_api_key_request = VeloPayments::PayorCreateApiKeyRequest.new({name: '
|
178
|
+
payor_create_api_key_request = VeloPayments::PayorCreateApiKeyRequest.new({name: 'SAP Key 01', roles: ["payor.admin"]}) # PayorCreateApiKeyRequest | Details of application API key to create
|
249
179
|
|
250
180
|
begin
|
251
181
|
# Create API Key
|
@@ -278,7 +208,7 @@ end
|
|
278
208
|
|
279
209
|
| Name | Type | Description | Notes |
|
280
210
|
| ---- | ---- | ----------- | ----- |
|
281
|
-
| **payor_id** | **String** | The Payor
|
211
|
+
| **payor_id** | **String** | The account owner Payor ID | |
|
282
212
|
| **application_id** | **String** | Application ID | |
|
283
213
|
| **payor_create_api_key_request** | [**PayorCreateApiKeyRequest**](PayorCreateApiKeyRequest.md) | Details of application API key to create | |
|
284
214
|
|
@@ -316,7 +246,7 @@ VeloPayments.configure do |config|
|
|
316
246
|
end
|
317
247
|
|
318
248
|
api_instance = VeloPayments::PayorsApi.new
|
319
|
-
payor_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | The Payor
|
249
|
+
payor_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | The account owner Payor ID
|
320
250
|
payor_create_application_request = VeloPayments::PayorCreateApplicationRequest.new({name: 'SAP'}) # PayorCreateApplicationRequest | Details of application to create
|
321
251
|
|
322
252
|
begin
|
@@ -349,7 +279,7 @@ end
|
|
349
279
|
|
350
280
|
| Name | Type | Description | Notes |
|
351
281
|
| ---- | ---- | ----------- | ----- |
|
352
|
-
| **payor_id** | **String** | The Payor
|
282
|
+
| **payor_id** | **String** | The account owner Payor ID | |
|
353
283
|
| **payor_create_application_request** | [**PayorCreateApplicationRequest**](PayorCreateApplicationRequest.md) | Details of application to create | |
|
354
284
|
|
355
285
|
### Return type
|
@@ -386,7 +316,7 @@ VeloPayments.configure do |config|
|
|
386
316
|
end
|
387
317
|
|
388
318
|
api_instance = VeloPayments::PayorsApi.new
|
389
|
-
payor_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | The Payor
|
319
|
+
payor_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | The account owner Payor ID
|
390
320
|
payor_email_opt_out_request = VeloPayments::PayorEmailOptOutRequest.new({reminder_emails_opt_out: false}) # PayorEmailOptOutRequest | Reminder Emails Opt-Out Request
|
391
321
|
|
392
322
|
begin
|
@@ -419,7 +349,7 @@ end
|
|
419
349
|
|
420
350
|
| Name | Type | Description | Notes |
|
421
351
|
| ---- | ---- | ----------- | ----- |
|
422
|
-
| **payor_id** | **String** | The Payor
|
352
|
+
| **payor_id** | **String** | The account owner Payor ID | |
|
423
353
|
| **payor_email_opt_out_request** | [**PayorEmailOptOutRequest**](PayorEmailOptOutRequest.md) | Reminder Emails Opt-Out Request | |
|
424
354
|
|
425
355
|
### Return type
|
@@ -456,7 +386,7 @@ VeloPayments.configure do |config|
|
|
456
386
|
end
|
457
387
|
|
458
388
|
api_instance = VeloPayments::PayorsApi.new
|
459
|
-
payor_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | The Payor
|
389
|
+
payor_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | The account owner Payor ID
|
460
390
|
|
461
391
|
begin
|
462
392
|
# Get Branding
|
@@ -489,7 +419,7 @@ end
|
|
489
419
|
|
490
420
|
| Name | Type | Description | Notes |
|
491
421
|
| ---- | ---- | ----------- | ----- |
|
492
|
-
| **payor_id** | **String** | The Payor
|
422
|
+
| **payor_id** | **String** | The account owner Payor ID | |
|
493
423
|
|
494
424
|
### Return type
|
495
425
|
|
data/docs/PayoutsApi.md
CHANGED
@@ -178,7 +178,7 @@ opts = {
|
|
178
178
|
remote_id: 'remote_id_example', # String | The remote id of the payees.
|
179
179
|
payor_payment_id: 'payor_payment_id_example', # String | Payor's Id of the Payment
|
180
180
|
source_account_name: 'source_account_name_example', # String | Physical Account Name
|
181
|
-
transmission_type: '
|
181
|
+
transmission_type: 'transmission_type_example', # String | Transmission Type * ACH * SAME_DAY_ACH * WIRE
|
182
182
|
payment_memo: 'payment_memo_example', # String | Payment Memo of the Payment
|
183
183
|
page_size: 56, # Integer | The number of results to return in a page
|
184
184
|
page: 56 # Integer | Page number. Default is 1.
|
@@ -472,7 +472,7 @@ VeloPayments.configure do |config|
|
|
472
472
|
end
|
473
473
|
|
474
474
|
api_instance = VeloPayments::PayoutsApi.new
|
475
|
-
create_payout_request_v3 = VeloPayments::CreatePayoutRequestV3.new({payments: [VeloPayments::PaymentInstructionV3.new({remote_id: 'remoteId1234', currency: 'USD', amount: 1299
|
475
|
+
create_payout_request_v3 = VeloPayments::CreatePayoutRequestV3.new({payments: [VeloPayments::PaymentInstructionV3.new({remote_id: 'remoteId1234', currency: 'USD', amount: 1299})]}) # CreatePayoutRequestV3 | Post amount to transfer using stored funding account details.
|
476
476
|
|
477
477
|
begin
|
478
478
|
# Submit Payout
|
@@ -22,6 +22,7 @@
|
|
22
22
|
| **deleted** | **Boolean** | An optional flag for whether the source account has been deleted. Only present in the response if true. | [optional] |
|
23
23
|
| **user_deleted** | **Boolean** | An optional flag for whether the source account has been deleted by a user. Only present in the response if true. | [optional] |
|
24
24
|
| **deleted_at** | **Time** | An optional timestamp when the source account has been deleted. Only present in the response if deleted. | [optional] |
|
25
|
+
| **transmission_types** | **Array<String>** | List of supported transmission types. | [optional] |
|
25
26
|
|
26
27
|
## Example
|
27
28
|
|
@@ -46,7 +47,8 @@ instance = VeloPayments::SourceAccountResponseV3.new(
|
|
46
47
|
country: US,
|
47
48
|
deleted: null,
|
48
49
|
user_deleted: null,
|
49
|
-
deleted_at: 2021-01-27T10:08:25.701Z
|
50
|
+
deleted_at: 2021-01-27T10:08:25.701Z,
|
51
|
+
transmission_types: ["ACH","SAME_DAY_ACH"]
|
50
52
|
)
|
51
53
|
```
|
52
54
|
|