voltaria_sdk 2.34.7 → 2.35.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/voltaria/client.rb +5 -0
- data/lib/voltaria/clients/client.rb +47 -0
- data/lib/voltaria/clients/types/list_client_portal_users_request.rb +15 -0
- data/lib/voltaria/collections/client.rb +156 -0
- data/lib/voltaria/collections/types/collection_action_log_update_payload.rb +13 -0
- data/lib/voltaria/collections/types/collection_action_log_update_payload_status.rb +14 -0
- data/lib/voltaria/collections/types/list_collection_action_logs_request.rb +19 -0
- data/lib/voltaria/collections/types/list_collection_actions_request.rb +14 -0
- data/lib/voltaria/loans/client.rb +118 -0
- data/lib/voltaria/loans/types/get_loan_review_request_request.rb +11 -0
- data/lib/voltaria/loans/types/list_loan_review_requests_request.rb +16 -0
- data/lib/voltaria/loans/types/loan_review_request_create_payload.rb +12 -0
- data/lib/voltaria/types/client_account_response.rb +1 -0
- data/lib/voltaria/types/collection_action_log_response.rb +19 -0
- data/lib/voltaria/types/collection_action_response.rb +14 -0
- data/lib/voltaria/types/collection_action_status_enum.rb +14 -0
- data/lib/voltaria/types/collection_action_type_enum.rb +14 -0
- data/lib/voltaria/types/document_response.rb +1 -0
- data/lib/voltaria/types/limit_request_response.rb +1 -0
- data/lib/voltaria/types/limit_request_source_enum.rb +12 -0
- data/lib/voltaria/types/loan_investor_response.rb +2 -0
- data/lib/voltaria/types/loan_response_with_client_info.rb +2 -0
- data/lib/voltaria/types/loan_review_request_response.rb +17 -0
- data/lib/voltaria/types/loan_review_request_status_enum.rb +13 -0
- data/lib/voltaria/types/paginated_response_client_user_response.rb +16 -0
- data/lib/voltaria/types/paginated_response_collection_action_log_response.rb +16 -0
- data/lib/voltaria/types/paginated_response_collection_action_response.rb +16 -0
- data/lib/voltaria/types/paginated_response_loan_review_request_response.rb +16 -0
- data/lib/voltaria/types/waterfall_response.rb +3 -3
- data/lib/voltaria/version.rb +1 -1
- data/lib/voltaria.rb +20 -0
- data/reference.md +640 -18
- metadata +22 -2
data/reference.md
CHANGED
|
@@ -700,6 +700,100 @@ client.clients.reject_onboarding(client_id: "client_id")
|
|
|
700
700
|
</dl>
|
|
701
701
|
|
|
702
702
|
|
|
703
|
+
</dd>
|
|
704
|
+
</dl>
|
|
705
|
+
</details>
|
|
706
|
+
|
|
707
|
+
<details><summary><code>client.clients.<a href="/lib/voltaria/clients/client.rb">list_client_portal_users</a>(client_id) -> Voltaria::Types::PaginatedResponseClientUserResponse</code></summary>
|
|
708
|
+
<dl>
|
|
709
|
+
<dd>
|
|
710
|
+
|
|
711
|
+
#### 📝 Description
|
|
712
|
+
|
|
713
|
+
<dl>
|
|
714
|
+
<dd>
|
|
715
|
+
|
|
716
|
+
<dl>
|
|
717
|
+
<dd>
|
|
718
|
+
|
|
719
|
+
Paginated list of portal users belonging to a client.
|
|
720
|
+
</dd>
|
|
721
|
+
</dl>
|
|
722
|
+
</dd>
|
|
723
|
+
</dl>
|
|
724
|
+
|
|
725
|
+
#### 🔌 Usage
|
|
726
|
+
|
|
727
|
+
<dl>
|
|
728
|
+
<dd>
|
|
729
|
+
|
|
730
|
+
<dl>
|
|
731
|
+
<dd>
|
|
732
|
+
|
|
733
|
+
```ruby
|
|
734
|
+
client.clients.list_client_portal_users(client_id: "client_id")
|
|
735
|
+
```
|
|
736
|
+
</dd>
|
|
737
|
+
</dl>
|
|
738
|
+
</dd>
|
|
739
|
+
</dl>
|
|
740
|
+
|
|
741
|
+
#### ⚙️ Parameters
|
|
742
|
+
|
|
743
|
+
<dl>
|
|
744
|
+
<dd>
|
|
745
|
+
|
|
746
|
+
<dl>
|
|
747
|
+
<dd>
|
|
748
|
+
|
|
749
|
+
**client_id:** `String`
|
|
750
|
+
|
|
751
|
+
</dd>
|
|
752
|
+
</dl>
|
|
753
|
+
|
|
754
|
+
<dl>
|
|
755
|
+
<dd>
|
|
756
|
+
|
|
757
|
+
**page:** `Integer`
|
|
758
|
+
|
|
759
|
+
</dd>
|
|
760
|
+
</dl>
|
|
761
|
+
|
|
762
|
+
<dl>
|
|
763
|
+
<dd>
|
|
764
|
+
|
|
765
|
+
**page_size:** `Integer`
|
|
766
|
+
|
|
767
|
+
</dd>
|
|
768
|
+
</dl>
|
|
769
|
+
|
|
770
|
+
<dl>
|
|
771
|
+
<dd>
|
|
772
|
+
|
|
773
|
+
**order_by:** `String`
|
|
774
|
+
|
|
775
|
+
</dd>
|
|
776
|
+
</dl>
|
|
777
|
+
|
|
778
|
+
<dl>
|
|
779
|
+
<dd>
|
|
780
|
+
|
|
781
|
+
**q:** `String` — Query string for filtering. Format: "field:operator:value;...". Supported fields: id, email, status, first_name, last_name. Supported operators: is, in, not_in, contains, not_contains, like, not_like, ilike, not_ilike, gt, gte, lt, lte, starts_with, ends_with, is_null, is_not_null.
|
|
782
|
+
|
|
783
|
+
</dd>
|
|
784
|
+
</dl>
|
|
785
|
+
|
|
786
|
+
<dl>
|
|
787
|
+
<dd>
|
|
788
|
+
|
|
789
|
+
**request_options:** `Voltaria::Clients::RequestOptions`
|
|
790
|
+
|
|
791
|
+
</dd>
|
|
792
|
+
</dl>
|
|
793
|
+
</dd>
|
|
794
|
+
</dl>
|
|
795
|
+
|
|
796
|
+
|
|
703
797
|
</dd>
|
|
704
798
|
</dl>
|
|
705
799
|
</details>
|
|
@@ -1557,7 +1651,293 @@ client.accounts.create_client_account(
|
|
|
1557
1651
|
<dl>
|
|
1558
1652
|
<dd>
|
|
1559
1653
|
|
|
1560
|
-
**currency:** `Voltaria::Types::CurrencyEnum` — ISO 4217 currency code. Use `/accounts/fields` to get required fields per currency.
|
|
1654
|
+
**currency:** `Voltaria::Types::CurrencyEnum` — ISO 4217 currency code. Use `/accounts/fields` to get required fields per currency.
|
|
1655
|
+
|
|
1656
|
+
</dd>
|
|
1657
|
+
</dl>
|
|
1658
|
+
|
|
1659
|
+
<dl>
|
|
1660
|
+
<dd>
|
|
1661
|
+
|
|
1662
|
+
**sort_code:** `String` — Sort code (required for GBP).
|
|
1663
|
+
|
|
1664
|
+
</dd>
|
|
1665
|
+
</dl>
|
|
1666
|
+
|
|
1667
|
+
<dl>
|
|
1668
|
+
<dd>
|
|
1669
|
+
|
|
1670
|
+
**account_number:** `String` — Account number (required for GBP and USD).
|
|
1671
|
+
|
|
1672
|
+
</dd>
|
|
1673
|
+
</dl>
|
|
1674
|
+
|
|
1675
|
+
<dl>
|
|
1676
|
+
<dd>
|
|
1677
|
+
|
|
1678
|
+
**iban:** `String` — IBAN (required for EUR, CZK, PLN).
|
|
1679
|
+
|
|
1680
|
+
</dd>
|
|
1681
|
+
</dl>
|
|
1682
|
+
|
|
1683
|
+
<dl>
|
|
1684
|
+
<dd>
|
|
1685
|
+
|
|
1686
|
+
**bic:** `String` — BIC / SWIFT code (optional for EUR).
|
|
1687
|
+
|
|
1688
|
+
</dd>
|
|
1689
|
+
</dl>
|
|
1690
|
+
|
|
1691
|
+
<dl>
|
|
1692
|
+
<dd>
|
|
1693
|
+
|
|
1694
|
+
**routing_number:** `String` — ABA routing number (required for USD).
|
|
1695
|
+
|
|
1696
|
+
</dd>
|
|
1697
|
+
</dl>
|
|
1698
|
+
|
|
1699
|
+
<dl>
|
|
1700
|
+
<dd>
|
|
1701
|
+
|
|
1702
|
+
**account_type:** `String` — Account type (required for USD). E.g. `checking` or `savings`.
|
|
1703
|
+
|
|
1704
|
+
</dd>
|
|
1705
|
+
</dl>
|
|
1706
|
+
|
|
1707
|
+
<dl>
|
|
1708
|
+
<dd>
|
|
1709
|
+
|
|
1710
|
+
**address:** `Voltaria::Types::AccountAddress` — Account holder address (required for USD).
|
|
1711
|
+
|
|
1712
|
+
</dd>
|
|
1713
|
+
</dl>
|
|
1714
|
+
|
|
1715
|
+
<dl>
|
|
1716
|
+
<dd>
|
|
1717
|
+
|
|
1718
|
+
**status:** `Voltaria::Accounts::Types::PartnerClientAccountCreateRequestStatus` — Account status. `active` demotes any existing active account in the same currency to `passive`; `passive` is added as a backup. Defaults to `active`.
|
|
1719
|
+
|
|
1720
|
+
</dd>
|
|
1721
|
+
</dl>
|
|
1722
|
+
|
|
1723
|
+
<dl>
|
|
1724
|
+
<dd>
|
|
1725
|
+
|
|
1726
|
+
**request_options:** `Voltaria::Accounts::RequestOptions`
|
|
1727
|
+
|
|
1728
|
+
</dd>
|
|
1729
|
+
</dl>
|
|
1730
|
+
</dd>
|
|
1731
|
+
</dl>
|
|
1732
|
+
|
|
1733
|
+
|
|
1734
|
+
</dd>
|
|
1735
|
+
</dl>
|
|
1736
|
+
</details>
|
|
1737
|
+
|
|
1738
|
+
<details><summary><code>client.accounts.<a href="/lib/voltaria/accounts/client.rb">get_client_account</a>(client_id, account_id) -> Voltaria::Types::ClientAccountResponse</code></summary>
|
|
1739
|
+
<dl>
|
|
1740
|
+
<dd>
|
|
1741
|
+
|
|
1742
|
+
#### 📝 Description
|
|
1743
|
+
|
|
1744
|
+
<dl>
|
|
1745
|
+
<dd>
|
|
1746
|
+
|
|
1747
|
+
<dl>
|
|
1748
|
+
<dd>
|
|
1749
|
+
|
|
1750
|
+
Retrieve a specific bank account for one of your clients.
|
|
1751
|
+
</dd>
|
|
1752
|
+
</dl>
|
|
1753
|
+
</dd>
|
|
1754
|
+
</dl>
|
|
1755
|
+
|
|
1756
|
+
#### 🔌 Usage
|
|
1757
|
+
|
|
1758
|
+
<dl>
|
|
1759
|
+
<dd>
|
|
1760
|
+
|
|
1761
|
+
<dl>
|
|
1762
|
+
<dd>
|
|
1763
|
+
|
|
1764
|
+
```ruby
|
|
1765
|
+
client.accounts.get_client_account(
|
|
1766
|
+
client_id: "client_id",
|
|
1767
|
+
account_id: "account_id"
|
|
1768
|
+
)
|
|
1769
|
+
```
|
|
1770
|
+
</dd>
|
|
1771
|
+
</dl>
|
|
1772
|
+
</dd>
|
|
1773
|
+
</dl>
|
|
1774
|
+
|
|
1775
|
+
#### ⚙️ Parameters
|
|
1776
|
+
|
|
1777
|
+
<dl>
|
|
1778
|
+
<dd>
|
|
1779
|
+
|
|
1780
|
+
<dl>
|
|
1781
|
+
<dd>
|
|
1782
|
+
|
|
1783
|
+
**client_id:** `String`
|
|
1784
|
+
|
|
1785
|
+
</dd>
|
|
1786
|
+
</dl>
|
|
1787
|
+
|
|
1788
|
+
<dl>
|
|
1789
|
+
<dd>
|
|
1790
|
+
|
|
1791
|
+
**account_id:** `String`
|
|
1792
|
+
|
|
1793
|
+
</dd>
|
|
1794
|
+
</dl>
|
|
1795
|
+
|
|
1796
|
+
<dl>
|
|
1797
|
+
<dd>
|
|
1798
|
+
|
|
1799
|
+
**request_options:** `Voltaria::Accounts::RequestOptions`
|
|
1800
|
+
|
|
1801
|
+
</dd>
|
|
1802
|
+
</dl>
|
|
1803
|
+
</dd>
|
|
1804
|
+
</dl>
|
|
1805
|
+
|
|
1806
|
+
|
|
1807
|
+
</dd>
|
|
1808
|
+
</dl>
|
|
1809
|
+
</details>
|
|
1810
|
+
|
|
1811
|
+
## Collections
|
|
1812
|
+
<details><summary><code>client.collections.<a href="/lib/voltaria/collections/client.rb">list_collection_actions</a>() -> Voltaria::Types::PaginatedResponseCollectionActionResponse</code></summary>
|
|
1813
|
+
<dl>
|
|
1814
|
+
<dd>
|
|
1815
|
+
|
|
1816
|
+
#### 📝 Description
|
|
1817
|
+
|
|
1818
|
+
<dl>
|
|
1819
|
+
<dd>
|
|
1820
|
+
|
|
1821
|
+
<dl>
|
|
1822
|
+
<dd>
|
|
1823
|
+
|
|
1824
|
+
Retrieve all collection actions configured for your partner account.
|
|
1825
|
+
</dd>
|
|
1826
|
+
</dl>
|
|
1827
|
+
</dd>
|
|
1828
|
+
</dl>
|
|
1829
|
+
|
|
1830
|
+
#### 🔌 Usage
|
|
1831
|
+
|
|
1832
|
+
<dl>
|
|
1833
|
+
<dd>
|
|
1834
|
+
|
|
1835
|
+
<dl>
|
|
1836
|
+
<dd>
|
|
1837
|
+
|
|
1838
|
+
```ruby
|
|
1839
|
+
client.collections.list_collection_actions
|
|
1840
|
+
```
|
|
1841
|
+
</dd>
|
|
1842
|
+
</dl>
|
|
1843
|
+
</dd>
|
|
1844
|
+
</dl>
|
|
1845
|
+
|
|
1846
|
+
#### ⚙️ Parameters
|
|
1847
|
+
|
|
1848
|
+
<dl>
|
|
1849
|
+
<dd>
|
|
1850
|
+
|
|
1851
|
+
<dl>
|
|
1852
|
+
<dd>
|
|
1853
|
+
|
|
1854
|
+
**page:** `Integer`
|
|
1855
|
+
|
|
1856
|
+
</dd>
|
|
1857
|
+
</dl>
|
|
1858
|
+
|
|
1859
|
+
<dl>
|
|
1860
|
+
<dd>
|
|
1861
|
+
|
|
1862
|
+
**page_size:** `Integer`
|
|
1863
|
+
|
|
1864
|
+
</dd>
|
|
1865
|
+
</dl>
|
|
1866
|
+
|
|
1867
|
+
<dl>
|
|
1868
|
+
<dd>
|
|
1869
|
+
|
|
1870
|
+
**order_by:** `String` — Field to order the results by, e.g., 'created_at:desc,updated_at:asc'
|
|
1871
|
+
|
|
1872
|
+
</dd>
|
|
1873
|
+
</dl>
|
|
1874
|
+
|
|
1875
|
+
<dl>
|
|
1876
|
+
<dd>
|
|
1877
|
+
|
|
1878
|
+
**q:** `String` — Query string for filtering. Format: "field:operator:value;...". Supported fields: id, name, action_type, is_active, timing. Supported operators: is, in, not_in, contains, not_contains, like, not_like, ilike, not_ilike, gt, gte, lt, lte, starts_with, ends_with, is_null, is_not_null.
|
|
1879
|
+
|
|
1880
|
+
</dd>
|
|
1881
|
+
</dl>
|
|
1882
|
+
|
|
1883
|
+
<dl>
|
|
1884
|
+
<dd>
|
|
1885
|
+
|
|
1886
|
+
**request_options:** `Voltaria::Collections::RequestOptions`
|
|
1887
|
+
|
|
1888
|
+
</dd>
|
|
1889
|
+
</dl>
|
|
1890
|
+
</dd>
|
|
1891
|
+
</dl>
|
|
1892
|
+
|
|
1893
|
+
|
|
1894
|
+
</dd>
|
|
1895
|
+
</dl>
|
|
1896
|
+
</details>
|
|
1897
|
+
|
|
1898
|
+
<details><summary><code>client.collections.<a href="/lib/voltaria/collections/client.rb">list_collection_action_logs</a>() -> Voltaria::Types::PaginatedResponseCollectionActionLogResponse</code></summary>
|
|
1899
|
+
<dl>
|
|
1900
|
+
<dd>
|
|
1901
|
+
|
|
1902
|
+
#### 📝 Description
|
|
1903
|
+
|
|
1904
|
+
<dl>
|
|
1905
|
+
<dd>
|
|
1906
|
+
|
|
1907
|
+
<dl>
|
|
1908
|
+
<dd>
|
|
1909
|
+
|
|
1910
|
+
Retrieve collection action logs for your partner account. Supports filtering by client, loan, installment, status, or action type.
|
|
1911
|
+
</dd>
|
|
1912
|
+
</dl>
|
|
1913
|
+
</dd>
|
|
1914
|
+
</dl>
|
|
1915
|
+
|
|
1916
|
+
#### 🔌 Usage
|
|
1917
|
+
|
|
1918
|
+
<dl>
|
|
1919
|
+
<dd>
|
|
1920
|
+
|
|
1921
|
+
<dl>
|
|
1922
|
+
<dd>
|
|
1923
|
+
|
|
1924
|
+
```ruby
|
|
1925
|
+
client.collections.list_collection_action_logs
|
|
1926
|
+
```
|
|
1927
|
+
</dd>
|
|
1928
|
+
</dl>
|
|
1929
|
+
</dd>
|
|
1930
|
+
</dl>
|
|
1931
|
+
|
|
1932
|
+
#### ⚙️ Parameters
|
|
1933
|
+
|
|
1934
|
+
<dl>
|
|
1935
|
+
<dd>
|
|
1936
|
+
|
|
1937
|
+
<dl>
|
|
1938
|
+
<dd>
|
|
1939
|
+
|
|
1940
|
+
**client_id:** `String`
|
|
1561
1941
|
|
|
1562
1942
|
</dd>
|
|
1563
1943
|
</dl>
|
|
@@ -1565,7 +1945,7 @@ client.accounts.create_client_account(
|
|
|
1565
1945
|
<dl>
|
|
1566
1946
|
<dd>
|
|
1567
1947
|
|
|
1568
|
-
**
|
|
1948
|
+
**loan_id:** `String`
|
|
1569
1949
|
|
|
1570
1950
|
</dd>
|
|
1571
1951
|
</dl>
|
|
@@ -1573,7 +1953,7 @@ client.accounts.create_client_account(
|
|
|
1573
1953
|
<dl>
|
|
1574
1954
|
<dd>
|
|
1575
1955
|
|
|
1576
|
-
**
|
|
1956
|
+
**installment_id:** `String`
|
|
1577
1957
|
|
|
1578
1958
|
</dd>
|
|
1579
1959
|
</dl>
|
|
@@ -1581,7 +1961,7 @@ client.accounts.create_client_account(
|
|
|
1581
1961
|
<dl>
|
|
1582
1962
|
<dd>
|
|
1583
1963
|
|
|
1584
|
-
**
|
|
1964
|
+
**status:** `Voltaria::Types::CollectionActionStatusEnum`
|
|
1585
1965
|
|
|
1586
1966
|
</dd>
|
|
1587
1967
|
</dl>
|
|
@@ -1589,7 +1969,7 @@ client.accounts.create_client_account(
|
|
|
1589
1969
|
<dl>
|
|
1590
1970
|
<dd>
|
|
1591
1971
|
|
|
1592
|
-
**
|
|
1972
|
+
**action_type:** `Voltaria::Types::CollectionActionTypeEnum`
|
|
1593
1973
|
|
|
1594
1974
|
</dd>
|
|
1595
1975
|
</dl>
|
|
@@ -1597,7 +1977,7 @@ client.accounts.create_client_account(
|
|
|
1597
1977
|
<dl>
|
|
1598
1978
|
<dd>
|
|
1599
1979
|
|
|
1600
|
-
**
|
|
1980
|
+
**page:** `Integer`
|
|
1601
1981
|
|
|
1602
1982
|
</dd>
|
|
1603
1983
|
</dl>
|
|
@@ -1605,7 +1985,7 @@ client.accounts.create_client_account(
|
|
|
1605
1985
|
<dl>
|
|
1606
1986
|
<dd>
|
|
1607
1987
|
|
|
1608
|
-
**
|
|
1988
|
+
**page_size:** `Integer`
|
|
1609
1989
|
|
|
1610
1990
|
</dd>
|
|
1611
1991
|
</dl>
|
|
@@ -1613,7 +1993,7 @@ client.accounts.create_client_account(
|
|
|
1613
1993
|
<dl>
|
|
1614
1994
|
<dd>
|
|
1615
1995
|
|
|
1616
|
-
**
|
|
1996
|
+
**order_by:** `String` — Field to order the results by, e.g., 'created_at:desc,updated_at:asc'
|
|
1617
1997
|
|
|
1618
1998
|
</dd>
|
|
1619
1999
|
</dl>
|
|
@@ -1621,7 +2001,7 @@ client.accounts.create_client_account(
|
|
|
1621
2001
|
<dl>
|
|
1622
2002
|
<dd>
|
|
1623
2003
|
|
|
1624
|
-
**
|
|
2004
|
+
**q:** `String` — Query string for filtering. Format: "field:operator:value;...". Supported fields: id, collection_action_id, action_type, status, client_id, loan_id, installment_id, scheduled_for. Supported operators: is, in, not_in, contains, not_contains, like, not_like, ilike, not_ilike, gt, gte, lt, lte, starts_with, ends_with, is_null, is_not_null.
|
|
1625
2005
|
|
|
1626
2006
|
</dd>
|
|
1627
2007
|
</dl>
|
|
@@ -1629,7 +2009,7 @@ client.accounts.create_client_account(
|
|
|
1629
2009
|
<dl>
|
|
1630
2010
|
<dd>
|
|
1631
2011
|
|
|
1632
|
-
**request_options:** `Voltaria::
|
|
2012
|
+
**request_options:** `Voltaria::Collections::RequestOptions`
|
|
1633
2013
|
|
|
1634
2014
|
</dd>
|
|
1635
2015
|
</dl>
|
|
@@ -1641,7 +2021,7 @@ client.accounts.create_client_account(
|
|
|
1641
2021
|
</dl>
|
|
1642
2022
|
</details>
|
|
1643
2023
|
|
|
1644
|
-
<details><summary><code>client.
|
|
2024
|
+
<details><summary><code>client.collections.<a href="/lib/voltaria/collections/client.rb">update_collection_action_log</a>(log_id, request) -> Voltaria::Types::CollectionActionLogResponse</code></summary>
|
|
1645
2025
|
<dl>
|
|
1646
2026
|
<dd>
|
|
1647
2027
|
|
|
@@ -1653,7 +2033,7 @@ client.accounts.create_client_account(
|
|
|
1653
2033
|
<dl>
|
|
1654
2034
|
<dd>
|
|
1655
2035
|
|
|
1656
|
-
|
|
2036
|
+
Update the status and notes of a collection action log.
|
|
1657
2037
|
</dd>
|
|
1658
2038
|
</dl>
|
|
1659
2039
|
</dd>
|
|
@@ -1668,9 +2048,9 @@ Retrieve a specific bank account for one of your clients.
|
|
|
1668
2048
|
<dd>
|
|
1669
2049
|
|
|
1670
2050
|
```ruby
|
|
1671
|
-
client.
|
|
1672
|
-
|
|
1673
|
-
|
|
2051
|
+
client.collections.update_collection_action_log(
|
|
2052
|
+
log_id: "log_id",
|
|
2053
|
+
status: "completed"
|
|
1674
2054
|
)
|
|
1675
2055
|
```
|
|
1676
2056
|
</dd>
|
|
@@ -1686,7 +2066,7 @@ client.accounts.get_client_account(
|
|
|
1686
2066
|
<dl>
|
|
1687
2067
|
<dd>
|
|
1688
2068
|
|
|
1689
|
-
**
|
|
2069
|
+
**log_id:** `String`
|
|
1690
2070
|
|
|
1691
2071
|
</dd>
|
|
1692
2072
|
</dl>
|
|
@@ -1694,7 +2074,7 @@ client.accounts.get_client_account(
|
|
|
1694
2074
|
<dl>
|
|
1695
2075
|
<dd>
|
|
1696
2076
|
|
|
1697
|
-
**
|
|
2077
|
+
**status:** `Voltaria::Collections::Types::CollectionActionLogUpdatePayloadStatus` — The updated status of the action: 'completed' or 'failed'
|
|
1698
2078
|
|
|
1699
2079
|
</dd>
|
|
1700
2080
|
</dl>
|
|
@@ -1702,7 +2082,15 @@ client.accounts.get_client_account(
|
|
|
1702
2082
|
<dl>
|
|
1703
2083
|
<dd>
|
|
1704
2084
|
|
|
1705
|
-
**
|
|
2085
|
+
**notes:** `String` — Notes about this action
|
|
2086
|
+
|
|
2087
|
+
</dd>
|
|
2088
|
+
</dl>
|
|
2089
|
+
|
|
2090
|
+
<dl>
|
|
2091
|
+
<dd>
|
|
2092
|
+
|
|
2093
|
+
**request_options:** `Voltaria::Collections::RequestOptions`
|
|
1706
2094
|
|
|
1707
2095
|
</dd>
|
|
1708
2096
|
</dl>
|
|
@@ -3257,6 +3645,240 @@ client.installments.delete_installment(installment_id: "installment_id")
|
|
|
3257
3645
|
</details>
|
|
3258
3646
|
|
|
3259
3647
|
## Loans
|
|
3648
|
+
<details><summary><code>client.loans.<a href="/lib/voltaria/loans/client.rb">list_loan_review_requests</a>() -> Voltaria::Types::PaginatedResponseLoanReviewRequestResponse</code></summary>
|
|
3649
|
+
<dl>
|
|
3650
|
+
<dd>
|
|
3651
|
+
|
|
3652
|
+
#### 📝 Description
|
|
3653
|
+
|
|
3654
|
+
<dl>
|
|
3655
|
+
<dd>
|
|
3656
|
+
|
|
3657
|
+
<dl>
|
|
3658
|
+
<dd>
|
|
3659
|
+
|
|
3660
|
+
List loan review requests for your partner account, optionally filtered by loan ID or client ID.
|
|
3661
|
+
</dd>
|
|
3662
|
+
</dl>
|
|
3663
|
+
</dd>
|
|
3664
|
+
</dl>
|
|
3665
|
+
|
|
3666
|
+
#### 🔌 Usage
|
|
3667
|
+
|
|
3668
|
+
<dl>
|
|
3669
|
+
<dd>
|
|
3670
|
+
|
|
3671
|
+
<dl>
|
|
3672
|
+
<dd>
|
|
3673
|
+
|
|
3674
|
+
```ruby
|
|
3675
|
+
client.loans.list_loan_review_requests
|
|
3676
|
+
```
|
|
3677
|
+
</dd>
|
|
3678
|
+
</dl>
|
|
3679
|
+
</dd>
|
|
3680
|
+
</dl>
|
|
3681
|
+
|
|
3682
|
+
#### ⚙️ Parameters
|
|
3683
|
+
|
|
3684
|
+
<dl>
|
|
3685
|
+
<dd>
|
|
3686
|
+
|
|
3687
|
+
<dl>
|
|
3688
|
+
<dd>
|
|
3689
|
+
|
|
3690
|
+
**loan_id:** `String` — Filter by loan ID
|
|
3691
|
+
|
|
3692
|
+
</dd>
|
|
3693
|
+
</dl>
|
|
3694
|
+
|
|
3695
|
+
<dl>
|
|
3696
|
+
<dd>
|
|
3697
|
+
|
|
3698
|
+
**client_id:** `String` — Filter by client ID
|
|
3699
|
+
|
|
3700
|
+
</dd>
|
|
3701
|
+
</dl>
|
|
3702
|
+
|
|
3703
|
+
<dl>
|
|
3704
|
+
<dd>
|
|
3705
|
+
|
|
3706
|
+
**page:** `Integer`
|
|
3707
|
+
|
|
3708
|
+
</dd>
|
|
3709
|
+
</dl>
|
|
3710
|
+
|
|
3711
|
+
<dl>
|
|
3712
|
+
<dd>
|
|
3713
|
+
|
|
3714
|
+
**page_size:** `Integer`
|
|
3715
|
+
|
|
3716
|
+
</dd>
|
|
3717
|
+
</dl>
|
|
3718
|
+
|
|
3719
|
+
<dl>
|
|
3720
|
+
<dd>
|
|
3721
|
+
|
|
3722
|
+
**order_by:** `String` — Field to order the results by, e.g., 'created_at:desc,updated_at:asc'
|
|
3723
|
+
|
|
3724
|
+
</dd>
|
|
3725
|
+
</dl>
|
|
3726
|
+
|
|
3727
|
+
<dl>
|
|
3728
|
+
<dd>
|
|
3729
|
+
|
|
3730
|
+
**q:** `String` — Query string for filtering. Format: "field:operator:value;...". Supported fields: id, loan_id, client_id, status. Supported operators: is, in, not_in, contains, not_contains, like, not_like, ilike, not_ilike, gt, gte, lt, lte, starts_with, ends_with, is_null, is_not_null.
|
|
3731
|
+
|
|
3732
|
+
</dd>
|
|
3733
|
+
</dl>
|
|
3734
|
+
|
|
3735
|
+
<dl>
|
|
3736
|
+
<dd>
|
|
3737
|
+
|
|
3738
|
+
**request_options:** `Voltaria::Loans::RequestOptions`
|
|
3739
|
+
|
|
3740
|
+
</dd>
|
|
3741
|
+
</dl>
|
|
3742
|
+
</dd>
|
|
3743
|
+
</dl>
|
|
3744
|
+
|
|
3745
|
+
|
|
3746
|
+
</dd>
|
|
3747
|
+
</dl>
|
|
3748
|
+
</details>
|
|
3749
|
+
|
|
3750
|
+
<details><summary><code>client.loans.<a href="/lib/voltaria/loans/client.rb">create_loan_review_request</a>(request) -> Voltaria::Types::LoanReviewRequestResponse</code></summary>
|
|
3751
|
+
<dl>
|
|
3752
|
+
<dd>
|
|
3753
|
+
|
|
3754
|
+
#### 📝 Description
|
|
3755
|
+
|
|
3756
|
+
<dl>
|
|
3757
|
+
<dd>
|
|
3758
|
+
|
|
3759
|
+
<dl>
|
|
3760
|
+
<dd>
|
|
3761
|
+
|
|
3762
|
+
Ask Voltaria to review a not-yet-disbursed (pending or pre-approved) loan before disbursement.
|
|
3763
|
+
</dd>
|
|
3764
|
+
</dl>
|
|
3765
|
+
</dd>
|
|
3766
|
+
</dl>
|
|
3767
|
+
|
|
3768
|
+
#### 🔌 Usage
|
|
3769
|
+
|
|
3770
|
+
<dl>
|
|
3771
|
+
<dd>
|
|
3772
|
+
|
|
3773
|
+
<dl>
|
|
3774
|
+
<dd>
|
|
3775
|
+
|
|
3776
|
+
```ruby
|
|
3777
|
+
client.loans.create_loan_review_request(loan_id: "loan_1234567890abcdef")
|
|
3778
|
+
```
|
|
3779
|
+
</dd>
|
|
3780
|
+
</dl>
|
|
3781
|
+
</dd>
|
|
3782
|
+
</dl>
|
|
3783
|
+
|
|
3784
|
+
#### ⚙️ Parameters
|
|
3785
|
+
|
|
3786
|
+
<dl>
|
|
3787
|
+
<dd>
|
|
3788
|
+
|
|
3789
|
+
<dl>
|
|
3790
|
+
<dd>
|
|
3791
|
+
|
|
3792
|
+
**loan_id:** `String` — The ID of the loan to be reviewed. Must be a not-yet-disbursed (pending or pre-approved) loan belonging to the current partner
|
|
3793
|
+
|
|
3794
|
+
</dd>
|
|
3795
|
+
</dl>
|
|
3796
|
+
|
|
3797
|
+
<dl>
|
|
3798
|
+
<dd>
|
|
3799
|
+
|
|
3800
|
+
**notes:** `String` — Optional note from the requester explaining the review request
|
|
3801
|
+
|
|
3802
|
+
</dd>
|
|
3803
|
+
</dl>
|
|
3804
|
+
|
|
3805
|
+
<dl>
|
|
3806
|
+
<dd>
|
|
3807
|
+
|
|
3808
|
+
**request_options:** `Voltaria::Loans::RequestOptions`
|
|
3809
|
+
|
|
3810
|
+
</dd>
|
|
3811
|
+
</dl>
|
|
3812
|
+
</dd>
|
|
3813
|
+
</dl>
|
|
3814
|
+
|
|
3815
|
+
|
|
3816
|
+
</dd>
|
|
3817
|
+
</dl>
|
|
3818
|
+
</details>
|
|
3819
|
+
|
|
3820
|
+
<details><summary><code>client.loans.<a href="/lib/voltaria/loans/client.rb">get_loan_review_request</a>(request_id) -> Voltaria::Types::LoanReviewRequestResponse</code></summary>
|
|
3821
|
+
<dl>
|
|
3822
|
+
<dd>
|
|
3823
|
+
|
|
3824
|
+
#### 📝 Description
|
|
3825
|
+
|
|
3826
|
+
<dl>
|
|
3827
|
+
<dd>
|
|
3828
|
+
|
|
3829
|
+
<dl>
|
|
3830
|
+
<dd>
|
|
3831
|
+
|
|
3832
|
+
Retrieve a specific loan review request by its ID.
|
|
3833
|
+
</dd>
|
|
3834
|
+
</dl>
|
|
3835
|
+
</dd>
|
|
3836
|
+
</dl>
|
|
3837
|
+
|
|
3838
|
+
#### 🔌 Usage
|
|
3839
|
+
|
|
3840
|
+
<dl>
|
|
3841
|
+
<dd>
|
|
3842
|
+
|
|
3843
|
+
<dl>
|
|
3844
|
+
<dd>
|
|
3845
|
+
|
|
3846
|
+
```ruby
|
|
3847
|
+
client.loans.get_loan_review_request(request_id: "request_id")
|
|
3848
|
+
```
|
|
3849
|
+
</dd>
|
|
3850
|
+
</dl>
|
|
3851
|
+
</dd>
|
|
3852
|
+
</dl>
|
|
3853
|
+
|
|
3854
|
+
#### ⚙️ Parameters
|
|
3855
|
+
|
|
3856
|
+
<dl>
|
|
3857
|
+
<dd>
|
|
3858
|
+
|
|
3859
|
+
<dl>
|
|
3860
|
+
<dd>
|
|
3861
|
+
|
|
3862
|
+
**request_id:** `String`
|
|
3863
|
+
|
|
3864
|
+
</dd>
|
|
3865
|
+
</dl>
|
|
3866
|
+
|
|
3867
|
+
<dl>
|
|
3868
|
+
<dd>
|
|
3869
|
+
|
|
3870
|
+
**request_options:** `Voltaria::Loans::RequestOptions`
|
|
3871
|
+
|
|
3872
|
+
</dd>
|
|
3873
|
+
</dl>
|
|
3874
|
+
</dd>
|
|
3875
|
+
</dl>
|
|
3876
|
+
|
|
3877
|
+
|
|
3878
|
+
</dd>
|
|
3879
|
+
</dl>
|
|
3880
|
+
</details>
|
|
3881
|
+
|
|
3260
3882
|
<details><summary><code>client.loans.<a href="/lib/voltaria/loans/client.rb">list_loans</a>() -> Voltaria::Types::PaginatedResponseLoanResponseWithClientInfo</code></summary>
|
|
3261
3883
|
<dl>
|
|
3262
3884
|
<dd>
|