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
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
### Terms and Definitions Throughout this document and the Velo platform the following terms are used: * **Payor.** An entity (typically a corporation) which wishes to pay funds to one or more payees via a payout. * **Payee.** The recipient of funds paid out by a payor. * **Payment.** A single transfer of funds from a payor to a payee. * **Payout.** A batch of Payments, typically used by a payor to logically group payments (e.g. by business day). Technically there need be no relationship between the payments in a payout - a single payout can contain payments to multiple payees and/or multiple payments to a single payee. * **Sandbox.** An integration environment provided by Velo Payments which offers a similar API experience to the production environment, but all funding and payment events are simulated, along with many other services such as OFAC sanctions list checking. ## Overview The Velo Payments API allows a payor to perform a number of operations. The following is a list of the main capabilities in a natural order of execution: * Authenticate with the Velo platform * Maintain a collection of payees * Query the payor’s current balance of funds within the platform and perform additional funding * Issue payments to payees * Query the platform for a history of those payments This document describes the main concepts and APIs required to get up and running with the Velo Payments platform. It is not an exhaustive API reference. For that, please see the separate Velo Payments API Reference. ## API Considerations The Velo Payments API is REST based and uses the JSON format for requests and responses. Most calls are secured using OAuth 2 security and require a valid authentication access token for successful operation. See the Authentication section for details. Where a dynamic value is required in the examples below, the {token} format is used, suggesting that the caller needs to supply the appropriate value of the token in question (without including the { or } characters). Where curl examples are given, the –d @filename.json approach is used, indicating that the request body should be placed into a file named filename.json in the current directory. Each of the curl examples in this document should be considered a single line on the command-line, regardless of how they appear in print. ## Authenticating with the Velo Platform Once Velo backoffice staff have added your organization as a payor within the Velo platform sandbox, they will create you a payor Id, an API key and an API secret and share these with you in a secure manner. You will need to use these values to authenticate with the Velo platform in order to gain access to the APIs. The steps to take are explained in the following: create a string comprising the API key (e.g. 44a9537d-d55d-4b47-8082-14061c2bcdd8) and API secret (e.g. c396b26b-137a-44fd-87f5-34631f8fd529) with a colon between them. E.g. 44a9537d-d55d-4b47-8082-14061c2bcdd8:c396b26b-137a-44fd-87f5-34631f8fd529 base64 encode this string. E.g.: NDRhOTUzN2QtZDU1ZC00YjQ3LTgwODItMTQwNjFjMmJjZGQ4OmMzOTZiMjZiLTEzN2EtNDRmZC04N2Y1LTM0NjMxZjhmZDUyOQ== create an HTTP **Authorization** header with the value set to e.g. Basic NDRhOTUzN2QtZDU1ZC00YjQ3LTgwODItMTQwNjFjMmJjZGQ4OmMzOTZiMjZiLTEzN2EtNDRmZC04N2Y1LTM0NjMxZjhmZDUyOQ== perform the Velo authentication REST call using the HTTP header created above e.g. via curl: ``` curl -X POST \\ -H \"Content-Type: application/json\" \\ -H \"Authorization: Basic NDRhOTUzN2QtZDU1ZC00YjQ3LTgwODItMTQwNjFjMmJjZGQ4OmMzOTZiMjZiLTEzN2EtNDRmZC04N2Y1LTM0NjMxZjhmZDUyOQ==\" \\ 'https://api.sandbox.velopayments.com/v1/authenticate?grant_type=client_credentials' ``` If successful, this call will result in a **200** HTTP status code and a response body such as: ``` { \"access_token\":\"19f6bafd-93fd-4747-b229-00507bbc991f\", \"token_type\":\"bearer\", \"expires_in\":1799, \"scope\":\"...\" } ``` ## API access following authentication Following successful authentication, the value of the access_token field in the response (indicated in green above) should then be presented with all subsequent API calls to allow the Velo platform to validate that the caller is authenticated. This is achieved by setting the HTTP Authorization header with the value set to e.g. Bearer 19f6bafd-93fd-4747-b229-00507bbc991f such as the curl example below: ``` -H \"Authorization: Bearer 19f6bafd-93fd-4747-b229-00507bbc991f \" ``` If you make other Velo API calls which require authorization but the Authorization header is missing or invalid then you will get a **401** HTTP status response.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.
|
6
|
+
The version of the OpenAPI document: 2.17.8
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.2.3-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -43,7 +43,7 @@ module VeloPayments
|
|
43
43
|
fail ArgumentError, "Missing the required parameter 'payout_id' when calling GetPayoutApi.v3_payouts_payout_id_get"
|
44
44
|
end
|
45
45
|
# resource path
|
46
|
-
local_var_path = '/v3/payouts/{payoutId}'.sub('{' + 'payoutId' + '}', CGI.escape(payout_id.to_s)
|
46
|
+
local_var_path = '/v3/payouts/{payoutId}'.sub('{' + 'payoutId' + '}', CGI.escape(payout_id.to_s))
|
47
47
|
|
48
48
|
# query parameters
|
49
49
|
query_params = opts[:query_params] || {}
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
### Terms and Definitions Throughout this document and the Velo platform the following terms are used: * **Payor.** An entity (typically a corporation) which wishes to pay funds to one or more payees via a payout. * **Payee.** The recipient of funds paid out by a payor. * **Payment.** A single transfer of funds from a payor to a payee. * **Payout.** A batch of Payments, typically used by a payor to logically group payments (e.g. by business day). Technically there need be no relationship between the payments in a payout - a single payout can contain payments to multiple payees and/or multiple payments to a single payee. * **Sandbox.** An integration environment provided by Velo Payments which offers a similar API experience to the production environment, but all funding and payment events are simulated, along with many other services such as OFAC sanctions list checking. ## Overview The Velo Payments API allows a payor to perform a number of operations. The following is a list of the main capabilities in a natural order of execution: * Authenticate with the Velo platform * Maintain a collection of payees * Query the payor’s current balance of funds within the platform and perform additional funding * Issue payments to payees * Query the platform for a history of those payments This document describes the main concepts and APIs required to get up and running with the Velo Payments platform. It is not an exhaustive API reference. For that, please see the separate Velo Payments API Reference. ## API Considerations The Velo Payments API is REST based and uses the JSON format for requests and responses. Most calls are secured using OAuth 2 security and require a valid authentication access token for successful operation. See the Authentication section for details. Where a dynamic value is required in the examples below, the {token} format is used, suggesting that the caller needs to supply the appropriate value of the token in question (without including the { or } characters). Where curl examples are given, the –d @filename.json approach is used, indicating that the request body should be placed into a file named filename.json in the current directory. Each of the curl examples in this document should be considered a single line on the command-line, regardless of how they appear in print. ## Authenticating with the Velo Platform Once Velo backoffice staff have added your organization as a payor within the Velo platform sandbox, they will create you a payor Id, an API key and an API secret and share these with you in a secure manner. You will need to use these values to authenticate with the Velo platform in order to gain access to the APIs. The steps to take are explained in the following: create a string comprising the API key (e.g. 44a9537d-d55d-4b47-8082-14061c2bcdd8) and API secret (e.g. c396b26b-137a-44fd-87f5-34631f8fd529) with a colon between them. E.g. 44a9537d-d55d-4b47-8082-14061c2bcdd8:c396b26b-137a-44fd-87f5-34631f8fd529 base64 encode this string. E.g.: NDRhOTUzN2QtZDU1ZC00YjQ3LTgwODItMTQwNjFjMmJjZGQ4OmMzOTZiMjZiLTEzN2EtNDRmZC04N2Y1LTM0NjMxZjhmZDUyOQ== create an HTTP **Authorization** header with the value set to e.g. Basic NDRhOTUzN2QtZDU1ZC00YjQ3LTgwODItMTQwNjFjMmJjZGQ4OmMzOTZiMjZiLTEzN2EtNDRmZC04N2Y1LTM0NjMxZjhmZDUyOQ== perform the Velo authentication REST call using the HTTP header created above e.g. via curl: ``` curl -X POST \\ -H \"Content-Type: application/json\" \\ -H \"Authorization: Basic NDRhOTUzN2QtZDU1ZC00YjQ3LTgwODItMTQwNjFjMmJjZGQ4OmMzOTZiMjZiLTEzN2EtNDRmZC04N2Y1LTM0NjMxZjhmZDUyOQ==\" \\ 'https://api.sandbox.velopayments.com/v1/authenticate?grant_type=client_credentials' ``` If successful, this call will result in a **200** HTTP status code and a response body such as: ``` { \"access_token\":\"19f6bafd-93fd-4747-b229-00507bbc991f\", \"token_type\":\"bearer\", \"expires_in\":1799, \"scope\":\"...\" } ``` ## API access following authentication Following successful authentication, the value of the access_token field in the response (indicated in green above) should then be presented with all subsequent API calls to allow the Velo platform to validate that the caller is authenticated. This is achieved by setting the HTTP Authorization header with the value set to e.g. Bearer 19f6bafd-93fd-4747-b229-00507bbc991f such as the curl example below: ``` -H \"Authorization: Bearer 19f6bafd-93fd-4747-b229-00507bbc991f \" ``` If you make other Velo API calls which require authorization but the Authorization header is missing or invalid then you will get a **401** HTTP status response.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.
|
6
|
+
The version of the OpenAPI document: 2.17.8
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.2.3-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -43,7 +43,7 @@ module VeloPayments
|
|
43
43
|
fail ArgumentError, "Missing the required parameter 'payout_id' when calling InstructPayoutApi.v3_payouts_payout_id_post"
|
44
44
|
end
|
45
45
|
# resource path
|
46
|
-
local_var_path = '/v3/payouts/{payoutId}'.sub('{' + 'payoutId' + '}', CGI.escape(payout_id.to_s)
|
46
|
+
local_var_path = '/v3/payouts/{payoutId}'.sub('{' + 'payoutId' + '}', CGI.escape(payout_id.to_s))
|
47
47
|
|
48
48
|
# query parameters
|
49
49
|
query_params = opts[:query_params] || {}
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
### Terms and Definitions Throughout this document and the Velo platform the following terms are used: * **Payor.** An entity (typically a corporation) which wishes to pay funds to one or more payees via a payout. * **Payee.** The recipient of funds paid out by a payor. * **Payment.** A single transfer of funds from a payor to a payee. * **Payout.** A batch of Payments, typically used by a payor to logically group payments (e.g. by business day). Technically there need be no relationship between the payments in a payout - a single payout can contain payments to multiple payees and/or multiple payments to a single payee. * **Sandbox.** An integration environment provided by Velo Payments which offers a similar API experience to the production environment, but all funding and payment events are simulated, along with many other services such as OFAC sanctions list checking. ## Overview The Velo Payments API allows a payor to perform a number of operations. The following is a list of the main capabilities in a natural order of execution: * Authenticate with the Velo platform * Maintain a collection of payees * Query the payor’s current balance of funds within the platform and perform additional funding * Issue payments to payees * Query the platform for a history of those payments This document describes the main concepts and APIs required to get up and running with the Velo Payments platform. It is not an exhaustive API reference. For that, please see the separate Velo Payments API Reference. ## API Considerations The Velo Payments API is REST based and uses the JSON format for requests and responses. Most calls are secured using OAuth 2 security and require a valid authentication access token for successful operation. See the Authentication section for details. Where a dynamic value is required in the examples below, the {token} format is used, suggesting that the caller needs to supply the appropriate value of the token in question (without including the { or } characters). Where curl examples are given, the –d @filename.json approach is used, indicating that the request body should be placed into a file named filename.json in the current directory. Each of the curl examples in this document should be considered a single line on the command-line, regardless of how they appear in print. ## Authenticating with the Velo Platform Once Velo backoffice staff have added your organization as a payor within the Velo platform sandbox, they will create you a payor Id, an API key and an API secret and share these with you in a secure manner. You will need to use these values to authenticate with the Velo platform in order to gain access to the APIs. The steps to take are explained in the following: create a string comprising the API key (e.g. 44a9537d-d55d-4b47-8082-14061c2bcdd8) and API secret (e.g. c396b26b-137a-44fd-87f5-34631f8fd529) with a colon between them. E.g. 44a9537d-d55d-4b47-8082-14061c2bcdd8:c396b26b-137a-44fd-87f5-34631f8fd529 base64 encode this string. E.g.: NDRhOTUzN2QtZDU1ZC00YjQ3LTgwODItMTQwNjFjMmJjZGQ4OmMzOTZiMjZiLTEzN2EtNDRmZC04N2Y1LTM0NjMxZjhmZDUyOQ== create an HTTP **Authorization** header with the value set to e.g. Basic NDRhOTUzN2QtZDU1ZC00YjQ3LTgwODItMTQwNjFjMmJjZGQ4OmMzOTZiMjZiLTEzN2EtNDRmZC04N2Y1LTM0NjMxZjhmZDUyOQ== perform the Velo authentication REST call using the HTTP header created above e.g. via curl: ``` curl -X POST \\ -H \"Content-Type: application/json\" \\ -H \"Authorization: Basic NDRhOTUzN2QtZDU1ZC00YjQ3LTgwODItMTQwNjFjMmJjZGQ4OmMzOTZiMjZiLTEzN2EtNDRmZC04N2Y1LTM0NjMxZjhmZDUyOQ==\" \\ 'https://api.sandbox.velopayments.com/v1/authenticate?grant_type=client_credentials' ``` If successful, this call will result in a **200** HTTP status code and a response body such as: ``` { \"access_token\":\"19f6bafd-93fd-4747-b229-00507bbc991f\", \"token_type\":\"bearer\", \"expires_in\":1799, \"scope\":\"...\" } ``` ## API access following authentication Following successful authentication, the value of the access_token field in the response (indicated in green above) should then be presented with all subsequent API calls to allow the Velo platform to validate that the caller is authenticated. This is achieved by setting the HTTP Authorization header with the value set to e.g. Bearer 19f6bafd-93fd-4747-b229-00507bbc991f such as the curl example below: ``` -H \"Authorization: Bearer 19f6bafd-93fd-4747-b229-00507bbc991f \" ``` If you make other Velo API calls which require authorization but the Authorization header is missing or invalid then you will get a **401** HTTP status response.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.
|
6
|
+
The version of the OpenAPI document: 2.17.8
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.2.3-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -43,7 +43,7 @@ module VeloPayments
|
|
43
43
|
fail ArgumentError, "Missing the required parameter 'payor_id' when calling PayeeInvitationApi.get_payees_invitation_status"
|
44
44
|
end
|
45
45
|
# resource path
|
46
|
-
local_var_path = '/v1/payees/payors/{payorId}/invitationStatus'.sub('{' + 'payorId' + '}', CGI.escape(payor_id.to_s)
|
46
|
+
local_var_path = '/v1/payees/payors/{payorId}/invitationStatus'.sub('{' + 'payorId' + '}', CGI.escape(payor_id.to_s))
|
47
47
|
|
48
48
|
# query parameters
|
49
49
|
query_params = opts[:query_params] || {}
|
@@ -113,7 +113,7 @@ module VeloPayments
|
|
113
113
|
fail ArgumentError, "Missing the required parameter 'payor_id' when calling PayeeInvitationApi.get_payees_invitation_status_v2"
|
114
114
|
end
|
115
115
|
# resource path
|
116
|
-
local_var_path = '/v2/payees/payors/{payorId}/invitationStatus'.sub('{' + 'payorId' + '}', CGI.escape(payor_id.to_s)
|
116
|
+
local_var_path = '/v2/payees/payors/{payorId}/invitationStatus'.sub('{' + 'payorId' + '}', CGI.escape(payor_id.to_s))
|
117
117
|
|
118
118
|
# query parameters
|
119
119
|
query_params = opts[:query_params] || {}
|
@@ -185,7 +185,7 @@ module VeloPayments
|
|
185
185
|
fail ArgumentError, "Missing the required parameter 'invite_payee_request' when calling PayeeInvitationApi.resend_payee_invite"
|
186
186
|
end
|
187
187
|
# resource path
|
188
|
-
local_var_path = '/v1/payees/{payeeId}/invite'.sub('{' + 'payeeId' + '}', CGI.escape(payee_id.to_s)
|
188
|
+
local_var_path = '/v1/payees/{payeeId}/invite'.sub('{' + 'payeeId' + '}', CGI.escape(payee_id.to_s))
|
189
189
|
|
190
190
|
# query parameters
|
191
191
|
query_params = opts[:query_params] || {}
|
@@ -225,7 +225,7 @@ module VeloPayments
|
|
225
225
|
return data, status_code, headers
|
226
226
|
end
|
227
227
|
|
228
|
-
# Intiate Payee Creation
|
228
|
+
# Intiate Payee Creation V2
|
229
229
|
# Initiate the process of creating 1 to 2000 payees in a batch Use the response location header to query for status (201 - Created, 400 - invalid request body, 409 - if there is a duplicate remote id within the batch / if there is a duplicate email within the batch).
|
230
230
|
# @param create_payees_request [CreatePayeesRequest] Post payees to create.
|
231
231
|
# @param [Hash] opts the optional parameters
|
@@ -235,7 +235,7 @@ module VeloPayments
|
|
235
235
|
data
|
236
236
|
end
|
237
237
|
|
238
|
-
# Intiate Payee Creation
|
238
|
+
# Intiate Payee Creation V2
|
239
239
|
# Initiate the process of creating 1 to 2000 payees in a batch Use the response location header to query for status (201 - Created, 400 - invalid request body, 409 - if there is a duplicate remote id within the batch / if there is a duplicate email within the batch).
|
240
240
|
# @param create_payees_request [CreatePayeesRequest] Post payees to create.
|
241
241
|
# @param [Hash] opts the optional parameters
|
@@ -313,7 +313,7 @@ module VeloPayments
|
|
313
313
|
fail ArgumentError, "Missing the required parameter 'batch_id' when calling PayeeInvitationApi.v2_query_batch_status"
|
314
314
|
end
|
315
315
|
# resource path
|
316
|
-
local_var_path = '/v2/payees/batch/{batchId}'.sub('{' + 'batchId' + '}', CGI.escape(batch_id.to_s)
|
316
|
+
local_var_path = '/v2/payees/batch/{batchId}'.sub('{' + 'batchId' + '}', CGI.escape(batch_id.to_s))
|
317
317
|
|
318
318
|
# query parameters
|
319
319
|
query_params = opts[:query_params] || {}
|
@@ -350,5 +350,131 @@ module VeloPayments
|
|
350
350
|
end
|
351
351
|
return data, status_code, headers
|
352
352
|
end
|
353
|
+
|
354
|
+
# Intiate Payee Creation V3
|
355
|
+
# Initiate the process of creating 1 to 2000 payees in a batch Use the response location header to query for status (201 - Created, 400 - invalid request body, 409 - if there is a duplicate remote id within the batch / if there is a duplicate email within the batch).
|
356
|
+
# @param create_payees_request2 [CreatePayeesRequest2] Post payees to create.
|
357
|
+
# @param [Hash] opts the optional parameters
|
358
|
+
# @return [CreatePayeesCSVResponse2]
|
359
|
+
def v3_create_payee(create_payees_request2, opts = {})
|
360
|
+
data, _status_code, _headers = v3_create_payee_with_http_info(create_payees_request2, opts)
|
361
|
+
data
|
362
|
+
end
|
363
|
+
|
364
|
+
# Intiate Payee Creation V3
|
365
|
+
# Initiate the process of creating 1 to 2000 payees in a batch Use the response location header to query for status (201 - Created, 400 - invalid request body, 409 - if there is a duplicate remote id within the batch / if there is a duplicate email within the batch).
|
366
|
+
# @param create_payees_request2 [CreatePayeesRequest2] Post payees to create.
|
367
|
+
# @param [Hash] opts the optional parameters
|
368
|
+
# @return [Array<(CreatePayeesCSVResponse2, Integer, Hash)>] CreatePayeesCSVResponse2 data, response status code and response headers
|
369
|
+
def v3_create_payee_with_http_info(create_payees_request2, opts = {})
|
370
|
+
if @api_client.config.debugging
|
371
|
+
@api_client.config.logger.debug 'Calling API: PayeeInvitationApi.v3_create_payee ...'
|
372
|
+
end
|
373
|
+
# verify the required parameter 'create_payees_request2' is set
|
374
|
+
if @api_client.config.client_side_validation && create_payees_request2.nil?
|
375
|
+
fail ArgumentError, "Missing the required parameter 'create_payees_request2' when calling PayeeInvitationApi.v3_create_payee"
|
376
|
+
end
|
377
|
+
# resource path
|
378
|
+
local_var_path = '/v3/payees'
|
379
|
+
|
380
|
+
# query parameters
|
381
|
+
query_params = opts[:query_params] || {}
|
382
|
+
|
383
|
+
# header parameters
|
384
|
+
header_params = opts[:header_params] || {}
|
385
|
+
# HTTP header 'Accept' (if needed)
|
386
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
387
|
+
# HTTP header 'Content-Type'
|
388
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
|
389
|
+
|
390
|
+
# form parameters
|
391
|
+
form_params = opts[:form_params] || {}
|
392
|
+
|
393
|
+
# http body (model)
|
394
|
+
post_body = opts[:body] || @api_client.object_to_http_body(create_payees_request2)
|
395
|
+
|
396
|
+
# return_type
|
397
|
+
return_type = opts[:return_type] || 'CreatePayeesCSVResponse2'
|
398
|
+
|
399
|
+
# auth_names
|
400
|
+
auth_names = opts[:auth_names] || ['OAuth2']
|
401
|
+
|
402
|
+
new_options = opts.merge(
|
403
|
+
:header_params => header_params,
|
404
|
+
:query_params => query_params,
|
405
|
+
:form_params => form_params,
|
406
|
+
:body => post_body,
|
407
|
+
:auth_names => auth_names,
|
408
|
+
:return_type => return_type
|
409
|
+
)
|
410
|
+
|
411
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
412
|
+
if @api_client.config.debugging
|
413
|
+
@api_client.config.logger.debug "API called: PayeeInvitationApi#v3_create_payee\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
414
|
+
end
|
415
|
+
return data, status_code, headers
|
416
|
+
end
|
417
|
+
|
418
|
+
# Query Batch Status
|
419
|
+
# Fetch the status of a specific batch of payees. The batch is fully processed when status is ACCEPTED and pendingCount is 0 ( 200 - OK, 404 - batch not found ).
|
420
|
+
# @param batch_id [String] Batch Id
|
421
|
+
# @param [Hash] opts the optional parameters
|
422
|
+
# @return [QueryBatchResponse]
|
423
|
+
def v3_query_batch_status(batch_id, opts = {})
|
424
|
+
data, _status_code, _headers = v3_query_batch_status_with_http_info(batch_id, opts)
|
425
|
+
data
|
426
|
+
end
|
427
|
+
|
428
|
+
# Query Batch Status
|
429
|
+
# Fetch the status of a specific batch of payees. The batch is fully processed when status is ACCEPTED and pendingCount is 0 ( 200 - OK, 404 - batch not found ).
|
430
|
+
# @param batch_id [String] Batch Id
|
431
|
+
# @param [Hash] opts the optional parameters
|
432
|
+
# @return [Array<(QueryBatchResponse, Integer, Hash)>] QueryBatchResponse data, response status code and response headers
|
433
|
+
def v3_query_batch_status_with_http_info(batch_id, opts = {})
|
434
|
+
if @api_client.config.debugging
|
435
|
+
@api_client.config.logger.debug 'Calling API: PayeeInvitationApi.v3_query_batch_status ...'
|
436
|
+
end
|
437
|
+
# verify the required parameter 'batch_id' is set
|
438
|
+
if @api_client.config.client_side_validation && batch_id.nil?
|
439
|
+
fail ArgumentError, "Missing the required parameter 'batch_id' when calling PayeeInvitationApi.v3_query_batch_status"
|
440
|
+
end
|
441
|
+
# resource path
|
442
|
+
local_var_path = '/v3/payees/batch/{batchId}'.sub('{' + 'batchId' + '}', CGI.escape(batch_id.to_s))
|
443
|
+
|
444
|
+
# query parameters
|
445
|
+
query_params = opts[:query_params] || {}
|
446
|
+
|
447
|
+
# header parameters
|
448
|
+
header_params = opts[:header_params] || {}
|
449
|
+
# HTTP header 'Accept' (if needed)
|
450
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
451
|
+
|
452
|
+
# form parameters
|
453
|
+
form_params = opts[:form_params] || {}
|
454
|
+
|
455
|
+
# http body (model)
|
456
|
+
post_body = opts[:body]
|
457
|
+
|
458
|
+
# return_type
|
459
|
+
return_type = opts[:return_type] || 'QueryBatchResponse'
|
460
|
+
|
461
|
+
# auth_names
|
462
|
+
auth_names = opts[:auth_names] || ['OAuth2']
|
463
|
+
|
464
|
+
new_options = opts.merge(
|
465
|
+
:header_params => header_params,
|
466
|
+
:query_params => query_params,
|
467
|
+
:form_params => form_params,
|
468
|
+
:body => post_body,
|
469
|
+
:auth_names => auth_names,
|
470
|
+
:return_type => return_type
|
471
|
+
)
|
472
|
+
|
473
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
474
|
+
if @api_client.config.debugging
|
475
|
+
@api_client.config.logger.debug "API called: PayeeInvitationApi#v3_query_batch_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
476
|
+
end
|
477
|
+
return data, status_code, headers
|
478
|
+
end
|
353
479
|
end
|
354
480
|
end
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
### Terms and Definitions Throughout this document and the Velo platform the following terms are used: * **Payor.** An entity (typically a corporation) which wishes to pay funds to one or more payees via a payout. * **Payee.** The recipient of funds paid out by a payor. * **Payment.** A single transfer of funds from a payor to a payee. * **Payout.** A batch of Payments, typically used by a payor to logically group payments (e.g. by business day). Technically there need be no relationship between the payments in a payout - a single payout can contain payments to multiple payees and/or multiple payments to a single payee. * **Sandbox.** An integration environment provided by Velo Payments which offers a similar API experience to the production environment, but all funding and payment events are simulated, along with many other services such as OFAC sanctions list checking. ## Overview The Velo Payments API allows a payor to perform a number of operations. The following is a list of the main capabilities in a natural order of execution: * Authenticate with the Velo platform * Maintain a collection of payees * Query the payor’s current balance of funds within the platform and perform additional funding * Issue payments to payees * Query the platform for a history of those payments This document describes the main concepts and APIs required to get up and running with the Velo Payments platform. It is not an exhaustive API reference. For that, please see the separate Velo Payments API Reference. ## API Considerations The Velo Payments API is REST based and uses the JSON format for requests and responses. Most calls are secured using OAuth 2 security and require a valid authentication access token for successful operation. See the Authentication section for details. Where a dynamic value is required in the examples below, the {token} format is used, suggesting that the caller needs to supply the appropriate value of the token in question (without including the { or } characters). Where curl examples are given, the –d @filename.json approach is used, indicating that the request body should be placed into a file named filename.json in the current directory. Each of the curl examples in this document should be considered a single line on the command-line, regardless of how they appear in print. ## Authenticating with the Velo Platform Once Velo backoffice staff have added your organization as a payor within the Velo platform sandbox, they will create you a payor Id, an API key and an API secret and share these with you in a secure manner. You will need to use these values to authenticate with the Velo platform in order to gain access to the APIs. The steps to take are explained in the following: create a string comprising the API key (e.g. 44a9537d-d55d-4b47-8082-14061c2bcdd8) and API secret (e.g. c396b26b-137a-44fd-87f5-34631f8fd529) with a colon between them. E.g. 44a9537d-d55d-4b47-8082-14061c2bcdd8:c396b26b-137a-44fd-87f5-34631f8fd529 base64 encode this string. E.g.: NDRhOTUzN2QtZDU1ZC00YjQ3LTgwODItMTQwNjFjMmJjZGQ4OmMzOTZiMjZiLTEzN2EtNDRmZC04N2Y1LTM0NjMxZjhmZDUyOQ== create an HTTP **Authorization** header with the value set to e.g. Basic NDRhOTUzN2QtZDU1ZC00YjQ3LTgwODItMTQwNjFjMmJjZGQ4OmMzOTZiMjZiLTEzN2EtNDRmZC04N2Y1LTM0NjMxZjhmZDUyOQ== perform the Velo authentication REST call using the HTTP header created above e.g. via curl: ``` curl -X POST \\ -H \"Content-Type: application/json\" \\ -H \"Authorization: Basic NDRhOTUzN2QtZDU1ZC00YjQ3LTgwODItMTQwNjFjMmJjZGQ4OmMzOTZiMjZiLTEzN2EtNDRmZC04N2Y1LTM0NjMxZjhmZDUyOQ==\" \\ 'https://api.sandbox.velopayments.com/v1/authenticate?grant_type=client_credentials' ``` If successful, this call will result in a **200** HTTP status code and a response body such as: ``` { \"access_token\":\"19f6bafd-93fd-4747-b229-00507bbc991f\", \"token_type\":\"bearer\", \"expires_in\":1799, \"scope\":\"...\" } ``` ## API access following authentication Following successful authentication, the value of the access_token field in the response (indicated in green above) should then be presented with all subsequent API calls to allow the Velo platform to validate that the caller is authenticated. This is achieved by setting the HTTP Authorization header with the value set to e.g. Bearer 19f6bafd-93fd-4747-b229-00507bbc991f such as the curl example below: ``` -H \"Authorization: Bearer 19f6bafd-93fd-4747-b229-00507bbc991f \" ``` If you make other Velo API calls which require authorization but the Authorization header is missing or invalid then you will get a **401** HTTP status response.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.
|
6
|
+
The version of the OpenAPI document: 2.17.8
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.2.3-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -43,7 +43,7 @@ module VeloPayments
|
|
43
43
|
fail ArgumentError, "Missing the required parameter 'payee_id' when calling PayeesApi.delete_payee_by_id"
|
44
44
|
end
|
45
45
|
# resource path
|
46
|
-
local_var_path = '/v1/payees/{payeeId}'.sub('{' + 'payeeId' + '}', CGI.escape(payee_id.to_s)
|
46
|
+
local_var_path = '/v1/payees/{payeeId}'.sub('{' + 'payeeId' + '}', CGI.escape(payee_id.to_s))
|
47
47
|
|
48
48
|
# query parameters
|
49
49
|
query_params = opts[:query_params] || {}
|
@@ -105,7 +105,7 @@ module VeloPayments
|
|
105
105
|
fail ArgumentError, "Missing the required parameter 'payee_id' when calling PayeesApi.get_payee_by_id"
|
106
106
|
end
|
107
107
|
# resource path
|
108
|
-
local_var_path = '/v1/payees/{payeeId}'.sub('{' + 'payeeId' + '}', CGI.escape(payee_id.to_s)
|
108
|
+
local_var_path = '/v1/payees/{payeeId}'.sub('{' + 'payeeId' + '}', CGI.escape(payee_id.to_s))
|
109
109
|
|
110
110
|
# query parameters
|
111
111
|
query_params = opts[:query_params] || {}
|
@@ -230,11 +230,11 @@ module VeloPayments
|
|
230
230
|
# @option opts [String] :display_name The display name of the payees.
|
231
231
|
# @option opts [String] :remote_id The remote id of the payees.
|
232
232
|
# @option opts [PayeeType] :payee_type The onboarded status of the payees.
|
233
|
-
# @option opts [String] :payee_country The country of the
|
233
|
+
# @option opts [String] :payee_country The country of the payee - 2 letter ISO 3166-1 country code (upper case)
|
234
234
|
# @option opts [Integer] :page Page number. Default is 1. (default to 1)
|
235
235
|
# @option opts [Integer] :page_size Page size. Default is 25. Max allowable is 100. (default to 25)
|
236
236
|
# @option opts [String] :sort List of sort fields (e.g. ?sort=onboardedStatus:asc,name:asc) Default is name:asc 'name' is treated as company name for companies - last name + ',' + firstName for individuals The supported sort fields are - payeeId, displayName, payoutStatus, onboardedStatus. (default to 'displayName:asc')
|
237
|
-
# @return [
|
237
|
+
# @return [PagedPayeeResponse]
|
238
238
|
def list_payees(payor_id, opts = {})
|
239
239
|
data, _status_code, _headers = list_payees_with_http_info(payor_id, opts)
|
240
240
|
data
|
@@ -250,11 +250,11 @@ module VeloPayments
|
|
250
250
|
# @option opts [String] :display_name The display name of the payees.
|
251
251
|
# @option opts [String] :remote_id The remote id of the payees.
|
252
252
|
# @option opts [PayeeType] :payee_type The onboarded status of the payees.
|
253
|
-
# @option opts [String] :payee_country The country of the
|
253
|
+
# @option opts [String] :payee_country The country of the payee - 2 letter ISO 3166-1 country code (upper case)
|
254
254
|
# @option opts [Integer] :page Page number. Default is 1.
|
255
255
|
# @option opts [Integer] :page_size Page size. Default is 25. Max allowable is 100.
|
256
256
|
# @option opts [String] :sort List of sort fields (e.g. ?sort=onboardedStatus:asc,name:asc) Default is name:asc 'name' is treated as company name for companies - last name + ',' + firstName for individuals The supported sort fields are - payeeId, displayName, payoutStatus, onboardedStatus.
|
257
|
-
# @return [Array<(
|
257
|
+
# @return [Array<(PagedPayeeResponse, Integer, Hash)>] PagedPayeeResponse data, response status code and response headers
|
258
258
|
def list_payees_with_http_info(payor_id, opts = {})
|
259
259
|
if @api_client.config.debugging
|
260
260
|
@api_client.config.logger.debug 'Calling API: PayeesApi.list_payees ...'
|
@@ -297,7 +297,7 @@ module VeloPayments
|
|
297
297
|
post_body = opts[:body]
|
298
298
|
|
299
299
|
# return_type
|
300
|
-
return_type = opts[:return_type] || '
|
300
|
+
return_type = opts[:return_type] || 'PagedPayeeResponse'
|
301
301
|
|
302
302
|
# auth_names
|
303
303
|
auth_names = opts[:auth_names] || ['OAuth2']
|
@@ -317,5 +317,173 @@ module VeloPayments
|
|
317
317
|
end
|
318
318
|
return data, status_code, headers
|
319
319
|
end
|
320
|
+
|
321
|
+
# List Payees
|
322
|
+
# Get a paginated response listing the payees for a payor.
|
323
|
+
# @param payor_id [String] The account owner Payor ID
|
324
|
+
# @param [Hash] opts the optional parameters
|
325
|
+
# @option opts [WatchlistStatus] :ofac_status The watchlistStatus of the payees.
|
326
|
+
# @option opts [OnboardedStatus] :onboarded_status The onboarded status of the payees.
|
327
|
+
# @option opts [String] :email Email address
|
328
|
+
# @option opts [String] :display_name The display name of the payees.
|
329
|
+
# @option opts [String] :remote_id The remote id of the payees.
|
330
|
+
# @option opts [PayeeType] :payee_type The onboarded status of the payees.
|
331
|
+
# @option opts [String] :payee_country The country of the payee - 2 letter ISO 3166-1 country code (upper case)
|
332
|
+
# @option opts [Integer] :page Page number. Default is 1. (default to 1)
|
333
|
+
# @option opts [Integer] :page_size Page size. Default is 25. Max allowable is 100. (default to 25)
|
334
|
+
# @option opts [String] :sort List of sort fields (e.g. ?sort=onboardedStatus:asc,name:asc) Default is name:asc 'name' is treated as company name for companies - last name + ',' + firstName for individuals The supported sort fields are - payeeId, displayName, payoutStatus, onboardedStatus. (default to 'displayName:asc')
|
335
|
+
# @return [PagedPayeeResponse2]
|
336
|
+
def list_payees_v3(payor_id, opts = {})
|
337
|
+
data, _status_code, _headers = list_payees_v3_with_http_info(payor_id, opts)
|
338
|
+
data
|
339
|
+
end
|
340
|
+
|
341
|
+
# List Payees
|
342
|
+
# Get a paginated response listing the payees for a payor.
|
343
|
+
# @param payor_id [String] The account owner Payor ID
|
344
|
+
# @param [Hash] opts the optional parameters
|
345
|
+
# @option opts [WatchlistStatus] :ofac_status The watchlistStatus of the payees.
|
346
|
+
# @option opts [OnboardedStatus] :onboarded_status The onboarded status of the payees.
|
347
|
+
# @option opts [String] :email Email address
|
348
|
+
# @option opts [String] :display_name The display name of the payees.
|
349
|
+
# @option opts [String] :remote_id The remote id of the payees.
|
350
|
+
# @option opts [PayeeType] :payee_type The onboarded status of the payees.
|
351
|
+
# @option opts [String] :payee_country The country of the payee - 2 letter ISO 3166-1 country code (upper case)
|
352
|
+
# @option opts [Integer] :page Page number. Default is 1.
|
353
|
+
# @option opts [Integer] :page_size Page size. Default is 25. Max allowable is 100.
|
354
|
+
# @option opts [String] :sort List of sort fields (e.g. ?sort=onboardedStatus:asc,name:asc) Default is name:asc 'name' is treated as company name for companies - last name + ',' + firstName for individuals The supported sort fields are - payeeId, displayName, payoutStatus, onboardedStatus.
|
355
|
+
# @return [Array<(PagedPayeeResponse2, Integer, Hash)>] PagedPayeeResponse2 data, response status code and response headers
|
356
|
+
def list_payees_v3_with_http_info(payor_id, opts = {})
|
357
|
+
if @api_client.config.debugging
|
358
|
+
@api_client.config.logger.debug 'Calling API: PayeesApi.list_payees_v3 ...'
|
359
|
+
end
|
360
|
+
# verify the required parameter 'payor_id' is set
|
361
|
+
if @api_client.config.client_side_validation && payor_id.nil?
|
362
|
+
fail ArgumentError, "Missing the required parameter 'payor_id' when calling PayeesApi.list_payees_v3"
|
363
|
+
end
|
364
|
+
pattern = Regexp.new(/[a-zA-Z]+[:desc|:asc]/)
|
365
|
+
if @api_client.config.client_side_validation && !opts[:'sort'].nil? && opts[:'sort'] !~ pattern
|
366
|
+
fail ArgumentError, "invalid value for 'opts[:\"sort\"]' when calling PayeesApi.list_payees_v3, must conform to the pattern #{pattern}."
|
367
|
+
end
|
368
|
+
|
369
|
+
# resource path
|
370
|
+
local_var_path = '/v3/payees'
|
371
|
+
|
372
|
+
# query parameters
|
373
|
+
query_params = opts[:query_params] || {}
|
374
|
+
query_params[:'payorId'] = payor_id
|
375
|
+
query_params[:'ofacStatus'] = opts[:'ofac_status'] if !opts[:'ofac_status'].nil?
|
376
|
+
query_params[:'onboardedStatus'] = opts[:'onboarded_status'] if !opts[:'onboarded_status'].nil?
|
377
|
+
query_params[:'Email'] = opts[:'email'] if !opts[:'email'].nil?
|
378
|
+
query_params[:'displayName'] = opts[:'display_name'] if !opts[:'display_name'].nil?
|
379
|
+
query_params[:'remoteId'] = opts[:'remote_id'] if !opts[:'remote_id'].nil?
|
380
|
+
query_params[:'payeeType'] = opts[:'payee_type'] if !opts[:'payee_type'].nil?
|
381
|
+
query_params[:'payeeCountry'] = opts[:'payee_country'] if !opts[:'payee_country'].nil?
|
382
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
383
|
+
query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
384
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
385
|
+
|
386
|
+
# header parameters
|
387
|
+
header_params = opts[:header_params] || {}
|
388
|
+
# HTTP header 'Accept' (if needed)
|
389
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
390
|
+
|
391
|
+
# form parameters
|
392
|
+
form_params = opts[:form_params] || {}
|
393
|
+
|
394
|
+
# http body (model)
|
395
|
+
post_body = opts[:body]
|
396
|
+
|
397
|
+
# return_type
|
398
|
+
return_type = opts[:return_type] || 'PagedPayeeResponse2'
|
399
|
+
|
400
|
+
# auth_names
|
401
|
+
auth_names = opts[:auth_names] || ['OAuth2']
|
402
|
+
|
403
|
+
new_options = opts.merge(
|
404
|
+
:header_params => header_params,
|
405
|
+
:query_params => query_params,
|
406
|
+
:form_params => form_params,
|
407
|
+
:body => post_body,
|
408
|
+
:auth_names => auth_names,
|
409
|
+
:return_type => return_type
|
410
|
+
)
|
411
|
+
|
412
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
413
|
+
if @api_client.config.debugging
|
414
|
+
@api_client.config.logger.debug "API called: PayeesApi#list_payees_v3\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
415
|
+
end
|
416
|
+
return data, status_code, headers
|
417
|
+
end
|
418
|
+
|
419
|
+
# Update Payee Remote Id
|
420
|
+
# Update the remote Id for the given Payee Id.
|
421
|
+
# @param payee_id [String] The UUID of the payee.
|
422
|
+
# @param update_remote_id_request [UpdateRemoteIdRequest] Request to update payee remote id
|
423
|
+
# @param [Hash] opts the optional parameters
|
424
|
+
# @return [nil]
|
425
|
+
def v1_payees_payee_id_remote_id_update_post(payee_id, update_remote_id_request, opts = {})
|
426
|
+
v1_payees_payee_id_remote_id_update_post_with_http_info(payee_id, update_remote_id_request, opts)
|
427
|
+
nil
|
428
|
+
end
|
429
|
+
|
430
|
+
# Update Payee Remote Id
|
431
|
+
# Update the remote Id for the given Payee Id.
|
432
|
+
# @param payee_id [String] The UUID of the payee.
|
433
|
+
# @param update_remote_id_request [UpdateRemoteIdRequest] Request to update payee remote id
|
434
|
+
# @param [Hash] opts the optional parameters
|
435
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
436
|
+
def v1_payees_payee_id_remote_id_update_post_with_http_info(payee_id, update_remote_id_request, opts = {})
|
437
|
+
if @api_client.config.debugging
|
438
|
+
@api_client.config.logger.debug 'Calling API: PayeesApi.v1_payees_payee_id_remote_id_update_post ...'
|
439
|
+
end
|
440
|
+
# verify the required parameter 'payee_id' is set
|
441
|
+
if @api_client.config.client_side_validation && payee_id.nil?
|
442
|
+
fail ArgumentError, "Missing the required parameter 'payee_id' when calling PayeesApi.v1_payees_payee_id_remote_id_update_post"
|
443
|
+
end
|
444
|
+
# verify the required parameter 'update_remote_id_request' is set
|
445
|
+
if @api_client.config.client_side_validation && update_remote_id_request.nil?
|
446
|
+
fail ArgumentError, "Missing the required parameter 'update_remote_id_request' when calling PayeesApi.v1_payees_payee_id_remote_id_update_post"
|
447
|
+
end
|
448
|
+
# resource path
|
449
|
+
local_var_path = '/v1/payees/{payeeId}/remoteIdUpdate'.sub('{' + 'payeeId' + '}', CGI.escape(payee_id.to_s))
|
450
|
+
|
451
|
+
# query parameters
|
452
|
+
query_params = opts[:query_params] || {}
|
453
|
+
|
454
|
+
# header parameters
|
455
|
+
header_params = opts[:header_params] || {}
|
456
|
+
# HTTP header 'Accept' (if needed)
|
457
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
458
|
+
# HTTP header 'Content-Type'
|
459
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
460
|
+
|
461
|
+
# form parameters
|
462
|
+
form_params = opts[:form_params] || {}
|
463
|
+
|
464
|
+
# http body (model)
|
465
|
+
post_body = opts[:body] || @api_client.object_to_http_body(update_remote_id_request)
|
466
|
+
|
467
|
+
# return_type
|
468
|
+
return_type = opts[:return_type]
|
469
|
+
|
470
|
+
# auth_names
|
471
|
+
auth_names = opts[:auth_names] || ['OAuth2']
|
472
|
+
|
473
|
+
new_options = opts.merge(
|
474
|
+
:header_params => header_params,
|
475
|
+
:query_params => query_params,
|
476
|
+
:form_params => form_params,
|
477
|
+
:body => post_body,
|
478
|
+
:auth_names => auth_names,
|
479
|
+
:return_type => return_type
|
480
|
+
)
|
481
|
+
|
482
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
483
|
+
if @api_client.config.debugging
|
484
|
+
@api_client.config.logger.debug "API called: PayeesApi#v1_payees_payee_id_remote_id_update_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
485
|
+
end
|
486
|
+
return data, status_code, headers
|
487
|
+
end
|
320
488
|
end
|
321
489
|
end
|