increase 1.353.0 → 1.355.0
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/README.md +1 -1
- data/lib/increase/client.rb +18 -0
- data/lib/increase/models/ach_transfer.rb +3 -3
- data/lib/increase/models/beneficial_owner_create_params.rb +1 -1
- data/lib/increase/models/beneficial_owner_update_params.rb +1 -1
- data/lib/increase/models/card_create_details_token_params.rb +22 -0
- data/lib/increase/models/card_details_token.rb +57 -0
- data/lib/increase/models/card_payment.rb +29 -1
- data/lib/increase/models/declined_transaction.rb +3 -0
- data/lib/increase/models/digital_wallet_token.rb +18 -0
- data/lib/increase/models/digital_wallet_token_request.rb +307 -0
- data/lib/increase/models/digital_wallet_token_request_list_params.rb +99 -0
- data/lib/increase/models/digital_wallet_token_request_retrieve_params.rb +22 -0
- data/lib/increase/models/digital_wallet_token_transition_params.rb +48 -0
- data/lib/increase/models/entity.rb +35 -7
- data/lib/increase/models/entity_beneficial_owner.rb +1 -1
- data/lib/increase/models/entity_create_params.rb +1 -1
- data/lib/increase/models/export.rb +19 -19
- data/lib/increase/models/export_create_params.rb +15 -15
- data/lib/increase/models/export_list_params.rb +19 -19
- data/lib/increase/models/inbound_real_time_payments_request_for_payment.rb +318 -0
- data/lib/increase/models/inbound_real_time_payments_requests_for_payment_list_params.rb +113 -0
- data/lib/increase/models/inbound_real_time_payments_requests_for_payment_retrieve_params.rb +25 -0
- data/lib/increase/models/inbound_wire_transfer.rb +10 -1
- data/lib/increase/models/physical_check_batch.rb +266 -0
- data/lib/increase/models/physical_check_batch_cancel_params.rb +22 -0
- data/lib/increase/models/physical_check_batch_complete_params.rb +22 -0
- data/lib/increase/models/physical_check_batch_create_params.rb +189 -0
- data/lib/increase/models/real_time_decision.rb +9 -0
- data/lib/increase/models/real_time_decision_action_params.rb +3 -0
- data/lib/increase/models/real_time_payments_request_for_payment.rb +658 -0
- data/lib/increase/models/real_time_payments_requests_for_payment_cancel_params.rb +64 -0
- data/lib/increase/models/real_time_payments_requests_for_payment_create_params.rb +194 -0
- data/lib/increase/models/real_time_payments_requests_for_payment_list_params.rb +117 -0
- data/lib/increase/models/real_time_payments_requests_for_payment_retrieve_params.rb +23 -0
- data/lib/increase/models/simulations/digital_wallet_token_request_create_response.rb +9 -0
- data/lib/increase/models/simulations/entity_update_validation_params.rb +3 -0
- data/lib/increase/models/simulations/fednow_transfer_complete_params.rb +103 -0
- data/lib/increase/models/simulations/inbound_check_deposit_accept_params.rb +24 -0
- data/lib/increase/models/transaction.rb +36 -2
- data/lib/increase/models.rb +42 -0
- data/lib/increase/resources/cards.rb +23 -0
- data/lib/increase/resources/digital_wallet_token_requests.rb +68 -0
- data/lib/increase/resources/digital_wallet_tokens.rb +28 -0
- data/lib/increase/resources/inbound_real_time_payments_requests_for_payment.rb +79 -0
- data/lib/increase/resources/physical_check_batches.rb +86 -0
- data/lib/increase/resources/real_time_payments_requests_for_payment.rb +159 -0
- data/lib/increase/resources/simulations/fednow_transfers.rb +43 -0
- data/lib/increase/resources/simulations/inbound_check_deposits.rb +22 -0
- data/lib/increase/resources/simulations.rb +4 -0
- data/lib/increase/version.rb +1 -1
- data/lib/increase.rb +25 -0
- data/rbi/increase/client.rbi +14 -0
- data/rbi/increase/models/ach_transfer.rbi +3 -3
- data/rbi/increase/models/beneficial_owner_create_params.rbi +1 -1
- data/rbi/increase/models/beneficial_owner_update_params.rbi +1 -1
- data/rbi/increase/models/card_create_details_token_params.rbi +43 -0
- data/rbi/increase/models/card_details_token.rbi +85 -0
- data/rbi/increase/models/card_payment.rbi +59 -0
- data/rbi/increase/models/declined_transaction.rbi +7 -0
- data/rbi/increase/models/digital_wallet_token.rbi +42 -0
- data/rbi/increase/models/digital_wallet_token_request.rbi +586 -0
- data/rbi/increase/models/digital_wallet_token_request_list_params.rbi +171 -0
- data/rbi/increase/models/digital_wallet_token_request_retrieve_params.rbi +46 -0
- data/rbi/increase/models/digital_wallet_token_transition_params.rbi +100 -0
- data/rbi/increase/models/entity.rbi +71 -6
- data/rbi/increase/models/entity_beneficial_owner.rbi +1 -1
- data/rbi/increase/models/entity_create_params.rbi +1 -1
- data/rbi/increase/models/export.rbi +32 -32
- data/rbi/increase/models/export_create_params.rbi +29 -29
- data/rbi/increase/models/export_list_params.rbi +37 -37
- data/rbi/increase/models/inbound_real_time_payments_request_for_payment.rbi +442 -0
- data/rbi/increase/models/inbound_real_time_payments_requests_for_payment_list_params.rbi +188 -0
- data/rbi/increase/models/inbound_real_time_payments_requests_for_payment_retrieve_params.rbi +48 -0
- data/rbi/increase/models/inbound_wire_transfer.rbi +8 -0
- data/rbi/increase/models/physical_check_batch.rbi +382 -0
- data/rbi/increase/models/physical_check_batch_cancel_params.rbi +46 -0
- data/rbi/increase/models/physical_check_batch_complete_params.rbi +46 -0
- data/rbi/increase/models/physical_check_batch_create_params.rbi +326 -0
- data/rbi/increase/models/real_time_decision.rbi +21 -0
- data/rbi/increase/models/real_time_decision_action_params.rbi +7 -0
- data/rbi/increase/models/real_time_payments_request_for_payment.rbi +1166 -0
- data/rbi/increase/models/real_time_payments_requests_for_payment_cancel_params.rbi +136 -0
- data/rbi/increase/models/real_time_payments_requests_for_payment_create_params.rbi +303 -0
- data/rbi/increase/models/real_time_payments_requests_for_payment_list_params.rbi +192 -0
- data/rbi/increase/models/real_time_payments_requests_for_payment_retrieve_params.rbi +46 -0
- data/rbi/increase/models/simulations/digital_wallet_token_request_create_response.rbi +21 -0
- data/rbi/increase/models/simulations/entity_update_validation_params.rbi +7 -0
- data/rbi/increase/models/simulations/fednow_transfer_complete_params.rbi +243 -0
- data/rbi/increase/models/simulations/inbound_check_deposit_accept_params.rbi +48 -0
- data/rbi/increase/models/transaction.rbi +60 -0
- data/rbi/increase/models.rbi +50 -0
- data/rbi/increase/resources/cards.rbi +17 -0
- data/rbi/increase/resources/digital_wallet_token_requests.rbi +52 -0
- data/rbi/increase/resources/digital_wallet_tokens.rbi +21 -0
- data/rbi/increase/resources/inbound_real_time_payments_requests_for_payment.rbi +62 -0
- data/rbi/increase/resources/physical_check_batches.rbi +66 -0
- data/rbi/increase/resources/real_time_payments_requests_for_payment.rbi +127 -0
- data/rbi/increase/resources/simulations/fednow_transfers.rbi +34 -0
- data/rbi/increase/resources/simulations/inbound_check_deposits.rbi +16 -0
- data/rbi/increase/resources/simulations.rbi +3 -0
- data/sig/increase/client.rbs +8 -0
- data/sig/increase/models/ach_transfer.rbs +4 -4
- data/sig/increase/models/beneficial_owner_create_params.rbs +1 -1
- data/sig/increase/models/beneficial_owner_update_params.rbs +1 -1
- data/sig/increase/models/card_create_details_token_params.rbs +23 -0
- data/sig/increase/models/card_details_token.rbs +40 -0
- data/sig/increase/models/card_payment.rbs +23 -0
- data/sig/increase/models/declined_transaction.rbs +4 -0
- data/sig/increase/models/digital_wallet_token.rbs +36 -3
- data/sig/increase/models/digital_wallet_token_request.rbs +260 -0
- data/sig/increase/models/digital_wallet_token_request_list_params.rbs +86 -0
- data/sig/increase/models/digital_wallet_token_request_retrieve_params.rbs +24 -0
- data/sig/increase/models/digital_wallet_token_transition_params.rbs +48 -0
- data/sig/increase/models/entity.rbs +25 -6
- data/sig/increase/models/entity_beneficial_owner.rbs +1 -1
- data/sig/increase/models/entity_create_params.rbs +1 -1
- data/sig/increase/models/export.rbs +28 -28
- data/sig/increase/models/export_create_params.rbs +22 -22
- data/sig/increase/models/export_list_params.rbs +28 -28
- data/sig/increase/models/inbound_real_time_payments_request_for_payment.rbs +200 -0
- data/sig/increase/models/inbound_real_time_payments_requests_for_payment_list_params.rbs +93 -0
- data/sig/increase/models/inbound_real_time_payments_requests_for_payment_retrieve_params.rbs +24 -0
- data/sig/increase/models/inbound_wire_transfer.rbs +5 -0
- data/sig/increase/models/physical_check_batch.rbs +193 -0
- data/sig/increase/models/physical_check_batch_cancel_params.rbs +24 -0
- data/sig/increase/models/physical_check_batch_complete_params.rbs +24 -0
- data/sig/increase/models/physical_check_batch_create_params.rbs +156 -0
- data/sig/increase/models/real_time_decision.rbs +14 -2
- data/sig/increase/models/real_time_decision_action_params.rbs +4 -0
- data/sig/increase/models/real_time_payments_request_for_payment.rbs +513 -0
- data/sig/increase/models/real_time_payments_requests_for_payment_cancel_params.rbs +66 -0
- data/sig/increase/models/real_time_payments_requests_for_payment_create_params.rbs +149 -0
- data/sig/increase/models/real_time_payments_requests_for_payment_list_params.rbs +93 -0
- data/sig/increase/models/real_time_payments_requests_for_payment_retrieve_params.rbs +24 -0
- data/sig/increase/models/simulations/digital_wallet_token_request_create_response.rbs +12 -0
- data/sig/increase/models/simulations/entity_update_validation_params.rbs +4 -0
- data/sig/increase/models/simulations/fednow_transfer_complete_params.rbs +122 -0
- data/sig/increase/models/simulations/inbound_check_deposit_accept_params.rbs +26 -0
- data/sig/increase/models/transaction.rbs +24 -0
- data/sig/increase/models.rbs +36 -0
- data/sig/increase/resources/cards.rbs +5 -0
- data/sig/increase/resources/digital_wallet_token_requests.rbs +20 -0
- data/sig/increase/resources/digital_wallet_tokens.rbs +6 -0
- data/sig/increase/resources/inbound_real_time_payments_requests_for_payment.rbs +21 -0
- data/sig/increase/resources/physical_check_batches.rbs +24 -0
- data/sig/increase/resources/real_time_payments_requests_for_payment.rbs +41 -0
- data/sig/increase/resources/simulations/fednow_transfers.rbs +15 -0
- data/sig/increase/resources/simulations/inbound_check_deposits.rbs +5 -0
- data/sig/increase/resources/simulations.rbs +2 -0
- metadata +77 -2
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Resources
|
|
5
|
+
class PhysicalCheckBatches
|
|
6
|
+
# Create a Physical Check Batch
|
|
7
|
+
sig do
|
|
8
|
+
params(
|
|
9
|
+
mailing_address:
|
|
10
|
+
Increase::PhysicalCheckBatchCreateParams::MailingAddress::OrHash,
|
|
11
|
+
return_address:
|
|
12
|
+
Increase::PhysicalCheckBatchCreateParams::ReturnAddress::OrHash,
|
|
13
|
+
shipping_method:
|
|
14
|
+
Increase::PhysicalCheckBatchCreateParams::ShippingMethod::OrSymbol,
|
|
15
|
+
request_options: Increase::RequestOptions::OrHash
|
|
16
|
+
).returns(Increase::PhysicalCheckBatch)
|
|
17
|
+
end
|
|
18
|
+
def create(
|
|
19
|
+
# Details for where the parcel will be mailed.
|
|
20
|
+
mailing_address:,
|
|
21
|
+
# Details for where the parcel should return if it is unable to be delivered.
|
|
22
|
+
return_address:,
|
|
23
|
+
# How to ship the batch.
|
|
24
|
+
#
|
|
25
|
+
# Defaults to `usps_first_class`.
|
|
26
|
+
shipping_method: nil,
|
|
27
|
+
request_options: {}
|
|
28
|
+
)
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
# Cancel a pending Physical Check Batch, which cancels all of its related checks.
|
|
32
|
+
sig do
|
|
33
|
+
params(
|
|
34
|
+
physical_check_batch_id: String,
|
|
35
|
+
request_options: Increase::RequestOptions::OrHash
|
|
36
|
+
).returns(Increase::PhysicalCheckBatch)
|
|
37
|
+
end
|
|
38
|
+
def cancel(
|
|
39
|
+
# The identifier of the pending Physical Check Batch to cancel.
|
|
40
|
+
physical_check_batch_id,
|
|
41
|
+
request_options: {}
|
|
42
|
+
)
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
# Completing a Physical Check Batch closes it to new Physical Checks and begins
|
|
46
|
+
# the process of printing and mailing it.
|
|
47
|
+
sig do
|
|
48
|
+
params(
|
|
49
|
+
physical_check_batch_id: String,
|
|
50
|
+
request_options: Increase::RequestOptions::OrHash
|
|
51
|
+
).returns(Increase::PhysicalCheckBatch)
|
|
52
|
+
end
|
|
53
|
+
def complete(
|
|
54
|
+
# The identifier of the Physical Check Batch to complete.
|
|
55
|
+
physical_check_batch_id,
|
|
56
|
+
request_options: {}
|
|
57
|
+
)
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
# @api private
|
|
61
|
+
sig { params(client: Increase::Client).returns(T.attached_class) }
|
|
62
|
+
def self.new(client:)
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
end
|
|
66
|
+
end
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Resources
|
|
5
|
+
class RealTimePaymentsRequestsForPayment
|
|
6
|
+
# Create a Real-Time Payments Request for Payment
|
|
7
|
+
sig do
|
|
8
|
+
params(
|
|
9
|
+
account_number_id: String,
|
|
10
|
+
amount: Integer,
|
|
11
|
+
debtor:
|
|
12
|
+
Increase::RealTimePaymentsRequestsForPaymentCreateParams::Debtor::OrHash,
|
|
13
|
+
debtor_account_number: String,
|
|
14
|
+
debtor_routing_number: String,
|
|
15
|
+
expires_at: Time,
|
|
16
|
+
requested_execution_at: Time,
|
|
17
|
+
unstructured_remittance_information: String,
|
|
18
|
+
creditor_name: String,
|
|
19
|
+
request_options: Increase::RequestOptions::OrHash
|
|
20
|
+
).returns(Increase::RealTimePaymentsRequestForPayment)
|
|
21
|
+
end
|
|
22
|
+
def create(
|
|
23
|
+
# The identifier of the Account Number where the funds will land.
|
|
24
|
+
account_number_id:,
|
|
25
|
+
# The requested amount in USD cents. Must be positive.
|
|
26
|
+
amount:,
|
|
27
|
+
# Details of the person being requested to pay.
|
|
28
|
+
debtor:,
|
|
29
|
+
# The debtor's account number, which the funds will be requested from.
|
|
30
|
+
debtor_account_number:,
|
|
31
|
+
# The debtor's American Bankers' Association (ABA) Routing Transit Number (RTN).
|
|
32
|
+
debtor_routing_number:,
|
|
33
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time after which
|
|
34
|
+
# the request for payment is no longer valid. After this time the debtor's bank
|
|
35
|
+
# should no longer allow the debtor to pay it. Must not be before
|
|
36
|
+
# `requested_execution_at`.
|
|
37
|
+
expires_at:,
|
|
38
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time by which
|
|
39
|
+
# you are requesting the payment to be made.
|
|
40
|
+
requested_execution_at:,
|
|
41
|
+
# Unstructured information that will show on the recipient's bank statement.
|
|
42
|
+
unstructured_remittance_information:,
|
|
43
|
+
# The name of the creditor requesting the payment. If not provided, defaults to
|
|
44
|
+
# the name of the account's entity.
|
|
45
|
+
creditor_name: nil,
|
|
46
|
+
request_options: {}
|
|
47
|
+
)
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
# Retrieve a Real-Time Payments Request for Payment
|
|
51
|
+
sig do
|
|
52
|
+
params(
|
|
53
|
+
real_time_payments_request_for_payment_id: String,
|
|
54
|
+
request_options: Increase::RequestOptions::OrHash
|
|
55
|
+
).returns(Increase::RealTimePaymentsRequestForPayment)
|
|
56
|
+
end
|
|
57
|
+
def retrieve(
|
|
58
|
+
# The identifier of the Real-Time Payments Request for Payment.
|
|
59
|
+
real_time_payments_request_for_payment_id,
|
|
60
|
+
request_options: {}
|
|
61
|
+
)
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
# List Real-Time Payments Requests for Payment
|
|
65
|
+
sig do
|
|
66
|
+
params(
|
|
67
|
+
account_id: String,
|
|
68
|
+
created_at:
|
|
69
|
+
Increase::RealTimePaymentsRequestsForPaymentListParams::CreatedAt::OrHash,
|
|
70
|
+
cursor: String,
|
|
71
|
+
idempotency_key: String,
|
|
72
|
+
limit: Integer,
|
|
73
|
+
request_options: Increase::RequestOptions::OrHash
|
|
74
|
+
).returns(
|
|
75
|
+
Increase::Internal::Page[Increase::RealTimePaymentsRequestForPayment]
|
|
76
|
+
)
|
|
77
|
+
end
|
|
78
|
+
def list(
|
|
79
|
+
# Filter Real-Time Payments Requests for Payment to those destined to the
|
|
80
|
+
# specified Account.
|
|
81
|
+
account_id: nil,
|
|
82
|
+
created_at: nil,
|
|
83
|
+
# Return the page of entries after this one.
|
|
84
|
+
cursor: nil,
|
|
85
|
+
# Filter records to the one with the specified `idempotency_key` you chose for
|
|
86
|
+
# that object. This value is unique across Increase and is used to ensure that a
|
|
87
|
+
# request is only processed once. Learn more about
|
|
88
|
+
# [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
89
|
+
idempotency_key: nil,
|
|
90
|
+
# Limit the size of the list that is returned. The default (and maximum) is 100
|
|
91
|
+
# objects.
|
|
92
|
+
#
|
|
93
|
+
# Defaults to `100`.
|
|
94
|
+
limit: nil,
|
|
95
|
+
request_options: {}
|
|
96
|
+
)
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
# Cancels a Real-Time Payments Request for Payment that is still awaiting payment.
|
|
100
|
+
sig do
|
|
101
|
+
params(
|
|
102
|
+
real_time_payments_request_for_payment_id: String,
|
|
103
|
+
additional_information: String,
|
|
104
|
+
reason:
|
|
105
|
+
Increase::RealTimePaymentsRequestsForPaymentCancelParams::Reason::OrSymbol,
|
|
106
|
+
request_options: Increase::RequestOptions::OrHash
|
|
107
|
+
).returns(Increase::RealTimePaymentsRequestForPayment)
|
|
108
|
+
end
|
|
109
|
+
def cancel(
|
|
110
|
+
# The identifier of the Real-Time Payments Request for Payment to cancel.
|
|
111
|
+
real_time_payments_request_for_payment_id,
|
|
112
|
+
# Additional information about the cancellation to pass on to the recipient bank.
|
|
113
|
+
additional_information: nil,
|
|
114
|
+
# The reason the request for payment is being canceled. Defaults to
|
|
115
|
+
# `requested_by_customer`.
|
|
116
|
+
reason: nil,
|
|
117
|
+
request_options: {}
|
|
118
|
+
)
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
# @api private
|
|
122
|
+
sig { params(client: Increase::Client).returns(T.attached_class) }
|
|
123
|
+
def self.new(client:)
|
|
124
|
+
end
|
|
125
|
+
end
|
|
126
|
+
end
|
|
127
|
+
end
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Resources
|
|
5
|
+
class Simulations
|
|
6
|
+
class FednowTransfers
|
|
7
|
+
# Simulates submission of a [FedNow Transfer](#fednow-transfers) and handling the
|
|
8
|
+
# response from the destination financial institution. This transfer must first
|
|
9
|
+
# have a `status` of `pending_submitting`.
|
|
10
|
+
sig do
|
|
11
|
+
params(
|
|
12
|
+
fednow_transfer_id: String,
|
|
13
|
+
rejection:
|
|
14
|
+
Increase::Simulations::FednowTransferCompleteParams::Rejection::OrHash,
|
|
15
|
+
request_options: Increase::RequestOptions::OrHash
|
|
16
|
+
).returns(Increase::FednowTransfer)
|
|
17
|
+
end
|
|
18
|
+
def complete(
|
|
19
|
+
# The identifier of the FedNow Transfer you wish to complete.
|
|
20
|
+
fednow_transfer_id,
|
|
21
|
+
# If set, the simulation will reject the transfer.
|
|
22
|
+
rejection: nil,
|
|
23
|
+
request_options: {}
|
|
24
|
+
)
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
# @api private
|
|
28
|
+
sig { params(client: Increase::Client).returns(T.attached_class) }
|
|
29
|
+
def self.new(client:)
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
@@ -36,6 +36,22 @@ module Increase
|
|
|
36
36
|
)
|
|
37
37
|
end
|
|
38
38
|
|
|
39
|
+
# Simulates the acceptance of an [Inbound Check Deposit](#inbound-check-deposits),
|
|
40
|
+
# creating a Transaction as a result. The Inbound Check Deposit must first have a
|
|
41
|
+
# `status` of `pending`.
|
|
42
|
+
sig do
|
|
43
|
+
params(
|
|
44
|
+
inbound_check_deposit_id: String,
|
|
45
|
+
request_options: Increase::RequestOptions::OrHash
|
|
46
|
+
).returns(Increase::InboundCheckDeposit)
|
|
47
|
+
end
|
|
48
|
+
def accept(
|
|
49
|
+
# The identifier of the Inbound Check Deposit you wish to accept.
|
|
50
|
+
inbound_check_deposit_id,
|
|
51
|
+
request_options: {}
|
|
52
|
+
)
|
|
53
|
+
end
|
|
54
|
+
|
|
39
55
|
# Simulates an adjustment on an Inbound Check Deposit. The Inbound Check Deposit
|
|
40
56
|
# must have a `status` of `accepted`.
|
|
41
57
|
sig do
|
|
@@ -93,6 +93,9 @@ module Increase
|
|
|
93
93
|
end
|
|
94
94
|
attr_reader :inbound_real_time_payments_transfers
|
|
95
95
|
|
|
96
|
+
sig { returns(Increase::Resources::Simulations::FednowTransfers) }
|
|
97
|
+
attr_reader :fednow_transfers
|
|
98
|
+
|
|
96
99
|
sig { returns(Increase::Resources::Simulations::InboundFednowTransfers) }
|
|
97
100
|
attr_reader :inbound_fednow_transfers
|
|
98
101
|
|
data/sig/increase/client.rbs
CHANGED
|
@@ -39,6 +39,8 @@ module Increase
|
|
|
39
39
|
|
|
40
40
|
attr_reader digital_wallet_tokens: Increase::Resources::DigitalWalletTokens
|
|
41
41
|
|
|
42
|
+
attr_reader digital_wallet_token_requests: Increase::Resources::DigitalWalletTokenRequests
|
|
43
|
+
|
|
42
44
|
attr_reader transactions: Increase::Resources::Transactions
|
|
43
45
|
|
|
44
46
|
attr_reader pending_transactions: Increase::Resources::PendingTransactions
|
|
@@ -67,6 +69,10 @@ module Increase
|
|
|
67
69
|
|
|
68
70
|
attr_reader inbound_real_time_payments_transfers: Increase::Resources::InboundRealTimePaymentsTransfers
|
|
69
71
|
|
|
72
|
+
attr_reader real_time_payments_requests_for_payment: Increase::Resources::RealTimePaymentsRequestsForPayment
|
|
73
|
+
|
|
74
|
+
attr_reader inbound_real_time_payments_requests_for_payment: Increase::Resources::InboundRealTimePaymentsRequestsForPayment
|
|
75
|
+
|
|
70
76
|
attr_reader fednow_transfers: Increase::Resources::FednowTransfers
|
|
71
77
|
|
|
72
78
|
attr_reader inbound_fednow_transfers: Increase::Resources::InboundFednowTransfers
|
|
@@ -129,6 +135,8 @@ module Increase
|
|
|
129
135
|
|
|
130
136
|
attr_reader card_validations: Increase::Resources::CardValidations
|
|
131
137
|
|
|
138
|
+
attr_reader physical_check_batches: Increase::Resources::PhysicalCheckBatches
|
|
139
|
+
|
|
132
140
|
attr_reader simulations: Increase::Resources::Simulations
|
|
133
141
|
|
|
134
142
|
private def auth_headers: -> ::Hash[String, String]
|
|
@@ -191,14 +191,14 @@ module Increase
|
|
|
191
191
|
type: Increase::Models::ACHTransfer::type_
|
|
192
192
|
}
|
|
193
193
|
|
|
194
|
-
type acknowledgement = { acknowledged_at:
|
|
194
|
+
type acknowledgement = { acknowledged_at: Time }
|
|
195
195
|
|
|
196
196
|
class Acknowledgement < Increase::Internal::Type::BaseModel
|
|
197
|
-
attr_accessor acknowledged_at:
|
|
197
|
+
attr_accessor acknowledged_at: Time
|
|
198
198
|
|
|
199
|
-
def initialize: (acknowledged_at:
|
|
199
|
+
def initialize: (acknowledged_at: Time) -> void
|
|
200
200
|
|
|
201
|
-
def to_hash: -> { acknowledged_at:
|
|
201
|
+
def to_hash: -> { acknowledged_at: Time }
|
|
202
202
|
end
|
|
203
203
|
|
|
204
204
|
type addenda =
|
|
@@ -187,7 +187,7 @@ module Increase
|
|
|
187
187
|
# A social security number.
|
|
188
188
|
SOCIAL_SECURITY_NUMBER: :social_security_number
|
|
189
189
|
|
|
190
|
-
# The last four digits of a social security number.
|
|
190
|
+
# The last four digits of a social security number. Not all programs can use this method.
|
|
191
191
|
SOCIAL_SECURITY_NUMBER_LAST4: :social_security_number_last4
|
|
192
192
|
|
|
193
193
|
# An individual taxpayer identification number (ITIN).
|
|
@@ -180,7 +180,7 @@ module Increase
|
|
|
180
180
|
# A social security number.
|
|
181
181
|
SOCIAL_SECURITY_NUMBER: :social_security_number
|
|
182
182
|
|
|
183
|
-
# The last four digits of a social security number.
|
|
183
|
+
# The last four digits of a social security number. Not all programs can use this method.
|
|
184
184
|
SOCIAL_SECURITY_NUMBER_LAST4: :social_security_number_last4
|
|
185
185
|
|
|
186
186
|
# An individual taxpayer identification number (ITIN).
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
module Increase
|
|
2
|
+
module Models
|
|
3
|
+
type card_create_details_token_params =
|
|
4
|
+
{ card_id: String } & Increase::Internal::Type::request_parameters
|
|
5
|
+
|
|
6
|
+
class CardCreateDetailsTokenParams < Increase::Internal::Type::BaseModel
|
|
7
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Increase::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
attr_accessor card_id: String
|
|
11
|
+
|
|
12
|
+
def initialize: (
|
|
13
|
+
card_id: String,
|
|
14
|
+
?request_options: Increase::request_opts
|
|
15
|
+
) -> void
|
|
16
|
+
|
|
17
|
+
def to_hash: -> {
|
|
18
|
+
card_id: String,
|
|
19
|
+
request_options: Increase::RequestOptions
|
|
20
|
+
}
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
module Increase
|
|
2
|
+
module Models
|
|
3
|
+
type card_details_token =
|
|
4
|
+
{
|
|
5
|
+
token: String,
|
|
6
|
+
expires_at: Time,
|
|
7
|
+
type: Increase::Models::CardDetailsToken::type_
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
class CardDetailsToken < Increase::Internal::Type::BaseModel
|
|
11
|
+
attr_accessor token: String
|
|
12
|
+
|
|
13
|
+
attr_accessor expires_at: Time
|
|
14
|
+
|
|
15
|
+
attr_accessor type: Increase::Models::CardDetailsToken::type_
|
|
16
|
+
|
|
17
|
+
def initialize: (
|
|
18
|
+
token: String,
|
|
19
|
+
expires_at: Time,
|
|
20
|
+
type: Increase::Models::CardDetailsToken::type_
|
|
21
|
+
) -> void
|
|
22
|
+
|
|
23
|
+
def to_hash: -> {
|
|
24
|
+
token: String,
|
|
25
|
+
expires_at: Time,
|
|
26
|
+
type: Increase::Models::CardDetailsToken::type_
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
type type_ = :card_details_token
|
|
30
|
+
|
|
31
|
+
module Type
|
|
32
|
+
extend Increase::Internal::Type::Enum
|
|
33
|
+
|
|
34
|
+
CARD_DETAILS_TOKEN: :card_details_token
|
|
35
|
+
|
|
36
|
+
def self?.values: -> ::Array[Increase::Models::CardDetailsToken::type_]
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
@@ -3816,6 +3816,7 @@ module Increase
|
|
|
3816
3816
|
| :exceeds_approval_limit
|
|
3817
3817
|
| :card_temporarily_disabled
|
|
3818
3818
|
| :suspected_fraud
|
|
3819
|
+
| :additional_customer_authentication_required
|
|
3819
3820
|
| :other
|
|
3820
3821
|
|
|
3821
3822
|
module RealTimeDecisionReason
|
|
@@ -3836,6 +3837,9 @@ module Increase
|
|
|
3836
3837
|
# The transaction is suspected to be fraudulent. The merchant may attempt to process the transaction again.
|
|
3837
3838
|
SUSPECTED_FRAUD: :suspected_fraud
|
|
3838
3839
|
|
|
3840
|
+
# Additional customer authentication is required to complete the transaction, such as 3DS.
|
|
3841
|
+
ADDITIONAL_CUSTOMER_AUTHENTICATION_REQUIRED: :additional_customer_authentication_required
|
|
3842
|
+
|
|
3839
3843
|
# The transaction was declined for another reason. The merchant may attempt to process the transaction again. This should be used sparingly.
|
|
3840
3844
|
OTHER: :other
|
|
3841
3845
|
|
|
@@ -6173,6 +6177,7 @@ module Increase
|
|
|
6173
6177
|
merchant_name: String,
|
|
6174
6178
|
merchant_postal_code: String?,
|
|
6175
6179
|
merchant_state: String?,
|
|
6180
|
+
network: Increase::Models::CardPayment::Element::CardRefund::network,
|
|
6176
6181
|
network_identifiers: Increase::CardPayment::Element::CardRefund::NetworkIdentifiers,
|
|
6177
6182
|
presentment_amount: Integer,
|
|
6178
6183
|
presentment_currency: String,
|
|
@@ -6209,6 +6214,8 @@ module Increase
|
|
|
6209
6214
|
|
|
6210
6215
|
attr_accessor merchant_state: String?
|
|
6211
6216
|
|
|
6217
|
+
attr_accessor network: Increase::Models::CardPayment::Element::CardRefund::network
|
|
6218
|
+
|
|
6212
6219
|
attr_accessor network_identifiers: Increase::CardPayment::Element::CardRefund::NetworkIdentifiers
|
|
6213
6220
|
|
|
6214
6221
|
attr_accessor presentment_amount: Integer
|
|
@@ -6237,6 +6244,7 @@ module Increase
|
|
|
6237
6244
|
merchant_name: String,
|
|
6238
6245
|
merchant_postal_code: String?,
|
|
6239
6246
|
merchant_state: String?,
|
|
6247
|
+
network: Increase::Models::CardPayment::Element::CardRefund::network,
|
|
6240
6248
|
network_identifiers: Increase::CardPayment::Element::CardRefund::NetworkIdentifiers,
|
|
6241
6249
|
presentment_amount: Integer,
|
|
6242
6250
|
presentment_currency: String,
|
|
@@ -6260,6 +6268,7 @@ module Increase
|
|
|
6260
6268
|
merchant_name: String,
|
|
6261
6269
|
merchant_postal_code: String?,
|
|
6262
6270
|
merchant_state: String?,
|
|
6271
|
+
network: Increase::Models::CardPayment::Element::CardRefund::network,
|
|
6263
6272
|
network_identifiers: Increase::CardPayment::Element::CardRefund::NetworkIdentifiers,
|
|
6264
6273
|
presentment_amount: Integer,
|
|
6265
6274
|
presentment_currency: String,
|
|
@@ -6351,6 +6360,20 @@ module Increase
|
|
|
6351
6360
|
end
|
|
6352
6361
|
end
|
|
6353
6362
|
|
|
6363
|
+
type network = :visa | :pulse
|
|
6364
|
+
|
|
6365
|
+
module Network
|
|
6366
|
+
extend Increase::Internal::Type::Enum
|
|
6367
|
+
|
|
6368
|
+
# Visa
|
|
6369
|
+
VISA: :visa
|
|
6370
|
+
|
|
6371
|
+
# Pulse
|
|
6372
|
+
PULSE: :pulse
|
|
6373
|
+
|
|
6374
|
+
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardRefund::network]
|
|
6375
|
+
end
|
|
6376
|
+
|
|
6354
6377
|
type network_identifiers =
|
|
6355
6378
|
{
|
|
6356
6379
|
acquirer_business_id: String,
|
|
@@ -1067,6 +1067,7 @@ module Increase
|
|
|
1067
1067
|
| :exceeds_approval_limit
|
|
1068
1068
|
| :card_temporarily_disabled
|
|
1069
1069
|
| :suspected_fraud
|
|
1070
|
+
| :additional_customer_authentication_required
|
|
1070
1071
|
| :other
|
|
1071
1072
|
|
|
1072
1073
|
module RealTimeDecisionReason
|
|
@@ -1087,6 +1088,9 @@ module Increase
|
|
|
1087
1088
|
# The transaction is suspected to be fraudulent. The merchant may attempt to process the transaction again.
|
|
1088
1089
|
SUSPECTED_FRAUD: :suspected_fraud
|
|
1089
1090
|
|
|
1091
|
+
# Additional customer authentication is required to complete the transaction, such as 3DS.
|
|
1092
|
+
ADDITIONAL_CUSTOMER_AUTHENTICATION_REQUIRED: :additional_customer_authentication_required
|
|
1093
|
+
|
|
1090
1094
|
# The transaction was declined for another reason. The merchant may attempt to process the transaction again. This should be used sparingly.
|
|
1091
1095
|
OTHER: :other
|
|
1092
1096
|
|
|
@@ -112,6 +112,9 @@ module Increase
|
|
|
112
112
|
| :webhook_declined
|
|
113
113
|
| :incorrect_card_verification_code
|
|
114
114
|
| :declined_by_token_requestor
|
|
115
|
+
| :group_locked
|
|
116
|
+
| :account_closed
|
|
117
|
+
| :entity_not_active
|
|
115
118
|
|
|
116
119
|
module Reason
|
|
117
120
|
extend Increase::Internal::Type::Enum
|
|
@@ -134,6 +137,15 @@ module Increase
|
|
|
134
137
|
# The tokenization attempt was declined by the token requestor.
|
|
135
138
|
DECLINED_BY_TOKEN_REQUESTOR: :declined_by_token_requestor
|
|
136
139
|
|
|
140
|
+
# The group was locked.
|
|
141
|
+
GROUP_LOCKED: :group_locked
|
|
142
|
+
|
|
143
|
+
# The account has been closed.
|
|
144
|
+
ACCOUNT_CLOSED: :account_closed
|
|
145
|
+
|
|
146
|
+
# The account's entity was not active.
|
|
147
|
+
ENTITY_NOT_ACTIVE: :entity_not_active
|
|
148
|
+
|
|
137
149
|
def self?.values: -> ::Array[Increase::Models::DigitalWalletToken::Decline::reason]
|
|
138
150
|
end
|
|
139
151
|
end
|
|
@@ -227,7 +239,13 @@ module Increase
|
|
|
227
239
|
def to_hash: -> { :first6 => String, :last4 => String }
|
|
228
240
|
end
|
|
229
241
|
|
|
230
|
-
type status =
|
|
242
|
+
type status =
|
|
243
|
+
:active
|
|
244
|
+
| :inactive
|
|
245
|
+
| :suspended
|
|
246
|
+
| :deactivated
|
|
247
|
+
| :declined
|
|
248
|
+
| :pending_transitioning
|
|
231
249
|
|
|
232
250
|
module Status
|
|
233
251
|
extend Increase::Internal::Type::Enum
|
|
@@ -247,10 +265,14 @@ module Increase
|
|
|
247
265
|
# The digital wallet token was declined during provisioning.
|
|
248
266
|
DECLINED: :declined
|
|
249
267
|
|
|
268
|
+
# The digital wallet token is transitioning to a new status and is awaiting confirmation from the card network.
|
|
269
|
+
PENDING_TRANSITIONING: :pending_transitioning
|
|
270
|
+
|
|
250
271
|
def self?.values: -> ::Array[Increase::Models::DigitalWalletToken::status]
|
|
251
272
|
end
|
|
252
273
|
|
|
253
|
-
type token_requestor =
|
|
274
|
+
type token_requestor =
|
|
275
|
+
:apple_pay | :google_pay | :samsung_pay | :garmin_pay | :unknown
|
|
254
276
|
|
|
255
277
|
module TokenRequestor
|
|
256
278
|
extend Increase::Internal::Type::Enum
|
|
@@ -264,6 +286,9 @@ module Increase
|
|
|
264
286
|
# Samsung Pay
|
|
265
287
|
SAMSUNG_PAY: :samsung_pay
|
|
266
288
|
|
|
289
|
+
# Garmin Pay
|
|
290
|
+
GARMIN_PAY: :garmin_pay
|
|
291
|
+
|
|
267
292
|
# Unknown
|
|
268
293
|
UNKNOWN: :unknown
|
|
269
294
|
|
|
@@ -302,7 +327,12 @@ module Increase
|
|
|
302
327
|
}
|
|
303
328
|
|
|
304
329
|
type status =
|
|
305
|
-
:active
|
|
330
|
+
:active
|
|
331
|
+
| :inactive
|
|
332
|
+
| :suspended
|
|
333
|
+
| :deactivated
|
|
334
|
+
| :declined
|
|
335
|
+
| :pending_transitioning
|
|
306
336
|
|
|
307
337
|
module Status
|
|
308
338
|
extend Increase::Internal::Type::Enum
|
|
@@ -322,6 +352,9 @@ module Increase
|
|
|
322
352
|
# The digital wallet token was declined during provisioning.
|
|
323
353
|
DECLINED: :declined
|
|
324
354
|
|
|
355
|
+
# The digital wallet token is transitioning to a new status and is awaiting confirmation from the card network.
|
|
356
|
+
PENDING_TRANSITIONING: :pending_transitioning
|
|
357
|
+
|
|
325
358
|
def self?.values: -> ::Array[Increase::Models::DigitalWalletToken::Update::status]
|
|
326
359
|
end
|
|
327
360
|
end
|