velopayments 2.11.73 → 2.14.90.pre.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (360) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/Makefile +7 -1
  4. data/README.md +82 -26
  5. data/docs/Address.md +5 -5
  6. data/docs/AuthApi.md +65 -0
  7. data/docs/AuthResponse.md +25 -0
  8. data/docs/AutoTopUpConfig.md +21 -0
  9. data/docs/Company.md +3 -1
  10. data/docs/CreateIndividual.md +21 -0
  11. data/docs/CreatePayee.md +3 -25
  12. data/docs/CreatePayeeAddress.md +31 -0
  13. data/docs/CreatePayeesCSVRequest.md +17 -15
  14. data/docs/CreatePayoutRequest.md +1 -1
  15. data/docs/FundingManagerApi.md +180 -10
  16. data/docs/{FundingRequest.md → FundingRequestV1.md} +2 -2
  17. data/docs/{FundingRequest2.md → FundingRequestV2.md} +2 -2
  18. data/docs/FxSummaryV3.md +35 -0
  19. data/docs/{FxSummary.md → FxSummaryV4.md} +7 -7
  20. data/docs/GetFundingsResponseAllOf.md +17 -0
  21. data/docs/GetPaymentsForPayoutResponseV3.md +23 -0
  22. data/docs/GetPaymentsForPayoutResponseV3Page.md +25 -0
  23. data/docs/GetPaymentsForPayoutResponseV3Summary.md +33 -0
  24. data/docs/GetPaymentsForPayoutResponseV4.md +23 -0
  25. data/docs/GetPaymentsForPayoutResponseV4Summary.md +33 -0
  26. data/docs/GetPayoutsResponseV3.md +23 -0
  27. data/docs/GetPayoutsResponseV3Links.md +19 -0
  28. data/docs/GetPayoutsResponseV3Page.md +25 -0
  29. data/docs/GetPayoutsResponseV3Summary.md +25 -0
  30. data/docs/GetPayoutsResponseV4.md +23 -0
  31. data/docs/Individual.md +2 -2
  32. data/docs/{PaymentAuditCurrency.md → InvitationStatus.md} +2 -2
  33. data/docs/ListPaymentsResponse.md +4 -4
  34. data/docs/ListPaymentsResponsePage.md +25 -0
  35. data/docs/ListPaymentsResponseSummary.md +25 -0
  36. data/docs/ListSourceAccountResponse.md +2 -2
  37. data/docs/ListSourceAccountResponseLinks.md +19 -0
  38. data/docs/ListSourceAccountResponsePage.md +25 -0
  39. data/docs/ListSourceAccountResponseV2.md +21 -0
  40. data/docs/ListSourceAccountResponseV2Page.md +25 -0
  41. data/docs/Notifications.md +17 -0
  42. data/docs/PagedPayeeInvitationStatusResponse.md +21 -0
  43. data/docs/Payee.md +1 -3
  44. data/docs/PayeeDelta.md +29 -0
  45. data/docs/PayeeDeltaResponse.md +21 -0
  46. data/docs/PayeeDeltaResponseLinks.md +19 -0
  47. data/docs/PayeeDeltaResponsePage.md +25 -0
  48. data/docs/PayeeInvitationApi.md +68 -5
  49. data/docs/PayeeInvitationStatus.md +1 -1
  50. data/docs/PayeeInvitationStatusResponse.md +21 -0
  51. data/docs/PayeeResponse.md +3 -3
  52. data/docs/{GetPaymentsForPayoutResponseLinks.md → PayeeResponseLinks.md} +2 -2
  53. data/docs/{GetPaymentsForPayoutResponsePage.md → PayeeResponsePage.md} +2 -2
  54. data/docs/{GetPaymentsForPayoutResponseSummary.md → PayeeResponseSummary.md} +2 -2
  55. data/docs/PayeesApi.md +61 -0
  56. data/docs/PaymentAuditCurrencyV3.md +16 -0
  57. data/docs/PaymentAuditCurrencyV4.md +16 -0
  58. data/docs/PaymentAuditServiceApi.md +302 -6
  59. data/docs/PaymentEventResponseV3.md +39 -0
  60. data/docs/{PaymentEventResponse.md → PaymentEventResponseV4.md} +8 -8
  61. data/docs/PaymentInstruction.md +6 -6
  62. data/docs/PaymentResponseV3.md +81 -0
  63. data/docs/{PaymentResponse.md → PaymentResponseV4.md} +5 -5
  64. data/docs/PayorApplicationsApi.md +1 -1
  65. data/docs/PayorBrandingResponse.md +5 -5
  66. data/docs/PayorCreateApiKeyRequest.md +3 -3
  67. data/docs/PayorCreateApiKeyResponse.md +2 -2
  68. data/docs/PayorCreateApplicationRequest.md +2 -2
  69. data/docs/PayorEmailOptOutRequest.md +1 -1
  70. data/docs/PayorFundingBankDetailsUpdate.md +3 -3
  71. data/docs/PayorLinksResponse.md +19 -0
  72. data/docs/PayorLinksResponseLinks.md +23 -0
  73. data/docs/PayorLinksResponsePayors.md +23 -0
  74. data/docs/PayorRef.md +2 -2
  75. data/docs/{Payor.md → PayorV1.md} +15 -15
  76. data/docs/PayorV2.md +49 -0
  77. data/docs/PayorsApi.md +116 -6
  78. data/docs/PayoutHistoryApi.md +81 -2
  79. data/docs/{PayoutStatus.md → PayoutStatusV3.md} +2 -2
  80. data/docs/PayoutStatusV4.md +16 -0
  81. data/docs/PayoutSummaryAuditV3.md +41 -0
  82. data/docs/{PayoutSummaryAudit.md → PayoutSummaryAuditV4.md} +9 -7
  83. data/docs/PayoutSummaryResponse.md +4 -4
  84. data/docs/QuoteFxSummary.md +10 -10
  85. data/docs/RejectedPayment.md +10 -8
  86. data/docs/SetNotificationsRequest.md +17 -0
  87. data/docs/SourceAccount.md +3 -3
  88. data/docs/SourceAccountResponse.md +11 -9
  89. data/docs/SourceAccountResponseV2.md +45 -0
  90. data/docs/SourceAccountSummaryV3.md +21 -0
  91. data/docs/SourceAccountSummaryV4.md +21 -0
  92. data/docs/SubmitPayoutApi.md +2 -2
  93. data/docs/SupportedCountry.md +2 -2
  94. data/lib/velopayments.rb +58 -18
  95. data/lib/velopayments/api/auth_api.rb +88 -0
  96. data/lib/velopayments/api/countries_api.rb +35 -17
  97. data/lib/velopayments/api/currencies_api.rb +19 -10
  98. data/lib/velopayments/api/funding_manager_api.rb +323 -69
  99. data/lib/velopayments/api/get_payout_api.rb +20 -11
  100. data/lib/velopayments/api/instruct_payout_api.rb +21 -11
  101. data/lib/velopayments/api/payee_invitation_api.rb +150 -40
  102. data/lib/velopayments/api/payees_api.rb +130 -26
  103. data/lib/velopayments/api/payment_audit_service_api.rb +481 -55
  104. data/lib/velopayments/api/payor_applications_api.rb +40 -21
  105. data/lib/velopayments/api/payors_api.rb +209 -43
  106. data/lib/velopayments/api/payout_history_api.rb +141 -21
  107. data/lib/velopayments/api/quote_payout_api.rb +20 -11
  108. data/lib/velopayments/api/submit_payout_api.rb +22 -12
  109. data/lib/velopayments/api/withdraw_payout_api.rb +21 -11
  110. data/lib/velopayments/api_client.rb +3 -4
  111. data/lib/velopayments/api_error.rb +2 -2
  112. data/lib/velopayments/configuration.rb +7 -6
  113. data/lib/velopayments/models/address.rb +2 -2
  114. data/lib/velopayments/models/auth_response.rb +242 -0
  115. data/lib/velopayments/models/auto_top_up_config.rb +222 -0
  116. data/lib/velopayments/models/challenge.rb +2 -2
  117. data/lib/velopayments/models/company.rb +39 -6
  118. data/lib/velopayments/models/create_individual.rb +249 -0
  119. data/lib/velopayments/models/create_payee.rb +7 -109
  120. data/lib/velopayments/models/create_payee_address.rb +478 -0
  121. data/lib/velopayments/models/create_payees_csv_request.rb +268 -183
  122. data/lib/velopayments/models/create_payees_csv_response.rb +2 -2
  123. data/lib/velopayments/models/create_payees_request.rb +2 -2
  124. data/lib/velopayments/models/create_payment_channel.rb +9 -15
  125. data/lib/velopayments/models/create_payout_request.rb +2 -2
  126. data/lib/velopayments/models/failed_submission.rb +2 -2
  127. data/lib/velopayments/models/funding_audit.rb +2 -2
  128. data/lib/velopayments/models/funding_event.rb +2 -2
  129. data/lib/velopayments/models/funding_event_type.rb +2 -2
  130. data/lib/velopayments/models/{funding_request.rb → funding_request_v1.rb} +5 -5
  131. data/lib/velopayments/models/{funding_request2.rb → funding_request_v2.rb} +5 -5
  132. data/lib/velopayments/models/{fx_summary.rb → fx_summary_v3.rb} +7 -7
  133. data/lib/velopayments/models/fx_summary_v4.rb +363 -0
  134. data/lib/velopayments/models/get_fundings_response.rb +3 -2
  135. data/lib/velopayments/models/get_fundings_response_all_of.rb +196 -0
  136. data/lib/velopayments/models/get_payments_for_payout_response_v3.rb +228 -0
  137. data/lib/velopayments/models/get_payments_for_payout_response_v3_page.rb +232 -0
  138. data/lib/velopayments/models/get_payments_for_payout_response_v3_summary.rb +311 -0
  139. data/lib/velopayments/models/{get_payments_for_payout_response.rb → get_payments_for_payout_response_v4.rb} +9 -9
  140. data/lib/velopayments/models/get_payments_for_payout_response_v4_summary.rb +311 -0
  141. data/lib/velopayments/models/get_payout_statistics.rb +2 -2
  142. data/lib/velopayments/models/{get_payouts_response.rb → get_payouts_response_v3.rb} +9 -9
  143. data/lib/velopayments/models/{get_payments_for_payout_response_links.rb → get_payouts_response_v3_links.rb} +5 -5
  144. data/lib/velopayments/models/{get_payments_for_payout_response_page.rb → get_payouts_response_v3_page.rb} +5 -5
  145. data/lib/velopayments/models/{get_payments_for_payout_response_summary.rb → get_payouts_response_v3_summary.rb} +5 -5
  146. data/lib/velopayments/models/get_payouts_response_v4.rb +228 -0
  147. data/lib/velopayments/models/individual.rb +6 -4
  148. data/lib/velopayments/models/individual_name.rb +2 -2
  149. data/lib/velopayments/models/invitation_status.rb +37 -0
  150. data/lib/velopayments/models/invitation_status_response.rb +2 -2
  151. data/lib/velopayments/models/invite_payee_request.rb +2 -2
  152. data/lib/velopayments/models/language.rb +2 -2
  153. data/lib/velopayments/models/list_payments_response.rb +6 -6
  154. data/lib/velopayments/models/list_payments_response_page.rb +232 -0
  155. data/lib/velopayments/models/list_payments_response_summary.rb +232 -0
  156. data/lib/velopayments/models/list_source_account_response.rb +4 -4
  157. data/lib/velopayments/models/{social.rb → list_source_account_response_links.rb} +18 -27
  158. data/lib/velopayments/models/list_source_account_response_page.rb +232 -0
  159. data/lib/velopayments/models/list_source_account_response_v2.rb +219 -0
  160. data/lib/velopayments/models/list_source_account_response_v2_page.rb +232 -0
  161. data/lib/velopayments/models/marketing_opt_in.rb +2 -2
  162. data/lib/velopayments/models/notifications.rb +196 -0
  163. data/lib/velopayments/models/ofac_status.rb +2 -2
  164. data/lib/velopayments/models/onboarded_status.rb +2 -2
  165. data/lib/velopayments/models/paged_payee_invitation_status_response.rb +219 -0
  166. data/lib/velopayments/models/paged_response.rb +2 -2
  167. data/lib/velopayments/models/paged_response_page.rb +2 -2
  168. data/lib/velopayments/models/payee.rb +6 -15
  169. data/lib/velopayments/models/payee_delta.rb +288 -0
  170. data/lib/velopayments/models/payee_delta_response.rb +219 -0
  171. data/lib/velopayments/models/payee_delta_response_links.rb +205 -0
  172. data/lib/velopayments/models/payee_delta_response_page.rb +232 -0
  173. data/lib/velopayments/models/payee_invitation_status.rb +2 -2
  174. data/lib/velopayments/models/payee_invitation_status_response.rb +224 -0
  175. data/lib/velopayments/models/payee_response.rb +5 -5
  176. data/lib/velopayments/models/payee_response_links.rb +205 -0
  177. data/lib/velopayments/models/payee_response_page.rb +232 -0
  178. data/lib/velopayments/models/payee_response_summary.rb +232 -0
  179. data/lib/velopayments/models/payee_type.rb +2 -2
  180. data/lib/velopayments/models/{payment_audit_currency.rb → payment_audit_currency_v3.rb} +5 -5
  181. data/lib/velopayments/models/payment_audit_currency_v4.rb +37 -0
  182. data/lib/velopayments/models/payment_channel.rb +2 -2
  183. data/lib/velopayments/models/payment_channel_country.rb +2 -2
  184. data/lib/velopayments/models/payment_channel_rule.rb +2 -2
  185. data/lib/velopayments/models/payment_channel_rules_response.rb +2 -2
  186. data/lib/velopayments/models/{payment_event_response.rb → payment_event_response_v3.rb} +9 -9
  187. data/lib/velopayments/models/payment_event_response_v4.rb +351 -0
  188. data/lib/velopayments/models/payment_instruction.rb +2 -2
  189. data/lib/velopayments/models/{payment_response.rb → payment_response_v3.rb} +8 -8
  190. data/lib/velopayments/models/payment_response_v4.rb +587 -0
  191. data/lib/velopayments/models/payor_branding_response.rb +2 -2
  192. data/lib/velopayments/models/payor_create_api_key_request.rb +2 -2
  193. data/lib/velopayments/models/payor_create_api_key_response.rb +2 -2
  194. data/lib/velopayments/models/payor_create_application_request.rb +2 -2
  195. data/lib/velopayments/models/payor_email_opt_out_request.rb +7 -2
  196. data/lib/velopayments/models/payor_funding_bank_details_update.rb +2 -2
  197. data/lib/velopayments/models/payor_links_response.rb +210 -0
  198. data/lib/velopayments/models/payor_links_response_links.rb +277 -0
  199. data/lib/velopayments/models/payor_links_response_payors.rb +267 -0
  200. data/lib/velopayments/models/payor_logo_request.rb +2 -2
  201. data/lib/velopayments/models/payor_ref.rb +2 -2
  202. data/lib/velopayments/models/{payor.rb → payor_v1.rb} +6 -6
  203. data/lib/velopayments/models/payor_v2.rb +405 -0
  204. data/lib/velopayments/models/{payout_status.rb → payout_status_v3.rb} +5 -5
  205. data/lib/velopayments/models/payout_status_v4.rb +43 -0
  206. data/lib/velopayments/models/{payout_summary_audit.rb → payout_summary_audit_v3.rb} +18 -9
  207. data/lib/velopayments/models/payout_summary_audit_v4.rb +323 -0
  208. data/lib/velopayments/models/payout_summary_response.rb +2 -2
  209. data/lib/velopayments/models/query_batch_response.rb +2 -2
  210. data/lib/velopayments/models/quote_fx_summary.rb +4 -4
  211. data/lib/velopayments/models/quote_response.rb +2 -2
  212. data/lib/velopayments/models/rejected_payment.rb +37 -34
  213. data/lib/velopayments/models/set_notifications_request.rb +230 -0
  214. data/lib/velopayments/models/source_account.rb +2 -2
  215. data/lib/velopayments/models/source_account_response.rb +16 -7
  216. data/lib/velopayments/models/source_account_response_v2.rb +403 -0
  217. data/lib/velopayments/models/{source_account_summary.rb → source_account_summary_v3.rb} +7 -7
  218. data/lib/velopayments/models/source_account_summary_v4.rb +224 -0
  219. data/lib/velopayments/models/supported_countries_response.rb +2 -2
  220. data/lib/velopayments/models/supported_country.rb +36 -2
  221. data/lib/velopayments/models/supported_currency.rb +2 -2
  222. data/lib/velopayments/models/supported_currency_response.rb +2 -2
  223. data/lib/velopayments/version.rb +3 -3
  224. data/oa3-config.json +1 -1
  225. data/spec/api/auth_api_spec.rb +48 -0
  226. data/spec/api/countries_api_spec.rb +2 -2
  227. data/spec/api/currencies_api_spec.rb +2 -2
  228. data/spec/api/funding_manager_api_spec.rb +45 -4
  229. data/spec/api/get_payout_api_spec.rb +2 -2
  230. data/spec/api/instruct_payout_api_spec.rb +2 -2
  231. data/spec/api/payee_invitation_api_spec.rb +20 -4
  232. data/spec/api/payees_api_spec.rb +17 -2
  233. data/spec/api/payment_audit_service_api_spec.rb +91 -5
  234. data/spec/api/payor_applications_api_spec.rb +3 -3
  235. data/spec/api/payors_api_spec.rb +31 -6
  236. data/spec/api/payout_history_api_spec.rb +27 -3
  237. data/spec/api/quote_payout_api_spec.rb +2 -2
  238. data/spec/api/submit_payout_api_spec.rb +3 -3
  239. data/spec/api/withdraw_payout_api_spec.rb +2 -2
  240. data/spec/api_client_spec.rb +2 -2
  241. data/spec/configuration_spec.rb +2 -2
  242. data/spec/models/address_spec.rb +2 -2
  243. data/spec/models/auth_response_spec.rb +65 -0
  244. data/spec/models/{social_spec.rb → auto_top_up_config_spec.rb} +11 -11
  245. data/spec/models/challenge_spec.rb +2 -2
  246. data/spec/models/company_spec.rb +8 -2
  247. data/spec/models/create_individual_spec.rb +53 -0
  248. data/spec/models/create_payee_address_spec.rb +83 -0
  249. data/spec/models/create_payee_spec.rb +2 -68
  250. data/spec/models/create_payees_csv_request_spec.rb +26 -16
  251. data/spec/models/create_payees_csv_response_spec.rb +2 -2
  252. data/spec/models/create_payees_request_spec.rb +2 -2
  253. data/spec/models/create_payment_channel_spec.rb +6 -2
  254. data/spec/models/create_payout_request_spec.rb +2 -2
  255. data/spec/models/failed_submission_spec.rb +2 -2
  256. data/spec/models/funding_audit_spec.rb +2 -2
  257. data/spec/models/funding_event_spec.rb +2 -2
  258. data/spec/models/funding_event_type_spec.rb +2 -2
  259. data/spec/models/{funding_request2_spec.rb → funding_request_v1_spec.rb} +8 -8
  260. data/spec/models/{funding_request_spec.rb → funding_request_v2_spec.rb} +8 -8
  261. data/spec/models/{fx_summary_spec.rb → fx_summary_v3_spec.rb} +8 -8
  262. data/spec/models/fx_summary_v4_spec.rb +103 -0
  263. data/spec/models/get_fundings_response_all_of_spec.rb +41 -0
  264. data/spec/models/get_fundings_response_spec.rb +2 -2
  265. data/spec/models/{get_payments_for_payout_response_page_spec.rb → get_payments_for_payout_response_v3_page_spec.rb} +8 -8
  266. data/spec/models/{get_payments_for_payout_response_spec.rb → get_payments_for_payout_response_v3_spec.rb} +8 -8
  267. data/spec/models/get_payments_for_payout_response_v3_summary_spec.rb +93 -0
  268. data/spec/models/get_payments_for_payout_response_v4_spec.rb +59 -0
  269. data/spec/models/get_payments_for_payout_response_v4_summary_spec.rb +93 -0
  270. data/spec/models/get_payout_statistics_spec.rb +2 -2
  271. data/spec/models/get_payouts_response_v3_links_spec.rb +47 -0
  272. data/spec/models/get_payouts_response_v3_page_spec.rb +65 -0
  273. data/spec/models/{get_payouts_response_spec.rb → get_payouts_response_v3_spec.rb} +8 -8
  274. data/spec/models/{get_payments_for_payout_response_summary_spec.rb → get_payouts_response_v3_summary_spec.rb} +8 -8
  275. data/spec/models/get_payouts_response_v4_spec.rb +59 -0
  276. data/spec/models/individual_name_spec.rb +2 -2
  277. data/spec/models/individual_spec.rb +2 -2
  278. data/spec/models/invitation_status_response_spec.rb +2 -2
  279. data/spec/models/invitation_status_spec.rb +35 -0
  280. data/spec/models/invite_payee_request_spec.rb +2 -2
  281. data/spec/models/language_spec.rb +2 -2
  282. data/spec/models/list_payments_response_page_spec.rb +65 -0
  283. data/spec/models/list_payments_response_spec.rb +2 -2
  284. data/spec/models/list_payments_response_summary_spec.rb +65 -0
  285. data/spec/models/{get_payments_for_payout_response_links_spec.rb → list_source_account_response_links_spec.rb} +8 -8
  286. data/spec/models/list_source_account_response_page_spec.rb +65 -0
  287. data/spec/models/list_source_account_response_spec.rb +2 -2
  288. data/spec/models/list_source_account_response_v2_page_spec.rb +65 -0
  289. data/spec/models/list_source_account_response_v2_spec.rb +53 -0
  290. data/spec/models/marketing_opt_in_spec.rb +2 -2
  291. data/spec/models/notifications_spec.rb +41 -0
  292. data/spec/models/ofac_status_spec.rb +2 -2
  293. data/spec/models/onboarded_status_spec.rb +2 -2
  294. data/spec/models/paged_payee_invitation_status_response_spec.rb +53 -0
  295. data/spec/models/paged_response_page_spec.rb +2 -2
  296. data/spec/models/paged_response_spec.rb +2 -2
  297. data/spec/models/payee_delta_response_links_spec.rb +47 -0
  298. data/spec/models/payee_delta_response_page_spec.rb +65 -0
  299. data/spec/models/payee_delta_response_spec.rb +53 -0
  300. data/spec/models/payee_delta_spec.rb +77 -0
  301. data/spec/models/payee_invitation_status_response_spec.rb +53 -0
  302. data/spec/models/payee_invitation_status_spec.rb +2 -2
  303. data/spec/models/payee_response_links_spec.rb +47 -0
  304. data/spec/models/payee_response_page_spec.rb +65 -0
  305. data/spec/models/payee_response_spec.rb +2 -2
  306. data/spec/models/payee_response_summary_spec.rb +65 -0
  307. data/spec/models/payee_spec.rb +2 -8
  308. data/spec/models/payee_type_spec.rb +2 -2
  309. data/spec/models/{payment_audit_currency_spec.rb → payment_audit_currency_v3_spec.rb} +8 -8
  310. data/spec/models/payment_audit_currency_v4_spec.rb +35 -0
  311. data/spec/models/payment_channel_country_spec.rb +2 -2
  312. data/spec/models/payment_channel_rule_spec.rb +2 -2
  313. data/spec/models/payment_channel_rules_response_spec.rb +2 -2
  314. data/spec/models/payment_channel_spec.rb +2 -2
  315. data/spec/models/{payment_event_response_spec.rb → payment_event_response_v3_spec.rb} +8 -8
  316. data/spec/models/payment_event_response_v4_spec.rb +111 -0
  317. data/spec/models/payment_instruction_spec.rb +2 -2
  318. data/spec/models/{payment_response_spec.rb → payment_response_v3_spec.rb} +8 -8
  319. data/spec/models/payment_response_v4_spec.rb +241 -0
  320. data/spec/models/payor_branding_response_spec.rb +2 -2
  321. data/spec/models/payor_create_api_key_request_spec.rb +2 -2
  322. data/spec/models/payor_create_api_key_response_spec.rb +2 -2
  323. data/spec/models/payor_create_application_request_spec.rb +2 -2
  324. data/spec/models/payor_email_opt_out_request_spec.rb +2 -2
  325. data/spec/models/payor_funding_bank_details_update_spec.rb +2 -2
  326. data/spec/models/payor_links_response_links_spec.rb +63 -0
  327. data/spec/models/payor_links_response_payors_spec.rb +63 -0
  328. data/spec/models/payor_links_response_spec.rb +47 -0
  329. data/spec/models/payor_logo_request_spec.rb +2 -2
  330. data/spec/models/payor_ref_spec.rb +2 -2
  331. data/spec/models/{payor_spec.rb → payor_v1_spec.rb} +8 -8
  332. data/spec/models/payor_v2_spec.rb +145 -0
  333. data/spec/models/{payout_status_spec.rb → payout_status_v3_spec.rb} +8 -8
  334. data/spec/models/payout_status_v4_spec.rb +35 -0
  335. data/spec/models/{payout_summary_audit_spec.rb → payout_summary_audit_v3_spec.rb} +14 -8
  336. data/spec/models/payout_summary_audit_v4_spec.rb +113 -0
  337. data/spec/models/payout_summary_response_spec.rb +2 -2
  338. data/spec/models/query_batch_response_spec.rb +2 -2
  339. data/spec/models/quote_fx_summary_spec.rb +2 -2
  340. data/spec/models/quote_response_spec.rb +2 -2
  341. data/spec/models/rejected_payment_spec.rb +8 -6
  342. data/spec/models/set_notifications_request_spec.rb +41 -0
  343. data/spec/models/source_account_response_spec.rb +8 -2
  344. data/spec/models/source_account_response_v2_spec.rb +129 -0
  345. data/spec/models/source_account_spec.rb +2 -2
  346. data/spec/models/{source_account_summary_spec.rb → source_account_summary_v3_spec.rb} +8 -8
  347. data/spec/models/source_account_summary_v4_spec.rb +53 -0
  348. data/spec/models/supported_countries_response_spec.rb +2 -2
  349. data/spec/models/supported_country_spec.rb +10 -2
  350. data/spec/models/supported_currency_response_spec.rb +2 -2
  351. data/spec/models/supported_currency_spec.rb +2 -2
  352. data/spec/spec_helper.rb +2 -2
  353. data/velopayments-2.11.73.gem +0 -0
  354. data/velopayments-2.14.90.gem +0 -0
  355. data/velopayments.gemspec +2 -2
  356. metadata +230 -68
  357. data/docs/GetPaymentsForPayoutResponse.md +0 -23
  358. data/docs/GetPayoutsResponse.md +0 -23
  359. data/docs/Social.md +0 -21
  360. data/docs/SourceAccountSummary.md +0 -21
