Skip to content

Commit 2b5c32d

Browse files
feat(api): api update
1 parent 5b8f7ad commit 2b5c32d

File tree

4 files changed

+191
-2
lines changed

4 files changed

+191
-2
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 236
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-732196e2e3b5f785aafd5a7035f8683adc6060fe483a24787e3b6085f99d1cfe.yml
3-
openapi_spec_hash: c929ecc168017a4a2d8343384a0a33f8
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-1bab7be736382985590e568f2b01d1a195c0228b8f2c6599d73335510113e41a.yml
3+
openapi_spec_hash: 222819fc58fce5959c13e13b507239bc
44
config_hash: 25d7d7aa4882db6189b4b53e8e249e80

src/increase/types/card_push_transfer.py

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,29 @@ class Decline(BaseModel):
191191
"stop_payment_order",
192192
"revocation_of_authorization_order",
193193
"revocation_of_all_authorizations_order",
194+
"unable_to_locate_record",
195+
"file_is_temporarily_unavailable",
196+
"incorrect_pin",
197+
"allowable_number_of_pin_entry_tries_exceeded",
198+
"unable_to_locate_previous_message",
199+
"data_inconsistent_with_original_message",
200+
"pin_error_found",
201+
"cannot_verify_pin",
202+
"verification_data_failed",
203+
"surcharge_amount_not_supported_by_debit_network_issuer",
204+
"cash_service_not_available",
205+
"cashback_request_exceeds_issuer_limit",
206+
"transaction_amount_exceeds_pre_authorized_approval_amount",
207+
"invalid_biller_information",
208+
"pin_change_request_declined",
209+
"unsafe_pin",
210+
"transaction_does_not_qualify_for_visa_pin",
211+
"offline_declined",
212+
"unable_to_go_online",
213+
"valid_account_but_amount_not_supported",
214+
"invalid_use_of_merchant_category_code_correct_and_reattempt",
215+
"forward_to_issuer",
216+
"card_authentication_failed",
194217
]
195218
"""The reason why the transfer was declined.
196219
@@ -270,6 +293,46 @@ class Decline(BaseModel):
270293
authorization for this transaction.
271294
- `revocation_of_all_authorizations_order` - An order has been placed to revoke
272295
all authorizations for this cardholder.
296+
- `unable_to_locate_record` - The record associated with the transaction could
297+
not be located.
298+
- `file_is_temporarily_unavailable` - The file needed for the transaction is
299+
temporarily unavailable.
300+
- `incorrect_pin` - The PIN entered for the transaction is incorrect.
301+
- `allowable_number_of_pin_entry_tries_exceeded` - The allowable number of PIN
302+
entry tries has been exceeded.
303+
- `unable_to_locate_previous_message` - The previous message associated with the
304+
transaction could not be located.
305+
- `data_inconsistent_with_original_message` - The data in the transaction is
306+
inconsistent with the original message.
307+
- `pin_error_found` - An error was found with the PIN associated with the
308+
transaction.
309+
- `cannot_verify_pin` - The PIN associated with the transaction could not be
310+
verified.
311+
- `verification_data_failed` - The verification data associated with the
312+
transaction has failed.
313+
- `surcharge_amount_not_supported_by_debit_network_issuer` - The surcharge
314+
amount is not supported by the debit network issuer.
315+
- `cash_service_not_available` - Cash service is not available for this
316+
transaction.
317+
- `cashback_request_exceeds_issuer_limit` - The cashback request exceeds the
318+
issuer limit.
319+
- `transaction_amount_exceeds_pre_authorized_approval_amount` - The transaction
320+
amount exceeds the pre-authorized approval amount.
321+
- `invalid_biller_information` - The biller information provided is invalid.
322+
- `pin_change_request_declined` - The PIN change request has been declined.
323+
- `unsafe_pin` - The PIN provided is considered unsafe.
324+
- `transaction_does_not_qualify_for_visa_pin` - The transaction does not qualify
325+
for Visa PIN processing.
326+
- `offline_declined` - The transaction was declined offline.
327+
- `unable_to_go_online` - The terminal was unable to go online to process the
328+
transaction.
329+
- `valid_account_but_amount_not_supported` - The account is valid but the
330+
transaction amount is not supported.
331+
- `invalid_use_of_merchant_category_code_correct_and_reattempt` - The merchant
332+
category code was used incorrectly; correct it and reattempt the transaction.
333+
- `forward_to_issuer` - The transaction should be forwarded to the issuer for
334+
processing.
335+
- `card_authentication_failed` - The card authentication process has failed.
273336
"""
274337

