Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
configured_endpoints: 254
openapi_spec_hash: b502688710d2e1e332c41ca7adc8aabf
openapi_spec_hash: ac699773ccc8453a65b70ef85b9da7a5
config_hash: f0e1844d06c76a9e145f7986d993dda6
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ Error codes are as follows:

Certain errors will be automatically retried 2 times by default, with a short exponential backoff.

Connection errors (for example, due to a network connectivity problem), 408 Request Timeout, 409 Conflict, 429 Rate Limit, >=500 Internal errors, and timeouts will all be retried by default.
Connection errors (for example, due to a network connectivity problem), 408 Request Timeout, 429 Rate Limit, >=500 Internal errors, and timeouts will all be retried by default.

You can use the `maxRetries` option to configure or disable this:

Expand Down
2 changes: 1 addition & 1 deletion scripts/mock

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,6 @@ enum FeeType: string
case VISA_PROCESSING_GUARANTEE_COMMERCIAL_CREDIT = 'visa_processing_guarantee_commercial_credit';

case PULSE_SWITCH_FEE = 'pulse_switch_fee';

case PULSE_TOKENIZATION_FEE = 'pulse_tokenization_fee';
}
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,6 @@ enum FeeType: string
case VISA_PROCESSING_GUARANTEE_COMMERCIAL_CREDIT = 'visa_processing_guarantee_commercial_credit';

case PULSE_SWITCH_FEE = 'pulse_switch_fee';

case PULSE_TOKENIZATION_FEE = 'pulse_tokenization_fee';
}
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,6 @@ enum FeeType: string
case VISA_PROCESSING_GUARANTEE_COMMERCIAL_CREDIT = 'visa_processing_guarantee_commercial_credit';

case PULSE_SWITCH_FEE = 'pulse_switch_fee';

case PULSE_TOKENIZATION_FEE = 'pulse_tokenization_fee';
}
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,6 @@ enum FeeType: string
case VISA_PROCESSING_GUARANTEE_COMMERCIAL_CREDIT = 'visa_processing_guarantee_commercial_credit';

case PULSE_SWITCH_FEE = 'pulse_switch_fee';

case PULSE_TOKENIZATION_FEE = 'pulse_tokenization_fee';
}
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,6 @@ enum FeeType: string
case VISA_PROCESSING_GUARANTEE_COMMERCIAL_CREDIT = 'visa_processing_guarantee_commercial_credit';

case PULSE_SWITCH_FEE = 'pulse_switch_fee';

case PULSE_TOKENIZATION_FEE = 'pulse_tokenization_fee';
}
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,6 @@ enum FeeType: string
case VISA_PROCESSING_GUARANTEE_COMMERCIAL_CREDIT = 'visa_processing_guarantee_commercial_credit';

case PULSE_SWITCH_FEE = 'pulse_switch_fee';

case PULSE_TOKENIZATION_FEE = 'pulse_tokenization_fee';
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ enum PurchaseIdentifierFormat: string
case HOTEL_FOLIO_NUMBER = 'hotel_folio_number';

case INVOICE_NUMBER = 'invoice_number';

case VISA_RECURRENT_REFERENCE_IDENTIFIER = 'visa_recurrent_reference_identifier';
}
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,6 @@ enum FeeType: string
case VISA_PROCESSING_GUARANTEE_COMMERCIAL_CREDIT = 'visa_processing_guarantee_commercial_credit';

case PULSE_SWITCH_FEE = 'pulse_switch_fee';

case PULSE_TOKENIZATION_FEE = 'pulse_tokenization_fee';
}
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,6 @@ enum FeeType: string
case VISA_PROCESSING_GUARANTEE_COMMERCIAL_CREDIT = 'visa_processing_guarantee_commercial_credit';

case PULSE_SWITCH_FEE = 'pulse_switch_fee';

case PULSE_TOKENIZATION_FEE = 'pulse_tokenization_fee';
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ enum PurchaseIdentifierFormat: string
case HOTEL_FOLIO_NUMBER = 'hotel_folio_number';

case INVOICE_NUMBER = 'invoice_number';

case VISA_RECURRENT_REFERENCE_IDENTIFIER = 'visa_recurrent_reference_identifier';
}
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,6 @@ enum FeeType: string
case VISA_PROCESSING_GUARANTEE_COMMERCIAL_CREDIT = 'visa_processing_guarantee_commercial_credit';

case PULSE_SWITCH_FEE = 'pulse_switch_fee';

case PULSE_TOKENIZATION_FEE = 'pulse_tokenization_fee';
}
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,6 @@ enum FeeType: string
case VISA_PROCESSING_GUARANTEE_COMMERCIAL_CREDIT = 'visa_processing_guarantee_commercial_credit';

case PULSE_SWITCH_FEE = 'pulse_switch_fee';

case PULSE_TOKENIZATION_FEE = 'pulse_tokenization_fee';
}
2 changes: 2 additions & 0 deletions src/CheckDeposits/CheckDeposit/DepositAdjustment/Reason.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ enum Reason: string
case NON_CONFORMING_ITEM = 'non_conforming_item';

case PAID = 'paid';

case DUPLICATE_ENTRY = 'duplicate_entry';
}
2 changes: 1 addition & 1 deletion src/Core/BaseClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ protected function shouldRetry(
}

