Skip to content
Merged
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 .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.81.0"
".": "0.82.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 236
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-f3d22401feb4671870673cb67688b163ee7f26acb6d2f89dcf79b26b0675523f.yml
openapi_spec_hash: 4d6dbce33f5de203d92df4c20a957665
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-4a8fb0a78ec74e41f3c1f5d8d455b1496d567948e3a7a3ae375338173ced538e.yml
openapi_spec_hash: 6dbffca55fa0226c3603ee180594bd2b
config_hash: 25d7d7aa4882db6189b4b53e8e249e80
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.82.0 (2026-03-19)

Full Changelog: [v0.81.0...v0.82.0](https://github.com/Increase/increase-php/compare/v0.81.0...v0.82.0)

### Features

* **api:** api update ([6d04d30](https://github.com/Increase/increase-php/commit/6d04d301cf15058399a963e3e123c0b0fbba55eb))

## 0.81.0 (2026-03-19)

Full Changelog: [v0.80.0...v0.81.0](https://github.com/Increase/increase-php/compare/v0.80.0...v0.81.0)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The REST API documentation can be found on [increase.com](https://increase.com/d
<!-- x-release-please-start-version -->

```
composer require "increase/increase 0.81.0"
composer require "increase/increase 0.82.0"
```

<!-- x-release-please-end -->
Expand Down
22 changes: 0 additions & 22 deletions src/FednowTransfers/FednowTransferCreateParams.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
* @phpstan-import-type DebtorAddressShape from \Increase\FednowTransfers\FednowTransferCreateParams\DebtorAddress
*
* @phpstan-type FednowTransferCreateParamsShape = array{
* accountID: string,
* amount: int,
* creditorName: string,
* debtorName: string,
Expand All @@ -41,12 +40,6 @@ final class FednowTransferCreateParams implements BaseModel
use SdkModel;
use SdkParams;

/**
* The identifier for the account that will send the transfer.
*/
#[Required('account_id')]
public string $accountID;

/**
* The amount, in minor units, to send to the creditor.
*/
Expand Down Expand Up @@ -119,7 +112,6 @@ final class FednowTransferCreateParams implements BaseModel
* To enforce required parameters use
* ```
* FednowTransferCreateParams::with(
* accountID: ...,
* amount: ...,
* creditorName: ...,
* debtorName: ...,
Expand All @@ -132,7 +124,6 @@ final class FednowTransferCreateParams implements BaseModel
*
* ```
* (new FednowTransferCreateParams)
* ->withAccountID(...)
* ->withAmount(...)
* ->withCreditorName(...)
* ->withDebtorName(...)
Expand All @@ -154,7 +145,6 @@ public function __construct()
* @param DebtorAddress|DebtorAddressShape|null $debtorAddress
*/
public static function with(
string $accountID,
int $amount,
string $creditorName,
string $debtorName,
Expand All @@ -169,7 +159,6 @@ public static function with(
): self {
$self = new self;

$self['accountID'] = $accountID;
$self['amount'] = $amount;
$self['creditorName'] = $creditorName;
$self['debtorName'] = $debtorName;
Expand All @@ -186,17 +175,6 @@ public static function with(
return $self;
}

/**
* The identifier for the account that will send the transfer.
*/
public function withAccountID(string $accountID): self
{
$self = clone $this;
$self['accountID'] = $accountID;

return $self;
}

/**
* The amount, in minor units, to send to the creditor.
*/
Expand Down
2 changes: 0 additions & 2 deletions src/ServiceContracts/FednowTransfersContract.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ interface FednowTransfersContract
/**
* @api
*
* @param string $accountID the identifier for the account that will send the transfer
* @param int $amount the amount, in minor units, to send to the creditor
* @param string $creditorName the creditor's name
* @param string $debtorName the debtor's name
Expand All @@ -42,7 +41,6 @@ interface FednowTransfersContract
* @throws APIException
*/
public function create(
string $accountID,
int $amount,
string $creditorName,
string $debtorName,
Expand Down
1 change: 0 additions & 1 deletion src/Services/FednowTransfersRawService.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ public function __construct(private Client $client) {}
* Create a FedNow Transfer
*
* @param array{
* accountID: string,
* amount: int,
* creditorName: string,
* debtorName: string,
Expand Down
3 changes: 0 additions & 3 deletions src/Services/FednowTransfersService.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ public function __construct(private Client $client)
*
* Create a FedNow Transfer
*
* @param string $accountID the identifier for the account that will send the transfer
* @param int $amount the amount, in minor units, to send to the creditor
* @param string $creditorName the creditor's name
* @param string $debtorName the debtor's name
Expand All @@ -60,7 +59,6 @@ public function __construct(private Client $client)
* @throws APIException
*/
public function create(
string $accountID,
int $amount,
string $creditorName,
string $debtorName,
Expand All @@ -76,7 +74,6 @@ public function create(
): FednowTransfer {
$params = Util::removeNulls(
[
'accountID' => $accountID,
'amount' => $amount,
'creditorName' => $creditorName,
'debtorName' => $debtorName,
Expand Down
2 changes: 1 addition & 1 deletion src/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
namespace Increase;

// x-release-please-start-version
const VERSION = '0.81.0';
const VERSION = '0.82.0';
// x-release-please-end
2 changes: 0 additions & 2 deletions tests/Services/FednowTransfersTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ protected function setUp(): void
public function testCreate(): void
{
$result = $this->client->fednowTransfers->create(
accountID: 'account_in71c4amph0vgo2qllky',
amount: 100,
creditorName: 'Ian Crease',
debtorName: 'National Phonograph Company',
Expand All @@ -48,7 +47,6 @@ public function testCreate(): void
public function testCreateWithOptionalParams(): void
{
$result = $this->client->fednowTransfers->create(
accountID: 'account_in71c4amph0vgo2qllky',
amount: 100,
creditorName: 'Ian Crease',
debtorName: 'National Phonograph Company',
Expand Down