transferzero-sdk 1.6.0 → 1.10.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 +93 -0
- data/README.md +12 -4
- data/docs/Currency.md +0 -2
- data/docs/CurrencyExchange.md +0 -2
- data/docs/CurrencyOpposite.md +3 -3
- data/docs/Document.md +2 -0
- data/docs/PayoutMethod.md +1 -1
- data/docs/PayoutMethodCashProviderEnum.md +16 -0
- data/docs/PayoutMethodDetails.md +19 -5
- data/docs/PayoutMethodDetailsGBPBank.md +29 -0
- data/docs/PayoutMethodDetailsIBAN.md +1 -1
- data/docs/PayoutMethodDetailsMobile.md +3 -1
- data/docs/PayoutMethodDetailsXOFCash.md +27 -0
- data/docs/PayoutMethodDetailsZARBank.md +35 -0
- data/docs/ProofOfPayment.md +23 -0
- data/docs/ProofOfPaymentListResponse.md +17 -0
- data/docs/Recipient.md +3 -1
- data/docs/RecipientStateReasonDetails.md +23 -0
- data/docs/RecipientsApi.md +63 -1
- data/docs/Sender.md +20 -8
- data/lib/transferzero-sdk.rb +7 -0
- data/lib/transferzero-sdk/api/recipients_api.rb +56 -2
- data/lib/transferzero-sdk/api_client.rb +5 -3
- data/lib/transferzero-sdk/models/account.rb +70 -69
- data/lib/transferzero-sdk/models/account_list_response.rb +67 -66
- data/lib/transferzero-sdk/models/account_meta.rb +61 -60
- data/lib/transferzero-sdk/models/account_response.rb +66 -65
- data/lib/transferzero-sdk/models/account_validation_error.rb +61 -60
- data/lib/transferzero-sdk/models/account_validation_request.rb +164 -163
- data/lib/transferzero-sdk/models/account_validation_response.rb +66 -65
- data/lib/transferzero-sdk/models/account_validation_result.rb +61 -60
- data/lib/transferzero-sdk/models/api_log.rb +136 -135
- data/lib/transferzero-sdk/models/api_log_list_response.rb +70 -69
- data/lib/transferzero-sdk/models/api_log_response.rb +60 -59
- data/lib/transferzero-sdk/models/currency.rb +133 -142
- data/lib/transferzero-sdk/models/currency_exchange.rb +149 -158
- data/lib/transferzero-sdk/models/currency_exchange_list_response.rb +62 -61
- data/lib/transferzero-sdk/models/currency_list_response.rb +62 -61
- data/lib/transferzero-sdk/models/currency_opposite.rb +166 -165
- data/lib/transferzero-sdk/models/debit.rb +151 -150
- data/lib/transferzero-sdk/models/debit_list_request.rb +61 -60
- data/lib/transferzero-sdk/models/debit_list_response.rb +67 -66
- data/lib/transferzero-sdk/models/debit_request.rb +60 -59
- data/lib/transferzero-sdk/models/debit_request_wrapper.rb +80 -79
- data/lib/transferzero-sdk/models/debit_response.rb +60 -59
- data/lib/transferzero-sdk/models/document.rb +180 -169
- data/lib/transferzero-sdk/models/document_list_response.rb +67 -66
- data/lib/transferzero-sdk/models/document_request.rb +60 -59
- data/lib/transferzero-sdk/models/document_response.rb +60 -59
- data/lib/transferzero-sdk/models/document_webhook.rb +96 -95
- data/lib/transferzero-sdk/models/error_status.rb +66 -65
- data/lib/transferzero-sdk/models/field_description.rb +95 -94
- data/lib/transferzero-sdk/models/field_select_validation.rb +70 -69
- data/lib/transferzero-sdk/models/field_validation.rb +78 -77
- data/lib/transferzero-sdk/models/pagination.rb +97 -96
- data/lib/transferzero-sdk/models/pagination_meta.rb +60 -59
- data/lib/transferzero-sdk/models/payin_method.rb +97 -96
- data/lib/transferzero-sdk/models/payin_method_details.rb +122 -121
- data/lib/transferzero-sdk/models/payin_method_details_btc.rb +62 -61
- data/lib/transferzero-sdk/models/payin_method_details_mobile.rb +75 -74
- data/lib/transferzero-sdk/models/payin_method_details_ngn_bank.rb +71 -70
- data/lib/transferzero-sdk/models/payin_method_request.rb +60 -59
- data/lib/transferzero-sdk/models/payment_method.rb +109 -108
- data/lib/transferzero-sdk/models/payment_method_list_response.rb +61 -60
- data/lib/transferzero-sdk/models/payment_method_opposite.rb +124 -123
- data/lib/transferzero-sdk/models/payout_method.rb +107 -106
- data/lib/transferzero-sdk/models/payout_method_bank_account_type_enum.rb +14 -19
- data/lib/transferzero-sdk/models/payout_method_cash_provider_enum.rb +31 -0
- data/lib/transferzero-sdk/models/payout_method_details.rb +402 -320
- data/lib/transferzero-sdk/models/payout_method_details_balance.rb +61 -60
- data/lib/transferzero-sdk/models/payout_method_details_btc.rb +97 -96
- data/lib/transferzero-sdk/models/payout_method_details_gbp_bank.rb +267 -0
- data/lib/transferzero-sdk/models/payout_method_details_ghs_bank.rb +97 -96
- data/lib/transferzero-sdk/models/payout_method_details_iban.rb +100 -104
- data/lib/transferzero-sdk/models/payout_method_details_mad_cash.rb +162 -161
- data/lib/transferzero-sdk/models/payout_method_details_mobile.rb +93 -83
- data/lib/transferzero-sdk/models/payout_method_details_ngn_bank.rb +104 -103
- data/lib/transferzero-sdk/models/payout_method_details_xof_bank.rb +108 -107
- data/lib/transferzero-sdk/models/payout_method_details_xof_cash.rb +263 -0
- data/lib/transferzero-sdk/models/payout_method_details_xof_mobile.rb +97 -96
- data/lib/transferzero-sdk/models/payout_method_details_zar_bank.rb +324 -0
- data/lib/transferzero-sdk/models/payout_method_gender_enum.rb +14 -19
- data/lib/transferzero-sdk/models/payout_method_identity_card_type_enum.rb +15 -20
- data/lib/transferzero-sdk/models/payout_method_list_response.rb +67 -66
- data/lib/transferzero-sdk/models/payout_method_mobile_provider_enum.rb +17 -19
- data/lib/transferzero-sdk/models/payout_method_request.rb +60 -59
- data/lib/transferzero-sdk/models/payout_method_response.rb +60 -59
- data/lib/transferzero-sdk/models/payout_method_webhook.rb +96 -95
- data/lib/transferzero-sdk/models/politically_exposed_person.rb +123 -122
- data/lib/transferzero-sdk/models/proof_of_payment.rb +233 -0
- data/lib/transferzero-sdk/models/proof_of_payment_list_response.rb +204 -0
- data/lib/transferzero-sdk/models/recipient.rb +237 -227
- data/lib/transferzero-sdk/models/recipient_list_response.rb +67 -66
- data/lib/transferzero-sdk/models/recipient_request.rb +60 -59
- data/lib/transferzero-sdk/models/recipient_response.rb +60 -59
- data/lib/transferzero-sdk/models/recipient_state.rb +22 -27
- data/lib/transferzero-sdk/models/recipient_state_reason_details.rb +235 -0
- data/lib/transferzero-sdk/models/recipient_webhook.rb +96 -95
- data/lib/transferzero-sdk/models/sender.rb +565 -480
- data/lib/transferzero-sdk/models/sender_list_response.rb +67 -66
- data/lib/transferzero-sdk/models/sender_request.rb +60 -59
- data/lib/transferzero-sdk/models/sender_response.rb +66 -65
- data/lib/transferzero-sdk/models/sender_response_existing.rb +60 -59
- data/lib/transferzero-sdk/models/sender_response_meta.rb +60 -59
- data/lib/transferzero-sdk/models/sender_state.rb +19 -24
- data/lib/transferzero-sdk/models/sender_webhook.rb +96 -95
- data/lib/transferzero-sdk/models/transaction.rb +192 -191
- data/lib/transferzero-sdk/models/transaction_list_response.rb +67 -66
- data/lib/transferzero-sdk/models/transaction_request.rb +60 -59
- data/lib/transferzero-sdk/models/transaction_response.rb +66 -65
- data/lib/transferzero-sdk/models/transaction_response_existing.rb +66 -65
- data/lib/transferzero-sdk/models/transaction_response_meta.rb +60 -59
- data/lib/transferzero-sdk/models/transaction_state.rb +23 -28
- data/lib/transferzero-sdk/models/transaction_traits.rb +71 -70
- data/lib/transferzero-sdk/models/transaction_webhook.rb +96 -95
- data/lib/transferzero-sdk/models/validation_error_description.rb +62 -61
- data/lib/transferzero-sdk/models/webhook.rb +92 -91
- data/lib/transferzero-sdk/models/webhook_definition.rb +107 -106
- data/lib/transferzero-sdk/models/webhook_definition_event_list_response.rb +61 -60
- data/lib/transferzero-sdk/models/webhook_definition_list_response.rb +67 -66
- data/lib/transferzero-sdk/models/webhook_definition_request.rb +60 -59
- data/lib/transferzero-sdk/models/webhook_definition_response.rb +60 -59
- data/lib/transferzero-sdk/models/webhook_log.rb +97 -96
- data/lib/transferzero-sdk/models/webhook_log_list_response.rb +70 -69
- data/lib/transferzero-sdk/models/webhook_log_metadata.rb +129 -128
- data/lib/transferzero-sdk/models/webhook_log_metadata_request.rb +80 -79
- data/lib/transferzero-sdk/models/webhook_log_metadata_response.rb +81 -80
- data/lib/transferzero-sdk/models/webhook_log_response.rb +60 -59
- data/lib/transferzero-sdk/version.rb +1 -1
- data/spec/models/payout_method_cash_provider_enum_spec.rb +35 -0
- data/spec/models/payout_method_details_gbp_bank_spec.rb +77 -0
- data/spec/models/payout_method_details_xof_cash_spec.rb +71 -0
- data/spec/models/payout_method_details_zar_bank_spec.rb +89 -0
- data/spec/models/proof_of_payment_list_response_spec.rb +41 -0
- data/spec/models/proof_of_payment_spec.rb +59 -0
- data/spec/models/recipient_state_reason_details_spec.rb +59 -0
- metadata +32 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c4a72e7a74c3d604cad3367f8f255719bedcb3333f4f41ba40be5eb6a1c8d7ad
|
4
|
+
data.tar.gz: 809532b1efe02d86a2fdac1f09f9f35d56c0895a807c5f5f18fd36d93f0cacf7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0078963697208ef7df9e73fec33e087daeb64aa58c3ef709bc1b5c39a1412024053f309778ea8f1c9757d8428f076fc068f25c9e5bf46204b2e4f6918cb35f10'
|
7
|
+
data.tar.gz: 4fbe577cf10a4a77cc27329e44847365d6bd8fe5320dd3b6b70790400c7859f8243ab2241af7cf6c135ee2205ea7b8a0331355ca62417a0c3adb5788f966a58b
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,93 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
transferzero-sdk (1.9.0)
|
5
|
+
activesupport (>= 4)
|
6
|
+
json (>= 1.4)
|
7
|
+
typhoeus (~> 1.0, >= 1.0.1)
|
8
|
+
|
9
|
+
GEM
|
10
|
+
remote: https://rubygems.org/
|
11
|
+
specs:
|
12
|
+
ZenTest (4.12.0)
|
13
|
+
activesupport (6.0.3.4)
|
14
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
15
|
+
i18n (>= 0.7, < 2)
|
16
|
+
minitest (~> 5.1)
|
17
|
+
tzinfo (~> 1.1)
|
18
|
+
zeitwerk (~> 2.2, >= 2.2.2)
|
19
|
+
addressable (2.7.0)
|
20
|
+
public_suffix (>= 2.0.2, < 5.0)
|
21
|
+
autotest (4.4.6)
|
22
|
+
ZenTest (>= 4.4.1)
|
23
|
+
autotest-fsevent (0.2.17)
|
24
|
+
sys-uname
|
25
|
+
autotest-growl (0.2.16)
|
26
|
+
autotest-rails-pure (4.1.2)
|
27
|
+
byebug (11.1.3)
|
28
|
+
coderay (1.1.3)
|
29
|
+
concurrent-ruby (1.1.7)
|
30
|
+
crack (0.4.4)
|
31
|
+
diff-lcs (1.4.4)
|
32
|
+
ethon (0.12.0)
|
33
|
+
ffi (>= 1.3.0)
|
34
|
+
ffi (1.13.1)
|
35
|
+
hashdiff (1.0.1)
|
36
|
+
i18n (1.8.5)
|
37
|
+
concurrent-ruby (~> 1.0)
|
38
|
+
json (2.3.1)
|
39
|
+
method_source (1.0.0)
|
40
|
+
minitest (5.14.2)
|
41
|
+
pry (0.13.1)
|
42
|
+
coderay (~> 1.1)
|
43
|
+
method_source (~> 1.0)
|
44
|
+
pry-byebug (3.9.0)
|
45
|
+
byebug (~> 11.0)
|
46
|
+
pry (~> 0.13.0)
|
47
|
+
public_suffix (4.0.6)
|
48
|
+
rake (12.0.0)
|
49
|
+
rspec (3.10.0)
|
50
|
+
rspec-core (~> 3.10.0)
|
51
|
+
rspec-expectations (~> 3.10.0)
|
52
|
+
rspec-mocks (~> 3.10.0)
|
53
|
+
rspec-core (3.10.0)
|
54
|
+
rspec-support (~> 3.10.0)
|
55
|
+
rspec-expectations (3.10.0)
|
56
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
57
|
+
rspec-support (~> 3.10.0)
|
58
|
+
rspec-mocks (3.10.0)
|
59
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
60
|
+
rspec-support (~> 3.10.0)
|
61
|
+
rspec-support (3.10.0)
|
62
|
+
sys-uname (1.2.2)
|
63
|
+
ffi (~> 1.1)
|
64
|
+
thread_safe (0.3.6)
|
65
|
+
typhoeus (1.4.0)
|
66
|
+
ethon (>= 0.9.0)
|
67
|
+
tzinfo (1.2.8)
|
68
|
+
thread_safe (~> 0.1)
|
69
|
+
vcr (3.0.3)
|
70
|
+
webmock (1.24.6)
|
71
|
+
addressable (>= 2.3.6)
|
72
|
+
crack (>= 0.3.2)
|
73
|
+
hashdiff
|
74
|
+
zeitwerk (2.4.2)
|
75
|
+
|
76
|
+
PLATFORMS
|
77
|
+
ruby
|
78
|
+
|
79
|
+
DEPENDENCIES
|
80
|
+
ZenTest (~> 4.11, >= 4.11.2)
|
81
|
+
autotest (~> 4.4, >= 4.4.6)
|
82
|
+
autotest-fsevent (~> 0.2, >= 0.2.12)
|
83
|
+
autotest-growl (~> 0.2, >= 0.2.16)
|
84
|
+
autotest-rails-pure (~> 4.1, >= 4.1.2)
|
85
|
+
pry-byebug
|
86
|
+
rake (~> 12.0.0)
|
87
|
+
rspec (~> 3.6, >= 3.6.0)
|
88
|
+
transferzero-sdk!
|
89
|
+
vcr (~> 3.0, >= 3.0.1)
|
90
|
+
webmock (~> 1.24, >= 1.24.3)
|
91
|
+
|
92
|
+
BUNDLED WITH
|
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.10.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.10.0.gem
|
35
35
|
```
|
36
|
-
(for development, run `gem install --dev ./transferzero-sdk-1.
|
36
|
+
(for development, run `gem install --dev ./transferzero-sdk-1.10.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.10.0'
|
43
43
|
|
44
44
|
### Install from Git
|
45
45
|
|
@@ -130,6 +130,7 @@ Class | Method | HTTP request | Description
|
|
130
130
|
*TransferZero::RecipientsApi* | [**delete_recipient**](docs/RecipientsApi.md#delete_recipient) | **DELETE** /recipients/{Recipient ID} | Cancelling a recipient
|
131
131
|
*TransferZero::RecipientsApi* | [**get_recipients**](docs/RecipientsApi.md#get_recipients) | **GET** /recipients | Getting a list of recipients with filtering
|
132
132
|
*TransferZero::RecipientsApi* | [**patch_recipient**](docs/RecipientsApi.md#patch_recipient) | **PATCH** /recipients/{Recipient ID} | Updating a recipient
|
133
|
+
*TransferZero::RecipientsApi* | [**proof_of_payments**](docs/RecipientsApi.md#proof_of_payments) | **GET** /recipients/{Recipient ID}/proof_of_payments | Returns list of proof of payments
|
133
134
|
*TransferZero::SendersApi* | [**delete_sender**](docs/SendersApi.md#delete_sender) | **DELETE** /senders/{Sender ID} | Deleting a sender
|
134
135
|
*TransferZero::SendersApi* | [**get_sender**](docs/SendersApi.md#get_sender) | **GET** /senders/{Sender ID} | Fetching a sender
|
135
136
|
*TransferZero::SendersApi* | [**get_senders**](docs/SendersApi.md#get_senders) | **GET** /senders | Listing senders
|
@@ -196,16 +197,20 @@ Class | Method | HTTP request | Description
|
|
196
197
|
- [TransferZero::PaymentMethodOpposite](docs/PaymentMethodOpposite.md)
|
197
198
|
- [TransferZero::PayoutMethod](docs/PayoutMethod.md)
|
198
199
|
- [TransferZero::PayoutMethodBankAccountTypeEnum](docs/PayoutMethodBankAccountTypeEnum.md)
|
200
|
+
- [TransferZero::PayoutMethodCashProviderEnum](docs/PayoutMethodCashProviderEnum.md)
|
199
201
|
- [TransferZero::PayoutMethodDetails](docs/PayoutMethodDetails.md)
|
200
202
|
- [TransferZero::PayoutMethodDetailsBTC](docs/PayoutMethodDetailsBTC.md)
|
201
203
|
- [TransferZero::PayoutMethodDetailsBalance](docs/PayoutMethodDetailsBalance.md)
|
204
|
+
- [TransferZero::PayoutMethodDetailsGBPBank](docs/PayoutMethodDetailsGBPBank.md)
|
202
205
|
- [TransferZero::PayoutMethodDetailsGHSBank](docs/PayoutMethodDetailsGHSBank.md)
|
203
206
|
- [TransferZero::PayoutMethodDetailsIBAN](docs/PayoutMethodDetailsIBAN.md)
|
204
207
|
- [TransferZero::PayoutMethodDetailsMADCash](docs/PayoutMethodDetailsMADCash.md)
|
205
208
|
- [TransferZero::PayoutMethodDetailsMobile](docs/PayoutMethodDetailsMobile.md)
|
206
209
|
- [TransferZero::PayoutMethodDetailsNGNBank](docs/PayoutMethodDetailsNGNBank.md)
|
207
210
|
- [TransferZero::PayoutMethodDetailsXOFBank](docs/PayoutMethodDetailsXOFBank.md)
|
211
|
+
- [TransferZero::PayoutMethodDetailsXOFCash](docs/PayoutMethodDetailsXOFCash.md)
|
208
212
|
- [TransferZero::PayoutMethodDetailsXOFMobile](docs/PayoutMethodDetailsXOFMobile.md)
|
213
|
+
- [TransferZero::PayoutMethodDetailsZARBank](docs/PayoutMethodDetailsZARBank.md)
|
209
214
|
- [TransferZero::PayoutMethodGenderEnum](docs/PayoutMethodGenderEnum.md)
|
210
215
|
- [TransferZero::PayoutMethodIdentityCardTypeEnum](docs/PayoutMethodIdentityCardTypeEnum.md)
|
211
216
|
- [TransferZero::PayoutMethodListResponse](docs/PayoutMethodListResponse.md)
|
@@ -214,11 +219,14 @@ Class | Method | HTTP request | Description
|
|
214
219
|
- [TransferZero::PayoutMethodResponse](docs/PayoutMethodResponse.md)
|
215
220
|
- [TransferZero::PayoutMethodWebhook](docs/PayoutMethodWebhook.md)
|
216
221
|
- [TransferZero::PoliticallyExposedPerson](docs/PoliticallyExposedPerson.md)
|
222
|
+
- [TransferZero::ProofOfPayment](docs/ProofOfPayment.md)
|
223
|
+
- [TransferZero::ProofOfPaymentListResponse](docs/ProofOfPaymentListResponse.md)
|
217
224
|
- [TransferZero::Recipient](docs/Recipient.md)
|
218
225
|
- [TransferZero::RecipientListResponse](docs/RecipientListResponse.md)
|
219
226
|
- [TransferZero::RecipientRequest](docs/RecipientRequest.md)
|
220
227
|
- [TransferZero::RecipientResponse](docs/RecipientResponse.md)
|
221
228
|
- [TransferZero::RecipientState](docs/RecipientState.md)
|
229
|
+
- [TransferZero::RecipientStateReasonDetails](docs/RecipientStateReasonDetails.md)
|
222
230
|
- [TransferZero::RecipientWebhook](docs/RecipientWebhook.md)
|
223
231
|
- [TransferZero::Sender](docs/Sender.md)
|
224
232
|
- [TransferZero::SenderListResponse](docs/SenderListResponse.md)
|
data/docs/Currency.md
CHANGED
@@ -12,7 +12,6 @@ Name | Type | Description | Notes
|
|
12
12
|
**primary** | **Boolean** | Is this a primary currency? | [optional]
|
13
13
|
**min** | **String** | The minimum amount allowed in a transaction | [optional]
|
14
14
|
**max** | **String** | The maximum amount allowed in a transaction | [optional]
|
15
|
-
**margin** | **String** | The margin set for transactions in this currency | [optional]
|
16
15
|
**usd_equivalent** | **String** | The equivalent of the currency to 1 USD | [optional]
|
17
16
|
|
18
17
|
## Code Sample
|
@@ -28,7 +27,6 @@ instance = TransferZero::Currency.new(code: NGN,
|
|
28
27
|
primary: true,
|
29
28
|
min: 100,
|
30
29
|
max: 50000000,
|
31
|
-
margin: null,
|
32
30
|
usd_equivalent: null)
|
33
31
|
```
|
34
32
|
|
data/docs/CurrencyExchange.md
CHANGED
@@ -12,7 +12,6 @@ Name | Type | Description | Notes
|
|
12
12
|
**primary** | **Boolean** | Is this a primary currency? | [optional]
|
13
13
|
**min** | **String** | The minimum amount allowed in a transaction | [optional]
|
14
14
|
**max** | **String** | The maximum amount allowed in a transaction | [optional]
|
15
|
-
**margin** | **String** | The margin set for transactions in this currency | [optional]
|
16
15
|
**usd_equivalent** | **String** | The equivalent of the currency to 1 USD | [optional]
|
17
16
|
**opposites** | [**Array<CurrencyOpposite>**](CurrencyOpposite.md) | Lists the currencies where you can exchange from this one | [optional]
|
18
17
|
|
@@ -29,7 +28,6 @@ instance = TransferZero::CurrencyExchange.new(code: NGN,
|
|
29
28
|
primary: true,
|
30
29
|
min: 100,
|
31
30
|
max: 50000000,
|
32
|
-
margin: null,
|
33
31
|
usd_equivalent: null,
|
34
32
|
opposites: null)
|
35
33
|
```
|
data/docs/CurrencyOpposite.md
CHANGED
@@ -12,10 +12,10 @@ Name | Type | Description | Notes
|
|
12
12
|
**primary** | **Boolean** | Is this a primary currency? | [optional]
|
13
13
|
**min** | **String** | The minimum amount allowed in a transaction | [optional]
|
14
14
|
**max** | **String** | The maximum amount allowed in a transaction | [optional]
|
15
|
-
**margin** | **String** | The margin set for transactions in this currency | [optional]
|
16
15
|
**usd_equivalent** | **String** | The equivalent of the currency to 1 USD | [optional]
|
17
16
|
**rate** | **Float** | The rate of this particular currency with the base one | [optional]
|
18
17
|
**mtm_rate** | **Float** | Mark to market rate of this particular currency against the base one with the margin factored in | [optional]
|
18
|
+
**margin** | **String** | The margin set for transactions of this particular currency with the base one | [optional]
|
19
19
|
|
20
20
|
## Code Sample
|
21
21
|
|
@@ -30,10 +30,10 @@ instance = TransferZero::CurrencyOpposite.new(code: NGN,
|
|
30
30
|
primary: true,
|
31
31
|
min: 100,
|
32
32
|
max: 50000000,
|
33
|
-
margin: null,
|
34
33
|
usd_equivalent: null,
|
35
34
|
rate: null,
|
36
|
-
mtm_rate: null
|
35
|
+
mtm_rate: null,
|
36
|
+
margin: null)
|
37
37
|
```
|
38
38
|
|
39
39
|
|
data/docs/Document.md
CHANGED
@@ -5,6 +5,7 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**upload** | **String** | Base64 encoded data uri of an image/pdf file or a fully qualified url |
|
8
|
+
**url** | **String** | URL of the document location | [optional]
|
8
9
|
**upload_file_name** | **String** | Name of the upload |
|
9
10
|
**metadata** | [**Object**](.md) | Metadata of document | [optional]
|
10
11
|
**upload_content_type** | **String** | | [optional]
|
@@ -22,6 +23,7 @@ Name | Type | Description | Notes
|
|
22
23
|
require 'TransferZero'
|
23
24
|
|
24
25
|
instance = TransferZero::Document.new(upload: data:image/png;base64,iVBORw0KGg...lFTkSuQmCC,
|
26
|
+
url: https://bitpesa-documents.amazonaws.com/document.pdf,
|
25
27
|
upload_file_name: example.png,
|
26
28
|
metadata: {},
|
27
29
|
upload_content_type: image/png,
|
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. - `UGX::Mobile` - for Ugandan mobile money payments. - `TZS::Mobile` - for Tanzanian mobile money payments. - `XOF::Mobile` - for Senegalese mobile money payments. - `XOF::Bank` - for Senegalese bank account payments.
|
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. - `UGX::Mobile` - for Ugandan mobile money payments. - `TZS::Mobile` - for Tanzanian mobile money payments. - `XOF::Mobile` - for Senegalese mobile money payments. - `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]
|
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::PayoutMethodCashProviderEnum
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
|
8
|
+
## Code Sample
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'TransferZero'
|
12
|
+
|
13
|
+
instance = TransferZero::PayoutMethodCashProviderEnum.new()
|
14
|
+
```
|
15
|
+
|
16
|
+
|
data/docs/PayoutMethodDetails.md
CHANGED
@@ -14,6 +14,10 @@ Name | Type | Description | Notes
|
|
14
14
|
**iban** | **String** | |
|
15
15
|
**bank_name** | **String** | |
|
16
16
|
**bank_country** | **String** | |
|
17
|
+
**identity_card_id** | **String** | | [optional]
|
18
|
+
**identity_card_type** | [**PayoutMethodIdentityCardTypeEnum**](PayoutMethodIdentityCardTypeEnum.md) | | [optional]
|
19
|
+
**cash_provider** | [**PayoutMethodCashProviderEnum**](PayoutMethodCashProviderEnum.md) | | [optional]
|
20
|
+
**sort_code** | **String** | | [optional]
|
17
21
|
**bic** | **String** | | [optional]
|
18
22
|
**sender_identity_card_type** | [**PayoutMethodIdentityCardTypeEnum**](PayoutMethodIdentityCardTypeEnum.md) | |
|
19
23
|
**sender_identity_card_id** | **String** | |
|
@@ -21,11 +25,14 @@ Name | Type | Description | Notes
|
|
21
25
|
**sender_country_of_birth** | **String** | |
|
22
26
|
**sender_gender** | [**PayoutMethodGenderEnum**](PayoutMethodGenderEnum.md) | |
|
23
27
|
**reason** | **String** | | [optional]
|
24
|
-
**identity_card_type** | [**PayoutMethodIdentityCardTypeEnum**](PayoutMethodIdentityCardTypeEnum.md) | | [optional]
|
25
|
-
**identity_card_id** | **String** | | [optional]
|
26
28
|
**reference** | **String** | | [optional]
|
27
29
|
**name** | **String** | |
|
28
30
|
**address** | **String** | |
|
31
|
+
**street** | **String** | |
|
32
|
+
**postal_code** | **String** | |
|
33
|
+
**city** | **String** | |
|
34
|
+
**email** | **String** | | [optional]
|
35
|
+
**transfer_reason_code** | **String** | | [optional]
|
29
36
|
|
30
37
|
## Code Sample
|
31
38
|
|
@@ -42,6 +49,10 @@ instance = TransferZero::PayoutMethodDetails.new(first_name: null,
|
|
42
49
|
iban: null,
|
43
50
|
bank_name: null,
|
44
51
|
bank_country: null,
|
52
|
+
identity_card_id: null,
|
53
|
+
identity_card_type: null,
|
54
|
+
cash_provider: null,
|
55
|
+
sort_code: null,
|
45
56
|
bic: null,
|
46
57
|
sender_identity_card_type: null,
|
47
58
|
sender_identity_card_id: null,
|
@@ -49,11 +60,14 @@ instance = TransferZero::PayoutMethodDetails.new(first_name: null,
|
|
49
60
|
sender_country_of_birth: null,
|
50
61
|
sender_gender: null,
|
51
62
|
reason: null,
|
52
|
-
identity_card_type: null,
|
53
|
-
identity_card_id: null,
|
54
63
|
reference: null,
|
55
64
|
name: null,
|
56
|
-
address: null
|
65
|
+
address: null,
|
66
|
+
street: null,
|
67
|
+
postal_code: null,
|
68
|
+
city: null,
|
69
|
+
email: null,
|
70
|
+
transfer_reason_code: null)
|
57
71
|
```
|
58
72
|
|
59
73
|
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# TransferZero::PayoutMethodDetailsGBPBank
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**first_name** | **String** | |
|
8
|
+
**last_name** | **String** | |
|
9
|
+
**bank_name** | **String** | | [optional]
|
10
|
+
**bank_account** | **String** | | [optional]
|
11
|
+
**sort_code** | **String** | | [optional]
|
12
|
+
**iban** | **String** | | [optional]
|
13
|
+
**bic** | **String** | | [optional]
|
14
|
+
|
15
|
+
## Code Sample
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'TransferZero'
|
19
|
+
|
20
|
+
instance = TransferZero::PayoutMethodDetailsGBPBank.new(first_name: null,
|
21
|
+
last_name: null,
|
22
|
+
bank_name: null,
|
23
|
+
bank_account: null,
|
24
|
+
sort_code: null,
|
25
|
+
iban: null,
|
26
|
+
bic: null)
|
27
|
+
```
|
28
|
+
|
29
|
+
|
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**first_name** | **String** | |
|
8
8
|
**last_name** | **String** | |
|
9
|
-
**bank_name** | **String** | |
|
9
|
+
**bank_name** | **String** | | [optional]
|
10
10
|
**iban** | **String** | |
|
11
11
|
**bic** | **String** | | [optional]
|
12
12
|
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**first_name** | **String** | |
|
8
8
|
**last_name** | **String** | |
|
9
9
|
**phone_number** | **String** | |
|
10
|
+
**mobile_provider** | [**PayoutMethodMobileProviderEnum**](PayoutMethodMobileProviderEnum.md) | | [optional]
|
10
11
|
|
11
12
|
## Code Sample
|
12
13
|
|
@@ -15,7 +16,8 @@ require 'TransferZero'
|
|
15
16
|
|
16
17
|
instance = TransferZero::PayoutMethodDetailsMobile.new(first_name: null,
|
17
18
|
last_name: null,
|
18
|
-
phone_number: null
|
19
|
+
phone_number: null,
|
20
|
+
mobile_provider: null)
|
19
21
|
```
|
20
22
|
|
21
23
|
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# TransferZero::PayoutMethodDetailsXOFCash
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**first_name** | **String** | |
|
8
|
+
**last_name** | **String** | |
|
9
|
+
**identity_card_id** | **String** | | [optional]
|
10
|
+
**identity_card_type** | [**PayoutMethodIdentityCardTypeEnum**](PayoutMethodIdentityCardTypeEnum.md) | | [optional]
|
11
|
+
**phone_number** | **String** | |
|
12
|
+
**cash_provider** | [**PayoutMethodCashProviderEnum**](PayoutMethodCashProviderEnum.md) | | [optional]
|
13
|
+
|
14
|
+
## Code Sample
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
require 'TransferZero'
|
18
|
+
|
19
|
+
instance = TransferZero::PayoutMethodDetailsXOFCash.new(first_name: null,
|
20
|
+
last_name: null,
|
21
|
+
identity_card_id: null,
|
22
|
+
identity_card_type: null,
|
23
|
+
phone_number: null,
|
24
|
+
cash_provider: null)
|
25
|
+
```
|
26
|
+
|
27
|
+
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# TransferZero::PayoutMethodDetailsZARBank
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**first_name** | **String** | |
|
8
|
+
**last_name** | **String** | |
|
9
|
+
**street** | **String** | |
|
10
|
+
**postal_code** | **String** | |
|
11
|
+
**city** | **String** | |
|
12
|
+
**email** | **String** | | [optional]
|
13
|
+
**bank_code** | **String** | |
|
14
|
+
**bank_account** | **String** | |
|
15
|
+
**phone_number** | **String** | |
|
16
|
+
**transfer_reason_code** | **String** | | [optional]
|
17
|
+
|
18
|
+
## Code Sample
|
19
|
+
|
20
|
+
```ruby
|
21
|
+
require 'TransferZero'
|
22
|
+
|
23
|
+
instance = TransferZero::PayoutMethodDetailsZARBank.new(first_name: null,
|
24
|
+
last_name: null,
|
25
|
+
street: null,
|
26
|
+
postal_code: null,
|
27
|
+
city: null,
|
28
|
+
email: null,
|
29
|
+
bank_code: null,
|
30
|
+
bank_account: null,
|
31
|
+
phone_number: null,
|
32
|
+
transfer_reason_code: null)
|
33
|
+
```
|
34
|
+
|
35
|
+
|