@@ -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
- OpenAPI spec version: 2.11.73
6
+ The version of the OpenAPI document: 2.14.92
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.0-SNAPSHOT
9
+ OpenAPI Generator version: 4.1.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
data/spec/spec_helper.rb CHANGED
@@ -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
- OpenAPI spec version: 2.11.73
6
+ The version of the OpenAPI document: 2.14.92
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.0-SNAPSHOT
9
+ OpenAPI Generator version: 4.1.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
Binary file
Binary file
data/velopayments.gemspec CHANGED
@@ -5,10 +5,10 @@
5
5
 
6
6
  ### 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.
7
7
 
8
- OpenAPI spec version: 2.11.73
8
+ The version of the OpenAPI document: 2.14.92
9
9
 
10
10
  Generated by: https://openapi-generator.tech
11
- OpenAPI Generator version: 4.0.0-SNAPSHOT
11
+ OpenAPI Generator version: 4.1.0-SNAPSHOT
12
12
 
13
13
  =end
14
14
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: velopayments
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.11.73
4
+ version: 2.14.90.pre.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Velo Payments API
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-24 00:00:00.000000000 Z
11
+ date: 2019-07-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -207,10 +207,15 @@ files:
207
207
  - README.md
208
208
  - Rakefile
209
209
  - docs/Address.md
