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.61.0"
".": "0.62.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: 234
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-dd0c83cac837fbe98857fa997663b0d0469344a7564bd4fe506e6c71d1d6af73.yml
openapi_spec_hash: 2352f37602105b164533038199b21804
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-6157ec57275bc58dca42adf9d0b661f6dcfd725df7593dc453833dfcdcf33a8b.yml
openapi_spec_hash: 0a80ae7882f3d72a333b80efe58ff5ea
config_hash: b7ec7f54fa76c1f8bde7a548710a1d38
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.62.0 (2026-03-09)

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

### Features

* **api:** api update ([436ac70](https://github.com/Increase/increase-php/commit/436ac7002011a0c926e0319e8bcfb0d0edab96f5))

## 0.61.0 (2026-03-08)

Full Changelog: [v0.60.0...v0.61.0](https://github.com/Increase/increase-php/compare/v0.60.0...v0.61.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.61.0"
composer require "increase/increase 0.62.0"
```

<!-- x-release-please-end -->
Expand Down
35 changes: 18 additions & 17 deletions src/CardPayments/CardPayment/Element/CardAuthentication.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@
* denyReason: null|DenyReason|value-of<DenyReason>,
* deviceChannel: DeviceChannel|DeviceChannelShape,
* directoryServerTransactionID: string,
* merchantAcceptorID: string,
* merchantCategoryCode: string,
* merchantCountry: string,
* merchantName: string,
* merchantAcceptorID: string|null,
* merchantCategoryCode: string|null,
* merchantCountry: string|null,
* merchantName: string|null,
* priorCardAuthenticationID: string|null,
* purchaseAmount: int|null,
* purchaseAmountCardholderEstimated: int|null,
Expand Down Expand Up @@ -198,25 +198,25 @@ enum: Category::class,
* The merchant identifier (commonly abbreviated as MID) of the merchant the card is transacting with.
*/
#[Required('merchant_acceptor_id')]
public string $merchantAcceptorID;
public ?string $merchantAcceptorID;

/**
* The Merchant Category Code (commonly abbreviated as MCC) of the merchant the card is transacting with.
*/
#[Required('merchant_category_code')]
public string $merchantCategoryCode;
public ?string $merchantCategoryCode;

/**
* The country the merchant resides in.
*/
#[Required('merchant_country')]
public string $merchantCountry;
public ?string $merchantCountry;

/**
* The name of the merchant.
*/
#[Required('merchant_name')]
public string $merchantName;
public ?string $merchantName;

/**
* The ID of a prior Card Authentication that the requestor used to authenticate this cardholder for a previous transaction.
Expand Down Expand Up @@ -495,10 +495,10 @@ public static function with(
DenyReason|string|null $denyReason,
DeviceChannel|array $deviceChannel,
string $directoryServerTransactionID,
string $merchantAcceptorID,
string $merchantCategoryCode,
string $merchantCountry,
string $merchantName,
?string $merchantAcceptorID,
?string $merchantCategoryCode,
?string $merchantCountry,
?string $merchantName,
?string $priorCardAuthenticationID,
?int $purchaseAmount,
?int $purchaseAmountCardholderEstimated,
Expand Down Expand Up @@ -794,7 +794,7 @@ public function withDirectoryServerTransactionID(
/**
* The merchant identifier (commonly abbreviated as MID) of the merchant the card is transacting with.
*/
public function withMerchantAcceptorID(string $merchantAcceptorID): self
public function withMerchantAcceptorID(?string $merchantAcceptorID): self
{
$self = clone $this;
$self['merchantAcceptorID'] = $merchantAcceptorID;
Expand All @@ -805,8 +805,9 @@ public function withMerchantAcceptorID(string $merchantAcceptorID): self
/**
* The Merchant Category Code (commonly abbreviated as MCC) of the merchant the card is transacting with.
*/
public function withMerchantCategoryCode(string $merchantCategoryCode): self
{
public function withMerchantCategoryCode(
?string $merchantCategoryCode
): self {
$self = clone $this;
$self['merchantCategoryCode'] = $merchantCategoryCode;

Expand All @@ -816,7 +817,7 @@ public function withMerchantCategoryCode(string $merchantCategoryCode): self
/**
* The country the merchant resides in.
*/
public function withMerchantCountry(string $merchantCountry): self
public function withMerchantCountry(?string $merchantCountry): self
{
$self = clone $this;
$self['merchantCountry'] = $merchantCountry;
Expand All @@ -827,7 +828,7 @@ public function withMerchantCountry(string $merchantCountry): self
/**
* The name of the merchant.
*/
public function withMerchantName(string $merchantName): self
public function withMerchantName(?string $merchantName): self
{
$self = clone $this;
$self['merchantName'] = $merchantName;
Expand Down
35 changes: 18 additions & 17 deletions src/RealTimeDecisions/RealTimeDecision/CardAuthentication.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@
* decision: null|Decision|value-of<Decision>,
* deviceChannel: DeviceChannel|DeviceChannelShape,
* directoryServerTransactionID: string,
* merchantAcceptorID: string,
* merchantCategoryCode: string,
* merchantCountry: string,
* merchantName: string,
* merchantAcceptorID: string|null,
* merchantCategoryCode: string|null,
* merchantCountry: string|null,
* merchantName: string|null,
* priorCardAuthenticationID: string|null,
* purchaseAmount: int|null,
* purchaseAmountCardholderEstimated: int|null,
Expand Down Expand Up @@ -171,25 +171,25 @@ enum: Category::class,
* The merchant identifier (commonly abbreviated as MID) of the merchant the card is transacting with.
*/
#[Required('merchant_acceptor_id')]
public string $merchantAcceptorID;
public ?string $merchantAcceptorID;

/**
* The Merchant Category Code (commonly abbreviated as MCC) of the merchant the card is transacting with.
*/
#[Required('merchant_category_code')]
public string $merchantCategoryCode;
public ?string $merchantCategoryCode;

/**
* The country the merchant resides in.
*/
#[Required('merchant_country')]
public string $merchantCountry;
public ?string $merchantCountry;

/**
* The name of the merchant.
*/
#[Required('merchant_name')]
public string $merchantName;
public ?string $merchantName;

/**
* The ID of a prior Card Authentication that the requestor used to authenticate this cardholder for a previous transaction.
Expand Down Expand Up @@ -436,10 +436,10 @@ public static function with(
Decision|string|null $decision,
DeviceChannel|array $deviceChannel,
string $directoryServerTransactionID,
string $merchantAcceptorID,
string $merchantCategoryCode,
string $merchantCountry,
string $merchantName,
?string $merchantAcceptorID,
?string $merchantCategoryCode,
?string $merchantCountry,
?string $merchantName,
?string $priorCardAuthenticationID,
?int $purchaseAmount,
?int $purchaseAmountCardholderEstimated,
Expand Down Expand Up @@ -693,7 +693,7 @@ public function withDirectoryServerTransactionID(
/**
* The merchant identifier (commonly abbreviated as MID) of the merchant the card is transacting with.
*/
public function withMerchantAcceptorID(string $merchantAcceptorID): self
public function withMerchantAcceptorID(?string $merchantAcceptorID): self
{
$self = clone $this;
$self['merchantAcceptorID'] = $merchantAcceptorID;
Expand All @@ -704,8 +704,9 @@ public function withMerchantAcceptorID(string $merchantAcceptorID): self
/**
* The Merchant Category Code (commonly abbreviated as MCC) of the merchant the card is transacting with.
*/
public function withMerchantCategoryCode(string $merchantCategoryCode): self
{
public function withMerchantCategoryCode(
?string $merchantCategoryCode
): self {
$self = clone $this;
$self['merchantCategoryCode'] = $merchantCategoryCode;

Expand All @@ -715,7 +716,7 @@ public function withMerchantCategoryCode(string $merchantCategoryCode): self
/**
* The country the merchant resides in.
*/
public function withMerchantCountry(string $merchantCountry): self
public function withMerchantCountry(?string $merchantCountry): self
{
$self = clone $this;
$self['merchantCountry'] = $merchantCountry;
Expand All @@ -726,7 +727,7 @@ public function withMerchantCountry(string $merchantCountry): self
/**
* The name of the merchant.
*/
public function withMerchantName(string $merchantName): self
public function withMerchantName(?string $merchantName): self
{
$self = clone $this;
$self['merchantName'] = $merchantName;
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.61.0';
const VERSION = '0.62.0';
// x-release-please-end