275338

src/increase/types/card_validation.py

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,29 @@ class Decline(BaseModel):
201201
"stop_payment_order",
202202
"revocation_of_authorization_order",
203203
"revocation_of_all_authorizations_order",
204+
"unable_to_locate_record",
205+
"file_is_temporarily_unavailable",
206+
"incorrect_pin",
207+
"allowable_number_of_pin_entry_tries_exceeded",
208+
"unable_to_locate_previous_message",
209+
"data_inconsistent_with_original_message",
210+
"pin_error_found",
211+
"cannot_verify_pin",
212+
"verification_data_failed",
213+
"surcharge_amount_not_supported_by_debit_network_issuer",
214+
"cash_service_not_available",
215+
"cashback_request_exceeds_issuer_limit",
216+
"transaction_amount_exceeds_pre_authorized_approval_amount",
217+
"invalid_biller_information",
218+
"pin_change_request_declined",
219+
"unsafe_pin",
220+
"transaction_does_not_qualify_for_visa_pin",
221+
"offline_declined",
222+
"unable_to_go_online",
223+
"valid_account_but_amount_not_supported",
224+
"invalid_use_of_merchant_category_code_correct_and_reattempt",
225+
"forward_to_issuer",
226+
"card_authentication_failed",
204227
]
205228
"""The reason why the validation was declined.
206229
@@ -280,6 +303,46 @@ class Decline(BaseModel):
280303
authorization for this transaction.
281304
- `revocation_of_all_authorizations_order` - An order has been placed to revoke
282305
all authorizations for this cardholder.
306+
- `unable_to_locate_record` - The record associated with the transaction could
307+
not be located.
308+
- `file_is_temporarily_unavailable` - The file needed for the transaction is
309+
temporarily unavailable.
310+
- `incorrect_pin` - The PIN entered for the transaction is incorrect.
311+
- `allowable_number_of_pin_entry_tries_exceeded` - The allowable number of PIN
312+
entry tries has been exceeded.
313+
- `unable_to_locate_previous_message` - The previous message associated with the
314+
transaction could not be located.
315+
- `data_inconsistent_with_original_message` - The data in the transaction is
316+
inconsistent with the original message.
317+
- `pin_error_found` - An error was found with the PIN associated with the
318+
transaction.
319+
- `cannot_verify_pin` - The PIN associated with the transaction could not be
320+
verified.
321+
- `verification_data_failed` - The verification data associated with the
322+
transaction has failed.
323+
- `surcharge_amount_not_supported_by_debit_network_issuer` - The surcharge
324+
amount is not supported by the debit network issuer.
325+
- `cash_service_not_available` - Cash service is not available for this
326+
transaction.
327+
- `cashback_request_exceeds_issuer_limit` - The cashback request exceeds the
328+
issuer limit.
329+
- `transaction_amount_exceeds_pre_authorized_approval_amount` - The transaction
330+
amount exceeds the pre-authorized approval amount.
331+
- `invalid_biller_information` - The biller information provided is invalid.
332+
- `pin_change_request_declined` - The PIN change request has been declined.
333+
- `unsafe_pin` - The PIN provided is considered unsafe.
334+
- `transaction_does_not_qualify_for_visa_pin` - The transaction does not qualify
335+
for Visa PIN processing.
336+
- `offline_declined` - The transaction was declined offline.
337+
- `unable_to_go_online` - The terminal was unable to go online to process the
338+
transaction.
339+
- `valid_account_but_amount_not_supported` - The account is valid but the
340+
transaction amount is not supported.
341+
- `invalid_use_of_merchant_category_code_correct_and_reattempt` - The merchant
342+
category code was used incorrectly; correct it and reattempt the transaction.
343+
- `forward_to_issuer` - The transaction should be forwarded to the issuer for
344+
processing.
345+
- `card_authentication_failed` - The card authentication process has failed.
283346
"""
284347