210
+ - docs/AuthApi.md
211
+ - docs/AuthResponse.md
212
+ - docs/AutoTopUpConfig.md
210
213
  - docs/Challenge.md
211
214
  - docs/Company.md
212
215
  - docs/CountriesApi.md
216
+ - docs/CreateIndividual.md
213
217
  - docs/CreatePayee.md
218
+ - docs/CreatePayeeAddress.md
214
219
  - docs/CreatePayeesCSVRequest.md
215
220
  - docs/CreatePayeesCSVResponse.md
216
221
  - docs/CreatePayeesRequest.md
@@ -222,46 +227,72 @@ files:
222
227
  - docs/FundingEvent.md
223
228
  - docs/FundingEventType.md
224
229
  - docs/FundingManagerApi.md
225
- - docs/FundingRequest.md
226
- - docs/FundingRequest2.md
227
- - docs/FxSummary.md
230
+ - docs/FundingRequestV1.md
231
+ - docs/FundingRequestV2.md
232
+ - docs/FxSummaryV3.md
233
+ - docs/FxSummaryV4.md
228
234
  - docs/GetFundingsResponse.md
229
- - docs/GetPaymentsForPayoutResponse.md
230
- - docs/GetPaymentsForPayoutResponseLinks.md
231
- - docs/GetPaymentsForPayoutResponsePage.md
232
- - docs/GetPaymentsForPayoutResponseSummary.md
235
+ - docs/GetFundingsResponseAllOf.md
236
+ - docs/GetPaymentsForPayoutResponseV3.md
237
+ - docs/GetPaymentsForPayoutResponseV3Page.md
238
+ - docs/GetPaymentsForPayoutResponseV3Summary.md
239
+ - docs/GetPaymentsForPayoutResponseV4.md
240
+ - docs/GetPaymentsForPayoutResponseV4Summary.md
233
241
  - docs/GetPayoutApi.md