$code = $rsp?->getStatusCode();
if (408 == $code || 409 == $code || 429 == $code || $code >= 500) {
if (408 == $code || 429 == $code || $code >= 500) {
return true;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,6 @@ enum FeeType: string
case VISA_PROCESSING_GUARANTEE_COMMERCIAL_CREDIT = 'visa_processing_guarantee_commercial_credit';

case PULSE_SWITCH_FEE = 'pulse_switch_fee';

case PULSE_TOKENIZATION_FEE = 'pulse_tokenization_fee';
}
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ enum EventCategory: string

case DIGITAL_WALLET_TOKEN_UPDATED = 'digital_wallet_token.updated';

case DIGITAL_WALLET_TOKEN_REQUEST_CREATED = 'digital_wallet_token_request.created';

case ENTITY_CREATED = 'entity.created';

case ENTITY_UPDATED = 'entity.updated';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ enum EventCategory: string

case DIGITAL_WALLET_TOKEN_UPDATED = 'digital_wallet_token.updated';

case DIGITAL_WALLET_TOKEN_REQUEST_CREATED = 'digital_wallet_token_request.created';

case ENTITY_CREATED = 'entity.created';

case ENTITY_UPDATED = 'entity.updated';
Expand Down
2 changes: 2 additions & 0 deletions src/Events/Event/Category.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ enum Category: string

case DIGITAL_WALLET_TOKEN_UPDATED = 'digital_wallet_token.updated';

case DIGITAL_WALLET_TOKEN_REQUEST_CREATED = 'digital_wallet_token_request.created';

case ENTITY_CREATED = 'entity.created';

case ENTITY_UPDATED = 'entity.updated';
Expand Down
2 changes: 2 additions & 0 deletions src/Events/EventListParams/Category/In.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ enum In: string

case DIGITAL_WALLET_TOKEN_UPDATED = 'digital_wallet_token.updated';

case DIGITAL_WALLET_TOKEN_REQUEST_CREATED = 'digital_wallet_token_request.created';

case ENTITY_CREATED = 'entity.created';

case ENTITY_UPDATED = 'entity.updated';
Expand Down
2 changes: 2 additions & 0 deletions src/Events/UnwrapWebhookEvent/Category.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ enum Category: string

case DIGITAL_WALLET_TOKEN_UPDATED = 'digital_wallet_token.updated';

case DIGITAL_WALLET_TOKEN_REQUEST_CREATED = 'digital_wallet_token_request.created';

case ENTITY_CREATED = 'entity.created';

case ENTITY_UPDATED = 'entity.updated';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@ enum Reason: string
case LATE_RETURN = 'late_return';

case WRONG_PAYEE_CREDIT = 'wrong_payee_credit';

case DUPLICATE_ENTRY = 'duplicate_entry';
}
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,6 @@ enum FeeType: string
case VISA_PROCESSING_GUARANTEE_COMMERCIAL_CREDIT = 'visa_processing_guarantee_commercial_credit';

case PULSE_SWITCH_FEE = 'pulse_switch_fee';

case PULSE_TOKENIZATION_FEE = 'pulse_tokenization_fee';
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ enum Reason: string
case NON_CONFORMING_ITEM = 'non_conforming_item';

case PAID = 'paid';

case DUPLICATE_ENTRY = 'duplicate_entry';
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@ enum Reason: string
case LATE_RETURN = 'late_return';

case WRONG_PAYEE_CREDIT = 'wrong_payee_credit';

case DUPLICATE_ENTRY = 'duplicate_entry';
}
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,6 @@ enum FeeType: string
case VISA_PROCESSING_GUARANTEE_COMMERCIAL_CREDIT = 'visa_processing_guarantee_commercial_credit';

case PULSE_SWITCH_FEE = 'pulse_switch_fee';

case PULSE_TOKENIZATION_FEE = 'pulse_tokenization_fee';
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ enum PurchaseIdentifierFormat: string
case HOTEL_FOLIO_NUMBER = 'hotel_folio_number';

case INVOICE_NUMBER = 'invoice_number';

case VISA_RECURRENT_REFERENCE_IDENTIFIER = 'visa_recurrent_reference_identifier';
}
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,6 @@ enum FeeType: string
case VISA_PROCESSING_GUARANTEE_COMMERCIAL_CREDIT = 'visa_processing_guarantee_commercial_credit';

case PULSE_SWITCH_FEE = 'pulse_switch_fee';

case PULSE_TOKENIZATION_FEE = 'pulse_tokenization_fee';
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ enum PurchaseIdentifierFormat: string
case HOTEL_FOLIO_NUMBER = 'hotel_folio_number';

case INVOICE_NUMBER = 'invoice_number';

case VISA_RECURRENT_REFERENCE_IDENTIFIER = 'visa_recurrent_reference_identifier';
}
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,6 @@ enum FeeType: string
case VISA_PROCESSING_GUARANTEE_COMMERCIAL_CREDIT = 'visa_processing_guarantee_commercial_credit';

case PULSE_SWITCH_FEE = 'pulse_switch_fee';

case PULSE_TOKENIZATION_FEE = 'pulse_tokenization_fee';
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ enum Reason: string
case NON_CONFORMING_ITEM = 'non_conforming_item';

case PAID = 'paid';

case DUPLICATE_ENTRY = 'duplicate_entry';
}
2 changes: 1 addition & 1 deletion tests/Services/SwiftTransfersTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public function testCreateWithOptionalParams(): void
instructedCurrency: 'USD',
sourceAccountNumberID: 'account_number_v18nkfqm6afpsrvy82b2',
unstructuredRemittanceInformation: 'New Swift transfer',
intermediaryBankIdentificationCode: 'SEWBFL97',
intermediaryBankIdentificationCode: 'SEWBFL3A',
requireApproval: true,
routingNumber: 'sq',
);
Expand Down
Loading