transferzero-sdk 1.13.0 → 1.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +21 -22
- data/README.md +10 -4
- data/docs/PayoutMethod.md +1 -1
- data/docs/PayoutMethodCountryEnumUSDBank.md +16 -0
- data/docs/PayoutMethodDetails.md +22 -8
- data/docs/PayoutMethodDetailsKESBank.md +37 -0
- data/docs/PayoutMethodDetailsKESMobile.md +31 -0
- data/docs/PayoutMethodDetailsMADCash.md +3 -3
- data/docs/PayoutMethodDetailsUSDBank.md +27 -0
- data/docs/PayoutMethodDetailsZARBank.md +13 -1
- data/docs/PayoutMethodLegalEntityTypeEnum.md +16 -0
- data/docs/PayoutMethodNatureOfBusinessEnum.md +16 -0
- data/docs/TransactionsApi.md +2 -0
- data/lib/transferzero-sdk.rb +6 -0
- data/lib/transferzero-sdk/api/transactions_api.rb +6 -0
- data/lib/transferzero-sdk/api_client.rb +2 -2
- data/lib/transferzero-sdk/models/account_validation_request.rb +4 -4
- data/lib/transferzero-sdk/models/payout_method.rb +1 -1
- data/lib/transferzero-sdk/models/payout_method_country_enum.rb +234 -8
- data/lib/transferzero-sdk/models/payout_method_country_enum_usd_bank.rb +269 -0
- data/lib/transferzero-sdk/models/payout_method_details.rb +92 -16
- data/lib/transferzero-sdk/models/payout_method_details_kes_bank.rb +343 -0
- data/lib/transferzero-sdk/models/payout_method_details_kes_mobile.rb +306 -0
- data/lib/transferzero-sdk/models/payout_method_details_mad_cash.rb +1 -16
- data/lib/transferzero-sdk/models/payout_method_details_usd_bank.rb +278 -0
- data/lib/transferzero-sdk/models/payout_method_details_zar_bank.rb +59 -5
- data/lib/transferzero-sdk/models/payout_method_legal_entity_type_enum.rb +37 -0
- data/lib/transferzero-sdk/models/payout_method_mobile_provider_enum.rb +1 -0
- data/lib/transferzero-sdk/models/payout_method_nature_of_business_enum.rb +65 -0
- data/lib/transferzero-sdk/version.rb +1 -1
- data/spec/models/payout_method_country_enum_usd_bank_spec.rb +35 -0
- data/spec/models/payout_method_details_kes_bank_spec.rb +101 -0
- data/spec/models/payout_method_details_kes_mobile_spec.rb +83 -0
- data/spec/models/payout_method_details_usd_bank_spec.rb +71 -0
- data/spec/models/payout_method_legal_entity_type_enum_spec.rb +35 -0
- data/spec/models/payout_method_nature_of_business_enum_spec.rb +35 -0
- data/transferzero-sdk-1.10.0.gem +0 -0
- data/transferzero-sdk-1.11.0.gem +0 -0
- data/transferzero-sdk-1.12.0.gem +0 -0
- data/transferzero-sdk-1.14.0.gem +0 -0
- data/transferzero-sdk-1.14.1.gem +0 -0
- metadata +41 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a7bee0e13c9f1879f7a82519242c43d792c03e3c4556044ea6fa8196def9ce62
|
4
|
+
data.tar.gz: 31f990f2e97bbdbeda0c0de1c4359898ca37d77e8cad33530f1a619bd0b50d77
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 670b7815b517758381aefc6e9e3f93e2ae810d02cd04e5cd3eaf55ec64e338a9fc9bb7ee6c223c7afa6de9eccac81499f44717885d224f6c70afd3037c6c8807
|
7
|
+
data.tar.gz: 56358b61853f9ed9d08c397ce0d83978f40bb38e8d839c53f3e360d0867ab64e14f8c51cda57041d1b685db0f5fb526a5b3f30902848ccf0acaab7f0a7410a6b
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
transferzero-sdk (1.
|
4
|
+
transferzero-sdk (1.9.0)
|
5
5
|
activesupport (>= 4)
|
6
6
|
json (>= 1.4)
|
7
7
|
typhoeus (~> 1.0, >= 1.0.1)
|
@@ -10,12 +10,12 @@ GEM
|
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
12
|
ZenTest (4.12.0)
|
13
|
-
activesupport (6.
|
13
|
+
activesupport (6.0.3.4)
|
14
14
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
15
|
-
i18n (>=
|
16
|
-
minitest (
|
17
|
-
tzinfo (~>
|
18
|
-
zeitwerk (~> 2.
|
15
|
+
i18n (>= 0.7, < 2)
|
16
|
+
minitest (~> 5.1)
|
17
|
+
tzinfo (~> 1.1)
|
18
|
+
zeitwerk (~> 2.2, >= 2.2.2)
|
19
19
|
addressable (2.7.0)
|
20
20
|
public_suffix (>= 2.0.2, < 5.0)
|
21
21
|
autotest (4.4.6)
|
@@ -26,19 +26,18 @@ GEM
|
|
26
26
|
autotest-rails-pure (4.1.2)
|
27
27
|
byebug (11.1.3)
|
28
28
|
coderay (1.1.3)
|
29
|
-
concurrent-ruby (1.1.
|
30
|
-
crack (0.4.
|
31
|
-
rexml
|
29
|
+
concurrent-ruby (1.1.7)
|
30
|
+
crack (0.4.4)
|
32
31
|
diff-lcs (1.4.4)
|
33
32
|
ethon (0.12.0)
|
34
33
|
ffi (>= 1.3.0)
|
35
|
-
ffi (1.
|
34
|
+
ffi (1.13.1)
|
36
35
|
hashdiff (1.0.1)
|
37
|
-
i18n (1.8.
|
36
|
+
i18n (1.8.5)
|
38
37
|
concurrent-ruby (~> 1.0)
|
39
|
-
json (2.
|
38
|
+
json (2.3.1)
|
40
39
|
method_source (1.0.0)
|
41
|
-
minitest (5.14.
|
40
|
+
minitest (5.14.2)
|
42
41
|
pry (0.13.1)
|
43
42
|
coderay (~> 1.1)
|
44
43
|
method_source (~> 1.0)
|
@@ -47,26 +46,26 @@ GEM
|
|
47
46
|
pry (~> 0.13.0)
|
48
47
|
public_suffix (4.0.6)
|
49
48
|
rake (12.0.0)
|
50
|
-
rexml (3.2.4)
|
51
49
|
rspec (3.10.0)
|
52
50
|
rspec-core (~> 3.10.0)
|
53
51
|
rspec-expectations (~> 3.10.0)
|
54
52
|
rspec-mocks (~> 3.10.0)
|
55
|
-
rspec-core (3.10.
|
53
|
+
rspec-core (3.10.0)
|
56
54
|
rspec-support (~> 3.10.0)
|
57
|
-
rspec-expectations (3.10.
|
55
|
+
rspec-expectations (3.10.0)
|
58
56
|
diff-lcs (>= 1.2.0, < 2.0)
|
59
57
|
rspec-support (~> 3.10.0)
|
60
|
-
rspec-mocks (3.10.
|
58
|
+
rspec-mocks (3.10.0)
|
61
59
|
diff-lcs (>= 1.2.0, < 2.0)
|
62
60
|
rspec-support (~> 3.10.0)
|
63
|
-
rspec-support (3.10.
|
61
|
+
rspec-support (3.10.0)
|
64
62
|
sys-uname (1.2.2)
|
65
63
|
ffi (~> 1.1)
|
64
|
+
thread_safe (0.3.6)
|
66
65
|
typhoeus (1.4.0)
|
67
66
|
ethon (>= 0.9.0)
|
68
|
-
tzinfo (2.
|
69
|
-
|
67
|
+
tzinfo (1.2.8)
|
68
|
+
thread_safe (~> 0.1)
|
70
69
|
vcr (3.0.3)
|
71
70
|
webmock (1.24.6)
|
72
71
|
addressable (>= 2.3.6)
|
@@ -75,7 +74,7 @@ GEM
|
|
75
74
|
zeitwerk (2.4.2)
|
76
75
|
|
77
76
|
PLATFORMS
|
78
|
-
|
77
|
+
ruby
|
79
78
|
|
80
79
|
DEPENDENCIES
|
81
80
|
ZenTest (~> 4.11, >= 4.11.2)
|
@@ -91,4 +90,4 @@ DEPENDENCIES
|
|
91
90
|
webmock (~> 1.24, >= 1.24.3)
|
92
91
|
|
93
92
|
BUNDLED WITH
|
94
|
-
2.
|
93
|
+
2.1.4
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Reference documentation for the TransferZero API V1
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: 1.0
|
10
|
-
- Package version: 1.
|
10
|
+
- Package version: 1.15.0
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
|
13
13
|
For more information, please visit:
|
@@ -31,15 +31,15 @@ gem build transferzero-sdk.gemspec
|
|
31
31
|
Then either install the gem locally:
|
32
32
|
|
33
33
|
```shell
|
34
|
-
gem install ./transferzero-sdk-1.
|
34
|
+
gem install ./transferzero-sdk-1.15.0.gem
|
35
35
|
```
|
36
|
-
(for development, run `gem install --dev ./transferzero-sdk-1.
|
36
|
+
(for development, run `gem install --dev ./transferzero-sdk-1.15.0.gem` to install the development dependencies)
|
37
37
|
|
38
38
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
39
39
|
|
40
40
|
Finally add this to the Gemfile:
|
41
41
|
|
42
|
-
gem 'transferzero-sdk', '~> 1.
|
42
|
+
gem 'transferzero-sdk', '~> 1.15.0'
|
43
43
|
|
44
44
|
### Install from Git
|
45
45
|
|
@@ -199,6 +199,7 @@ Class | Method | HTTP request | Description
|
|
199
199
|
- [TransferZero::PayoutMethodBankAccountTypeEnum](docs/PayoutMethodBankAccountTypeEnum.md)
|
200
200
|
- [TransferZero::PayoutMethodCashProviderEnum](docs/PayoutMethodCashProviderEnum.md)
|
201
201
|
- [TransferZero::PayoutMethodCountryEnum](docs/PayoutMethodCountryEnum.md)
|
202
|
+
- [TransferZero::PayoutMethodCountryEnumUSDBank](docs/PayoutMethodCountryEnumUSDBank.md)
|
202
203
|
- [TransferZero::PayoutMethodDetails](docs/PayoutMethodDetails.md)
|
203
204
|
- [TransferZero::PayoutMethodDetailsBTC](docs/PayoutMethodDetailsBTC.md)
|
204
205
|
- [TransferZero::PayoutMethodDetailsBalance](docs/PayoutMethodDetailsBalance.md)
|
@@ -206,17 +207,22 @@ Class | Method | HTTP request | Description
|
|
206
207
|
- [TransferZero::PayoutMethodDetailsGHSBank](docs/PayoutMethodDetailsGHSBank.md)
|
207
208
|
- [TransferZero::PayoutMethodDetailsGHSCash](docs/PayoutMethodDetailsGHSCash.md)
|
208
209
|
- [TransferZero::PayoutMethodDetailsIBAN](docs/PayoutMethodDetailsIBAN.md)
|
210
|
+
- [TransferZero::PayoutMethodDetailsKESBank](docs/PayoutMethodDetailsKESBank.md)
|
211
|
+
- [TransferZero::PayoutMethodDetailsKESMobile](docs/PayoutMethodDetailsKESMobile.md)
|
209
212
|
- [TransferZero::PayoutMethodDetailsMADCash](docs/PayoutMethodDetailsMADCash.md)
|
210
213
|
- [TransferZero::PayoutMethodDetailsMobile](docs/PayoutMethodDetailsMobile.md)
|
211
214
|
- [TransferZero::PayoutMethodDetailsNGNBank](docs/PayoutMethodDetailsNGNBank.md)
|
215
|
+
- [TransferZero::PayoutMethodDetailsUSDBank](docs/PayoutMethodDetailsUSDBank.md)
|
212
216
|
- [TransferZero::PayoutMethodDetailsXOFBank](docs/PayoutMethodDetailsXOFBank.md)
|
213
217
|
- [TransferZero::PayoutMethodDetailsXOFCash](docs/PayoutMethodDetailsXOFCash.md)
|
214
218
|
- [TransferZero::PayoutMethodDetailsXOFMobile](docs/PayoutMethodDetailsXOFMobile.md)
|
215
219
|
- [TransferZero::PayoutMethodDetailsZARBank](docs/PayoutMethodDetailsZARBank.md)
|
216
220
|
- [TransferZero::PayoutMethodGenderEnum](docs/PayoutMethodGenderEnum.md)
|
217
221
|
- [TransferZero::PayoutMethodIdentityCardTypeEnum](docs/PayoutMethodIdentityCardTypeEnum.md)
|
222
|
+
- [TransferZero::PayoutMethodLegalEntityTypeEnum](docs/PayoutMethodLegalEntityTypeEnum.md)
|
218
223
|
- [TransferZero::PayoutMethodListResponse](docs/PayoutMethodListResponse.md)
|
219
224
|
- [TransferZero::PayoutMethodMobileProviderEnum](docs/PayoutMethodMobileProviderEnum.md)
|
225
|
+
- [TransferZero::PayoutMethodNatureOfBusinessEnum](docs/PayoutMethodNatureOfBusinessEnum.md)
|
220
226
|
- [TransferZero::PayoutMethodRequest](docs/PayoutMethodRequest.md)
|
221
227
|
- [TransferZero::PayoutMethodResponse](docs/PayoutMethodResponse.md)
|
222
228
|
- [TransferZero::PayoutMethodWebhook](docs/PayoutMethodWebhook.md)
|
data/docs/PayoutMethod.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**type** | **String** | Contains the currency to send the money to, and the type of the money movement Commonly used payout types are: - `NGN::Bank` - for Nigerian bank account payments. - `NGN::Mobile` - for Nigerian mobile money payments. - `GHS::Bank` - for Ghanaian bank account payments. - `GHS::Mobile` - for Ghanaian mobile money payments. - `GHS::Cash` - for Ghanaian cash remittance payments. - `UGX::Mobile` - for Ugandan mobile money payments. - `TZS::Mobile` - for Tanzanian mobile money payments. - `XOF::Mobile` - for mobile money payments to West-Africa. - `XOF::Bank` - for Senegalese bank account payments. - `XOF::Cash` - for Senegalese cash remittance payments. - `MAD::Cash` - for Moroccan cash remittance payments. - `EUR::Bank` - for IBAN bank transfers in EUR. - `GBP::Bank` - for IBAN bank and FP accounts transfers in GBP. - `ZAR::Bank` - for South Africa bank account payments. You can also send funds to the internal balance using `CCY::Balance`, where `CCY` is the appropriate currency. See [Collection from senders](https://docs.transferzero.com/docs/additional-features/#collections-from-senders) for more info on how to collect money into internal balance | [optional]
|
7
|
+
**type** | **String** | Contains the currency to send the money to, and the type of the money movement Commonly used payout types are: - `NGN::Bank` - for Nigerian bank account payments. - `NGN::Mobile` - for Nigerian mobile money payments. - `GHS::Bank` - for Ghanaian bank account payments. - `GHS::Mobile` - for Ghanaian mobile money payments. - `GHS::Cash` - for Ghanaian cash remittance payments. - `UGX::Mobile` - for Ugandan mobile money payments. - `TZS::Mobile` - for Tanzanian mobile money payments. - `XOF::Mobile` - for mobile money payments to West-Africa. - `XOF::Bank` - for Senegalese bank account payments. - `XOF::Cash` - for Senegalese cash remittance payments. - `MAD::Cash` - for Moroccan cash remittance payments. - `EUR::Bank` - for IBAN bank transfers in EUR. - `GBP::Bank` - for IBAN bank and FP accounts transfers in GBP. - `ZAR::Bank` - for South Africa bank account payments. - `USD::Bank` - for USD account payments. *** Currently Nigeria only and in Beta phase *** - `KES::Bank` - for Kenyan bank account payments. - `KES::Mobile` - for Kenyan mobile money payments. You can also send funds to the internal balance using `CCY::Balance`, where `CCY` is the appropriate currency. See [Collection from senders](https://docs.transferzero.com/docs/additional-features/#collections-from-senders) for more info on how to collect money into internal balance | [optional]
|
8
8
|
**details** | [**PayoutMethodDetails**](PayoutMethodDetails.md) | | [optional]
|
9
9
|
**metadata** | [**Object**](.md) | Metadata of payout method. You can store any kind of information in this field. | [optional]
|
10
10
|
**id** | **String** | | [optional]
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# TransferZero::PayoutMethodCountryEnumUSDBank
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
|
8
|
+
## Code Sample
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'TransferZero'
|
12
|
+
|
13
|
+
instance = TransferZero::PayoutMethodCountryEnumUSDBank.new()
|
14
|
+
```
|
15
|
+
|
16
|
+
|
data/docs/PayoutMethodDetails.md
CHANGED
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
|
|
11
11
|
**bank_account_type** | [**PayoutMethodBankAccountTypeEnum**](PayoutMethodBankAccountTypeEnum.md) | | [optional]
|
12
12
|
**phone_number** | **String** | |
|
13
13
|
**mobile_provider** | [**PayoutMethodMobileProviderEnum**](PayoutMethodMobileProviderEnum.md) | |
|
14
|
-
**country** | [**
|
14
|
+
**country** | [**PayoutMethodCountryEnumUSDBank**](PayoutMethodCountryEnumUSDBank.md) | |
|
15
15
|
**iban** | **String** | |
|
16
16
|
**bank_name** | **String** | |
|
17
17
|
**bank_country** | **String** | |
|
@@ -20,12 +20,12 @@ Name | Type | Description | Notes
|
|
20
20
|
**bic** | **String** | | [optional]
|
21
21
|
**sender_identity_card_type** | [**PayoutMethodIdentityCardTypeEnum**](PayoutMethodIdentityCardTypeEnum.md) | |
|
22
22
|
**sender_identity_card_id** | **String** | |
|
23
|
-
**sender_city_of_birth** | **String** | |
|
24
|
-
**sender_country_of_birth** | **String** | |
|
25
|
-
**sender_gender** | [**PayoutMethodGenderEnum**](PayoutMethodGenderEnum.md) | |
|
23
|
+
**sender_city_of_birth** | **String** | | [optional]
|
24
|
+
**sender_country_of_birth** | **String** | | [optional]
|
25
|
+
**sender_gender** | [**PayoutMethodGenderEnum**](PayoutMethodGenderEnum.md) | | [optional]
|
26
26
|
**reason** | **String** | | [optional]
|
27
|
-
**identity_card_type** | [**PayoutMethodIdentityCardTypeEnum**](PayoutMethodIdentityCardTypeEnum.md) | |
|
28
|
-
**identity_card_id** | **String** | |
|
27
|
+
**identity_card_type** | [**PayoutMethodIdentityCardTypeEnum**](PayoutMethodIdentityCardTypeEnum.md) | |
|
28
|
+
**identity_card_id** | **String** | |
|
29
29
|
**reference** | **String** | | [optional]
|
30
30
|
**name** | **String** | |
|
31
31
|
**address** | **String** | |
|
@@ -33,7 +33,14 @@ Name | Type | Description | Notes
|
|
33
33
|
**postal_code** | **String** | |
|
34
34
|
**city** | **String** | |
|
35
35
|
**email** | **String** | | [optional]
|
36
|
-
**transfer_reason_code** | **String** | |
|
36
|
+
**transfer_reason_code** | **String** | |
|
37
|
+
**contact_first_name** | **String** | | [optional]
|
38
|
+
**contact_last_name** | **String** | | [optional]
|
39
|
+
**registration_number** | **String** | | [optional]
|
40
|
+
**nature_of_business** | [**PayoutMethodNatureOfBusinessEnum**](PayoutMethodNatureOfBusinessEnum.md) | | [optional]
|
41
|
+
**legal_entity_type** | [**PayoutMethodLegalEntityTypeEnum**](PayoutMethodLegalEntityTypeEnum.md) | | [optional]
|
42
|
+
**branch_code** | **String** | | [optional]
|
43
|
+
**swift_code** | **String** | |
|
37
44
|
|
38
45
|
## Code Sample
|
39
46
|
|
@@ -69,7 +76,14 @@ instance = TransferZero::PayoutMethodDetails.new(first_name: null,
|
|
69
76
|
postal_code: null,
|
70
77
|
city: null,
|
71
78
|
email: null,
|
72
|
-
transfer_reason_code: null
|
79
|
+
transfer_reason_code: null,
|
80
|
+
contact_first_name: null,
|
81
|
+
contact_last_name: null,
|
82
|
+
registration_number: null,
|
83
|
+
nature_of_business: null,
|
84
|
+
legal_entity_type: null,
|
85
|
+
branch_code: null,
|
86
|
+
swift_code: null)
|
73
87
|
```
|
74
88
|
|
75
89
|
|
@@ -0,0 +1,37 @@
|
|
1
|
+
# TransferZero::PayoutMethodDetailsKESBank
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**first_name** | **String** | |
|
8
|
+
**last_name** | **String** | |
|
9
|
+
**bank_code** | **String** | |
|
10
|
+
**street** | **String** | |
|
11
|
+
**bank_account** | **String** | |
|
12
|
+
**bank_name** | **String** | |
|
13
|
+
**branch_code** | **String** | | [optional]
|
14
|
+
**swift_code** | **String** | |
|
15
|
+
**transfer_reason_code** | **String** | |
|
16
|
+
**identity_card_type** | [**PayoutMethodIdentityCardTypeEnum**](PayoutMethodIdentityCardTypeEnum.md) | |
|
17
|
+
**identity_card_id** | **String** | |
|
18
|
+
|
19
|
+
## Code Sample
|
20
|
+
|
21
|
+
```ruby
|
22
|
+
require 'TransferZero'
|
23
|
+
|
24
|
+
instance = TransferZero::PayoutMethodDetailsKESBank.new(first_name: null,
|
25
|
+
last_name: null,
|
26
|
+
bank_code: null,
|
27
|
+
street: null,
|
28
|
+
bank_account: null,
|
29
|
+
bank_name: null,
|
30
|
+
branch_code: null,
|
31
|
+
swift_code: null,
|
32
|
+
transfer_reason_code: null,
|
33
|
+
identity_card_type: null,
|
34
|
+
identity_card_id: null)
|
35
|
+
```
|
36
|
+
|
37
|
+
|
@@ -0,0 +1,31 @@
|
|
1
|
+
# TransferZero::PayoutMethodDetailsKESMobile
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**first_name** | **String** | |
|
8
|
+
**last_name** | **String** | |
|
9
|
+
**street** | **String** | |
|
10
|
+
**phone_number** | **String** | |
|
11
|
+
**mobile_provider** | [**PayoutMethodMobileProviderEnum**](PayoutMethodMobileProviderEnum.md) | |
|
12
|
+
**transfer_reason_code** | **String** | |
|
13
|
+
**identity_card_type** | [**PayoutMethodIdentityCardTypeEnum**](PayoutMethodIdentityCardTypeEnum.md) | |
|
14
|
+
**identity_card_id** | **String** | |
|
15
|
+
|
16
|
+
## Code Sample
|
17
|
+
|
18
|
+
```ruby
|
19
|
+
require 'TransferZero'
|
20
|
+
|
21
|
+
instance = TransferZero::PayoutMethodDetailsKESMobile.new(first_name: null,
|
22
|
+
last_name: null,
|
23
|
+
street: null,
|
24
|
+
phone_number: null,
|
25
|
+
mobile_provider: null,
|
26
|
+
transfer_reason_code: null,
|
27
|
+
identity_card_type: null,
|
28
|
+
identity_card_id: null)
|
29
|
+
```
|
30
|
+
|
31
|
+
|
@@ -9,9 +9,9 @@ Name | Type | Description | Notes
|
|
9
9
|
**phone_number** | **String** | |
|
10
10
|
**sender_identity_card_type** | [**PayoutMethodIdentityCardTypeEnum**](PayoutMethodIdentityCardTypeEnum.md) | |
|
11
11
|
**sender_identity_card_id** | **String** | |
|
12
|
-
**sender_city_of_birth** | **String** | |
|
13
|
-
**sender_country_of_birth** | **String** | |
|
14
|
-
**sender_gender** | [**PayoutMethodGenderEnum**](PayoutMethodGenderEnum.md) | |
|
12
|
+
**sender_city_of_birth** | **String** | | [optional]
|
13
|
+
**sender_country_of_birth** | **String** | | [optional]
|
14
|
+
**sender_gender** | [**PayoutMethodGenderEnum**](PayoutMethodGenderEnum.md) | | [optional]
|
15
15
|
**reason** | **String** | | [optional]
|
16
16
|
**identity_card_type** | [**PayoutMethodIdentityCardTypeEnum**](PayoutMethodIdentityCardTypeEnum.md) | | [optional]
|
17
17
|
**identity_card_id** | **String** | | [optional]
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# TransferZero::PayoutMethodDetailsUSDBank
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**first_name** | **String** | |
|
8
|
+
**last_name** | **String** | |
|
9
|
+
**phone_number** | **String** | |
|
10
|
+
**bank_code** | **String** | |
|
11
|
+
**bank_account** | **String** | |
|
12
|
+
**country** | [**PayoutMethodCountryEnumUSDBank**](PayoutMethodCountryEnumUSDBank.md) | |
|
13
|
+
|
14
|
+
## Code Sample
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
require 'TransferZero'
|
18
|
+
|
19
|
+
instance = TransferZero::PayoutMethodDetailsUSDBank.new(first_name: null,
|
20
|
+
last_name: null,
|
21
|
+
phone_number: null,
|
22
|
+
bank_code: null,
|
23
|
+
bank_account: null,
|
24
|
+
country: null)
|
25
|
+
```
|
26
|
+
|
27
|
+
|
@@ -14,6 +14,12 @@ Name | Type | Description | Notes
|
|
14
14
|
**bank_account** | **String** | |
|
15
15
|
**phone_number** | **String** | |
|
16
16
|
**transfer_reason_code** | **String** | | [optional]
|
17
|
+
**name** | **String** | | [optional]
|
18
|
+
**contact_first_name** | **String** | | [optional]
|
19
|
+
**contact_last_name** | **String** | | [optional]
|
20
|
+
**registration_number** | **String** | | [optional]
|
21
|
+
**nature_of_business** | [**PayoutMethodNatureOfBusinessEnum**](PayoutMethodNatureOfBusinessEnum.md) | | [optional]
|
22
|
+
**legal_entity_type** | [**PayoutMethodLegalEntityTypeEnum**](PayoutMethodLegalEntityTypeEnum.md) | | [optional]
|
17
23
|
|
18
24
|
## Code Sample
|
19
25
|
|
@@ -29,7 +35,13 @@ instance = TransferZero::PayoutMethodDetailsZARBank.new(first_name: null,
|
|
29
35
|
bank_code: null,
|
30
36
|
bank_account: null,
|
31
37
|
phone_number: null,
|
32
|
-
transfer_reason_code: null
|
38
|
+
transfer_reason_code: null,
|
39
|
+
name: null,
|
40
|
+
contact_first_name: null,
|
41
|
+
contact_last_name: null,
|
42
|
+
registration_number: null,
|
43
|
+
nature_of_business: null,
|
44
|
+
legal_entity_type: null)
|
33
45
|
```
|
34
46
|
|
35
47
|
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# TransferZero::PayoutMethodLegalEntityTypeEnum
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
|
8
|
+
## Code Sample
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'TransferZero'
|
12
|
+
|
13
|
+
instance = TransferZero::PayoutMethodLegalEntityTypeEnum.new()
|
14
|
+
```
|
15
|
+
|
16
|
+
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# TransferZero::PayoutMethodNatureOfBusinessEnum
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
|
8
|
+
## Code Sample
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'TransferZero'
|
12
|
+
|
13
|
+
instance = TransferZero::PayoutMethodNatureOfBusinessEnum.new()
|
14
|
+
```
|
15
|
+
|
16
|
+
|
data/docs/TransactionsApi.md
CHANGED
@@ -216,6 +216,7 @@ opts = {
|
|
216
216
|
per: 10 # Integer | The number of results to load per page (defaults to 10)
|
217
217
|
external_id: 'external_id_example' # String | Allows filtering results by `external_id`. Example: `/v1/senders?external_id=26ec8517-2f0d-48c0-b74f-0bccb9ab3a87`
|
218
218
|
sender_id: 'sender_id_example' # String | Allows filtering results by `sender_id`. Example: `/v1/transactions?sender_id=b41d3cb7-6c54-4245-85fc-8e30690eb0f7`
|
219
|
+
transactions_type: 'transactions_type_example' # String | Allows filtering results by `transactions_type`. Example: `/v1/transactions?transactions_type=automated`
|
219
220
|
}
|
220
221
|
|
221
222
|
begin
|
@@ -241,6 +242,7 @@ Name | Type | Description | Notes
|
|
241
242
|
**per** | **Integer**| The number of results to load per page (defaults to 10) | [optional]
|
242
243
|
**external_id** | **String**| Allows filtering results by `external_id`. Example: `/v1/senders?external_id=26ec8517-2f0d-48c0-b74f-0bccb9ab3a87` | [optional]
|
243
244
|
**sender_id** | **String**| Allows filtering results by `sender_id`. Example: `/v1/transactions?sender_id=b41d3cb7-6c54-4245-85fc-8e30690eb0f7` | [optional]
|
245
|
+
**transactions_type** | **String**| Allows filtering results by `transactions_type`. Example: `/v1/transactions?transactions_type=automated` | [optional]
|
244
246
|
|
245
247
|
### Return type
|
246
248
|
|