234
242
  - docs/GetPayoutStatistics.md
235
- - docs/GetPayoutsResponse.md
243
+ - docs/GetPayoutsResponseV3.md
244
+ - docs/GetPayoutsResponseV3Links.md
245
+ - docs/GetPayoutsResponseV3Page.md
246
+ - docs/GetPayoutsResponseV3Summary.md
247
+ - docs/GetPayoutsResponseV4.md
236
248
  - docs/Individual.md
237
249
  - docs/IndividualName.md
238
250
  - docs/InstructPayoutApi.md
251
+ - docs/InvitationStatus.md
239
252
  - docs/InvitationStatusResponse.md
240
253
  - docs/InvitePayeeRequest.md
241
254
  - docs/Language.md
242
255
  - docs/ListPaymentsResponse.md
256
+ - docs/ListPaymentsResponsePage.md
257
+ - docs/ListPaymentsResponseSummary.md
243
258
  - docs/ListSourceAccountResponse.md
259
+ - docs/ListSourceAccountResponseLinks.md
260
+ - docs/ListSourceAccountResponsePage.md
261
+ - docs/ListSourceAccountResponseV2.md
262
+ - docs/ListSourceAccountResponseV2Page.md
244
263
  - docs/MarketingOptIn.md
264
+ - docs/Notifications.md
245
265
  - docs/OfacStatus.md