285348

src/increase/types/simulations/card_token_create_params.py

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,29 @@ class OutcomeDecline(TypedDict, total=False):
102102
"stop_payment_order",
103103
"revocation_of_authorization_order",
104104
"revocation_of_all_authorizations_order",
105+
"unable_to_locate_record",
106+
"file_is_temporarily_unavailable",
107+
"incorrect_pin",
108+
"allowable_number_of_pin_entry_tries_exceeded",
109+
"unable_to_locate_previous_message",
110+
"data_inconsistent_with_original_message",
111+
"pin_error_found",
112+
"cannot_verify_pin",
113+
"verification_data_failed",
114+
"surcharge_amount_not_supported_by_debit_network_issuer",
115+
"cash_service_not_available",
116+
"cashback_request_exceeds_issuer_limit",
117+
"transaction_amount_exceeds_pre_authorized_approval_amount",
118+
"invalid_biller_information",
119+
"pin_change_request_declined",
120+
"unsafe_pin",
121+
"transaction_does_not_qualify_for_visa_pin",
122+
"offline_declined",
123+
"unable_to_go_online",
124+
"valid_account_but_amount_not_supported",
125+
"invalid_use_of_merchant_category_code_correct_and_reattempt",
126+
"forward_to_issuer",
127+
"card_authentication_failed",
105128
]
106129
"""The reason for the decline.
107130
@@ -181,6 +204,46 @@ class OutcomeDecline(TypedDict, total=False):
181204
authorization for this transaction.
182205
- `revocation_of_all_authorizations_order` - An order has been placed to revoke
183206
all authorizations for this cardholder.
207+
- `unable_to_locate_record` - The record associated with the transaction could
208+
not be located.
209+
- `file_is_temporarily_unavailable` - The file needed for the transaction is
210+
temporarily unavailable.
211+
- `incorrect_pin` - The PIN entered for the transaction is incorrect.
212+
- `allowable_number_of_pin_entry_tries_exceeded` - The allowable number of PIN
213+
entry tries has been exceeded.
214+
- `unable_to_locate_previous_message` - The previous message associated with the
215+
transaction could not be located.
216+
- `data_inconsistent_with_original_message` - The data in the transaction is
217+
inconsistent with the original message.
218+
- `pin_error_found` - An error was found with the PIN associated with the
219+
transaction.
220+
- `cannot_verify_pin` - The PIN associated with the transaction could not be
221+
verified.
222+
- `verification_data_failed` - The verification data associated with the
223+
transaction has failed.
224+
- `surcharge_amount_not_supported_by_debit_network_issuer` - The surcharge
225+
amount is not supported by the debit network issuer.
226+
- `cash_service_not_available` - Cash service is not available for this
227+
transaction.
228+
- `cashback_request_exceeds_issuer_limit` - The cashback request exceeds the
229+
issuer limit.
230+
- `transaction_amount_exceeds_pre_authorized_approval_amount` - The transaction
231+
amount exceeds the pre-authorized approval amount.
232+
- `invalid_biller_information` - The biller information provided is invalid.
233+
- `pin_change_request_declined` - The PIN change request has been declined.
234+
- `unsafe_pin` - The PIN provided is considered unsafe.
235+
- `transaction_does_not_qualify_for_visa_pin` - The transaction does not qualify
236+
for Visa PIN processing.
237+
- `offline_declined` - The transaction was declined offline.
238+
- `unable_to_go_online` - The terminal was unable to go online to process the
239+
transaction.
240+
- `valid_account_but_amount_not_supported` - The account is valid but the
241+
transaction amount is not supported.
242+
- `invalid_use_of_merchant_category_code_correct_and_reattempt` - The merchant
243+
category code was used incorrectly; correct it and reattempt the transaction.
244+
- `forward_to_issuer` - The transaction should be forwarded to the issuer for
245+
processing.
246+
- `card_authentication_failed` - The card authentication process has failed.
184247
"""
185248

186249

0 commit comments

Comments
 (0)