246
266
  - docs/OnboardedStatus.md
267
+ - docs/PagedPayeeInvitationStatusResponse.md
247
268
  - docs/PagedResponse.md
248
269
  - docs/PagedResponsePage.md
249
270
  - docs/Payee.md
271
+ - docs/PayeeDelta.md
272
+ - docs/PayeeDeltaResponse.md
273
+ - docs/PayeeDeltaResponseLinks.md
274
+ - docs/PayeeDeltaResponsePage.md
250
275
  - docs/PayeeInvitationApi.md
251
276
  - docs/PayeeInvitationStatus.md
277
+ - docs/PayeeInvitationStatusResponse.md
252
278
  - docs/PayeeResponse.md
279
+ - docs/PayeeResponseLinks.md
280
+ - docs/PayeeResponsePage.md
281
+ - docs/PayeeResponseSummary.md
253
282
  - docs/PayeeType.md
254
283
  - docs/PayeesApi.md
255
- - docs/PaymentAuditCurrency.md
284
+ - docs/PaymentAuditCurrencyV3.md
285
+ - docs/PaymentAuditCurrencyV4.md
256
286
  - docs/PaymentAuditServiceApi.md
257
287
  - docs/PaymentChannel.md
258
288
  - docs/PaymentChannelCountry.md
259
289
  - docs/PaymentChannelRule.md
260
290
  - docs/PaymentChannelRulesResponse.md
261
- - docs/PaymentEventResponse.md
291
+ - docs/PaymentEventResponseV3.md
292
+ - docs/PaymentEventResponseV4.md
262
293
  - docs/PaymentInstruction.md
263
- - docs/PaymentResponse.md
264
- - docs/Payor.md
294
+ - docs/PaymentResponseV3.md
295
+ - docs/PaymentResponseV4.md
265
296
  - docs/PayorApplicationsApi.md
266
297
  - docs/PayorBrandingResponse.md
267
298
  - docs/PayorCreateApiKeyRequest.md
@@ -269,22 +300,31 @@ files:
269
300
  - docs/PayorCreateApplicationRequest.md
270
301
  - docs/PayorEmailOptOutRequest.md
271
302
  - docs/PayorFundingBankDetailsUpdate.md
303
+ - docs/PayorLinksResponse.md
304
+ - docs/PayorLinksResponseLinks.md
305
+ - docs/PayorLinksResponsePayors.md
272
306
  - docs/PayorLogoRequest.md
273
307
  - docs/PayorRef.md
308
+ - docs/PayorV1.md
309
+ - docs/PayorV2.md
274
310
  - docs/PayorsApi.md
275
311
  - docs/PayoutHistoryApi.md
276
- - docs/PayoutStatus.md
277
- - docs/PayoutSummaryAudit.md
312
+ - docs/PayoutStatusV3.md
313
+ - docs/PayoutStatusV4.md
314
+ - docs/PayoutSummaryAuditV3.md
315
+ - docs/PayoutSummaryAuditV4.md
278
316
  - docs/PayoutSummaryResponse.md
279
317
  - docs/QueryBatchResponse.md
280
318
  - docs/QuoteFxSummary.md
281
319
  - docs/QuotePayoutApi.md
282
320
  - docs/QuoteResponse.md
283
321
  - docs/RejectedPayment.md
284
- - docs/Social.md
322
+ - docs/SetNotificationsRequest.md
285
323
  - docs/SourceAccount.md
286
324
  - docs/SourceAccountResponse.md
287
- - docs/SourceAccountSummary.md
325
+ - docs/SourceAccountResponseV2.md
326
+ - docs/SourceAccountSummaryV3.md
327
+ - docs/SourceAccountSummaryV4.md
288
328
  - docs/SubmitPayoutApi.md
289
329
  - docs/SupportedCountriesResponse.md
290
330
  - docs/SupportedCountry.md
@@ -292,6 +332,7 @@ files:
292
332
  - docs/SupportedCurrencyResponse.md
293
333
  - docs/WithdrawPayoutApi.md
294
334
  - lib/velopayments.rb
335
+ - lib/velopayments/api/auth_api.rb
295
336
  - lib/velopayments/api/countries_api.rb
296
337
  - lib/velopayments/api/currencies_api.rb
297
338
  - lib/velopayments/api/funding_manager_api.rb
@@ -310,9 +351,13 @@ files:
310
351
  - lib/velopayments/api_error.rb
311
352
  - lib/velopayments/configuration.rb
312
353
  - lib/velopayments/models/address.rb
354
+ - lib/velopayments/models/auth_response.rb
355
+ - lib/velopayments/models/auto_top_up_config.rb
313
356
  - lib/velopayments/models/challenge.rb
314
357
  - lib/velopayments/models/company.rb
358
+ - lib/velopayments/models/create_individual.rb
315
359
  - lib/velopayments/models/create_payee.rb
360
+ - lib/velopayments/models/create_payee_address.rb
316
361
  - lib/velopayments/models/create_payees_csv_request.rb
317
362
  - lib/velopayments/models/create_payees_csv_response.rb
318
363
  - lib/velopayments/models/create_payees_request.rb
@@ -322,66 +367,102 @@ files:
322
367
  - lib/velopayments/models/funding_audit.rb
323
368
  - lib/velopayments/models/funding_event.rb
324
369
  - lib/velopayments/models/funding_event_type.rb
325
- - lib/velopayments/models/funding_request.rb
326
- - lib/velopayments/models/funding_request2.rb
327
- - lib/velopayments/models/fx_summary.rb
370
+ - lib/velopayments/models/funding_request_v1.rb
371
+ - lib/velopayments/models/funding_request_v2.rb
372
+ - lib/velopayments/models/fx_summary_v3.rb
373
+ - lib/velopayments/models/fx_summary_v4.rb
328
374
  - lib/velopayments/models/get_fundings_response.rb
329
- - lib/velopayments/models/get_payments_for_payout_response.rb
330
- - lib/velopayments/models/get_payments_for_payout_response_links.rb
331
- - lib/velopayments/models/get_payments_for_payout_response_page.rb
332
- - lib/velopayments/models/get_payments_for_payout_response_summary.rb
375
+ - lib/velopayments/models/get_fundings_response_all_of.rb
376
+ - lib/velopayments/models/get_payments_for_payout_response_v3.rb
377
+ - lib/velopayments/models/get_payments_for_payout_response_v3_page.rb
378
+ - lib/velopayments/models/get_payments_for_payout_response_v3_summary.rb
379
+ - lib/velopayments/models/get_payments_for_payout_response_v4.rb
380
+ - lib/velopayments/models/get_payments_for_payout_response_v4_summary.rb
333
381
  - lib/velopayments/models/get_payout_statistics.rb
334
- - lib/velopayments/models/get_payouts_response.rb
382
+ - lib/velopayments/models/get_payouts_response_v3.rb
383
+ - lib/velopayments/models/get_payouts_response_v3_links.rb
384
+ - lib/velopayments/models/get_payouts_response_v3_page.rb
385
+ - lib/velopayments/models/get_payouts_response_v3_summary.rb
386
+ - lib/velopayments/models/get_payouts_response_v4.rb
335
387
  - lib/velopayments/models/individual.rb
336
388
  - lib/velopayments/models/individual_name.rb
389
+ - lib/velopayments/models/invitation_status.rb
337
390
  - lib/velopayments/models/invitation_status_response.rb
338
391
  - lib/velopayments/models/invite_payee_request.rb
339
392
  - lib/velopayments/models/language.rb
340
393
  - lib/velopayments/models/list_payments_response.rb
394
+ - lib/velopayments/models/list_payments_response_page.rb
395
+ - lib/velopayments/models/list_payments_response_summary.rb
341
396
  - lib/velopayments/models/list_source_account_response.rb
397
+ - lib/velopayments/models/list_source_account_response_links.rb
398
+ - lib/velopayments/models/list_source_account_response_page.rb
399
+ - lib/velopayments/models/list_source_account_response_v2.rb
400
+ - lib/velopayments/models/list_source_account_response_v2_page.rb
342
401
  - lib/velopayments/models/marketing_opt_in.rb
402
+ - lib/velopayments/models/notifications.rb
343
403
  - lib/velopayments/models/ofac_status.rb
344
404
  - lib/velopayments/models/onboarded_status.rb
405
+ - lib/velopayments/models/paged_payee_invitation_status_response.rb
345
406
  - lib/velopayments/models/paged_response.rb
346
407
  - lib/velopayments/models/paged_response_page.rb
347
408
  - lib/velopayments/models/payee.rb
409
+ - lib/velopayments/models/payee_delta.rb
410
+ - lib/velopayments/models/payee_delta_response.rb
411
+ - lib/velopayments/models/payee_delta_response_links.rb
412
+ - lib/velopayments/models/payee_delta_response_page.rb
348
413
  - lib/velopayments/models/payee_invitation_status.rb
414
+ - lib/velopayments/models/payee_invitation_status_response.rb
349
415
  - lib/velopayments/models/payee_response.rb
416
+ - lib/velopayments/models/payee_response_links.rb
417
+ - lib/velopayments/models/payee_response_page.rb
418
+ - lib/velopayments/models/payee_response_summary.rb
350
419
  - lib/velopayments/models/payee_type.rb
351
- - lib/velopayments/models/payment_audit_currency.rb
420
+ - lib/velopayments/models/payment_audit_currency_v3.rb
421
+ - lib/velopayments/models/payment_audit_currency_v4.rb
352
422
  - lib/velopayments/models/payment_channel.rb
353
423
  - lib/velopayments/models/payment_channel_country.rb
354
424
  - lib/velopayments/models/payment_channel_rule.rb
355
425
  - lib/velopayments/models/payment_channel_rules_response.rb
356
- - lib/velopayments/models/payment_event_response.rb
426
+ - lib/velopayments/models/payment_event_response_v3.rb
427
+ - lib/velopayments/models/payment_event_response_v4.rb
357
428
  - lib/velopayments/models/payment_instruction.rb
358
- - lib/velopayments/models/payment_response.rb
359
- - lib/velopayments/models/payor.rb
429
+ - lib/velopayments/models/payment_response_v3.rb
430
+ - lib/velopayments/models/payment_response_v4.rb
360
431
  - lib/velopayments/models/payor_branding_response.rb
361
432
  - lib/velopayments/models/payor_create_api_key_request.rb
362
433
  - lib/velopayments/models/payor_create_api_key_response.rb
363
434
  - lib/velopayments/models/payor_create_application_request.rb
364
435
  - lib/velopayments/models/payor_email_opt_out_request.rb
365
436
  - lib/velopayments/models/payor_funding_bank_details_update.rb
437
+ - lib/velopayments/models/payor_links_response.rb
438
+ - lib/velopayments/models/payor_links_response_links.rb
439
+ - lib/velopayments/models/payor_links_response_payors.rb
366
440
  - lib/velopayments/models/payor_logo_request.rb
367
441
  - lib/velopayments/models/payor_ref.rb
368
- - lib/velopayments/models/payout_status.rb
369
- - lib/velopayments/models/payout_summary_audit.rb
442
+ - lib/velopayments/models/payor_v1.rb
443
+ - lib/velopayments/models/payor_v2.rb
444
+ - lib/velopayments/models/payout_status_v3.rb
445
+ - lib/velopayments/models/payout_status_v4.rb
446
+ - lib/velopayments/models/payout_summary_audit_v3.rb
447
+ - lib/velopayments/models/payout_summary_audit_v4.rb
370
448
  - lib/velopayments/models/payout_summary_response.rb
371
449
  - lib/velopayments/models/query_batch_response.rb
372
450
  - lib/velopayments/models/quote_fx_summary.rb
373
451
  - lib/velopayments/models/quote_response.rb
374
452
  - lib/velopayments/models/rejected_payment.rb
375
- - lib/velopayments/models/social.rb
453
+ - lib/velopayments/models/set_notifications_request.rb
376
454
  - lib/velopayments/models/source_account.rb
377
455
  - lib/velopayments/models/source_account_response.rb
378
- - lib/velopayments/models/source_account_summary.rb
456
+ - lib/velopayments/models/source_account_response_v2.rb
457
+ - lib/velopayments/models/source_account_summary_v3.rb
458
+ - lib/velopayments/models/source_account_summary_v4.rb
379
459
  - lib/velopayments/models/supported_countries_response.rb
380
460
  - lib/velopayments/models/supported_country.rb
381
461
  - lib/velopayments/models/supported_currency.rb
382
462
  - lib/velopayments/models/supported_currency_response.rb
383
463
  - lib/velopayments/version.rb
384
464
  - oa3-config.json
465
+ - spec/api/auth_api_spec.rb
385
466
  - spec/api/countries_api_spec.rb
386
467
  - spec/api/currencies_api_spec.rb
387
468
  - spec/api/funding_manager_api_spec.rb
@@ -399,8 +480,12 @@ files:
399
480
  - spec/api_client_spec.rb
400
481
  - spec/configuration_spec.rb
401
482
  - spec/models/address_spec.rb
483
+ - spec/models/auth_response_spec.rb
484
+ - spec/models/auto_top_up_config_spec.rb
402
485
  - spec/models/challenge_spec.rb
403
486
  - spec/models/company_spec.rb
487
+ - spec/models/create_individual_spec.rb
488
+ - spec/models/create_payee_address_spec.rb
404
489
  - spec/models/create_payee_spec.rb
405
490
  - spec/models/create_payees_csv_request_spec.rb
406
491
  - spec/models/create_payees_csv_response_spec.rb
@@ -411,65 +496,102 @@ files:
411
496
  - spec/models/funding_audit_spec.rb
412
497
  - spec/models/funding_event_spec.rb
413
498
  - spec/models/funding_event_type_spec.rb
414
- - spec/models/funding_request2_spec.rb
415
- - spec/models/funding_request_spec.rb
416
- - spec/models/fx_summary_spec.rb
499
+ - spec/models/funding_request_v1_spec.rb
500
+ - spec/models/funding_request_v2_spec.rb
501
+ - spec/models/fx_summary_v3_spec.rb
502
+ - spec/models/fx_summary_v4_spec.rb
503
+ - spec/models/get_fundings_response_all_of_spec.rb
417
504
  - spec/models/get_fundings_response_spec.rb
418
- - spec/models/get_payments_for_payout_response_links_spec.rb
419
- - spec/models/get_payments_for_payout_response_page_spec.rb
420
- - spec/models/get_payments_for_payout_response_spec.rb
421
- - spec/models/get_payments_for_payout_response_summary_spec.rb
505
+ - spec/models/get_payments_for_payout_response_v3_page_spec.rb
506
+ - spec/models/get_payments_for_payout_response_v3_spec.rb
507
+ - spec/models/get_payments_for_payout_response_v3_summary_spec.rb
508
+ - spec/models/get_payments_for_payout_response_v4_spec.rb
509
+ - spec/models/get_payments_for_payout_response_v4_summary_spec.rb
422
510
  - spec/models/get_payout_statistics_spec.rb
423
- - spec/models/get_payouts_response_spec.rb
511
+ - spec/models/get_payouts_response_v3_links_spec.rb
512
+ - spec/models/get_payouts_response_v3_page_spec.rb
513
+ - spec/models/get_payouts_response_v3_spec.rb
514
+ - spec/models/get_payouts_response_v3_summary_spec.rb
515
+ - spec/models/get_payouts_response_v4_spec.rb
424
516
  - spec/models/individual_name_spec.rb
425
517
  - spec/models/individual_spec.rb
426
518
  - spec/models/invitation_status_response_spec.rb
519
+ - spec/models/invitation_status_spec.rb
427
520
  - spec/models/invite_payee_request_spec.rb
428
521
  - spec/models/language_spec.rb
522
+ - spec/models/list_payments_response_page_spec.rb
429
523
  - spec/models/list_payments_response_spec.rb
524
+ - spec/models/list_payments_response_summary_spec.rb
525
+ - spec/models/list_source_account_response_links_spec.rb
526
+ - spec/models/list_source_account_response_page_spec.rb
430
527
  - spec/models/list_source_account_response_spec.rb
528
+ - spec/models/list_source_account_response_v2_page_spec.rb
529
+ - spec/models/list_source_account_response_v2_spec.rb
431
530
  - spec/models/marketing_opt_in_spec.rb
531
+ - spec/models/notifications_spec.rb
432
532
  - spec/models/ofac_status_spec.rb
433
533
  - spec/models/onboarded_status_spec.rb
534
+ - spec/models/paged_payee_invitation_status_response_spec.rb
434
535
  - spec/models/paged_response_page_spec.rb
435
536
  - spec/models/paged_response_spec.rb
537
+ - spec/models/payee_delta_response_links_spec.rb
538
+ - spec/models/payee_delta_response_page_spec.rb
539
+ - spec/models/payee_delta_response_spec.rb
540
+ - spec/models/payee_delta_spec.rb
541
+ - spec/models/payee_invitation_status_response_spec.rb
436
542
  - spec/models/payee_invitation_status_spec.rb
543
+ - spec/models/payee_response_links_spec.rb
544
+ - spec/models/payee_response_page_spec.rb
437
545
  - spec/models/payee_response_spec.rb
546
+ - spec/models/payee_response_summary_spec.rb
438
547
  - spec/models/payee_spec.rb
439
548
  - spec/models/payee_type_spec.rb
440
- - spec/models/payment_audit_currency_spec.rb
549
+ - spec/models/payment_audit_currency_v3_spec.rb
550
+ - spec/models/payment_audit_currency_v4_spec.rb
441
551
  - spec/models/payment_channel_country_spec.rb
442
552
  - spec/models/payment_channel_rule_spec.rb
443
553
  - spec/models/payment_channel_rules_response_spec.rb
444
554
  - spec/models/payment_channel_spec.rb
445
- - spec/models/payment_event_response_spec.rb
555
+ - spec/models/payment_event_response_v3_spec.rb
556
+ - spec/models/payment_event_response_v4_spec.rb
446
557
  - spec/models/payment_instruction_spec.rb
447
- - spec/models/payment_response_spec.rb
558
+ - spec/models/payment_response_v3_spec.rb
559
+ - spec/models/payment_response_v4_spec.rb
448
560
  - spec/models/payor_branding_response_spec.rb
449
561
  - spec/models/payor_create_api_key_request_spec.rb
450
562
  - spec/models/payor_create_api_key_response_spec.rb
451
563
  - spec/models/payor_create_application_request_spec.rb
452
564
  - spec/models/payor_email_opt_out_request_spec.rb
453
565
  - spec/models/payor_funding_bank_details_update_spec.rb
566
+ - spec/models/payor_links_response_links_spec.rb
567
+ - spec/models/payor_links_response_payors_spec.rb
568
+ - spec/models/payor_links_response_spec.rb
454
569
  - spec/models/payor_logo_request_spec.rb
455
570
  - spec/models/payor_ref_spec.rb
456
- - spec/models/payor_spec.rb
457
- - spec/models/payout_status_spec.rb
458
- - spec/models/payout_summary_audit_spec.rb
571
+ - spec/models/payor_v1_spec.rb
572
+ - spec/models/payor_v2_spec.rb
573
+ - spec/models/payout_status_v3_spec.rb
574
+ - spec/models/payout_status_v4_spec.rb
575
+ - spec/models/payout_summary_audit_v3_spec.rb
576
+ - spec/models/payout_summary_audit_v4_spec.rb
459
577
  - spec/models/payout_summary_response_spec.rb
460
578
  - spec/models/query_batch_response_spec.rb
461
579
  - spec/models/quote_fx_summary_spec.rb
462
580
  - spec/models/quote_response_spec.rb
463
581
  - spec/models/rejected_payment_spec.rb
464
- - spec/models/social_spec.rb
582
+ - spec/models/set_notifications_request_spec.rb
465
583
  - spec/models/source_account_response_spec.rb
584
+ - spec/models/source_account_response_v2_spec.rb
466
585
  - spec/models/source_account_spec.rb
467
- - spec/models/source_account_summary_spec.rb
586
+ - spec/models/source_account_summary_v3_spec.rb
587
+ - spec/models/source_account_summary_v4_spec.rb
468
588
  - spec/models/supported_countries_response_spec.rb
469
589
  - spec/models/supported_country_spec.rb
470
590
  - spec/models/supported_currency_response_spec.rb
471
591
  - spec/models/supported_currency_spec.rb
472
592
  - spec/spec_helper.rb
593
+ - velopayments-2.11.73.gem
594
+ - velopayments-2.14.90.gem
473
595
  - velopayments.gemspec
474
596
  homepage: https://github.com/velopaymentsapi/velo-ruby
475
597
  licenses:
@@ -486,9 +608,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
486
608
  version: '1.9'
487
609
  required_rubygems_version: !ruby/object:Gem::Requirement
488
610
  requirements:
489
- - - ">="
611
+ - - ">"
490
612
  - !ruby/object:Gem::Version
491
- version: '0'
613
+ version: 1.3.1
492
614
  requirements: []
493
615
  rubyforge_project:
494
616
  rubygems_version: 2.5.2.3
@@ -499,6 +621,7 @@ test_files:
499
621
  - spec/api/currencies_api_spec.rb
500
622
  - spec/api/instruct_payout_api_spec.rb
501
623
  - spec/api/withdraw_payout_api_spec.rb
624
+ - spec/api/auth_api_spec.rb
502
625
  - spec/api/get_payout_api_spec.rb
503
626
  - spec/api/funding_manager_api_spec.rb
504
627
  - spec/api/payment_audit_service_api_spec.rb
@@ -512,75 +635,114 @@ test_files:
512
635
  - spec/api/countries_api_spec.rb
513
636
  - spec/api_client_spec.rb
514
637
  - spec/configuration_spec.rb
638
+ - spec/models/get_payments_for_payout_response_v3_summary_spec.rb
515
639
  - spec/models/source_account_spec.rb
516
640
  - spec/models/payor_email_opt_out_request_spec.rb
641
+ - spec/models/payment_response_v3_spec.rb
642
+ - spec/models/source_account_response_v2_spec.rb
517
643
  - spec/models/supported_currency_spec.rb
644
+ - spec/models/payee_delta_response_links_spec.rb
518
645
  - spec/models/invitation_status_response_spec.rb
646
+ - spec/models/payout_summary_audit_v4_spec.rb
519
647
  - spec/models/payor_create_api_key_request_spec.rb
648
+ - spec/models/payor_links_response_payors_spec.rb
520
649
  - spec/models/funding_event_spec.rb
521
650
  - spec/models/individual_spec.rb
522
- - spec/models/payment_event_response_spec.rb
651
+ - spec/models/payor_v1_spec.rb
523
652
  - spec/models/payor_create_application_request_spec.rb
524
653
  - spec/models/onboarded_status_spec.rb
654
+ - spec/models/payment_audit_currency_v3_spec.rb
525
655
  - spec/models/get_payout_statistics_spec.rb
526
656
  - spec/models/supported_countries_response_spec.rb
527
657
  - spec/models/payee_spec.rb
528
658
  - spec/models/rejected_payment_spec.rb
659
+ - spec/models/funding_request_v1_spec.rb
660
+ - spec/models/get_payouts_response_v4_spec.rb
661
+ - spec/models/get_payments_for_payout_response_v4_summary_spec.rb
662
+ - spec/models/create_individual_spec.rb
529
663
  - spec/models/create_payment_channel_spec.rb
530
664
  - spec/models/payor_ref_spec.rb
531
665
  - spec/models/company_spec.rb
532
- - spec/models/payor_spec.rb
533
666
  - spec/models/invite_payee_request_spec.rb
534
- - spec/models/funding_request_spec.rb
535
667
  - spec/models/payee_invitation_status_spec.rb
668
+ - spec/models/list_source_account_response_links_spec.rb
536
669
  - spec/models/get_fundings_response_spec.rb
537
- - spec/models/get_payments_for_payout_response_page_spec.rb
670
+ - spec/models/payment_event_response_v4_spec.rb
671
+ - spec/models/list_payments_response_page_spec.rb
538
672
  - spec/models/language_spec.rb
673
+ - spec/models/payor_links_response_spec.rb
539
674
  - spec/models/funding_event_type_spec.rb
540
- - spec/models/source_account_summary_spec.rb
675
+ - spec/models/auto_top_up_config_spec.rb
676
+ - spec/models/fx_summary_v4_spec.rb
677
+ - spec/models/get_payments_for_payout_response_v3_page_spec.rb
541
678
  - spec/models/payment_channel_rules_response_spec.rb
542
679
  - spec/models/funding_audit_spec.rb
680
+ - spec/models/payout_status_v3_spec.rb
681
+ - spec/models/get_payments_for_payout_response_v3_spec.rb
543
682
  - spec/models/supported_country_spec.rb
544
- - spec/models/get_payments_for_payout_response_links_spec.rb
683
+ - spec/models/list_payments_response_summary_spec.rb
545
684
  - spec/models/create_payout_request_spec.rb
546
- - spec/models/fx_summary_spec.rb
547
685
  - spec/models/payout_summary_response_spec.rb
548
686
  - spec/models/payment_channel_rule_spec.rb
687
+ - spec/models/payee_delta_spec.rb
688
+ - spec/models/get_payouts_response_v3_links_spec.rb
549
689
  - spec/models/quote_response_spec.rb
690
+ - spec/models/source_account_summary_v3_spec.rb
691
+ - spec/models/list_source_account_response_v2_spec.rb
550
692
  - spec/models/payee_type_spec.rb
693
+ - spec/models/payor_links_response_links_spec.rb
694
+ - spec/models/funding_request_v2_spec.rb
695
+ - spec/models/payee_response_page_spec.rb
551
696
  - spec/models/create_payees_csv_response_spec.rb
552
697
  - spec/models/payee_response_spec.rb
553
698
  - spec/models/payor_branding_response_spec.rb
554
- - spec/models/payout_summary_audit_spec.rb
699
+ - spec/models/list_source_account_response_page_spec.rb
700
+ - spec/models/payor_v2_spec.rb
701
+ - spec/models/get_fundings_response_all_of_spec.rb
702
+ - spec/models/get_payouts_response_v3_summary_spec.rb
555
703
  - spec/models/quote_fx_summary_spec.rb
556
- - spec/models/payout_status_spec.rb
704
+ - spec/models/payee_invitation_status_response_spec.rb
557
705
  - spec/models/create_payees_csv_request_spec.rb
706
+ - spec/models/payee_response_summary_spec.rb
707
+ - spec/models/payout_summary_audit_v3_spec.rb
558
708
  - spec/models/source_account_response_spec.rb
559
- - spec/models/get_payments_for_payout_response_summary_spec.rb
560
709
  - spec/models/payment_channel_country_spec.rb
561
- - spec/models/payment_response_spec.rb
710
+ - spec/models/set_notifications_request_spec.rb
711
+ - spec/models/create_payee_address_spec.rb
562
712
  - spec/models/ofac_status_spec.rb
563
713
  - spec/models/create_payee_spec.rb
714
+ - spec/models/payment_response_v4_spec.rb
564
715
  - spec/models/challenge_spec.rb
565
716
  - spec/models/paged_response_spec.rb
566
717
  - spec/models/list_payments_response_spec.rb
567
- - spec/models/funding_request2_spec.rb
568
718
  - spec/models/supported_currency_response_spec.rb
569
719
  - spec/models/payment_instruction_spec.rb
720
+ - spec/models/get_payouts_response_v3_spec.rb
721
+ - spec/models/auth_response_spec.rb
570
722
  - spec/models/marketing_opt_in_spec.rb
723
+ - spec/models/payment_audit_currency_v4_spec.rb
724
+ - spec/models/invitation_status_spec.rb
725
+ - spec/models/payout_status_v4_spec.rb
571
726
  - spec/models/payor_logo_request_spec.rb
727
+ - spec/models/fx_summary_v3_spec.rb
572
728
  - spec/models/payor_create_api_key_response_spec.rb
573
- - spec/models/social_spec.rb
729
+ - spec/models/payment_event_response_v3_spec.rb
730
+ - spec/models/payee_delta_response_page_spec.rb
574
731
  - spec/models/payment_channel_spec.rb
732
+ - spec/models/payee_delta_response_spec.rb
733
+ - spec/models/get_payouts_response_v3_page_spec.rb
734
+ - spec/models/list_source_account_response_v2_page_spec.rb
575
735
  - spec/models/query_batch_response_spec.rb
576
736
  - spec/models/individual_name_spec.rb
577
- - spec/models/payment_audit_currency_spec.rb
578
737
  - spec/models/payor_funding_bank_details_update_spec.rb
579
738
  - spec/models/list_source_account_response_spec.rb
580
739
  - spec/models/paged_response_page_spec.rb
581
740
  - spec/models/failed_submission_spec.rb
582
741
  - spec/models/create_payees_request_spec.rb
583
- - spec/models/get_payments_for_payout_response_spec.rb
742
+ - spec/models/source_account_summary_v4_spec.rb
743
+ - spec/models/notifications_spec.rb
744
+ - spec/models/payee_response_links_spec.rb
745
+ - spec/models/paged_payee_invitation_status_response_spec.rb
746
+ - spec/models/get_payments_for_payout_response_v4_spec.rb
584
747
  - spec/models/address_spec.rb
585
- - spec/models/get_payouts_response_spec.rb
586
748
  - spec/spec_helper.rb