diff --git a/composer.json b/composer.json index 367e03b8..df41290e 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "square/square", "description": "Use Square APIs to manage and run business including payment, customer, product, inventory, and employee management.", - "version": "38.2.0.20241017", + "version": "39.0.0.20241120", "type": "library", "keywords": [ "Square", diff --git a/doc/apis/location-custom-attributes.md b/doc/apis/location-custom-attributes.md index cd99947f..abfc0735 100644 --- a/doc/apis/location-custom-attributes.md +++ b/doc/apis/location-custom-attributes.md @@ -278,15 +278,9 @@ This method returns a `Square\Utils\ApiResponse` instance. The `getResult()` met ```php $body = BulkDeleteLocationCustomAttributesRequestBuilder::init( [ - 'id1' => BulkDeleteLocationCustomAttributesRequestLocationCustomAttributeDeleteRequestBuilder::init() - ->key('bestseller') - ->build(), - 'id2' => BulkDeleteLocationCustomAttributesRequestLocationCustomAttributeDeleteRequestBuilder::init() - ->key('bestseller') - ->build(), - 'id3' => BulkDeleteLocationCustomAttributesRequestLocationCustomAttributeDeleteRequestBuilder::init() - ->key('phone-number') - ->build() + 'id1' => BulkDeleteLocationCustomAttributesRequestLocationCustomAttributeDeleteRequestBuilder::init()->build(), + 'id2' => BulkDeleteLocationCustomAttributesRequestLocationCustomAttributeDeleteRequestBuilder::init()->build(), + 'id3' => BulkDeleteLocationCustomAttributesRequestLocationCustomAttributeDeleteRequestBuilder::init()->build() ] )->build(); diff --git a/doc/apis/merchant-custom-attributes.md b/doc/apis/merchant-custom-attributes.md index 3d5b6b11..06e070a4 100644 --- a/doc/apis/merchant-custom-attributes.md +++ b/doc/apis/merchant-custom-attributes.md @@ -278,12 +278,8 @@ This method returns a `Square\Utils\ApiResponse` instance. The `getResult()` met ```php $body = BulkDeleteMerchantCustomAttributesRequestBuilder::init( [ - 'id1' => BulkDeleteMerchantCustomAttributesRequestMerchantCustomAttributeDeleteRequestBuilder::init() - ->key('alternative_seller_name') - ->build(), - 'id2' => BulkDeleteMerchantCustomAttributesRequestMerchantCustomAttributeDeleteRequestBuilder::init() - ->key('has_seen_tutorial') - ->build() + 'id1' => BulkDeleteMerchantCustomAttributesRequestMerchantCustomAttributeDeleteRequestBuilder::init()->build(), + 'id2' => BulkDeleteMerchantCustomAttributesRequestMerchantCustomAttributeDeleteRequestBuilder::init()->build() ] )->build(); diff --git a/doc/apis/order-custom-attributes.md b/doc/apis/order-custom-attributes.md index a887fe5b..fd68ee29 100644 --- a/doc/apis/order-custom-attributes.md +++ b/doc/apis/order-custom-attributes.md @@ -294,14 +294,10 @@ $body = BulkDeleteOrderCustomAttributesRequestBuilder::init( [ 'cover-count' => BulkDeleteOrderCustomAttributesRequestDeleteCustomAttributeBuilder::init( '7BbXGEIWNldxAzrtGf9GPVZTwZ4F' - ) - ->key('cover-count') - ->build(), + )->build(), 'table-number' => BulkDeleteOrderCustomAttributesRequestDeleteCustomAttributeBuilder::init( '7BbXGEIWNldxAzrtGf9GPVZTwZ4F' - ) - ->key('table-number') - ->build() + )->build() ] )->build(); diff --git a/doc/apis/team.md b/doc/apis/team.md index 68475f00..871c366d 100644 --- a/doc/apis/team.md +++ b/doc/apis/team.md @@ -200,7 +200,6 @@ $body = BulkUpdateTeamMembersRequestBuilder::init( ->teamMember( TeamMemberBuilder::init() ->referenceId('reference_id_2') - ->isOwner(false) ->status(TeamMemberStatus::ACTIVE) ->givenName('Jane') ->familyName('Smith') @@ -218,7 +217,6 @@ $body = BulkUpdateTeamMembersRequestBuilder::init( ->teamMember( TeamMemberBuilder::init() ->referenceId('reference_id_1') - ->isOwner(false) ->status(TeamMemberStatus::ACTIVE) ->givenName('Joe') ->familyName('Doe') diff --git a/doc/client.md b/doc/client.md index 9dcd3ad6..98eb541d 100644 --- a/doc/client.md +++ b/doc/client.md @@ -5,7 +5,7 @@ The following parameters are configurable for the API Client: | Parameter | Type | Description | | --- | --- | --- | -| `squareVersion` | `string` | Square Connect API versions
*Default*: `'2024-10-17'` | +| `squareVersion` | `string` | Square Connect API versions
*Default*: `'2024-11-20'` | | `customUrl` | `string` | Sets the base URL requests are made to. Defaults to `https://connect.squareup.com`
*Default*: `'https://connect.squareup.com'` | | `environment` | `string` | The API environment.
**Default: `production`** | | `timeout` | `int` | Timeout for API calls in seconds.
*Default*: `60` | @@ -30,7 +30,7 @@ $client = SquareClientBuilder::init() 'AccessToken' ) ) - ->squareVersion('2024-10-17') + ->squareVersion('2024-11-20') ->environment(Environment::PRODUCTION) ->customUrl('https://connect.squareup.com') ->build(); @@ -61,7 +61,7 @@ $client = SquareClientBuilder::init() 'AccessToken' ) ) - ->squareVersion('2024-10-17') + ->squareVersion('2024-11-20') ->environment(Environment::PRODUCTION) ->customUrl('https://connect.squareup.com') ->build(); diff --git a/doc/models/accept-dispute-response.md b/doc/models/accept-dispute-response.md index 17987498..4c6c72c5 100644 --- a/doc/models/accept-dispute-response.md +++ b/doc/models/accept-dispute-response.md @@ -42,19 +42,19 @@ Defines the fields in an `AcceptDispute` response. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/accumulate-loyalty-points-response.md b/doc/models/accumulate-loyalty-points-response.md index 8c1f8073..e295228f 100644 --- a/doc/models/accumulate-loyalty-points-response.md +++ b/doc/models/accumulate-loyalty-points-response.md @@ -57,7 +57,7 @@ Represents an [AccumulateLoyaltyPoints](../../doc/apis/loyalty.md#accumulate-loy "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/activity-type.md b/doc/models/activity-type.md index 69a5808e..04577ccd 100644 --- a/doc/models/activity-type.md +++ b/doc/models/activity-type.md @@ -15,7 +15,8 @@ | `AUTOMATIC_SAVINGS` | An automatic transfer from the payment processing balance to the Square Savings account. These are generally proportional to the seller's sales. | | `AUTOMATIC_SAVINGS_REVERSED` | An automatic transfer from the Square Savings account back to the processing balance. These are generally proportional to the seller's refunds. | | `CHARGE` | A credit card payment capture. | -| `DEPOSIT_FEE` | Any fees involved with deposits such as instant deposits. | +| `DEPOSIT_FEE` | A fee assessed because of a deposit, such as an instant deposit. | +| `DEPOSIT_FEE_REVERSED` | Indicates that Square returned a fee that was previously assessed because of a deposit, such as an instant deposit, back to the seller's account. | | `DISPUTE` | The balance change due to a dispute event. | | `ESCHEATMENT` | An escheatment entry for remittance. | | `FEE` | The cost plus adjustment fee. | @@ -43,7 +44,7 @@ | `TAX_ON_FEE` | The tax paid on fee amounts. | | `THIRD_PARTY_FEE` | Fees collected by a third-party platform. | | `THIRD_PARTY_FEE_REFUND` | Refunded fees from a third-party platform. | -| `PAYOUT` | The balance change due to money transfer. | +| `PAYOUT` | The balance change due to a money transfer. Note that this type is never returned by the Payouts API. | | `AUTOMATIC_BITCOIN_CONVERSIONS` | Indicates that the portion of each payment withheld by Square was automatically converted into bitcoin using Cash App. The seller manages their bitcoin in their Cash App account. | | `AUTOMATIC_BITCOIN_CONVERSIONS_REVERSED` | Indicates that a withheld payment, which was scheduled to be converted into bitcoin using Cash App, was deposited back to the Square payments balance. | | `CREDIT_CARD_REPAYMENT` | Indicates that a repayment toward the outstanding balance on the seller's Square credit card was made. | @@ -64,4 +65,6 @@ | `BALANCE_FOLDERS_TRANSFER_REVERSED` | A reversal of transfer of funds from a banking folder. In the United States, the folder name is 'Checking Folder'; in Canada, it's 'Balance Folder.' | | `GIFT_CARD_POOL_TRANSFER` | A transfer of gift card funds to a central gift card pool account. In franchises, when gift cards are loaded or reloaded at any location, the money transfers to the franchisor's account. | | `GIFT_CARD_POOL_TRANSFER_REVERSED` | A reversal of transfer of gift card funds from a central gift card pool account. In franchises, when gift cards are loaded or reloaded at any location, the money transfers to the franchisor's account. | +| `SQUARE_PAYROLL_TRANSFER` | A payroll payment that was transferred to a team member’s bank account. | +| `SQUARE_PAYROLL_TRANSFER_REVERSED` | A payroll payment to a team member’s bank account that was deposited back to the seller’s account by Square. | diff --git a/doc/models/add-group-to-customer-response.md b/doc/models/add-group-to-customer-response.md index 940135fc..8c39769c 100644 --- a/doc/models/add-group-to-customer-response.md +++ b/doc/models/add-group-to-customer-response.md @@ -21,7 +21,7 @@ a request to the [AddGroupToCustomer](../../doc/apis/customers.md#add-group-to-c "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/additional-recipient.md b/doc/models/additional-recipient.md index 174e4ebe..649b89c4 100644 --- a/doc/models/additional-recipient.md +++ b/doc/models/additional-recipient.md @@ -24,7 +24,7 @@ Represents an additional recipient (other than the merchant) receiving a portion "description": "description2", "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" }, "receivable_id": "receivable_id8" } diff --git a/doc/models/adjust-loyalty-points-response.md b/doc/models/adjust-loyalty-points-response.md index 89bf1e32..cc2d1f89 100644 --- a/doc/models/adjust-loyalty-points-response.md +++ b/doc/models/adjust-loyalty-points-response.md @@ -53,7 +53,7 @@ Represents an [AdjustLoyaltyPoints](../../doc/apis/loyalty.md#adjust-loyalty-poi "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/bank-account.md b/doc/models/bank-account.md index b2025687..e6a85562 100644 --- a/doc/models/bank-account.md +++ b/doc/models/bank-account.md @@ -38,7 +38,7 @@ linking a bank account to a Square account, see "id": "id2", "account_number_suffix": "account_number_suffix6", "country": "TT", - "currency": "SLL", + "currency": "MVR", "account_type": "OTHER", "holder_name": "holder_name8", "primary_bank_identification_number": "primary_bank_identification_number0", diff --git a/doc/models/batch-delete-catalog-objects-response.md b/doc/models/batch-delete-catalog-objects-response.md index 70c78355..9540b34a 100644 --- a/doc/models/batch-delete-catalog-objects-response.md +++ b/doc/models/batch-delete-catalog-objects-response.md @@ -25,7 +25,7 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/batch-retrieve-catalog-objects-response.md b/doc/models/batch-retrieve-catalog-objects-response.md index 119b1561..dda55773 100644 --- a/doc/models/batch-retrieve-catalog-objects-response.md +++ b/doc/models/batch-retrieve-catalog-objects-response.md @@ -254,19 +254,19 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/batch-retrieve-orders-response.md b/doc/models/batch-retrieve-orders-response.md index 23dcc221..bb674a5e 100644 --- a/doc/models/batch-retrieve-orders-response.md +++ b/doc/models/batch-retrieve-orders-response.md @@ -99,19 +99,19 @@ a request to the `BatchRetrieveOrders` endpoint. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/batch-upsert-catalog-objects-response.md b/doc/models/batch-upsert-catalog-objects-response.md index 13d9f48b..37261ae0 100644 --- a/doc/models/batch-upsert-catalog-objects-response.md +++ b/doc/models/batch-upsert-catalog-objects-response.md @@ -329,7 +329,7 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/booking-custom-attribute-upsert-response.md b/doc/models/booking-custom-attribute-upsert-response.md index f1e66f63..aa11cbac 100644 --- a/doc/models/booking-custom-attribute-upsert-response.md +++ b/doc/models/booking-custom-attribute-upsert-response.md @@ -42,19 +42,19 @@ Represents a response for an individual upsert request in a [BulkUpsertBookingCu "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/bulk-create-customers-response.md b/doc/models/bulk-create-customers-response.md index 07a6faec..c7c6ca21 100644 --- a/doc/models/bulk-create-customers-response.md +++ b/doc/models/bulk-create-customers-response.md @@ -57,19 +57,19 @@ Defines the fields included in the response body from the "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } @@ -112,19 +112,19 @@ Defines the fields included in the response body from the "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } @@ -134,13 +134,13 @@ Defines the fields included in the response body from the "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/bulk-create-team-members-response.md b/doc/models/bulk-create-team-members-response.md index ea0bfd9b..45e105e7 100644 --- a/doc/models/bulk-create-team-members-response.md +++ b/doc/models/bulk-create-team-members-response.md @@ -40,13 +40,13 @@ Represents a response from a bulk create request containing the created `TeamMem "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } @@ -69,13 +69,13 @@ Represents a response from a bulk create request containing the created `TeamMem "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } @@ -85,7 +85,7 @@ Represents a response from a bulk create request containing the created `TeamMem "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/bulk-create-vendors-response.md b/doc/models/bulk-create-vendors-response.md index 8d0c6e9c..1eb0ba10 100644 --- a/doc/models/bulk-create-vendors-response.md +++ b/doc/models/bulk-create-vendors-response.md @@ -72,19 +72,19 @@ Represents an output from a call to [BulkCreateVendors](../../doc/apis/vendors.m "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/bulk-delete-customers-response.md b/doc/models/bulk-delete-customers-response.md index 5a1fbdde..8365087e 100644 --- a/doc/models/bulk-delete-customers-response.md +++ b/doc/models/bulk-delete-customers-response.md @@ -34,19 +34,19 @@ Defines the fields included in the response body from the "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } @@ -56,19 +56,19 @@ Defines the fields included in the response body from the "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } @@ -78,13 +78,13 @@ Defines the fields included in the response body from the "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/bulk-delete-location-custom-attributes-response.md b/doc/models/bulk-delete-location-custom-attributes-response.md index f75a3aec..d1aabed5 100644 --- a/doc/models/bulk-delete-location-custom-attributes-response.md +++ b/doc/models/bulk-delete-location-custom-attributes-response.md @@ -36,7 +36,7 @@ which contains a map of responses that each corresponds to an individual delete "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/bulk-delete-merchant-custom-attributes-response.md b/doc/models/bulk-delete-merchant-custom-attributes-response.md index 00d888ce..5355c3bb 100644 --- a/doc/models/bulk-delete-merchant-custom-attributes-response.md +++ b/doc/models/bulk-delete-merchant-custom-attributes-response.md @@ -32,13 +32,13 @@ which contains a map of responses that each corresponds to an individual delete "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/bulk-delete-order-custom-attributes-response.md b/doc/models/bulk-delete-order-custom-attributes-response.md index cb5f0e64..96672462 100644 --- a/doc/models/bulk-delete-order-custom-attributes-response.md +++ b/doc/models/bulk-delete-order-custom-attributes-response.md @@ -23,13 +23,13 @@ Represents a response from deleting one or more order custom attributes. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } @@ -39,13 +39,13 @@ Represents a response from deleting one or more order custom attributes. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } @@ -55,7 +55,7 @@ Represents a response from deleting one or more order custom attributes. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/bulk-retrieve-customers-response.md b/doc/models/bulk-retrieve-customers-response.md index cf5fcb1f..5bc6ffaa 100644 --- a/doc/models/bulk-retrieve-customers-response.md +++ b/doc/models/bulk-retrieve-customers-response.md @@ -64,19 +64,19 @@ Defines the fields included in the response body from the "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } @@ -98,19 +98,19 @@ Defines the fields included in the response body from the "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } @@ -120,19 +120,19 @@ Defines the fields included in the response body from the "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/bulk-retrieve-vendors-response.md b/doc/models/bulk-retrieve-vendors-response.md index 013b19f7..a108e47b 100644 --- a/doc/models/bulk-retrieve-vendors-response.md +++ b/doc/models/bulk-retrieve-vendors-response.md @@ -54,19 +54,19 @@ Represents an output from a call to [BulkRetrieveVendors](../../doc/apis/vendors "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } @@ -89,19 +89,19 @@ Represents an output from a call to [BulkRetrieveVendors](../../doc/apis/vendors "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/bulk-swap-plan-response.md b/doc/models/bulk-swap-plan-response.md index a31d6b11..d188e967 100644 --- a/doc/models/bulk-swap-plan-response.md +++ b/doc/models/bulk-swap-plan-response.md @@ -23,13 +23,13 @@ Defines output parameters in a response of the "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/bulk-update-customers-response.md b/doc/models/bulk-update-customers-response.md index f2a22801..bb8bea08 100644 --- a/doc/models/bulk-update-customers-response.md +++ b/doc/models/bulk-update-customers-response.md @@ -48,19 +48,19 @@ Defines the fields included in the response body from the "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } @@ -91,19 +91,19 @@ Defines the fields included in the response body from the "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } @@ -113,19 +113,19 @@ Defines the fields included in the response body from the "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/bulk-update-team-members-response.md b/doc/models/bulk-update-team-members-response.md index 999f97b3..b26a4b51 100644 --- a/doc/models/bulk-update-team-members-response.md +++ b/doc/models/bulk-update-team-members-response.md @@ -38,13 +38,13 @@ Represents a response from a bulk update request containing the updated `TeamMem "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } @@ -73,13 +73,13 @@ Represents a response from a bulk update request containing the updated `TeamMem "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } @@ -89,7 +89,7 @@ Represents a response from a bulk update request containing the updated `TeamMem "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/bulk-update-vendors-response.md b/doc/models/bulk-update-vendors-response.md index a3ba6a1b..e65f1cb5 100644 --- a/doc/models/bulk-update-vendors-response.md +++ b/doc/models/bulk-update-vendors-response.md @@ -74,13 +74,13 @@ Represents an output from a call to [BulkUpdateVendors](../../doc/apis/vendors.m "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } @@ -90,19 +90,19 @@ Represents an output from a call to [BulkUpdateVendors](../../doc/apis/vendors.m "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } @@ -125,19 +125,19 @@ Represents an output from a call to [BulkUpdateVendors](../../doc/apis/vendors.m "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } @@ -160,19 +160,19 @@ Represents an output from a call to [BulkUpdateVendors](../../doc/apis/vendors.m "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/bulk-upsert-booking-custom-attributes-response.md b/doc/models/bulk-upsert-booking-custom-attributes-response.md index 1c51b3b4..d1c7a1d6 100644 --- a/doc/models/bulk-upsert-booking-custom-attributes-response.md +++ b/doc/models/bulk-upsert-booking-custom-attributes-response.md @@ -44,13 +44,13 @@ which contains a map of responses that each corresponds to an individual upsert "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } @@ -80,13 +80,13 @@ which contains a map of responses that each corresponds to an individual upsert "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } @@ -116,13 +116,13 @@ which contains a map of responses that each corresponds to an individual upsert "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } @@ -132,7 +132,7 @@ which contains a map of responses that each corresponds to an individual upsert "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/bulk-upsert-customer-custom-attributes-response-customer-custom-attribute-upsert-response.md b/doc/models/bulk-upsert-customer-custom-attributes-response-customer-custom-attribute-upsert-response.md index 675c024b..13e227ec 100644 --- a/doc/models/bulk-upsert-customer-custom-attributes-response-customer-custom-attribute-upsert-response.md +++ b/doc/models/bulk-upsert-customer-custom-attributes-response-customer-custom-attribute-upsert-response.md @@ -42,19 +42,19 @@ Represents a response for an individual upsert request in a [BulkUpsertCustomerC "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/bulk-upsert-customer-custom-attributes-response.md b/doc/models/bulk-upsert-customer-custom-attributes-response.md index 59284aca..8362ad5a 100644 --- a/doc/models/bulk-upsert-customer-custom-attributes-response.md +++ b/doc/models/bulk-upsert-customer-custom-attributes-response.md @@ -44,13 +44,13 @@ which contains a map of responses that each corresponds to an individual upsert "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } @@ -80,13 +80,13 @@ which contains a map of responses that each corresponds to an individual upsert "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } @@ -116,13 +116,13 @@ which contains a map of responses that each corresponds to an individual upsert "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } @@ -132,19 +132,19 @@ which contains a map of responses that each corresponds to an individual upsert "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/bulk-upsert-location-custom-attributes-response-location-custom-attribute-upsert-response.md b/doc/models/bulk-upsert-location-custom-attributes-response-location-custom-attribute-upsert-response.md index e6be865e..2058dbd8 100644 --- a/doc/models/bulk-upsert-location-custom-attributes-response-location-custom-attribute-upsert-response.md +++ b/doc/models/bulk-upsert-location-custom-attributes-response-location-custom-attribute-upsert-response.md @@ -42,13 +42,13 @@ Represents a response for an individual upsert request in a [BulkUpsertLocationC "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/bulk-upsert-location-custom-attributes-response.md b/doc/models/bulk-upsert-location-custom-attributes-response.md index 7485930f..9ea1714d 100644 --- a/doc/models/bulk-upsert-location-custom-attributes-response.md +++ b/doc/models/bulk-upsert-location-custom-attributes-response.md @@ -44,13 +44,13 @@ which contains a map of responses that each corresponds to an individual upsert "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } @@ -60,13 +60,13 @@ which contains a map of responses that each corresponds to an individual upsert "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/bulk-upsert-merchant-custom-attributes-response-merchant-custom-attribute-upsert-response.md b/doc/models/bulk-upsert-merchant-custom-attributes-response-merchant-custom-attribute-upsert-response.md index c0889b71..99482af9 100644 --- a/doc/models/bulk-upsert-merchant-custom-attributes-response-merchant-custom-attribute-upsert-response.md +++ b/doc/models/bulk-upsert-merchant-custom-attributes-response-merchant-custom-attribute-upsert-response.md @@ -42,19 +42,19 @@ Represents a response for an individual upsert request in a [BulkUpsertMerchantC "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/bulk-upsert-merchant-custom-attributes-response.md b/doc/models/bulk-upsert-merchant-custom-attributes-response.md index 40bbfdb7..a9588a76 100644 --- a/doc/models/bulk-upsert-merchant-custom-attributes-response.md +++ b/doc/models/bulk-upsert-merchant-custom-attributes-response.md @@ -44,13 +44,13 @@ which contains a map of responses that each corresponds to an individual upsert "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } @@ -80,13 +80,13 @@ which contains a map of responses that each corresponds to an individual upsert "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } @@ -96,7 +96,7 @@ which contains a map of responses that each corresponds to an individual upsert "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/bulk-upsert-order-custom-attributes-response.md b/doc/models/bulk-upsert-order-custom-attributes-response.md index 1435d3d0..235ca68c 100644 --- a/doc/models/bulk-upsert-order-custom-attributes-response.md +++ b/doc/models/bulk-upsert-order-custom-attributes-response.md @@ -21,13 +21,13 @@ Represents a response from a bulk upsert of order custom attributes. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } @@ -56,13 +56,13 @@ Represents a response from a bulk upsert of order custom attributes. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/calculate-loyalty-points-request.md b/doc/models/calculate-loyalty-points-request.md index 015dae89..fbc53cb5 100644 --- a/doc/models/calculate-loyalty-points-request.md +++ b/doc/models/calculate-loyalty-points-request.md @@ -23,7 +23,7 @@ Represents a [CalculateLoyaltyPoints](../../doc/apis/loyalty.md#calculate-loyalt "order_id": "RFZfrdtm3mhO1oGzf5Cx7fEMsmGZY", "transaction_amount_money": { "amount": 64, - "currency": "KWD" + "currency": "ANG" } } ``` diff --git a/doc/models/calculate-loyalty-points-response.md b/doc/models/calculate-loyalty-points-response.md index 8960a957..7d43495f 100644 --- a/doc/models/calculate-loyalty-points-response.md +++ b/doc/models/calculate-loyalty-points-response.md @@ -24,19 +24,19 @@ Represents a [CalculateLoyaltyPoints](../../doc/apis/loyalty.md#calculate-loyalt "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/calculate-order-response.md b/doc/models/calculate-order-response.md index 9f9114fe..03f5f936 100644 --- a/doc/models/calculate-order-response.md +++ b/doc/models/calculate-order-response.md @@ -209,19 +209,19 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/cancel-invoice-response.md b/doc/models/cancel-invoice-response.md index df2c4dca..4919cbdf 100644 --- a/doc/models/cancel-invoice-response.md +++ b/doc/models/cancel-invoice-response.md @@ -96,13 +96,13 @@ The response returned by the `CancelInvoice` request. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/cancel-loyalty-promotion-response.md b/doc/models/cancel-loyalty-promotion-response.md index 16febd5f..3c3dc8b6 100644 --- a/doc/models/cancel-loyalty-promotion-response.md +++ b/doc/models/cancel-loyalty-promotion-response.md @@ -59,19 +59,19 @@ Either `loyalty_promotion` or `errors` is present in the response. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/cancel-payment-by-idempotency-key-response.md b/doc/models/cancel-payment-by-idempotency-key-response.md index 09a1cd87..23d2c2ff 100644 --- a/doc/models/cancel-payment-by-idempotency-key-response.md +++ b/doc/models/cancel-payment-by-idempotency-key-response.md @@ -22,13 +22,13 @@ On success, `errors` is empty. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/cancel-payment-response.md b/doc/models/cancel-payment-response.md index d1197a26..3cdf1c3d 100644 --- a/doc/models/cancel-payment-response.md +++ b/doc/models/cancel-payment-response.md @@ -82,13 +82,13 @@ Defines the response returned by [CancelPayment](../../doc/apis/payments.md#canc "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/cancel-subscription-response.md b/doc/models/cancel-subscription-response.md index 28bfbb71..f904b4cb 100644 --- a/doc/models/cancel-subscription-response.md +++ b/doc/models/cancel-subscription-response.md @@ -44,19 +44,19 @@ Defines output parameters in a response from the "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/cancel-terminal-action-response.md b/doc/models/cancel-terminal-action-response.md index 1d97c0d7..353d4692 100644 --- a/doc/models/cancel-terminal-action-response.md +++ b/doc/models/cancel-terminal-action-response.md @@ -35,19 +35,19 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/cancel-terminal-checkout-response.md b/doc/models/cancel-terminal-checkout-response.md index 2f36904f..ffc3d935 100644 --- a/doc/models/cancel-terminal-checkout-response.md +++ b/doc/models/cancel-terminal-checkout-response.md @@ -57,19 +57,19 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/cancel-terminal-refund-response.md b/doc/models/cancel-terminal-refund-response.md index 342be5ab..38cd2b2f 100644 --- a/doc/models/cancel-terminal-refund-response.md +++ b/doc/models/cancel-terminal-refund-response.md @@ -47,19 +47,19 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/capture-transaction-response.md b/doc/models/capture-transaction-response.md index 5359a486..73e35d48 100644 --- a/doc/models/capture-transaction-response.md +++ b/doc/models/capture-transaction-response.md @@ -21,7 +21,7 @@ a request to the [CaptureTransaction](api-endpoint:Transactions-CaptureTransacti "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/cash-drawer-shift-event.md b/doc/models/cash-drawer-shift-event.md index b26dd4ce..4fb54b9d 100644 --- a/doc/models/cash-drawer-shift-event.md +++ b/doc/models/cash-drawer-shift-event.md @@ -24,7 +24,7 @@ "event_type": "OTHER_TENDER_PAYMENT", "event_money": { "amount": 148, - "currency": "AMD" + "currency": "SDG" }, "created_at": "created_at4", "description": "description6" diff --git a/doc/models/cash-payment-details.md b/doc/models/cash-payment-details.md index 11f63d8d..56b9945d 100644 --- a/doc/models/cash-payment-details.md +++ b/doc/models/cash-payment-details.md @@ -21,11 +21,11 @@ Stores details about a cash payment. Contains only non-confidential information. { "buyer_supplied_money": { "amount": 114, - "currency": "ZMK" + "currency": "XTS" }, "change_back_money": { "amount": 78, - "currency": "DJF" + "currency": "XBD" } } ``` diff --git a/doc/models/catalog-discount.md b/doc/models/catalog-discount.md index ce4c63a1..9793e4c5 100644 --- a/doc/models/catalog-discount.md +++ b/doc/models/catalog-discount.md @@ -41,7 +41,7 @@ A discount applicable to items. "percentage": "percentage6", "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" }, "pin_required": false } diff --git a/doc/models/catalog-info-response.md b/doc/models/catalog-info-response.md index 0f87ee32..a85d2e4f 100644 --- a/doc/models/catalog-info-response.md +++ b/doc/models/catalog-info-response.md @@ -33,7 +33,7 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/catalog-modifier.md b/doc/models/catalog-modifier.md index e80bc86b..abec78b2 100644 --- a/doc/models/catalog-modifier.md +++ b/doc/models/catalog-modifier.md @@ -36,7 +36,7 @@ A modifier applicable to items at the time of sale. An example of a modifier is "name": "name6", "price_money": { "amount": 202, - "currency": "CNY" + "currency": "GTQ" }, "ordinal": 70, "modifier_list_id": "modifier_list_id2", @@ -45,7 +45,7 @@ A modifier applicable to items at the time of sale. An example of a modifier is "location_id": "location_id8", "price_money": { "amount": 202, - "currency": "CNY" + "currency": "GTQ" }, "sold_out": false }, @@ -53,7 +53,7 @@ A modifier applicable to items at the time of sale. An example of a modifier is "location_id": "location_id8", "price_money": { "amount": 202, - "currency": "CNY" + "currency": "GTQ" }, "sold_out": false }, @@ -61,7 +61,7 @@ A modifier applicable to items at the time of sale. An example of a modifier is "location_id": "location_id8", "price_money": { "amount": 202, - "currency": "CNY" + "currency": "GTQ" }, "sold_out": false } diff --git a/doc/models/catalog-quick-amount.md b/doc/models/catalog-quick-amount.md index fca71738..738845ce 100644 --- a/doc/models/catalog-quick-amount.md +++ b/doc/models/catalog-quick-amount.md @@ -23,7 +23,7 @@ Represents a Quick Amount in the Catalog. "type": "QUICK_AMOUNT_TYPE_MANUAL", "amount": { "amount": 0, - "currency": "MNT" + "currency": "LAK" }, "score": 12, "ordinal": 200 diff --git a/doc/models/catalog-quick-amounts-settings.md b/doc/models/catalog-quick-amounts-settings.md index 60a68bec..5c5ff893 100644 --- a/doc/models/catalog-quick-amounts-settings.md +++ b/doc/models/catalog-quick-amounts-settings.md @@ -26,7 +26,7 @@ A parent Catalog Object model represents a set of Quick Amounts and the settings "type": "QUICK_AMOUNT_TYPE_MANUAL", "amount": { "amount": 0, - "currency": "MNT" + "currency": "LAK" }, "score": 116, "ordinal": 48 @@ -35,7 +35,7 @@ A parent Catalog Object model represents a set of Quick Amounts and the settings "type": "QUICK_AMOUNT_TYPE_MANUAL", "amount": { "amount": 0, - "currency": "MNT" + "currency": "LAK" }, "score": 116, "ordinal": 48 diff --git a/doc/models/catalog-subscription-plan-variation.md b/doc/models/catalog-subscription-plan-variation.md index 729f95b3..4797b895 100644 --- a/doc/models/catalog-subscription-plan-variation.md +++ b/doc/models/catalog-subscription-plan-variation.md @@ -31,7 +31,7 @@ For more information, see [Subscription Plans and Variations](https://developer. "periods": 112, "recurring_price_money": { "amount": 66, - "currency": "TMT" + "currency": "ZMW" }, "ordinal": 78, "pricing": { @@ -42,7 +42,7 @@ For more information, see [Subscription Plans and Variations](https://developer. ], "price_money": { "amount": 202, - "currency": "CNY" + "currency": "GTQ" } } } diff --git a/doc/models/catalog-subscription-plan.md b/doc/models/catalog-subscription-plan.md index 009b616a..9e7ad4dc 100644 --- a/doc/models/catalog-subscription-plan.md +++ b/doc/models/catalog-subscription-plan.md @@ -31,7 +31,7 @@ For more information, see [Subscription Plans and Variations](https://developer. "periods": 112, "recurring_price_money": { "amount": 66, - "currency": "TMT" + "currency": "ZMW" }, "ordinal": 78, "pricing": { @@ -42,7 +42,7 @@ For more information, see [Subscription Plans and Variations](https://developer. ], "price_money": { "amount": 202, - "currency": "CNY" + "currency": "GTQ" } } }, @@ -52,7 +52,7 @@ For more information, see [Subscription Plans and Variations](https://developer. "periods": 112, "recurring_price_money": { "amount": 66, - "currency": "TMT" + "currency": "ZMW" }, "ordinal": 78, "pricing": { @@ -63,7 +63,7 @@ For more information, see [Subscription Plans and Variations](https://developer. ], "price_money": { "amount": 202, - "currency": "CNY" + "currency": "GTQ" } } }, @@ -73,7 +73,7 @@ For more information, see [Subscription Plans and Variations](https://developer. "periods": 112, "recurring_price_money": { "amount": 66, - "currency": "TMT" + "currency": "ZMW" }, "ordinal": 78, "pricing": { @@ -84,7 +84,7 @@ For more information, see [Subscription Plans and Variations](https://developer. ], "price_money": { "amount": 202, - "currency": "CNY" + "currency": "GTQ" } } } diff --git a/doc/models/change-billing-anchor-date-response.md b/doc/models/change-billing-anchor-date-response.md index 0abb62b3..d8839795 100644 --- a/doc/models/change-billing-anchor-date-response.md +++ b/doc/models/change-billing-anchor-date-response.md @@ -78,13 +78,13 @@ Defines output parameters in a request to the "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/charge-request-additional-recipient.md b/doc/models/charge-request-additional-recipient.md index e074faf7..2a3127ab 100644 --- a/doc/models/charge-request-additional-recipient.md +++ b/doc/models/charge-request-additional-recipient.md @@ -24,7 +24,7 @@ Support is currently limited to USD, CAD and GBP currencies "description": "description2", "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" } } ``` diff --git a/doc/models/charge-response.md b/doc/models/charge-response.md index 34a01a3b..4a17639e 100644 --- a/doc/models/charge-response.md +++ b/doc/models/charge-response.md @@ -70,12 +70,12 @@ One of `errors` or `transaction` is present in a given response (never both). "reason": "reason4", "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" }, "status": "PENDING", "processing_fee_money": { "amount": 112, - "currency": "BBD" + "currency": "DJF" }, "additional_recipients": [ { @@ -83,7 +83,7 @@ One of `errors` or `transaction` is present in a given response (never both). "description": "description6", "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" }, "receivable_id": "receivable_id6" }, @@ -92,7 +92,7 @@ One of `errors` or `transaction` is present in a given response (never both). "description": "description6", "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" }, "receivable_id": "receivable_id6" } @@ -107,12 +107,12 @@ One of `errors` or `transaction` is present in a given response (never both). "reason": "reason4", "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" }, "status": "PENDING", "processing_fee_money": { "amount": 112, - "currency": "BBD" + "currency": "DJF" }, "additional_recipients": [ { @@ -120,7 +120,7 @@ One of `errors` or `transaction` is present in a given response (never both). "description": "description6", "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" }, "receivable_id": "receivable_id6" }, @@ -129,7 +129,7 @@ One of `errors` or `transaction` is present in a given response (never both). "description": "description6", "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" }, "receivable_id": "receivable_id6" } @@ -144,12 +144,12 @@ One of `errors` or `transaction` is present in a given response (never both). "reason": "reason4", "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" }, "status": "PENDING", "processing_fee_money": { "amount": 112, - "currency": "BBD" + "currency": "DJF" }, "additional_recipients": [ { @@ -157,7 +157,7 @@ One of `errors` or `transaction` is present in a given response (never both). "description": "description6", "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" }, "receivable_id": "receivable_id6" }, @@ -166,7 +166,7 @@ One of `errors` or `transaction` is present in a given response (never both). "description": "description6", "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" }, "receivable_id": "receivable_id6" } @@ -177,7 +177,7 @@ One of `errors` or `transaction` is present in a given response (never both). "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/checkout-location-settings-tipping.md b/doc/models/checkout-location-settings-tipping.md index e3192c55..81e0d882 100644 --- a/doc/models/checkout-location-settings-tipping.md +++ b/doc/models/checkout-location-settings-tipping.md @@ -28,20 +28,20 @@ "smart_tips": [ { "amount": 152, - "currency": "USN" + "currency": "GEL" }, { "amount": 152, - "currency": "USN" + "currency": "GEL" }, { "amount": 152, - "currency": "USN" + "currency": "GEL" } ], "default_smart_tip": { "amount": 58, - "currency": "XTS" + "currency": "KWD" } } ``` diff --git a/doc/models/checkout-location-settings.md b/doc/models/checkout-location-settings.md index 98fa33b1..4d8c06c7 100644 --- a/doc/models/checkout-location-settings.md +++ b/doc/models/checkout-location-settings.md @@ -50,16 +50,16 @@ "smart_tips": [ { "amount": 152, - "currency": "USN" + "currency": "GEL" }, { "amount": 152, - "currency": "USN" + "currency": "GEL" } ], "default_smart_tip": { "amount": 58, - "currency": "XTS" + "currency": "KWD" } } } diff --git a/doc/models/checkout-merchant-settings-payment-methods-afterpay-clearpay-eligibility-range.md b/doc/models/checkout-merchant-settings-payment-methods-afterpay-clearpay-eligibility-range.md index 69bf5524..3288f551 100644 --- a/doc/models/checkout-merchant-settings-payment-methods-afterpay-clearpay-eligibility-range.md +++ b/doc/models/checkout-merchant-settings-payment-methods-afterpay-clearpay-eligibility-range.md @@ -20,11 +20,11 @@ A range of purchase price that qualifies. { "min": { "amount": 34, - "currency": "ISK" + "currency": "OMR" }, "max": { "amount": 140, - "currency": "OMR" + "currency": "JPY" } } ``` diff --git a/doc/models/checkout-merchant-settings-payment-methods-afterpay-clearpay.md b/doc/models/checkout-merchant-settings-payment-methods-afterpay-clearpay.md index 7a5fb6ba..e983896f 100644 --- a/doc/models/checkout-merchant-settings-payment-methods-afterpay-clearpay.md +++ b/doc/models/checkout-merchant-settings-payment-methods-afterpay-clearpay.md @@ -22,21 +22,21 @@ The settings allowed for AfterpayClearpay. "order_eligibility_range": { "min": { "amount": 34, - "currency": "ISK" + "currency": "OMR" }, "max": { "amount": 140, - "currency": "OMR" + "currency": "JPY" } }, "item_eligibility_range": { "min": { "amount": 34, - "currency": "ISK" + "currency": "OMR" }, "max": { "amount": 140, - "currency": "OMR" + "currency": "JPY" } }, "enabled": false diff --git a/doc/models/checkout-merchant-settings-payment-methods.md b/doc/models/checkout-merchant-settings-payment-methods.md index 8156f8c4..d061537a 100644 --- a/doc/models/checkout-merchant-settings-payment-methods.md +++ b/doc/models/checkout-merchant-settings-payment-methods.md @@ -31,21 +31,21 @@ "order_eligibility_range": { "min": { "amount": 34, - "currency": "ISK" + "currency": "OMR" }, "max": { "amount": 140, - "currency": "OMR" + "currency": "JPY" } }, "item_eligibility_range": { "min": { "amount": 34, - "currency": "ISK" + "currency": "OMR" }, "max": { "amount": 140, - "currency": "OMR" + "currency": "JPY" } }, "enabled": false diff --git a/doc/models/checkout-merchant-settings.md b/doc/models/checkout-merchant-settings.md index c1b87bd2..d91a48fc 100644 --- a/doc/models/checkout-merchant-settings.md +++ b/doc/models/checkout-merchant-settings.md @@ -30,21 +30,21 @@ "order_eligibility_range": { "min": { "amount": 34, - "currency": "ISK" + "currency": "OMR" }, "max": { "amount": 140, - "currency": "OMR" + "currency": "JPY" } }, "item_eligibility_range": { "min": { "amount": 34, - "currency": "ISK" + "currency": "OMR" }, "max": { "amount": 140, - "currency": "OMR" + "currency": "JPY" } }, "enabled": false diff --git a/doc/models/clone-order-response.md b/doc/models/clone-order-response.md index eb300c4f..4288480f 100644 --- a/doc/models/clone-order-response.md +++ b/doc/models/clone-order-response.md @@ -311,19 +311,19 @@ a request to the [CloneOrder](../../doc/apis/orders.md#clone-order) endpoint. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/complete-payment-response.md b/doc/models/complete-payment-response.md index 31c0aba5..593d37cf 100644 --- a/doc/models/complete-payment-response.md +++ b/doc/models/complete-payment-response.md @@ -85,19 +85,19 @@ Defines the response returned by[CompletePayment](../../doc/apis/payments.md#com "version_token": "56pRkL3slrzet2iQrTp9n0bdJVYTB9YEWdTNjQfZOPV6o", "tip_money": { "amount": 190, - "currency": "ZMK" + "currency": "TWD" } }, "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/create-break-type-response.md b/doc/models/create-break-type-response.md index ff765362..678bbefb 100644 --- a/doc/models/create-break-type-response.md +++ b/doc/models/create-break-type-response.md @@ -33,19 +33,19 @@ the request resulted in errors. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/create-card-response.md b/doc/models/create-card-response.md index b1483a6a..e81d314a 100644 --- a/doc/models/create-card-response.md +++ b/doc/models/create-card-response.md @@ -50,19 +50,19 @@ present. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/create-catalog-image-response.md b/doc/models/create-catalog-image-response.md index e4b5d774..e23eec82 100644 --- a/doc/models/create-catalog-image-response.md +++ b/doc/models/create-catalog-image-response.md @@ -60,7 +60,7 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/create-checkout-response.md b/doc/models/create-checkout-response.md index e1fdf4b1..f602d186 100644 --- a/doc/models/create-checkout-response.md +++ b/doc/models/create-checkout-response.md @@ -156,13 +156,13 @@ a request to the `CreateCheckout` endpoint. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/create-customer-card-response.md b/doc/models/create-customer-card-response.md index 1982f48f..2c7fdc75 100644 --- a/doc/models/create-customer-card-response.md +++ b/doc/models/create-customer-card-response.md @@ -40,13 +40,13 @@ Either `errors` or `card` is present in a given response (never both). "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/create-customer-custom-attribute-definition-response.md b/doc/models/create-customer-custom-attribute-definition-response.md index e829a823..9ddea2df 100644 --- a/doc/models/create-customer-custom-attribute-definition-response.md +++ b/doc/models/create-customer-custom-attribute-definition-response.md @@ -35,19 +35,19 @@ Either `custom_attribute_definition` or `errors` is present in the response. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/create-customer-group-response.md b/doc/models/create-customer-group-response.md index 68fdb350..01efb7be 100644 --- a/doc/models/create-customer-group-response.md +++ b/doc/models/create-customer-group-response.md @@ -30,7 +30,7 @@ Either `errors` or `group` is present in a given response (never both). "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/create-customer-response.md b/doc/models/create-customer-response.md index 00e21aa3..e87db6f3 100644 --- a/doc/models/create-customer-response.md +++ b/doc/models/create-customer-response.md @@ -58,7 +58,7 @@ Either `errors` or `customer` is present in a given response (never both). "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/create-device-code-response.md b/doc/models/create-device-code-response.md index 7de643d2..14672b2b 100644 --- a/doc/models/create-device-code-response.md +++ b/doc/models/create-device-code-response.md @@ -31,7 +31,7 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/create-dispute-evidence-file-response.md b/doc/models/create-dispute-evidence-file-response.md index fbda78ea..7b4616e9 100644 --- a/doc/models/create-dispute-evidence-file-response.md +++ b/doc/models/create-dispute-evidence-file-response.md @@ -32,13 +32,13 @@ Defines the fields in a `CreateDisputeEvidenceFile` response. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/create-dispute-evidence-text-response.md b/doc/models/create-dispute-evidence-text-response.md index 3fd30628..23658f2b 100644 --- a/doc/models/create-dispute-evidence-text-response.md +++ b/doc/models/create-dispute-evidence-text-response.md @@ -33,13 +33,13 @@ Defines the fields in a `CreateDisputeEvidenceText` response. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/create-gift-card-activity-request.md b/doc/models/create-gift-card-activity-request.md index 1516cd42..175d48e5 100644 --- a/doc/models/create-gift-card-activity-request.md +++ b/doc/models/create-gift-card-activity-request.md @@ -31,7 +31,7 @@ A request to create a gift card activity. "gift_card_gan": "gift_card_gan2", "gift_card_balance_money": { "amount": 82, - "currency": "KPW" + "currency": "IRR" } }, "idempotency_key": "U16kfr-kA70er-q4Rsym-7U7NnY" diff --git a/doc/models/create-gift-card-activity-response.md b/doc/models/create-gift-card-activity-response.md index cf172442..a65bc80b 100644 --- a/doc/models/create-gift-card-activity-response.md +++ b/doc/models/create-gift-card-activity-response.md @@ -42,13 +42,13 @@ The response might contain a set of `Error` objects if the request resulted in e "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/create-gift-card-request.md b/doc/models/create-gift-card-request.md index df576113..f829c842 100644 --- a/doc/models/create-gift-card-request.md +++ b/doc/models/create-gift-card-request.md @@ -26,7 +26,7 @@ Represents a [CreateGiftCard](../../doc/apis/gift-cards.md#create-gift-card) req "state": "ACTIVE", "balance_money": { "amount": 146, - "currency": "MVR" + "currency": "BBD" }, "gan": "gan6" }, diff --git a/doc/models/create-gift-card-response.md b/doc/models/create-gift-card-response.md index 16b46e3b..3c087fb4 100644 --- a/doc/models/create-gift-card-response.md +++ b/doc/models/create-gift-card-response.md @@ -34,19 +34,19 @@ resulted in errors. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/create-invoice-attachment-response.md b/doc/models/create-invoice-attachment-response.md index 7b944881..2b37a82d 100644 --- a/doc/models/create-invoice-attachment-response.md +++ b/doc/models/create-invoice-attachment-response.md @@ -30,19 +30,19 @@ Represents a [CreateInvoiceAttachment](../../doc/apis/invoices.md#create-invoice "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/create-invoice-response.md b/doc/models/create-invoice-response.md index 05915a79..4887197e 100644 --- a/doc/models/create-invoice-response.md +++ b/doc/models/create-invoice-response.md @@ -96,7 +96,7 @@ The response returned by the `CreateInvoice` request. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/create-location-custom-attribute-definition-response.md b/doc/models/create-location-custom-attribute-definition-response.md index 66e266e6..72988023 100644 --- a/doc/models/create-location-custom-attribute-definition-response.md +++ b/doc/models/create-location-custom-attribute-definition-response.md @@ -35,7 +35,7 @@ Either `custom_attribute_definition` or `errors` is present in the response. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/create-location-response.md b/doc/models/create-location-response.md index 11d05d20..72eaf549 100644 --- a/doc/models/create-location-response.md +++ b/doc/models/create-location-response.md @@ -52,19 +52,19 @@ The response object returned by the [CreateLocation](../../doc/apis/locations.md "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/create-loyalty-account-response.md b/doc/models/create-loyalty-account-response.md index acb36efc..cc023aca 100644 --- a/doc/models/create-loyalty-account-response.md +++ b/doc/models/create-loyalty-account-response.md @@ -36,7 +36,7 @@ A response that includes loyalty account created. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/create-loyalty-promotion-response.md b/doc/models/create-loyalty-promotion-response.md index ba529b0e..5a6b5e38 100644 --- a/doc/models/create-loyalty-promotion-response.md +++ b/doc/models/create-loyalty-promotion-response.md @@ -59,13 +59,13 @@ Either `loyalty_promotion` or `errors` is present in the response. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/create-loyalty-reward-response.md b/doc/models/create-loyalty-reward-response.md index eeb07bd8..6da4dc5f 100644 --- a/doc/models/create-loyalty-reward-response.md +++ b/doc/models/create-loyalty-reward-response.md @@ -31,13 +31,13 @@ A response that includes the loyalty reward created. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/create-merchant-custom-attribute-definition-response.md b/doc/models/create-merchant-custom-attribute-definition-response.md index 33c35c2b..3ac7ac28 100644 --- a/doc/models/create-merchant-custom-attribute-definition-response.md +++ b/doc/models/create-merchant-custom-attribute-definition-response.md @@ -35,7 +35,7 @@ Either `custom_attribute_definition` or `errors` is present in the response. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/create-mobile-authorization-code-response.md b/doc/models/create-mobile-authorization-code-response.md index 1432c7ce..3a576bc0 100644 --- a/doc/models/create-mobile-authorization-code-response.md +++ b/doc/models/create-mobile-authorization-code-response.md @@ -25,13 +25,13 @@ a request to the `CreateMobileAuthorizationCode` endpoint. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/create-order-custom-attribute-definition-response.md b/doc/models/create-order-custom-attribute-definition-response.md index 1fd96ed7..14df7b9c 100644 --- a/doc/models/create-order-custom-attribute-definition-response.md +++ b/doc/models/create-order-custom-attribute-definition-response.md @@ -34,19 +34,19 @@ Represents a response from creating an order custom attribute definition. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/create-order-response.md b/doc/models/create-order-response.md index ba60fab5..fb0a3a56 100644 --- a/doc/models/create-order-response.md +++ b/doc/models/create-order-response.md @@ -313,13 +313,13 @@ Either `errors` or `order` is present in a given response, but never both. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/create-payment-link-response.md b/doc/models/create-payment-link-response.md index c84fb5da..408c3f1b 100644 --- a/doc/models/create-payment-link-response.md +++ b/doc/models/create-payment-link-response.md @@ -20,19 +20,19 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/create-payment-request.md b/doc/models/create-payment-request.md index cca61ce4..fe4574b9 100644 --- a/doc/models/create-payment-request.md +++ b/doc/models/create-payment-request.md @@ -58,7 +58,7 @@ Describes a request to create a payment using "source_id": "ccof:GaJGNaZa8x4OgDJn4GB", "tip_money": { "amount": 190, - "currency": "ZMK" + "currency": "TWD" }, "delay_duration": "delay_duration6", "delay_action": "delay_action6" diff --git a/doc/models/create-payment-response.md b/doc/models/create-payment-response.md index dde1206e..12671903 100644 --- a/doc/models/create-payment-response.md +++ b/doc/models/create-payment-response.md @@ -86,25 +86,25 @@ present, or it might be present with a status of `FAILED`. "version_token": "TPtNEOBOa6Qq6E3C3IjckSVOM6b3hMbfhjvTxHBQUsB6o", "tip_money": { "amount": 190, - "currency": "ZMK" + "currency": "TWD" } }, "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/create-refund-response.md b/doc/models/create-refund-response.md index 9a610444..5c067db0 100644 --- a/doc/models/create-refund-response.md +++ b/doc/models/create-refund-response.md @@ -46,19 +46,19 @@ One of `errors` or `refund` is present in a given response (never both). "transaction_id": "KnL67ZIwXCPtzOrqj0HrkxMF", "processing_fee_money": { "amount": 112, - "currency": "BBD" + "currency": "DJF" } }, "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/create-shift-response.md b/doc/models/create-shift-response.md index 4a3eedf5..c58cd34a 100644 --- a/doc/models/create-shift-response.md +++ b/doc/models/create-shift-response.md @@ -60,19 +60,19 @@ the request resulted in errors. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/create-subscription-response.md b/doc/models/create-subscription-response.md index ff5e0267..fd623c70 100644 --- a/doc/models/create-subscription-response.md +++ b/doc/models/create-subscription-response.md @@ -45,19 +45,19 @@ Defines output parameters in a response from the "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/create-team-member-response.md b/doc/models/create-team-member-response.md index cc6e72a2..93f877db 100644 --- a/doc/models/create-team-member-response.md +++ b/doc/models/create-team-member-response.md @@ -40,19 +40,19 @@ Represents a response from a create request containing the created `TeamMember` "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/create-terminal-action-response.md b/doc/models/create-terminal-action-response.md index 44896c06..0ef5bbbf 100644 --- a/doc/models/create-terminal-action-response.md +++ b/doc/models/create-terminal-action-response.md @@ -35,13 +35,13 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/create-terminal-checkout-response.md b/doc/models/create-terminal-checkout-response.md index 2583e9a0..dfea2411 100644 --- a/doc/models/create-terminal-checkout-response.md +++ b/doc/models/create-terminal-checkout-response.md @@ -57,7 +57,7 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/create-terminal-refund-response.md b/doc/models/create-terminal-refund-response.md index 1eb4a3cf..78933915 100644 --- a/doc/models/create-terminal-refund-response.md +++ b/doc/models/create-terminal-refund-response.md @@ -46,7 +46,7 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/create-vendor-response.md b/doc/models/create-vendor-response.md index 2286f22b..e5affc10 100644 --- a/doc/models/create-vendor-response.md +++ b/doc/models/create-vendor-response.md @@ -21,13 +21,13 @@ Represents an output from a call to [CreateVendor](../../doc/apis/vendors.md#cre "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/create-webhook-subscription-response.md b/doc/models/create-webhook-subscription-response.md index 08ee0c71..e9894279 100644 --- a/doc/models/create-webhook-subscription-response.md +++ b/doc/models/create-webhook-subscription-response.md @@ -39,7 +39,7 @@ present. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/currency.md b/doc/models/currency.md index e22a6aab..3667d5fe 100644 --- a/doc/models/currency.md +++ b/doc/models/currency.md @@ -144,7 +144,8 @@ to [ISO 4217](https://wikipedia.org/wiki/ISO_4217). | `SEK` | Swedish krona | | `SGD` | Singapore dollar | | `SHP` | Saint Helena pound | -| `SLL` | Sierra Leonean leone | +| `SLL` | Sierra Leonean first leone | +| `SLE` | Sierra Leonean second leone | | `SOS` | Somali shilling | | `SRD` | Surinamese dollar | | `SSP` | South Sudanese pound | diff --git a/doc/models/delete-break-type-response.md b/doc/models/delete-break-type-response.md index 65124be9..475610fb 100644 --- a/doc/models/delete-break-type-response.md +++ b/doc/models/delete-break-type-response.md @@ -21,7 +21,7 @@ of `Error` objects if the request resulted in errors. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/delete-catalog-object-response.md b/doc/models/delete-catalog-object-response.md index 0400ddc8..003853d9 100644 --- a/doc/models/delete-catalog-object-response.md +++ b/doc/models/delete-catalog-object-response.md @@ -25,7 +25,7 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/delete-customer-card-response.md b/doc/models/delete-customer-card-response.md index be9a135d..e2b96019 100644 --- a/doc/models/delete-customer-card-response.md +++ b/doc/models/delete-customer-card-response.md @@ -21,13 +21,13 @@ a request to the `DeleteCustomerCard` endpoint. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/delete-customer-custom-attribute-definition-response.md b/doc/models/delete-customer-custom-attribute-definition-response.md index 0cc5ddb9..5840837e 100644 --- a/doc/models/delete-customer-custom-attribute-definition-response.md +++ b/doc/models/delete-customer-custom-attribute-definition-response.md @@ -20,13 +20,13 @@ Represents a response from a delete request containing error messages if there a "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/delete-customer-custom-attribute-response.md b/doc/models/delete-customer-custom-attribute-response.md index 0f8c7aa4..9999692f 100644 --- a/doc/models/delete-customer-custom-attribute-response.md +++ b/doc/models/delete-customer-custom-attribute-response.md @@ -21,19 +21,19 @@ Either an empty object `{}` (for a successful deletion) or `errors` is present i "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/delete-customer-group-response.md b/doc/models/delete-customer-group-response.md index ab3acffd..ec3f237e 100644 --- a/doc/models/delete-customer-group-response.md +++ b/doc/models/delete-customer-group-response.md @@ -21,19 +21,19 @@ a request to the [DeleteCustomerGroup](../../doc/apis/customer-groups.md#delete- "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/delete-customer-response.md b/doc/models/delete-customer-response.md index cfb88ecb..94922bb1 100644 --- a/doc/models/delete-customer-response.md +++ b/doc/models/delete-customer-response.md @@ -21,7 +21,7 @@ a request to the `DeleteCustomer` endpoint. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/delete-dispute-evidence-response.md b/doc/models/delete-dispute-evidence-response.md index e3923b91..716903ed 100644 --- a/doc/models/delete-dispute-evidence-response.md +++ b/doc/models/delete-dispute-evidence-response.md @@ -20,19 +20,19 @@ Defines the fields in a `DeleteDisputeEvidence` response. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/delete-invoice-attachment-response.md b/doc/models/delete-invoice-attachment-response.md index b1ce3c03..2a062d42 100644 --- a/doc/models/delete-invoice-attachment-response.md +++ b/doc/models/delete-invoice-attachment-response.md @@ -20,13 +20,13 @@ Represents a [DeleteInvoiceAttachment](../../doc/apis/invoices.md#delete-invoice "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/delete-invoice-response.md b/doc/models/delete-invoice-response.md index 2d5ee596..328d1bfe 100644 --- a/doc/models/delete-invoice-response.md +++ b/doc/models/delete-invoice-response.md @@ -20,13 +20,13 @@ Describes a `DeleteInvoice` response. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/delete-location-custom-attribute-definition-response.md b/doc/models/delete-location-custom-attribute-definition-response.md index 42ce09b1..a2fd2d97 100644 --- a/doc/models/delete-location-custom-attribute-definition-response.md +++ b/doc/models/delete-location-custom-attribute-definition-response.md @@ -20,19 +20,19 @@ Represents a response from a delete request containing error messages if there a "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/delete-location-custom-attribute-response.md b/doc/models/delete-location-custom-attribute-response.md index 3bde0d30..1108feb7 100644 --- a/doc/models/delete-location-custom-attribute-response.md +++ b/doc/models/delete-location-custom-attribute-response.md @@ -21,13 +21,13 @@ Either an empty object `{}` (for a successful deletion) or `errors` is present i "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/delete-loyalty-reward-response.md b/doc/models/delete-loyalty-reward-response.md index 9f40b2e4..c8fdb995 100644 --- a/doc/models/delete-loyalty-reward-response.md +++ b/doc/models/delete-loyalty-reward-response.md @@ -20,19 +20,19 @@ A response returned by the API call. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/delete-merchant-custom-attribute-definition-response.md b/doc/models/delete-merchant-custom-attribute-definition-response.md index a12e56ff..5e1e57f3 100644 --- a/doc/models/delete-merchant-custom-attribute-definition-response.md +++ b/doc/models/delete-merchant-custom-attribute-definition-response.md @@ -20,13 +20,13 @@ Represents a response from a delete request containing error messages if there a "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/delete-merchant-custom-attribute-response.md b/doc/models/delete-merchant-custom-attribute-response.md index ca8a0ab8..fc1f28ff 100644 --- a/doc/models/delete-merchant-custom-attribute-response.md +++ b/doc/models/delete-merchant-custom-attribute-response.md @@ -21,13 +21,13 @@ Either an empty object `{}` (for a successful deletion) or `errors` is present i "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/delete-order-custom-attribute-definition-response.md b/doc/models/delete-order-custom-attribute-definition-response.md index 6f369533..dbf45866 100644 --- a/doc/models/delete-order-custom-attribute-definition-response.md +++ b/doc/models/delete-order-custom-attribute-definition-response.md @@ -20,7 +20,7 @@ Represents a response from deleting an order custom attribute definition. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/delete-order-custom-attribute-response.md b/doc/models/delete-order-custom-attribute-response.md index 4e9862a9..2b2e368a 100644 --- a/doc/models/delete-order-custom-attribute-response.md +++ b/doc/models/delete-order-custom-attribute-response.md @@ -20,7 +20,7 @@ Represents a response from deleting an order custom attribute. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/delete-payment-link-response.md b/doc/models/delete-payment-link-response.md index b9404754..68b8dbd0 100644 --- a/doc/models/delete-payment-link-response.md +++ b/doc/models/delete-payment-link-response.md @@ -22,7 +22,7 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/delete-shift-response.md b/doc/models/delete-shift-response.md index 30ec252d..6de5690a 100644 --- a/doc/models/delete-shift-response.md +++ b/doc/models/delete-shift-response.md @@ -21,7 +21,7 @@ The response to a request to delete a `Shift`. The response might contain a set "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/delete-snippet-response.md b/doc/models/delete-snippet-response.md index 7855ea20..588e6c3d 100644 --- a/doc/models/delete-snippet-response.md +++ b/doc/models/delete-snippet-response.md @@ -20,19 +20,19 @@ Represents a `DeleteSnippet` response. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/delete-subscription-action-response.md b/doc/models/delete-subscription-action-response.md index 7c16fe13..ba2f80c1 100644 --- a/doc/models/delete-subscription-action-response.md +++ b/doc/models/delete-subscription-action-response.md @@ -46,13 +46,13 @@ endpoint. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/delete-webhook-subscription-response.md b/doc/models/delete-webhook-subscription-response.md index 54700611..ebd14550 100644 --- a/doc/models/delete-webhook-subscription-response.md +++ b/doc/models/delete-webhook-subscription-response.md @@ -21,7 +21,7 @@ a request to the [DeleteWebhookSubscription](../../doc/apis/webhook-subscription "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/deprecated-create-dispute-evidence-file-response.md b/doc/models/deprecated-create-dispute-evidence-file-response.md index 8655fd76..ba234d9f 100644 --- a/doc/models/deprecated-create-dispute-evidence-file-response.md +++ b/doc/models/deprecated-create-dispute-evidence-file-response.md @@ -33,7 +33,7 @@ Defines the fields in a `DeprecatedCreateDisputeEvidenceFile` response. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/deprecated-create-dispute-evidence-text-response.md b/doc/models/deprecated-create-dispute-evidence-text-response.md index c9af2d55..c186c221 100644 --- a/doc/models/deprecated-create-dispute-evidence-text-response.md +++ b/doc/models/deprecated-create-dispute-evidence-text-response.md @@ -33,7 +33,7 @@ Defines the fields in a `DeprecatedCreateDisputeEvidenceText` response. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/destination-details-cash-refund-details.md b/doc/models/destination-details-cash-refund-details.md index ab73439f..1364858a 100644 --- a/doc/models/destination-details-cash-refund-details.md +++ b/doc/models/destination-details-cash-refund-details.md @@ -20,11 +20,11 @@ Stores details about a cash refund. Contains only non-confidential information. { "seller_supplied_money": { "amount": 36, - "currency": "AZN" + "currency": "MKD" }, "change_back_money": { "amount": 78, - "currency": "DJF" + "currency": "XBD" } } ``` diff --git a/doc/models/destination-details.md b/doc/models/destination-details.md index c85435b8..58a4cab5 100644 --- a/doc/models/destination-details.md +++ b/doc/models/destination-details.md @@ -33,11 +33,11 @@ Details about a refund's destination. "cash_details": { "seller_supplied_money": { "amount": 36, - "currency": "AZN" + "currency": "MKD" }, "change_back_money": { "amount": 78, - "currency": "DJF" + "currency": "XBD" } }, "external_details": { diff --git a/doc/models/disable-card-response.md b/doc/models/disable-card-response.md index 6e6f9bfe..bd773347 100644 --- a/doc/models/disable-card-response.md +++ b/doc/models/disable-card-response.md @@ -50,13 +50,13 @@ present. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/disable-events-response.md b/doc/models/disable-events-response.md index a571e08d..5db137a5 100644 --- a/doc/models/disable-events-response.md +++ b/doc/models/disable-events-response.md @@ -24,13 +24,13 @@ present. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/dismiss-terminal-action-response.md b/doc/models/dismiss-terminal-action-response.md index e4b9206e..7de9a7a9 100644 --- a/doc/models/dismiss-terminal-action-response.md +++ b/doc/models/dismiss-terminal-action-response.md @@ -41,19 +41,19 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/dismiss-terminal-checkout-response.md b/doc/models/dismiss-terminal-checkout-response.md index 9adc774c..260302a0 100644 --- a/doc/models/dismiss-terminal-checkout-response.md +++ b/doc/models/dismiss-terminal-checkout-response.md @@ -66,7 +66,7 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/dismiss-terminal-refund-response.md b/doc/models/dismiss-terminal-refund-response.md index 20184ced..eebe2a54 100644 --- a/doc/models/dismiss-terminal-refund-response.md +++ b/doc/models/dismiss-terminal-refund-response.md @@ -76,13 +76,13 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/dispute.md b/doc/models/dispute.md index 426f58a1..8ca6f08a 100644 --- a/doc/models/dispute.md +++ b/doc/models/dispute.md @@ -36,7 +36,7 @@ Represents a [dispute](https://developer.squareup.com/docs/disputes-api/overview "id": "id0", "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" }, "reason": "NOT_AS_DESCRIBED", "state": "LOST" diff --git a/doc/models/employee-wage.md b/doc/models/employee-wage.md index 0fbe4de1..618db7dd 100644 --- a/doc/models/employee-wage.md +++ b/doc/models/employee-wage.md @@ -25,7 +25,7 @@ The hourly wage rate that an employee earns on a `Shift` for doing the job speci "title": "title6", "hourly_rate": { "amount": 172, - "currency": "OMR" + "currency": "LAK" } } ``` diff --git a/doc/models/enable-events-response.md b/doc/models/enable-events-response.md index cf09e7a8..0d935dde 100644 --- a/doc/models/enable-events-response.md +++ b/doc/models/enable-events-response.md @@ -24,7 +24,7 @@ present. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/error-code.md b/doc/models/error-code.md index 40326f9a..32884931 100644 --- a/doc/models/error-code.md +++ b/doc/models/error-code.md @@ -112,7 +112,8 @@ Square API. | `UNSUPPORTED_INSTRUMENT_TYPE` | The API request references an unsupported instrument type. | | `REFUND_AMOUNT_INVALID` | The requested refund amount exceeds the amount available to refund. | | `REFUND_ALREADY_PENDING` | The payment already has a pending refund. | -| `PAYMENT_NOT_REFUNDABLE` | The payment is not refundable. For example, the payment has been disputed and is no longer eligible for
refunds. | +| `PAYMENT_NOT_REFUNDABLE` | The payment is not refundable. For example, the payment is too old to be refunded. | +| `PAYMENT_NOT_REFUNDABLE_DUE_TO_DISPUTE` | The payment is not refundable because it has been disputed. | | `REFUND_DECLINED` | Request failed - The card issuer declined the refund. | | `INSUFFICIENT_PERMISSIONS_FOR_REFUND` | The Square account does not have the permissions to process this refund. | | `INVALID_CARD_DATA` | Generic error - the provided card data is invalid. | diff --git a/doc/models/error.md b/doc/models/error.md index a59852b1..44f66e5a 100644 --- a/doc/models/error.md +++ b/doc/models/error.md @@ -23,7 +23,7 @@ See [Handling errors](https://developer.squareup.com/docs/build-basics/handling- ```json { "category": "API_ERROR", - "code": "CARD_NOT_SUPPORTED", + "code": "INVALID_PAUSE_LENGTH", "detail": "detail0", "field": "field8" } diff --git a/doc/models/external-payment-details.md b/doc/models/external-payment-details.md index 6c5a5fce..c7d063b2 100644 --- a/doc/models/external-payment-details.md +++ b/doc/models/external-payment-details.md @@ -27,7 +27,7 @@ For more information, see "source_id": "source_id6", "source_fee_money": { "amount": 130, - "currency": "BTC" + "currency": "NIO" } } ``` diff --git a/doc/models/get-bank-account-by-v1-id-response.md b/doc/models/get-bank-account-by-v1-id-response.md index f1467f59..095a8e4c 100644 --- a/doc/models/get-bank-account-by-v1-id-response.md +++ b/doc/models/get-bank-account-by-v1-id-response.md @@ -40,19 +40,19 @@ Response object returned by GetBankAccountByV1Id. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/get-bank-account-response.md b/doc/models/get-bank-account-response.md index 66abb3fa..9bf91fa5 100644 --- a/doc/models/get-bank-account-response.md +++ b/doc/models/get-bank-account-response.md @@ -40,7 +40,7 @@ Response object returned by `GetBankAccount`. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/get-break-type-response.md b/doc/models/get-break-type-response.md index 7891a0de..abc0fc26 100644 --- a/doc/models/get-break-type-response.md +++ b/doc/models/get-break-type-response.md @@ -33,13 +33,13 @@ the request resulted in errors. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/get-device-code-response.md b/doc/models/get-device-code-response.md index 82690f49..4679861a 100644 --- a/doc/models/get-device-code-response.md +++ b/doc/models/get-device-code-response.md @@ -31,7 +31,7 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/get-device-response.md b/doc/models/get-device-response.md index c835fe49..e3c64dab 100644 --- a/doc/models/get-device-response.md +++ b/doc/models/get-device-response.md @@ -181,7 +181,7 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/get-employee-wage-response.md b/doc/models/get-employee-wage-response.md index 3d83a893..112b48d2 100644 --- a/doc/models/get-employee-wage-response.md +++ b/doc/models/get-employee-wage-response.md @@ -32,19 +32,19 @@ the request resulted in errors. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/get-invoice-response.md b/doc/models/get-invoice-response.md index b5a02f21..6a9fc1de 100644 --- a/doc/models/get-invoice-response.md +++ b/doc/models/get-invoice-response.md @@ -96,7 +96,7 @@ Describes a `GetInvoice` response. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/get-payment-refund-response.md b/doc/models/get-payment-refund-response.md index 6f1966d5..091fd761 100644 --- a/doc/models/get-payment-refund-response.md +++ b/doc/models/get-payment-refund-response.md @@ -61,11 +61,11 @@ present or it might be present in a FAILED state. "cash_details": { "seller_supplied_money": { "amount": 36, - "currency": "AZN" + "currency": "MKD" }, "change_back_money": { "amount": 78, - "currency": "DJF" + "currency": "XBD" } }, "external_details": { @@ -78,19 +78,19 @@ present or it might be present in a FAILED state. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/get-payment-response.md b/doc/models/get-payment-response.md index eb7c9977..ef32b1a5 100644 --- a/doc/models/get-payment-response.md +++ b/doc/models/get-payment-response.md @@ -85,13 +85,13 @@ Defines the response returned by [GetPayment](../../doc/apis/payments.md#get-pay "version_token": "56pRkL3slrzet2iQrTp9n0bdJVYTB9YEWdTNjQfZOPV6o", "tip_money": { "amount": 190, - "currency": "ZMK" + "currency": "TWD" } }, "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/get-payout-response.md b/doc/models/get-payout-response.md index 9c4a31a5..29f24d62 100644 --- a/doc/models/get-payout-response.md +++ b/doc/models/get-payout-response.md @@ -20,7 +20,7 @@ "amount_money": { "amount": -103, "currency_code": "USD", - "currency": "TZS" + "currency": "AUD" }, "arrival_date": "2022-03-24", "created_at": "2022-03-24T03:07:09Z", @@ -38,13 +38,13 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/get-shift-response.md b/doc/models/get-shift-response.md index 7dff7c41..076a54f6 100644 --- a/doc/models/get-shift-response.md +++ b/doc/models/get-shift-response.md @@ -60,19 +60,19 @@ the request resulted in errors. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/get-team-member-wage-response.md b/doc/models/get-team-member-wage-response.md index e1f4b729..eaed40df 100644 --- a/doc/models/get-team-member-wage-response.md +++ b/doc/models/get-team-member-wage-response.md @@ -34,7 +34,7 @@ the request resulted in errors. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/get-terminal-action-response.md b/doc/models/get-terminal-action-response.md index d9829699..a0c4a3f1 100644 --- a/doc/models/get-terminal-action-response.md +++ b/doc/models/get-terminal-action-response.md @@ -35,13 +35,13 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/get-terminal-checkout-response.md b/doc/models/get-terminal-checkout-response.md index b03143c6..ac7078dc 100644 --- a/doc/models/get-terminal-checkout-response.md +++ b/doc/models/get-terminal-checkout-response.md @@ -56,7 +56,7 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/get-terminal-refund-response.md b/doc/models/get-terminal-refund-response.md index 55419804..cd1a9410 100644 --- a/doc/models/get-terminal-refund-response.md +++ b/doc/models/get-terminal-refund-response.md @@ -46,7 +46,7 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/gift-card-activity-activate.md b/doc/models/gift-card-activity-activate.md index 20c7cf76..6ed8d9fd 100644 --- a/doc/models/gift-card-activity-activate.md +++ b/doc/models/gift-card-activity-activate.md @@ -23,7 +23,7 @@ Represents details about an `ACTIVATE` [gift card activity type](../../doc/model { "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" }, "order_id": "order_id2", "line_item_uid": "line_item_uid4", diff --git a/doc/models/gift-card-activity-adjust-decrement.md b/doc/models/gift-card-activity-adjust-decrement.md index 7449e0a5..84616259 100644 --- a/doc/models/gift-card-activity-adjust-decrement.md +++ b/doc/models/gift-card-activity-adjust-decrement.md @@ -20,7 +20,7 @@ Represents details about an `ADJUST_DECREMENT` [gift card activity type](../../d { "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" }, "reason": "SUPPORT_ISSUE" } diff --git a/doc/models/gift-card-activity-adjust-increment.md b/doc/models/gift-card-activity-adjust-increment.md index 5740defb..e65146c7 100644 --- a/doc/models/gift-card-activity-adjust-increment.md +++ b/doc/models/gift-card-activity-adjust-increment.md @@ -20,7 +20,7 @@ Represents details about an `ADJUST_INCREMENT` [gift card activity type](../../d { "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" }, "reason": "COMPLIMENTARY" } diff --git a/doc/models/gift-card-activity-import-reversal.md b/doc/models/gift-card-activity-import-reversal.md index 8eb38770..d4d1366c 100644 --- a/doc/models/gift-card-activity-import-reversal.md +++ b/doc/models/gift-card-activity-import-reversal.md @@ -19,7 +19,7 @@ Represents details about an `IMPORT_REVERSAL` [gift card activity type](../../do { "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" } } ``` diff --git a/doc/models/gift-card-activity-import.md b/doc/models/gift-card-activity-import.md index cbb541d7..07f8a5f6 100644 --- a/doc/models/gift-card-activity-import.md +++ b/doc/models/gift-card-activity-import.md @@ -21,7 +21,7 @@ This activity type is used when Square imports a third-party gift card, in which { "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" } } ``` diff --git a/doc/models/gift-card-activity-load.md b/doc/models/gift-card-activity-load.md index 9d47861b..a010ef31 100644 --- a/doc/models/gift-card-activity-load.md +++ b/doc/models/gift-card-activity-load.md @@ -23,7 +23,7 @@ Represents details about a `LOAD` [gift card activity type](../../doc/models/gif { "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" }, "order_id": "order_id2", "line_item_uid": "line_item_uid8", diff --git a/doc/models/gift-card-activity-redeem.md b/doc/models/gift-card-activity-redeem.md index b522f6eb..f7fe5997 100644 --- a/doc/models/gift-card-activity-redeem.md +++ b/doc/models/gift-card-activity-redeem.md @@ -22,7 +22,7 @@ Represents details about a `REDEEM` [gift card activity type](../../doc/models/g { "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" }, "payment_id": "payment_id4", "reference_id": "reference_id2", diff --git a/doc/models/gift-card-activity-refund.md b/doc/models/gift-card-activity-refund.md index 26d9de5c..6eb9ed00 100644 --- a/doc/models/gift-card-activity-refund.md +++ b/doc/models/gift-card-activity-refund.md @@ -23,7 +23,7 @@ Represents details about a `REFUND` [gift card activity type](../../doc/models/g "redeem_activity_id": "redeem_activity_id4", "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" }, "reference_id": "reference_id8", "payment_id": "payment_id4" diff --git a/doc/models/gift-card-activity-transfer-balance-from.md b/doc/models/gift-card-activity-transfer-balance-from.md index 58496f05..3f8f4163 100644 --- a/doc/models/gift-card-activity-transfer-balance-from.md +++ b/doc/models/gift-card-activity-transfer-balance-from.md @@ -21,7 +21,7 @@ Represents details about a `TRANSFER_BALANCE_FROM` [gift card activity type](../ "transfer_to_gift_card_id": "transfer_to_gift_card_id0", "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" } } ``` diff --git a/doc/models/gift-card-activity-transfer-balance-to.md b/doc/models/gift-card-activity-transfer-balance-to.md index 01c03890..e7b47992 100644 --- a/doc/models/gift-card-activity-transfer-balance-to.md +++ b/doc/models/gift-card-activity-transfer-balance-to.md @@ -21,7 +21,7 @@ Represents details about a `TRANSFER_BALANCE_TO` [gift card activity type](../.. "transfer_from_gift_card_id": "transfer_from_gift_card_id6", "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" } } ``` diff --git a/doc/models/gift-card-activity-unlinked-activity-refund.md b/doc/models/gift-card-activity-unlinked-activity-refund.md index 3728573f..5cc8afaa 100644 --- a/doc/models/gift-card-activity-unlinked-activity-refund.md +++ b/doc/models/gift-card-activity-unlinked-activity-refund.md @@ -21,7 +21,7 @@ Represents details about an `UNLINKED_ACTIVITY_REFUND` [gift card activity type] { "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" }, "reference_id": "reference_id8", "payment_id": "payment_id0" diff --git a/doc/models/gift-card-activity.md b/doc/models/gift-card-activity.md index 22958b7d..02e0b0c8 100644 --- a/doc/models/gift-card-activity.md +++ b/doc/models/gift-card-activity.md @@ -48,7 +48,7 @@ includes a `redeem_activity_details` field that contains information about the r "gift_card_gan": "gift_card_gan4", "gift_card_balance_money": { "amount": 82, - "currency": "KPW" + "currency": "IRR" } } ``` diff --git a/doc/models/gift-card.md b/doc/models/gift-card.md index e588fc10..cd118ac4 100644 --- a/doc/models/gift-card.md +++ b/doc/models/gift-card.md @@ -30,7 +30,7 @@ Represents a Square gift card. "state": "ACTIVE", "balance_money": { "amount": 146, - "currency": "MVR" + "currency": "BBD" }, "gan": "gan6" } diff --git a/doc/models/invoice-payment-request.md b/doc/models/invoice-payment-request.md index d799e850..7c8a13d1 100644 --- a/doc/models/invoice-payment-request.md +++ b/doc/models/invoice-payment-request.md @@ -40,7 +40,7 @@ Adding `INSTALLMENT` payment requests to an invoice requires an "due_date": "due_date8", "fixed_amount_requested_money": { "amount": 162, - "currency": "NIO" + "currency": "JOD" } } ``` diff --git a/doc/models/item-variation-location-overrides.md b/doc/models/item-variation-location-overrides.md index c9049d62..f2342b6d 100644 --- a/doc/models/item-variation-location-overrides.md +++ b/doc/models/item-variation-location-overrides.md @@ -27,7 +27,7 @@ Price and inventory alerting overrides for a `CatalogItemVariation` at a specifi "location_id": "location_id6", "price_money": { "amount": 202, - "currency": "CNY" + "currency": "GTQ" }, "pricing_type": "FIXED_PRICING", "track_inventory": false, diff --git a/doc/models/job-assignment.md b/doc/models/job-assignment.md index 7b085c8d..407451de 100644 --- a/doc/models/job-assignment.md +++ b/doc/models/job-assignment.md @@ -25,11 +25,11 @@ An object describing a job that a team member is assigned to. "pay_type": "NONE", "hourly_rate": { "amount": 172, - "currency": "OMR" + "currency": "LAK" }, "annual_rate": { "amount": 232, - "currency": "SBD" + "currency": "NIO" }, "weekly_hours": 120 } diff --git a/doc/models/link-customer-to-gift-card-response.md b/doc/models/link-customer-to-gift-card-response.md index f1c2d492..c9f1da05 100644 --- a/doc/models/link-customer-to-gift-card-response.md +++ b/doc/models/link-customer-to-gift-card-response.md @@ -37,7 +37,7 @@ the response contains a set of `Error` objects. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/list-bank-accounts-response.md b/doc/models/list-bank-accounts-response.md index 3168cf09..4e851330 100644 --- a/doc/models/list-bank-accounts-response.md +++ b/doc/models/list-bank-accounts-response.md @@ -62,7 +62,7 @@ Response object returned by ListBankAccounts. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/list-booking-custom-attributes-response.md b/doc/models/list-booking-custom-attributes-response.md index b1d21630..97c942df 100644 --- a/doc/models/list-booking-custom-attributes-response.md +++ b/doc/models/list-booking-custom-attributes-response.md @@ -65,13 +65,13 @@ results are available, the `cursor` field is also present along with `custom_att "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/list-bookings-response.md b/doc/models/list-bookings-response.md index e34a58fa..72f9f711 100644 --- a/doc/models/list-bookings-response.md +++ b/doc/models/list-bookings-response.md @@ -30,19 +30,19 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/list-break-types-response.md b/doc/models/list-break-types-response.md index ee3a4ad2..cf61221b 100644 --- a/doc/models/list-break-types-response.md +++ b/doc/models/list-break-types-response.md @@ -47,13 +47,13 @@ the request resulted in errors. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/list-cards-response.md b/doc/models/list-cards-response.md index 76b99437..09e32e2c 100644 --- a/doc/models/list-cards-response.md +++ b/doc/models/list-cards-response.md @@ -53,7 +53,7 @@ present. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/list-cash-drawer-shift-events-response.md b/doc/models/list-cash-drawer-shift-events-response.md index bd8d097b..c3ed1c98 100644 --- a/doc/models/list-cash-drawer-shift-events-response.md +++ b/doc/models/list-cash-drawer-shift-events-response.md @@ -89,7 +89,7 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/list-cash-drawer-shifts-response.md b/doc/models/list-cash-drawer-shifts-response.md index 943ee2c5..9df939fb 100644 --- a/doc/models/list-cash-drawer-shifts-response.md +++ b/doc/models/list-cash-drawer-shifts-response.md @@ -43,13 +43,13 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/list-catalog-response.md b/doc/models/list-catalog-response.md index 4f1fe29a..ac44f452 100644 --- a/doc/models/list-catalog-response.md +++ b/doc/models/list-catalog-response.md @@ -108,7 +108,7 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/list-customer-custom-attribute-definitions-response.md b/doc/models/list-customer-custom-attribute-definitions-response.md index a1d6cc8e..16ba2730 100644 --- a/doc/models/list-customer-custom-attribute-definitions-response.md +++ b/doc/models/list-customer-custom-attribute-definitions-response.md @@ -53,13 +53,13 @@ If additional results are available, the `cursor` field is also present along wi "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/list-customer-custom-attributes-response.md b/doc/models/list-customer-custom-attributes-response.md index 1ea06181..7cb4267d 100644 --- a/doc/models/list-customer-custom-attributes-response.md +++ b/doc/models/list-customer-custom-attributes-response.md @@ -84,19 +84,19 @@ results are available, the `cursor` field is also present along with `custom_att "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/list-customer-groups-response.md b/doc/models/list-customer-groups-response.md index 98e6756f..da566093 100644 --- a/doc/models/list-customer-groups-response.md +++ b/doc/models/list-customer-groups-response.md @@ -39,19 +39,19 @@ Either `errors` or `groups` is present in a given response (never both). "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/list-customer-segments-response.md b/doc/models/list-customer-segments-response.md index 15218be9..bd1429d0 100644 --- a/doc/models/list-customer-segments-response.md +++ b/doc/models/list-customer-segments-response.md @@ -50,19 +50,19 @@ Either `errors` or `segments` is present in a given response (never both). "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/list-customers-response.md b/doc/models/list-customers-response.md index 871e69d7..dd0b26bf 100644 --- a/doc/models/list-customers-response.md +++ b/doc/models/list-customers-response.md @@ -74,19 +74,19 @@ Either `errors` or `customers` is present in a given response (never both). "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/list-device-codes-response.md b/doc/models/list-device-codes-response.md index b1c3fbb4..cb3afe5a 100644 --- a/doc/models/list-device-codes-response.md +++ b/doc/models/list-device-codes-response.md @@ -46,19 +46,19 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/list-devices-response.md b/doc/models/list-devices-response.md index 7f6f2388..0b4fdd7a 100644 --- a/doc/models/list-devices-response.md +++ b/doc/models/list-devices-response.md @@ -346,19 +346,19 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/list-dispute-evidence-response.md b/doc/models/list-dispute-evidence-response.md index b272927e..bf96775a 100644 --- a/doc/models/list-dispute-evidence-response.md +++ b/doc/models/list-dispute-evidence-response.md @@ -34,7 +34,7 @@ Defines the fields in a `ListDisputeEvidence` response. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/list-disputes-response.md b/doc/models/list-disputes-response.md index b5770b43..35b4d4fe 100644 --- a/doc/models/list-disputes-response.md +++ b/doc/models/list-disputes-response.md @@ -67,7 +67,7 @@ Defines fields in a `ListDisputes` response. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/list-employee-wages-response.md b/doc/models/list-employee-wages-response.md index 582a6475..e3b6b367 100644 --- a/doc/models/list-employee-wages-response.md +++ b/doc/models/list-employee-wages-response.md @@ -62,7 +62,7 @@ a set of `EmployeeWage` objects. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/list-employees-response.md b/doc/models/list-employees-response.md index 6b15c261..4c131cc4 100644 --- a/doc/models/list-employees-response.md +++ b/doc/models/list-employees-response.md @@ -30,19 +30,19 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/list-event-types-response.md b/doc/models/list-event-types-response.md index 10506698..e336f6dd 100644 --- a/doc/models/list-event-types-response.md +++ b/doc/models/list-event-types-response.md @@ -36,13 +36,13 @@ present. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/list-gift-card-activities-response.md b/doc/models/list-gift-card-activities-response.md index e48060e2..3ff2080f 100644 --- a/doc/models/list-gift-card-activities-response.md +++ b/doc/models/list-gift-card-activities-response.md @@ -65,7 +65,7 @@ the response contains a set of `Error` objects. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/list-gift-cards-response.md b/doc/models/list-gift-cards-response.md index a4649455..e79c0b3e 100644 --- a/doc/models/list-gift-cards-response.md +++ b/doc/models/list-gift-cards-response.md @@ -50,19 +50,19 @@ the response contains a set of `Error` objects. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/list-invoices-response.md b/doc/models/list-invoices-response.md index ce8ae088..f2dca9b4 100644 --- a/doc/models/list-invoices-response.md +++ b/doc/models/list-invoices-response.md @@ -186,7 +186,7 @@ Describes a `ListInvoice` response. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/list-location-custom-attribute-definitions-response.md b/doc/models/list-location-custom-attribute-definitions-response.md index b3804a83..f3f1d9a9 100644 --- a/doc/models/list-location-custom-attribute-definitions-response.md +++ b/doc/models/list-location-custom-attribute-definitions-response.md @@ -53,7 +53,7 @@ If additional results are available, the `cursor` field is also present along wi "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/list-location-custom-attributes-response.md b/doc/models/list-location-custom-attributes-response.md index 2c4415a9..106bad9d 100644 --- a/doc/models/list-location-custom-attributes-response.md +++ b/doc/models/list-location-custom-attributes-response.md @@ -65,13 +65,13 @@ results are available, the `cursor` field is also present along with `custom_att "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/list-locations-response.md b/doc/models/list-locations-response.md index bff0bf99..0cad7d2f 100644 --- a/doc/models/list-locations-response.md +++ b/doc/models/list-locations-response.md @@ -83,13 +83,13 @@ Either `errors` or `locations` is present in a given response (never both). "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/list-loyalty-programs-response.md b/doc/models/list-loyalty-programs-response.md index 6600d2b7..fb1e1616 100644 --- a/doc/models/list-loyalty-programs-response.md +++ b/doc/models/list-loyalty-programs-response.md @@ -58,11 +58,11 @@ A response that contains all loyalty programs. ], "fixed_discount_money": { "amount": 36, - "currency": "TTD" + "currency": "SLL" }, "max_discount_money": { "amount": 84, - "currency": "STD" + "currency": "BOB" } }, "id": "e1b39225-9da5-43d1-a5db-782cdd8ad94f", @@ -88,19 +88,19 @@ A response that contains all loyalty programs. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/list-loyalty-promotions-response.md b/doc/models/list-loyalty-promotions-response.md index d3cae4f8..35ba66a5 100644 --- a/doc/models/list-loyalty-promotions-response.md +++ b/doc/models/list-loyalty-promotions-response.md @@ -101,19 +101,19 @@ If additional results are available, the `cursor` field is also present along wi "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/list-merchant-custom-attribute-definitions-response.md b/doc/models/list-merchant-custom-attribute-definitions-response.md index db0da7c1..8a480c89 100644 --- a/doc/models/list-merchant-custom-attribute-definitions-response.md +++ b/doc/models/list-merchant-custom-attribute-definitions-response.md @@ -53,13 +53,13 @@ If additional results are available, the `cursor` field is also present along wi "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/list-merchant-custom-attributes-response.md b/doc/models/list-merchant-custom-attributes-response.md index 70608f73..0714760f 100644 --- a/doc/models/list-merchant-custom-attributes-response.md +++ b/doc/models/list-merchant-custom-attributes-response.md @@ -46,7 +46,7 @@ results are available, the `cursor` field is also present along with `custom_att "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/list-merchants-response.md b/doc/models/list-merchants-response.md index 32ce231f..34ed2c4a 100644 --- a/doc/models/list-merchants-response.md +++ b/doc/models/list-merchants-response.md @@ -34,7 +34,7 @@ The response object returned by the [ListMerchant](../../doc/apis/merchants.md#l "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/list-order-custom-attribute-definitions-response.md b/doc/models/list-order-custom-attribute-definitions-response.md index 97ac9d70..030752c4 100644 --- a/doc/models/list-order-custom-attribute-definitions-response.md +++ b/doc/models/list-order-custom-attribute-definitions-response.md @@ -64,13 +64,13 @@ Represents a response from listing order custom attribute definitions. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/list-order-custom-attributes-response.md b/doc/models/list-order-custom-attributes-response.md index c9fec675..1d846037 100644 --- a/doc/models/list-order-custom-attributes-response.md +++ b/doc/models/list-order-custom-attributes-response.md @@ -63,13 +63,13 @@ Represents a response from listing order custom attributes. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/list-payment-links-response.md b/doc/models/list-payment-links-response.md index cca38d9b..299cfea3 100644 --- a/doc/models/list-payment-links-response.md +++ b/doc/models/list-payment-links-response.md @@ -92,7 +92,7 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/list-payment-refunds-response.md b/doc/models/list-payment-refunds-response.md index 8d6a51d3..a7577892 100644 --- a/doc/models/list-payment-refunds-response.md +++ b/doc/models/list-payment-refunds-response.md @@ -63,11 +63,11 @@ Either `errors` or `refunds` is present in a given response (never both). "cash_details": { "seller_supplied_money": { "amount": 36, - "currency": "AZN" + "currency": "MKD" }, "change_back_money": { "amount": 78, - "currency": "DJF" + "currency": "XBD" } }, "external_details": { @@ -81,13 +81,13 @@ Either `errors` or `refunds` is present in a given response (never both). "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/list-payments-response.md b/doc/models/list-payments-response.md index 85765122..5d8560da 100644 --- a/doc/models/list-payments-response.md +++ b/doc/models/list-payments-response.md @@ -87,14 +87,14 @@ Defines the response returned by [ListPayments](../../doc/apis/payments.md#list- "version_token": "vguW2km0KpVCdAXZcNTZ438qg5LlVPTP4HO5OpiHNfa6o", "tip_money": { "amount": 190, - "currency": "ZMK" + "currency": "TWD" } } ], "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/list-payout-entries-response.md b/doc/models/list-payout-entries-response.md index 8a98f5dc..a33c380f 100644 --- a/doc/models/list-payout-entries-response.md +++ b/doc/models/list-payout-entries-response.md @@ -26,18 +26,18 @@ The response to retrieve payout records entries. "fee_amount_money": { "amount": -2, "currency_code": "USD", - "currency": "NIO" + "currency": "CHF" }, "gross_amount_money": { "amount": -50, "currency_code": "USD", - "currency": "BWP" + "currency": "MNT" }, "id": "poe_ZQWcw41d0SGJS6IWd4cSi8mKHk", "net_amount_money": { "amount": -48, "currency_code": "USD", - "currency": "LTL" + "currency": "XPT" }, "payout_id": "po_4d28e6c4-7dd5-4de4-8ec9-a059277646a6", "type": "REFUND", @@ -51,18 +51,18 @@ The response to retrieve payout records entries. "fee_amount_money": { "amount": 19, "currency_code": "USD", - "currency": "NIO" + "currency": "CHF" }, "gross_amount_money": { "amount": 100, "currency_code": "USD", - "currency": "BWP" + "currency": "MNT" }, "id": "poe_EibbY9Ob1d0SGJS6IWd4cSiSi6wkaPk", "net_amount_money": { "amount": 81, "currency_code": "USD", - "currency": "LTL" + "currency": "XPT" }, "payout_id": "po_4d28e6c4-7dd5-4de4-8ec9-a059277646a6", "type": "CHARGE", @@ -74,7 +74,7 @@ The response to retrieve payout records entries. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/list-payouts-response.md b/doc/models/list-payouts-response.md index a1641929..e033bce7 100644 --- a/doc/models/list-payouts-response.md +++ b/doc/models/list-payouts-response.md @@ -25,7 +25,7 @@ The response to retrieve payout records entries. "amount_money": { "amount": 6259, "currency_code": "USD", - "currency": "TZS" + "currency": "AUD" }, "arrival_date": "2022-03-29", "created_at": "2022-03-29T16:12:31Z", @@ -55,7 +55,7 @@ The response to retrieve payout records entries. "amount_money": { "amount": -103, "currency_code": "USD", - "currency": "TZS" + "currency": "AUD" }, "arrival_date": "2022-03-24", "created_at": "2022-03-24T03:07:09Z", @@ -75,19 +75,19 @@ The response to retrieve payout records entries. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/list-refunds-response.md b/doc/models/list-refunds-response.md index edab7727..0577762a 100644 --- a/doc/models/list-refunds-response.md +++ b/doc/models/list-refunds-response.md @@ -48,14 +48,14 @@ One of `errors` or `refunds` is present in a given response (never both). "transaction_id": "KnL67ZIwXCPtzOrqj0HrkxMF", "processing_fee_money": { "amount": 112, - "currency": "BBD" + "currency": "DJF" } } ], "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/list-sites-response.md b/doc/models/list-sites-response.md index 8af1b9a1..4791b2e7 100644 --- a/doc/models/list-sites-response.md +++ b/doc/models/list-sites-response.md @@ -39,7 +39,7 @@ Represents a `ListSites` response. The response can include either `sites` or `e "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/list-subscription-events-response.md b/doc/models/list-subscription-events-response.md index 0dff1f4b..a569522c 100644 --- a/doc/models/list-subscription-events-response.md +++ b/doc/models/list-subscription-events-response.md @@ -158,7 +158,7 @@ Defines output parameters in a response from the "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/list-team-member-wages-response.md b/doc/models/list-team-member-wages-response.md index 4ae1bdc1..ea1ec500 100644 --- a/doc/models/list-team-member-wages-response.md +++ b/doc/models/list-team-member-wages-response.md @@ -70,13 +70,13 @@ a set of `TeamMemberWage` objects. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/list-transactions-response.md b/doc/models/list-transactions-response.md index 87e1c629..c8986e18 100644 --- a/doc/models/list-transactions-response.md +++ b/doc/models/list-transactions-response.md @@ -100,7 +100,7 @@ One of `errors` or `transactions` is present in a given response (never both). "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/list-webhook-event-types-response.md b/doc/models/list-webhook-event-types-response.md index 3e78c07b..90f6953f 100644 --- a/doc/models/list-webhook-event-types-response.md +++ b/doc/models/list-webhook-event-types-response.md @@ -36,7 +36,7 @@ present. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/list-webhook-subscriptions-response.md b/doc/models/list-webhook-subscriptions-response.md index 72e176ac..cd48f513 100644 --- a/doc/models/list-webhook-subscriptions-response.md +++ b/doc/models/list-webhook-subscriptions-response.md @@ -41,7 +41,7 @@ present. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/list-workweek-configs-response.md b/doc/models/list-workweek-configs-response.md index b8d88c2c..f727acc8 100644 --- a/doc/models/list-workweek-configs-response.md +++ b/doc/models/list-workweek-configs-response.md @@ -35,7 +35,7 @@ the request resulted in errors. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/loyalty-program-accrual-rule-spend-data.md b/doc/models/loyalty-program-accrual-rule-spend-data.md index e22b2e60..a284913d 100644 --- a/doc/models/loyalty-program-accrual-rule-spend-data.md +++ b/doc/models/loyalty-program-accrual-rule-spend-data.md @@ -22,7 +22,7 @@ Represents additional data for rules with the `SPEND` accrual type. { "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" }, "excluded_category_ids": [ "excluded_category_ids4" diff --git a/doc/models/loyalty-program-accrual-rule-visit-data.md b/doc/models/loyalty-program-accrual-rule-visit-data.md index 90defa00..72490a4f 100644 --- a/doc/models/loyalty-program-accrual-rule-visit-data.md +++ b/doc/models/loyalty-program-accrual-rule-visit-data.md @@ -20,7 +20,7 @@ Represents additional data for rules with the `VISIT` accrual type. { "minimum_amount_money": { "amount": 146, - "currency": "MYR" + "currency": "GHS" }, "tax_mode": "BEFORE_TAX" } diff --git a/doc/models/loyalty-program-accrual-rule.md b/doc/models/loyalty-program-accrual-rule.md index 32892a50..04df1802 100644 --- a/doc/models/loyalty-program-accrual-rule.md +++ b/doc/models/loyalty-program-accrual-rule.md @@ -27,14 +27,14 @@ Represents an accrual rule, which defines how buyers can earn points from the ba "visit_data": { "minimum_amount_money": { "amount": 146, - "currency": "MYR" + "currency": "GHS" }, "tax_mode": "BEFORE_TAX" }, "spend_data": { "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" }, "excluded_category_ids": [ "excluded_category_ids4" diff --git a/doc/models/loyalty-program-reward-definition.md b/doc/models/loyalty-program-reward-definition.md index 811549b4..f7b4d189 100644 --- a/doc/models/loyalty-program-reward-definition.md +++ b/doc/models/loyalty-program-reward-definition.md @@ -32,11 +32,11 @@ are now defined using a catalog pricing rule and other catalog objects. For more ], "fixed_discount_money": { "amount": 36, - "currency": "TTD" + "currency": "SLL" }, "max_discount_money": { "amount": 84, - "currency": "STD" + "currency": "BOB" } } ``` diff --git a/doc/models/loyalty-program-reward-tier.md b/doc/models/loyalty-program-reward-tier.md index 0986e976..6b65f4f4 100644 --- a/doc/models/loyalty-program-reward-tier.md +++ b/doc/models/loyalty-program-reward-tier.md @@ -34,11 +34,11 @@ Represents a reward tier in a loyalty program. A reward tier defines how buyers ], "fixed_discount_money": { "amount": 36, - "currency": "TTD" + "currency": "SLL" }, "max_discount_money": { "amount": 84, - "currency": "STD" + "currency": "BOB" } }, "created_at": "created_at0", diff --git a/doc/models/loyalty-program.md b/doc/models/loyalty-program.md index bb7238e8..c4eb69da 100644 --- a/doc/models/loyalty-program.md +++ b/doc/models/loyalty-program.md @@ -43,11 +43,11 @@ For more information, see [Loyalty Program Overview](https://developer.squareup. ], "fixed_discount_money": { "amount": 36, - "currency": "TTD" + "currency": "SLL" }, "max_discount_money": { "amount": 84, - "currency": "STD" + "currency": "BOB" } }, "created_at": "created_at6", @@ -69,11 +69,11 @@ For more information, see [Loyalty Program Overview](https://developer.squareup. ], "fixed_discount_money": { "amount": 36, - "currency": "TTD" + "currency": "SLL" }, "max_discount_money": { "amount": 84, - "currency": "STD" + "currency": "BOB" } }, "created_at": "created_at6", diff --git a/doc/models/merchant.md b/doc/models/merchant.md index 5d818348..811660a7 100644 --- a/doc/models/merchant.md +++ b/doc/models/merchant.md @@ -28,7 +28,7 @@ Represents a business that sells with Square. "business_name": "business_name6", "country": "HM", "language_code": "language_code0", - "currency": "HUF", + "currency": "BTC", "status": "ACTIVE" } ``` diff --git a/doc/models/modifier-location-overrides.md b/doc/models/modifier-location-overrides.md index 0453cca3..d1e6bebd 100644 --- a/doc/models/modifier-location-overrides.md +++ b/doc/models/modifier-location-overrides.md @@ -22,7 +22,7 @@ Location-specific overrides for specified properties of a `CatalogModifier` obje "location_id": "location_id2", "price_money": { "amount": 202, - "currency": "CNY" + "currency": "GTQ" }, "sold_out": false } diff --git a/doc/models/money.md b/doc/models/money.md index 495c3052..3e7a795f 100644 --- a/doc/models/money.md +++ b/doc/models/money.md @@ -24,7 +24,7 @@ for more information. ```json { "amount": 36, - "currency": "NPR" + "currency": "AZN" } ``` diff --git a/doc/models/order-line-item-applied-discount.md b/doc/models/order-line-item-applied-discount.md index 8b527ba5..0e2f8332 100644 --- a/doc/models/order-line-item-applied-discount.md +++ b/doc/models/order-line-item-applied-discount.md @@ -28,7 +28,7 @@ line items. "discount_uid": "discount_uid2", "applied_money": { "amount": 196, - "currency": "HKD" + "currency": "AMD" } } ``` diff --git a/doc/models/order-line-item-applied-service-charge.md b/doc/models/order-line-item-applied-service-charge.md index 9f87ffde..32f25e10 100644 --- a/doc/models/order-line-item-applied-service-charge.md +++ b/doc/models/order-line-item-applied-service-charge.md @@ -21,7 +21,7 @@ "service_charge_uid": "service_charge_uid8", "applied_money": { "amount": 196, - "currency": "HKD" + "currency": "AMD" } } ``` diff --git a/doc/models/order-line-item-applied-tax.md b/doc/models/order-line-item-applied-tax.md index 99473171..7aa37e54 100644 --- a/doc/models/order-line-item-applied-tax.md +++ b/doc/models/order-line-item-applied-tax.md @@ -28,7 +28,7 @@ set of participating line items. "tax_uid": "tax_uid6", "applied_money": { "amount": 196, - "currency": "HKD" + "currency": "AMD" } } ``` diff --git a/doc/models/order-money-amounts.md b/doc/models/order-money-amounts.md index cf1c8a3d..24e95b16 100644 --- a/doc/models/order-money-amounts.md +++ b/doc/models/order-money-amounts.md @@ -23,23 +23,23 @@ A collection of various money amounts. { "total_money": { "amount": 250, - "currency": "KES" + "currency": "UAH" }, "tax_money": { "amount": 58, - "currency": "XBC" + "currency": "IRR" }, "discount_money": { "amount": 92, - "currency": "THB" + "currency": "PAB" }, "tip_money": { "amount": 190, - "currency": "ZMK" + "currency": "TWD" }, "service_charge_money": { "amount": 160, - "currency": "AOA" + "currency": "XCD" } } ``` diff --git a/doc/models/order-return-tip.md b/doc/models/order-return-tip.md index 5560f9bf..9f0dce14 100644 --- a/doc/models/order-return-tip.md +++ b/doc/models/order-return-tip.md @@ -23,7 +23,7 @@ A tip being returned. "uid": "uid4", "applied_money": { "amount": 196, - "currency": "HKD" + "currency": "AMD" }, "source_tender_uid": "source_tender_uid6", "source_tender_id": "source_tender_id0" diff --git a/doc/models/order-rounding-adjustment.md b/doc/models/order-rounding-adjustment.md index c5cf7a8c..6ed42c78 100644 --- a/doc/models/order-rounding-adjustment.md +++ b/doc/models/order-rounding-adjustment.md @@ -24,7 +24,7 @@ when the minimum unit of the account is smaller than the lowest physical denomin "name": "name0", "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" } } ``` diff --git a/doc/models/pause-subscription-response.md b/doc/models/pause-subscription-response.md index 2a3ff0b2..35d3522f 100644 --- a/doc/models/pause-subscription-response.md +++ b/doc/models/pause-subscription-response.md @@ -74,7 +74,7 @@ Defines output parameters in a response from the "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/pay-order-response.md b/doc/models/pay-order-response.md index 4849eeac..72418c6f 100644 --- a/doc/models/pay-order-response.md +++ b/doc/models/pay-order-response.md @@ -216,7 +216,7 @@ Defines the fields that are included in the response body of a request to the "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/payment-balance-activity-deposit-fee-reversed-detail.md b/doc/models/payment-balance-activity-deposit-fee-reversed-detail.md new file mode 100644 index 00000000..928237b0 --- /dev/null +++ b/doc/models/payment-balance-activity-deposit-fee-reversed-detail.md @@ -0,0 +1,21 @@ + +# Payment Balance Activity Deposit Fee Reversed Detail + +## Structure + +`PaymentBalanceActivityDepositFeeReversedDetail` + +## Fields + +| Name | Type | Tags | Description | Getter | Setter | +| --- | --- | --- | --- | --- | --- | +| `payoutId` | `?string` | Optional | The ID of the payout that triggered this deposit fee activity. | getPayoutId(): ?string | setPayoutId(?string payoutId): void | + +## Example (as JSON) + +```json +{ + "payout_id": "payout_id6" +} +``` + diff --git a/doc/models/payment-balance-activity-square-payroll-transfer-detail.md b/doc/models/payment-balance-activity-square-payroll-transfer-detail.md new file mode 100644 index 00000000..c4d55c6f --- /dev/null +++ b/doc/models/payment-balance-activity-square-payroll-transfer-detail.md @@ -0,0 +1,21 @@ + +# Payment Balance Activity Square Payroll Transfer Detail + +## Structure + +`PaymentBalanceActivitySquarePayrollTransferDetail` + +## Fields + +| Name | Type | Tags | Description | Getter | Setter | +| --- | --- | --- | --- | --- | --- | +| `paymentId` | `?string` | Optional | The ID of the payment associated with this activity. | getPaymentId(): ?string | setPaymentId(?string paymentId): void | + +## Example (as JSON) + +```json +{ + "payment_id": "payment_id0" +} +``` + diff --git a/doc/models/payment-balance-activity-square-payroll-transfer-reversed-detail.md b/doc/models/payment-balance-activity-square-payroll-transfer-reversed-detail.md new file mode 100644 index 00000000..52f46119 --- /dev/null +++ b/doc/models/payment-balance-activity-square-payroll-transfer-reversed-detail.md @@ -0,0 +1,21 @@ + +# Payment Balance Activity Square Payroll Transfer Reversed Detail + +## Structure + +`PaymentBalanceActivitySquarePayrollTransferReversedDetail` + +## Fields + +| Name | Type | Tags | Description | Getter | Setter | +| --- | --- | --- | --- | --- | --- | +| `paymentId` | `?string` | Optional | The ID of the payment associated with this activity. | getPaymentId(): ?string | setPaymentId(?string paymentId): void | + +## Example (as JSON) + +```json +{ + "payment_id": "payment_id6" +} +``` + diff --git a/doc/models/payment-refund.md b/doc/models/payment-refund.md index 3c531f69..62757910 100644 --- a/doc/models/payment-refund.md +++ b/doc/models/payment-refund.md @@ -27,6 +27,7 @@ the original payment and the amount of money refunded. | `createdAt` | `?string` | Optional | The timestamp of when the refund was created, in RFC 3339 format.
**Constraints**: *Maximum Length*: `32` | getCreatedAt(): ?string | setCreatedAt(?string createdAt): void | | `updatedAt` | `?string` | Optional | The timestamp of when the refund was last updated, in RFC 3339 format.
**Constraints**: *Maximum Length*: `32` | getUpdatedAt(): ?string | setUpdatedAt(?string updatedAt): void | | `teamMemberId` | `?string` | Optional | An optional ID of the team member associated with taking the payment.
**Constraints**: *Maximum Length*: `192` | getTeamMemberId(): ?string | setTeamMemberId(?string teamMemberId): void | +| `terminalRefundId` | `?string` | Optional | An optional ID for a Terminal refund. | getTerminalRefundId(): ?string | setTerminalRefundId(?string terminalRefundId): void | ## Example (as JSON) @@ -52,11 +53,11 @@ the original payment and the amount of money refunded. "cash_details": { "seller_supplied_money": { "amount": 36, - "currency": "AZN" + "currency": "MKD" }, "change_back_money": { "amount": 78, - "currency": "DJF" + "currency": "XBD" } }, "external_details": { @@ -67,7 +68,7 @@ the original payment and the amount of money refunded. }, "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" } } ``` diff --git a/doc/models/payment.md b/doc/models/payment.md index 7595c9ae..1f6d9905 100644 --- a/doc/models/payment.md +++ b/doc/models/payment.md @@ -65,11 +65,11 @@ Represents a payment processed by the Square API. "updated_at": "updated_at4", "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" }, "tip_money": { "amount": 190, - "currency": "ZMK" + "currency": "TWD" } } ``` diff --git a/doc/models/payout-entry.md b/doc/models/payout-entry.md index 8e035149..807bafc7 100644 --- a/doc/models/payout-entry.md +++ b/doc/models/payout-entry.md @@ -25,6 +25,7 @@ The total amount of the payout will equal the sum of the payout entries for a ba | `typeAutomaticSavingsReversedDetails` | [`?PaymentBalanceActivityAutomaticSavingsReversedDetail`](../../doc/models/payment-balance-activity-automatic-savings-reversed-detail.md) | Optional | - | getTypeAutomaticSavingsReversedDetails(): ?PaymentBalanceActivityAutomaticSavingsReversedDetail | setTypeAutomaticSavingsReversedDetails(?PaymentBalanceActivityAutomaticSavingsReversedDetail typeAutomaticSavingsReversedDetails): void | | `typeChargeDetails` | [`?PaymentBalanceActivityChargeDetail`](../../doc/models/payment-balance-activity-charge-detail.md) | Optional | - | getTypeChargeDetails(): ?PaymentBalanceActivityChargeDetail | setTypeChargeDetails(?PaymentBalanceActivityChargeDetail typeChargeDetails): void | | `typeDepositFeeDetails` | [`?PaymentBalanceActivityDepositFeeDetail`](../../doc/models/payment-balance-activity-deposit-fee-detail.md) | Optional | - | getTypeDepositFeeDetails(): ?PaymentBalanceActivityDepositFeeDetail | setTypeDepositFeeDetails(?PaymentBalanceActivityDepositFeeDetail typeDepositFeeDetails): void | +| `typeDepositFeeReversedDetails` | [`?PaymentBalanceActivityDepositFeeReversedDetail`](../../doc/models/payment-balance-activity-deposit-fee-reversed-detail.md) | Optional | - | getTypeDepositFeeReversedDetails(): ?PaymentBalanceActivityDepositFeeReversedDetail | setTypeDepositFeeReversedDetails(?PaymentBalanceActivityDepositFeeReversedDetail typeDepositFeeReversedDetails): void | | `typeDisputeDetails` | [`?PaymentBalanceActivityDisputeDetail`](../../doc/models/payment-balance-activity-dispute-detail.md) | Optional | - | getTypeDisputeDetails(): ?PaymentBalanceActivityDisputeDetail | setTypeDisputeDetails(?PaymentBalanceActivityDisputeDetail typeDisputeDetails): void | | `typeFeeDetails` | [`?PaymentBalanceActivityFeeDetail`](../../doc/models/payment-balance-activity-fee-detail.md) | Optional | - | getTypeFeeDetails(): ?PaymentBalanceActivityFeeDetail | setTypeFeeDetails(?PaymentBalanceActivityFeeDetail typeFeeDetails): void | | `typeFreeProcessingDetails` | [`?PaymentBalanceActivityFreeProcessingDetail`](../../doc/models/payment-balance-activity-free-processing-detail.md) | Optional | - | getTypeFreeProcessingDetails(): ?PaymentBalanceActivityFreeProcessingDetail | setTypeFreeProcessingDetails(?PaymentBalanceActivityFreeProcessingDetail typeFreeProcessingDetails): void | @@ -41,6 +42,8 @@ The total amount of the payout will equal the sum of the payout entries for a ba | `typeTaxOnFeeDetails` | [`?PaymentBalanceActivityTaxOnFeeDetail`](../../doc/models/payment-balance-activity-tax-on-fee-detail.md) | Optional | - | getTypeTaxOnFeeDetails(): ?PaymentBalanceActivityTaxOnFeeDetail | setTypeTaxOnFeeDetails(?PaymentBalanceActivityTaxOnFeeDetail typeTaxOnFeeDetails): void | | `typeThirdPartyFeeDetails` | [`?PaymentBalanceActivityThirdPartyFeeDetail`](../../doc/models/payment-balance-activity-third-party-fee-detail.md) | Optional | - | getTypeThirdPartyFeeDetails(): ?PaymentBalanceActivityThirdPartyFeeDetail | setTypeThirdPartyFeeDetails(?PaymentBalanceActivityThirdPartyFeeDetail typeThirdPartyFeeDetails): void | | `typeThirdPartyFeeRefundDetails` | [`?PaymentBalanceActivityThirdPartyFeeRefundDetail`](../../doc/models/payment-balance-activity-third-party-fee-refund-detail.md) | Optional | - | getTypeThirdPartyFeeRefundDetails(): ?PaymentBalanceActivityThirdPartyFeeRefundDetail | setTypeThirdPartyFeeRefundDetails(?PaymentBalanceActivityThirdPartyFeeRefundDetail typeThirdPartyFeeRefundDetails): void | +| `typeSquarePayrollTransferDetails` | [`?PaymentBalanceActivitySquarePayrollTransferDetail`](../../doc/models/payment-balance-activity-square-payroll-transfer-detail.md) | Optional | - | getTypeSquarePayrollTransferDetails(): ?PaymentBalanceActivitySquarePayrollTransferDetail | setTypeSquarePayrollTransferDetails(?PaymentBalanceActivitySquarePayrollTransferDetail typeSquarePayrollTransferDetails): void | +| `typeSquarePayrollTransferReversedDetails` | [`?PaymentBalanceActivitySquarePayrollTransferReversedDetail`](../../doc/models/payment-balance-activity-square-payroll-transfer-reversed-detail.md) | Optional | - | getTypeSquarePayrollTransferReversedDetails(): ?PaymentBalanceActivitySquarePayrollTransferReversedDetail | setTypeSquarePayrollTransferReversedDetails(?PaymentBalanceActivitySquarePayrollTransferReversedDetail typeSquarePayrollTransferReversedDetails): void | ## Example (as JSON) @@ -49,18 +52,18 @@ The total amount of the payout will equal the sum of the payout entries for a ba "id": "id8", "payout_id": "payout_id4", "effective_at": "effective_at8", - "type": "SQUARE_CAPITAL_REVERSED_PAYMENT", + "type": "AUTOMATIC_SAVINGS_REVERSED", "gross_amount_money": { "amount": 186, - "currency": "BWP" + "currency": "MNT" }, "fee_amount_money": { "amount": 126, - "currency": "NIO" + "currency": "CHF" }, "net_amount_money": { "amount": 6, - "currency": "LTL" + "currency": "XPT" } } ``` diff --git a/doc/models/payout-fee.md b/doc/models/payout-fee.md index 66634fff..74ee3074 100644 --- a/doc/models/payout-fee.md +++ b/doc/models/payout-fee.md @@ -21,7 +21,7 @@ Represents a payout fee that can incur as part of a payout. { "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" }, "effective_at": "effective_at0", "type": "TRANSFER_FEE" diff --git a/doc/models/payout.md b/doc/models/payout.md index 1c7efc5d..e4dda144 100644 --- a/doc/models/payout.md +++ b/doc/models/payout.md @@ -36,7 +36,7 @@ external bank account or to the Square balance. "updated_at": "updated_at0", "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" }, "destination": { "type": "BANK_ACCOUNT", diff --git a/doc/models/processing-fee.md b/doc/models/processing-fee.md index 516a5df2..c9330e5a 100644 --- a/doc/models/processing-fee.md +++ b/doc/models/processing-fee.md @@ -23,7 +23,7 @@ Represents the Square processing fee. "type": "type8", "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" } } ``` diff --git a/doc/models/publish-invoice-response.md b/doc/models/publish-invoice-response.md index 5f283c8d..37bb27fa 100644 --- a/doc/models/publish-invoice-response.md +++ b/doc/models/publish-invoice-response.md @@ -97,7 +97,7 @@ Describes a `PublishInvoice` response. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/quick-pay.md b/doc/models/quick-pay.md index 7667e2ea..6f5a64b5 100644 --- a/doc/models/quick-pay.md +++ b/doc/models/quick-pay.md @@ -24,7 +24,7 @@ see [Quick Pay Checkout](https://developer.squareup.com/docs/checkout-api/quick- "name": "name8", "price_money": { "amount": 202, - "currency": "CNY" + "currency": "GTQ" }, "location_id": "location_id2" } diff --git a/doc/models/redeem-loyalty-reward-response.md b/doc/models/redeem-loyalty-reward-response.md index c6dc103e..0487c53c 100644 --- a/doc/models/redeem-loyalty-reward-response.md +++ b/doc/models/redeem-loyalty-reward-response.md @@ -54,13 +54,13 @@ A response that includes the `LoyaltyEvent` published for redeeming the reward. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/refund-payment-request.md b/doc/models/refund-payment-request.md index 8a2ae901..b7d97d82 100644 --- a/doc/models/refund-payment-request.md +++ b/doc/models/refund-payment-request.md @@ -15,7 +15,7 @@ Describes a request to refund a payment using [RefundPayment](../../doc/apis/ref | `amountMoney` | [`Money`](../../doc/models/money.md) | Required | Represents an amount of money. `Money` fields can be signed or unsigned.
Fields that do not explicitly define whether they are signed or unsigned are
considered unsigned and can only hold positive amounts. For signed fields, the
sign of the value indicates the purpose of the money transfer. See
[Working with Monetary Amounts](https://developer.squareup.com/docs/build-basics/working-with-monetary-amounts)
for more information. | getAmountMoney(): Money | setAmountMoney(Money amountMoney): void | | `appFeeMoney` | [`?Money`](../../doc/models/money.md) | Optional | Represents an amount of money. `Money` fields can be signed or unsigned.
Fields that do not explicitly define whether they are signed or unsigned are
considered unsigned and can only hold positive amounts. For signed fields, the
sign of the value indicates the purpose of the money transfer. See
[Working with Monetary Amounts](https://developer.squareup.com/docs/build-basics/working-with-monetary-amounts)
for more information. | getAppFeeMoney(): ?Money | setAppFeeMoney(?Money appFeeMoney): void | | `paymentId` | `?string` | Optional | The unique ID of the payment being refunded.
Required when unlinked=false, otherwise must not be set. | getPaymentId(): ?string | setPaymentId(?string paymentId): void | -| `destinationId` | `?string` | Optional | The ID indicating where funds will be refunded to. Required for unlinked refunds. For more
information, see [Create an unlinked refund](https://developer.squareup.com/docs/payments-api/refund-payments#create-an-unlinked-refund).

For refunds linked to Square payments, destination_id is usually omitted; in this case, funds
will be returned to the original payment source. The field may be specified in order to request
a cross-method refund to a gift card. For more information,
see [Cross-method refunds to gift cards](https://developer.squareup.com/docs/payments-api/refund-payments#cross-method-refunds-to-gift-cards). | getDestinationId(): ?string | setDestinationId(?string destinationId): void | +| `destinationId` | `?string` | Optional | The ID indicating where funds will be refunded to. Required for unlinked refunds. For more
information, see [Process an Unlinked Refund](https://developer.squareup.com/docs/refunds-api/unlinked-refunds).

For refunds linked to Square payments, `destination_id` is usually omitted; in this case, funds
will be returned to the original payment source. The field may be specified in order to request
a cross-method refund to a gift card. For more information,
see [Cross-method refunds to gift cards](https://developer.squareup.com/docs/payments-api/refund-payments#cross-method-refunds-to-gift-cards). | getDestinationId(): ?string | setDestinationId(?string destinationId): void | | `unlinked` | `?bool` | Optional | Indicates that the refund is not linked to a Square payment.
If set to true, `destination_id` and `location_id` must be supplied while `payment_id` must not
be provided. | getUnlinked(): ?bool | setUnlinked(?bool unlinked): void | | `locationId` | `?string` | Optional | The location ID associated with the unlinked refund.
Required for requests specifying `unlinked=true`.
Otherwise, if included when `unlinked=false`, will throw an error.
**Constraints**: *Maximum Length*: `50` | getLocationId(): ?string | setLocationId(?string locationId): void | | `customerId` | `?string` | Optional | The [Customer](entity:Customer) ID of the customer associated with the refund.
This is required if the `destination_id` refers to a card on file created using the Cards
API. Only allowed when `unlinked=true`. | getCustomerId(): ?string | setCustomerId(?string customerId): void | diff --git a/doc/models/refund-payment-response.md b/doc/models/refund-payment-response.md index bd281afb..42c10e67 100644 --- a/doc/models/refund-payment-response.md +++ b/doc/models/refund-payment-response.md @@ -56,11 +56,11 @@ present, or it might be present with a status of `FAILED`. "cash_details": { "seller_supplied_money": { "amount": 36, - "currency": "AZN" + "currency": "MKD" }, "change_back_money": { "amount": 78, - "currency": "DJF" + "currency": "XBD" } }, "external_details": { @@ -73,13 +73,13 @@ present, or it might be present with a status of `FAILED`. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/refund.md b/doc/models/refund.md index c7fdf2cb..2667ae3a 100644 --- a/doc/models/refund.md +++ b/doc/models/refund.md @@ -34,12 +34,12 @@ Represents a refund processed for a Square transaction. "reason": "reason8", "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" }, "status": "PENDING", "processing_fee_money": { "amount": 112, - "currency": "BBD" + "currency": "DJF" }, "additional_recipients": [ { @@ -47,7 +47,7 @@ Represents a refund processed for a Square transaction. "description": "description6", "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" }, "receivable_id": "receivable_id6" }, @@ -56,7 +56,7 @@ Represents a refund processed for a Square transaction. "description": "description6", "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" }, "receivable_id": "receivable_id6" }, @@ -65,7 +65,7 @@ Represents a refund processed for a Square transaction. "description": "description6", "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" }, "receivable_id": "receivable_id6" } diff --git a/doc/models/register-domain-response.md b/doc/models/register-domain-response.md index 15ce7fcf..4112e8c3 100644 --- a/doc/models/register-domain-response.md +++ b/doc/models/register-domain-response.md @@ -25,19 +25,19 @@ Either `errors` or `status` are present in a given response (never both). "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/remove-group-from-customer-response.md b/doc/models/remove-group-from-customer-response.md index c768b18d..416da462 100644 --- a/doc/models/remove-group-from-customer-response.md +++ b/doc/models/remove-group-from-customer-response.md @@ -22,13 +22,13 @@ endpoint. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/resume-subscription-response.md b/doc/models/resume-subscription-response.md index ac460152..3e54f2cd 100644 --- a/doc/models/resume-subscription-response.md +++ b/doc/models/resume-subscription-response.md @@ -74,7 +74,7 @@ Defines output parameters in a response from the "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/retrieve-booking-custom-attribute-response.md b/doc/models/retrieve-booking-custom-attribute-response.md index e745b00e..72971c8f 100644 --- a/doc/models/retrieve-booking-custom-attribute-response.md +++ b/doc/models/retrieve-booking-custom-attribute-response.md @@ -41,19 +41,19 @@ Either `custom_attribute_definition` or `errors` is present in the response. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/retrieve-card-response.md b/doc/models/retrieve-card-response.md index 94b03c33..f40237ef 100644 --- a/doc/models/retrieve-card-response.md +++ b/doc/models/retrieve-card-response.md @@ -50,13 +50,13 @@ present. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/retrieve-cash-drawer-shift-response.md b/doc/models/retrieve-cash-drawer-shift-response.md index 2e3e2c66..2083b8c3 100644 --- a/doc/models/retrieve-cash-drawer-shift-response.md +++ b/doc/models/retrieve-cash-drawer-shift-response.md @@ -61,13 +61,13 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/retrieve-catalog-object-response.md b/doc/models/retrieve-catalog-object-response.md index 0585f10f..3adb206f 100644 --- a/doc/models/retrieve-catalog-object-response.md +++ b/doc/models/retrieve-catalog-object-response.md @@ -155,13 +155,13 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/retrieve-customer-custom-attribute-definition-response.md b/doc/models/retrieve-customer-custom-attribute-definition-response.md index 41ce19c0..2d997952 100644 --- a/doc/models/retrieve-customer-custom-attribute-definition-response.md +++ b/doc/models/retrieve-customer-custom-attribute-definition-response.md @@ -35,13 +35,13 @@ Either `custom_attribute_definition` or `errors` is present in the response. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/retrieve-customer-custom-attribute-response.md b/doc/models/retrieve-customer-custom-attribute-response.md index bf139f60..8783d509 100644 --- a/doc/models/retrieve-customer-custom-attribute-response.md +++ b/doc/models/retrieve-customer-custom-attribute-response.md @@ -41,7 +41,7 @@ Either `custom_attribute_definition` or `errors` is present in the response. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/retrieve-customer-group-response.md b/doc/models/retrieve-customer-group-response.md index c8e68027..fdb88026 100644 --- a/doc/models/retrieve-customer-group-response.md +++ b/doc/models/retrieve-customer-group-response.md @@ -30,7 +30,7 @@ Either `errors` or `group` is present in a given response (never both). "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/retrieve-customer-response.md b/doc/models/retrieve-customer-response.md index 74f5ea9a..7525d6d0 100644 --- a/doc/models/retrieve-customer-response.md +++ b/doc/models/retrieve-customer-response.md @@ -63,19 +63,19 @@ Either `errors` or `customer` is present in a given response (never both). "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/retrieve-customer-segment-response.md b/doc/models/retrieve-customer-segment-response.md index 184239b9..998f6948 100644 --- a/doc/models/retrieve-customer-segment-response.md +++ b/doc/models/retrieve-customer-segment-response.md @@ -29,13 +29,13 @@ Either `errors` or `segment` is present in a given response (never both). "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/retrieve-dispute-evidence-response.md b/doc/models/retrieve-dispute-evidence-response.md index f89eaa30..6d00662f 100644 --- a/doc/models/retrieve-dispute-evidence-response.md +++ b/doc/models/retrieve-dispute-evidence-response.md @@ -33,7 +33,7 @@ Defines the fields in a `RetrieveDisputeEvidence` response. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/retrieve-dispute-response.md b/doc/models/retrieve-dispute-response.md index bd3b186e..a48e7f8a 100644 --- a/doc/models/retrieve-dispute-response.md +++ b/doc/models/retrieve-dispute-response.md @@ -42,7 +42,7 @@ Defines fields in a `RetrieveDispute` response. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/retrieve-employee-response.md b/doc/models/retrieve-employee-response.md index 978a4cdd..55742fd3 100644 --- a/doc/models/retrieve-employee-response.md +++ b/doc/models/retrieve-employee-response.md @@ -26,13 +26,13 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/retrieve-gift-card-from-gan-response.md b/doc/models/retrieve-gift-card-from-gan-response.md index 9233c7b1..d521ed5a 100644 --- a/doc/models/retrieve-gift-card-from-gan-response.md +++ b/doc/models/retrieve-gift-card-from-gan-response.md @@ -34,7 +34,7 @@ if the request resulted in errors. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/retrieve-gift-card-from-nonce-response.md b/doc/models/retrieve-gift-card-from-nonce-response.md index 6fc0b3f5..35ca90c4 100644 --- a/doc/models/retrieve-gift-card-from-nonce-response.md +++ b/doc/models/retrieve-gift-card-from-nonce-response.md @@ -34,13 +34,13 @@ the response contains a set of `Error` objects. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/retrieve-gift-card-response.md b/doc/models/retrieve-gift-card-response.md index 80474a2a..df804752 100644 --- a/doc/models/retrieve-gift-card-response.md +++ b/doc/models/retrieve-gift-card-response.md @@ -34,13 +34,13 @@ if the request resulted in errors. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/retrieve-location-custom-attribute-definition-response.md b/doc/models/retrieve-location-custom-attribute-definition-response.md index 5a36c41f..0ac58449 100644 --- a/doc/models/retrieve-location-custom-attribute-definition-response.md +++ b/doc/models/retrieve-location-custom-attribute-definition-response.md @@ -35,19 +35,19 @@ Either `custom_attribute_definition` or `errors` is present in the response. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/retrieve-location-custom-attribute-response.md b/doc/models/retrieve-location-custom-attribute-response.md index 3d833ff0..af9a3764 100644 --- a/doc/models/retrieve-location-custom-attribute-response.md +++ b/doc/models/retrieve-location-custom-attribute-response.md @@ -41,7 +41,7 @@ Either `custom_attribute_definition` or `errors` is present in the response. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/retrieve-location-response.md b/doc/models/retrieve-location-response.md index f6e92b34..1985076e 100644 --- a/doc/models/retrieve-location-response.md +++ b/doc/models/retrieve-location-response.md @@ -48,7 +48,7 @@ endpoint returns in a response. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/retrieve-location-settings-response.md b/doc/models/retrieve-location-settings-response.md index 6130111b..d6a72c97 100644 --- a/doc/models/retrieve-location-settings-response.md +++ b/doc/models/retrieve-location-settings-response.md @@ -60,16 +60,16 @@ "smart_tips": [ { "amount": 152, - "currency": "USN" + "currency": "GEL" }, { "amount": 152, - "currency": "USN" + "currency": "GEL" } ], "default_smart_tip": { "amount": 58, - "currency": "XTS" + "currency": "KWD" } }, "updated_at": "2022-06-16T22:25:35Z" @@ -77,13 +77,13 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/retrieve-loyalty-account-response.md b/doc/models/retrieve-loyalty-account-response.md index 8fc4c553..27dfcac4 100644 --- a/doc/models/retrieve-loyalty-account-response.md +++ b/doc/models/retrieve-loyalty-account-response.md @@ -36,13 +36,13 @@ A response that includes the loyalty account. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/retrieve-loyalty-program-response.md b/doc/models/retrieve-loyalty-program-response.md index 69cf501a..b1dba5f0 100644 --- a/doc/models/retrieve-loyalty-program-response.md +++ b/doc/models/retrieve-loyalty-program-response.md @@ -57,11 +57,11 @@ A response that contains the loyalty program. ], "fixed_discount_money": { "amount": 36, - "currency": "TTD" + "currency": "SLL" }, "max_discount_money": { "amount": 84, - "currency": "STD" + "currency": "BOB" } }, "id": "e1b39225-9da5-43d1-a5db-782cdd8ad94f", @@ -86,7 +86,7 @@ A response that contains the loyalty program. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/retrieve-loyalty-promotion-response.md b/doc/models/retrieve-loyalty-promotion-response.md index 9da6b342..0e1d3e61 100644 --- a/doc/models/retrieve-loyalty-promotion-response.md +++ b/doc/models/retrieve-loyalty-promotion-response.md @@ -59,13 +59,13 @@ Represents a [RetrieveLoyaltyPromotionPromotions](../../doc/apis/loyalty.md#retr "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/retrieve-loyalty-reward-response.md b/doc/models/retrieve-loyalty-reward-response.md index c1f052ed..0f24ca9c 100644 --- a/doc/models/retrieve-loyalty-reward-response.md +++ b/doc/models/retrieve-loyalty-reward-response.md @@ -32,13 +32,13 @@ A response that includes the loyalty reward. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/retrieve-merchant-custom-attribute-definition-response.md b/doc/models/retrieve-merchant-custom-attribute-definition-response.md index 06d7f472..1153a2d1 100644 --- a/doc/models/retrieve-merchant-custom-attribute-definition-response.md +++ b/doc/models/retrieve-merchant-custom-attribute-definition-response.md @@ -35,7 +35,7 @@ Either `custom_attribute_definition` or `errors` is present in the response. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/retrieve-merchant-custom-attribute-response.md b/doc/models/retrieve-merchant-custom-attribute-response.md index fb92b22e..acafecc1 100644 --- a/doc/models/retrieve-merchant-custom-attribute-response.md +++ b/doc/models/retrieve-merchant-custom-attribute-response.md @@ -41,13 +41,13 @@ Either `custom_attribute_definition` or `errors` is present in the response. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/retrieve-merchant-response.md b/doc/models/retrieve-merchant-response.md index 05764969..fe9d149d 100644 --- a/doc/models/retrieve-merchant-response.md +++ b/doc/models/retrieve-merchant-response.md @@ -31,13 +31,13 @@ The response object returned by the [RetrieveMerchant](../../doc/apis/merchants. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/retrieve-merchant-settings-response.md b/doc/models/retrieve-merchant-settings-response.md index dfe3a44a..980288ef 100644 --- a/doc/models/retrieve-merchant-settings-response.md +++ b/doc/models/retrieve-merchant-settings-response.md @@ -60,13 +60,13 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/retrieve-order-custom-attribute-definition-response.md b/doc/models/retrieve-order-custom-attribute-definition-response.md index 2ee4cbc2..d3344331 100644 --- a/doc/models/retrieve-order-custom-attribute-definition-response.md +++ b/doc/models/retrieve-order-custom-attribute-definition-response.md @@ -34,7 +34,7 @@ Represents a response from getting an order custom attribute definition. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/retrieve-order-custom-attribute-response.md b/doc/models/retrieve-order-custom-attribute-response.md index abe2d25e..9fe83066 100644 --- a/doc/models/retrieve-order-custom-attribute-response.md +++ b/doc/models/retrieve-order-custom-attribute-response.md @@ -40,13 +40,13 @@ Represents a response from getting an order custom attribute. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/retrieve-order-response.md b/doc/models/retrieve-order-response.md index 7baeb6b6..8be86e8f 100644 --- a/doc/models/retrieve-order-response.md +++ b/doc/models/retrieve-order-response.md @@ -209,19 +209,19 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/retrieve-payment-link-response.md b/doc/models/retrieve-payment-link-response.md index e12830b3..e8453d04 100644 --- a/doc/models/retrieve-payment-link-response.md +++ b/doc/models/retrieve-payment-link-response.md @@ -53,13 +53,13 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/retrieve-snippet-response.md b/doc/models/retrieve-snippet-response.md index fa32d251..65c35698 100644 --- a/doc/models/retrieve-snippet-response.md +++ b/doc/models/retrieve-snippet-response.md @@ -28,7 +28,7 @@ Represents a `RetrieveSnippet` response. The response can include either `snippe "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/retrieve-subscription-response.md b/doc/models/retrieve-subscription-response.md index be291fef..57db90ad 100644 --- a/doc/models/retrieve-subscription-response.md +++ b/doc/models/retrieve-subscription-response.md @@ -46,13 +46,13 @@ Defines output parameters in a response from the "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/retrieve-team-member-response.md b/doc/models/retrieve-team-member-response.md index 78228837..76b91f20 100644 --- a/doc/models/retrieve-team-member-response.md +++ b/doc/models/retrieve-team-member-response.md @@ -40,7 +40,7 @@ Represents a response from a retrieve request containing a `TeamMember` object o "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/retrieve-token-status-response.md b/doc/models/retrieve-token-status-response.md index 3822566b..f4bef6c2 100644 --- a/doc/models/retrieve-token-status-response.md +++ b/doc/models/retrieve-token-status-response.md @@ -32,13 +32,13 @@ a request to the `RetrieveTokenStatus` endpoint. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/retrieve-transaction-response.md b/doc/models/retrieve-transaction-response.md index 7b634763..37b1b4ce 100644 --- a/doc/models/retrieve-transaction-response.md +++ b/doc/models/retrieve-transaction-response.md @@ -73,12 +73,12 @@ One of `errors` or `transaction` is present in a given response (never both). "reason": "reason4", "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" }, "status": "PENDING", "processing_fee_money": { "amount": 112, - "currency": "BBD" + "currency": "DJF" }, "additional_recipients": [ { @@ -86,7 +86,7 @@ One of `errors` or `transaction` is present in a given response (never both). "description": "description6", "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" }, "receivable_id": "receivable_id6" }, @@ -95,7 +95,7 @@ One of `errors` or `transaction` is present in a given response (never both). "description": "description6", "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" }, "receivable_id": "receivable_id6" } @@ -110,12 +110,12 @@ One of `errors` or `transaction` is present in a given response (never both). "reason": "reason4", "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" }, "status": "PENDING", "processing_fee_money": { "amount": 112, - "currency": "BBD" + "currency": "DJF" }, "additional_recipients": [ { @@ -123,7 +123,7 @@ One of `errors` or `transaction` is present in a given response (never both). "description": "description6", "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" }, "receivable_id": "receivable_id6" }, @@ -132,7 +132,7 @@ One of `errors` or `transaction` is present in a given response (never both). "description": "description6", "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" }, "receivable_id": "receivable_id6" } @@ -147,12 +147,12 @@ One of `errors` or `transaction` is present in a given response (never both). "reason": "reason4", "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" }, "status": "PENDING", "processing_fee_money": { "amount": 112, - "currency": "BBD" + "currency": "DJF" }, "additional_recipients": [ { @@ -160,7 +160,7 @@ One of `errors` or `transaction` is present in a given response (never both). "description": "description6", "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" }, "receivable_id": "receivable_id6" }, @@ -169,7 +169,7 @@ One of `errors` or `transaction` is present in a given response (never both). "description": "description6", "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" }, "receivable_id": "receivable_id6" } @@ -180,7 +180,7 @@ One of `errors` or `transaction` is present in a given response (never both). "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/retrieve-vendor-response.md b/doc/models/retrieve-vendor-response.md index 82e9d1a8..44ef8376 100644 --- a/doc/models/retrieve-vendor-response.md +++ b/doc/models/retrieve-vendor-response.md @@ -21,7 +21,7 @@ Represents an output from a call to [RetrieveVendor](../../doc/apis/vendors.md#r "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/retrieve-wage-setting-response.md b/doc/models/retrieve-wage-setting-response.md index d1b6b1d9..cadb08c1 100644 --- a/doc/models/retrieve-wage-setting-response.md +++ b/doc/models/retrieve-wage-setting-response.md @@ -43,19 +43,19 @@ Represents a response from a retrieve request containing the specified `WageSett "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/retrieve-webhook-subscription-response.md b/doc/models/retrieve-webhook-subscription-response.md index 3ffbedb8..4082ca37 100644 --- a/doc/models/retrieve-webhook-subscription-response.md +++ b/doc/models/retrieve-webhook-subscription-response.md @@ -39,7 +39,7 @@ present. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/revoke-token-response.md b/doc/models/revoke-token-response.md index 1f810cd3..dc5c8b61 100644 --- a/doc/models/revoke-token-response.md +++ b/doc/models/revoke-token-response.md @@ -20,7 +20,7 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/search-catalog-items-response.md b/doc/models/search-catalog-items-response.md index b4dbdca4..b08e576c 100644 --- a/doc/models/search-catalog-items-response.md +++ b/doc/models/search-catalog-items-response.md @@ -23,13 +23,13 @@ Defines the response body returned from the [SearchCatalogItems](../../doc/apis/ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/search-catalog-objects-response.md b/doc/models/search-catalog-objects-response.md index 3057ac74..cbdf0ae5 100644 --- a/doc/models/search-catalog-objects-response.md +++ b/doc/models/search-catalog-objects-response.md @@ -188,7 +188,7 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/search-customers-response.md b/doc/models/search-customers-response.md index 4f2c2075..234cff7f 100644 --- a/doc/models/search-customers-response.md +++ b/doc/models/search-customers-response.md @@ -120,7 +120,7 @@ Either `errors` or `customers` is present in a given response (never both). "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/search-events-response.md b/doc/models/search-events-response.md index 7bf382f6..cb70c0ed 100644 --- a/doc/models/search-events-response.md +++ b/doc/models/search-events-response.md @@ -69,13 +69,13 @@ present. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/search-invoices-response.md b/doc/models/search-invoices-response.md index 0b43fd02..9cf7224b 100644 --- a/doc/models/search-invoices-response.md +++ b/doc/models/search-invoices-response.md @@ -175,13 +175,13 @@ Describes a `SearchInvoices` response. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/search-loyalty-accounts-response.md b/doc/models/search-loyalty-accounts-response.md index 19bfb0da..2a4534f3 100644 --- a/doc/models/search-loyalty-accounts-response.md +++ b/doc/models/search-loyalty-accounts-response.md @@ -39,13 +39,13 @@ A response that includes loyalty accounts that satisfy the search criteria. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/search-loyalty-events-response.md b/doc/models/search-loyalty-events-response.md index 2747fcdc..3abf9e4e 100644 --- a/doc/models/search-loyalty-events-response.md +++ b/doc/models/search-loyalty-events-response.md @@ -123,19 +123,19 @@ criteria, in order by the `created_at` date. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/search-loyalty-rewards-response.md b/doc/models/search-loyalty-rewards-response.md index 5da21009..bb80344b 100644 --- a/doc/models/search-loyalty-rewards-response.md +++ b/doc/models/search-loyalty-rewards-response.md @@ -66,19 +66,19 @@ A response that includes the loyalty rewards satisfying the search criteria. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/search-orders-response.md b/doc/models/search-orders-response.md index 78a40786..544af0bc 100644 --- a/doc/models/search-orders-response.md +++ b/doc/models/search-orders-response.md @@ -209,13 +209,13 @@ Either the `order_entries` or `orders` field is set, depending on whether "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/search-shifts-response.md b/doc/models/search-shifts-response.md index 97c09e09..83fe72ac 100644 --- a/doc/models/search-shifts-response.md +++ b/doc/models/search-shifts-response.md @@ -110,7 +110,7 @@ the request resulted in errors. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/search-subscriptions-response.md b/doc/models/search-subscriptions-response.md index 9522da45..0633c734 100644 --- a/doc/models/search-subscriptions-response.md +++ b/doc/models/search-subscriptions-response.md @@ -89,7 +89,7 @@ Defines output parameters in a response from the "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/search-team-members-response.md b/doc/models/search-team-members-response.md index 97099cc1..652675fa 100644 --- a/doc/models/search-team-members-response.md +++ b/doc/models/search-team-members-response.md @@ -164,13 +164,13 @@ Represents a response from a search request containing a filtered list of `TeamM "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/search-terminal-actions-response.md b/doc/models/search-terminal-actions-response.md index 39ec04b9..7347a9d0 100644 --- a/doc/models/search-terminal-actions-response.md +++ b/doc/models/search-terminal-actions-response.md @@ -56,7 +56,7 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/search-terminal-checkouts-response.md b/doc/models/search-terminal-checkouts-response.md index ffb1c37c..0de4bf26 100644 --- a/doc/models/search-terminal-checkouts-response.md +++ b/doc/models/search-terminal-checkouts-response.md @@ -101,19 +101,19 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/search-terminal-refunds-response.md b/doc/models/search-terminal-refunds-response.md index 26192d09..dbf0f17c 100644 --- a/doc/models/search-terminal-refunds-response.md +++ b/doc/models/search-terminal-refunds-response.md @@ -49,19 +49,19 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/search-vendors-response.md b/doc/models/search-vendors-response.md index b9b2111e..0c15d6d1 100644 --- a/doc/models/search-vendors-response.md +++ b/doc/models/search-vendors-response.md @@ -22,7 +22,7 @@ Represents an output from a call to [SearchVendors](../../doc/apis/vendors.md#se "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/shift-wage.md b/doc/models/shift-wage.md index 5d158054..cdd1e9f6 100644 --- a/doc/models/shift-wage.md +++ b/doc/models/shift-wage.md @@ -23,7 +23,7 @@ The hourly wage rate used to compensate an employee for this shift. "title": "title6", "hourly_rate": { "amount": 172, - "currency": "OMR" + "currency": "LAK" }, "job_id": "job_id2", "tip_eligible": false diff --git a/doc/models/shift.md b/doc/models/shift.md index 0df0b6c9..3bca4b1a 100644 --- a/doc/models/shift.md +++ b/doc/models/shift.md @@ -42,7 +42,7 @@ taken during the shift. "title": "title8", "hourly_rate": { "amount": 172, - "currency": "OMR" + "currency": "LAK" }, "job_id": "job_id0", "tip_eligible": false diff --git a/doc/models/shipping-fee.md b/doc/models/shipping-fee.md index 3cf58902..81c5ed9d 100644 --- a/doc/models/shipping-fee.md +++ b/doc/models/shipping-fee.md @@ -19,7 +19,7 @@ "name": "name6", "charge": { "amount": 80, - "currency": "UNKNOWN_CURRENCY" + "currency": "TTD" } } ``` diff --git a/doc/models/snippet-response.md b/doc/models/snippet-response.md index d687e358..c9b9ed12 100644 --- a/doc/models/snippet-response.md +++ b/doc/models/snippet-response.md @@ -19,13 +19,13 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/square-account-details.md b/doc/models/square-account-details.md index 446e71c2..1c9dd1b8 100644 --- a/doc/models/square-account-details.md +++ b/doc/models/square-account-details.md @@ -22,13 +22,13 @@ Additional details about Square Account payments. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/submit-evidence-response.md b/doc/models/submit-evidence-response.md index 9a6a1070..dfac8e55 100644 --- a/doc/models/submit-evidence-response.md +++ b/doc/models/submit-evidence-response.md @@ -42,19 +42,19 @@ Defines the fields in a `SubmitEvidence` response. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/subscription-phase.md b/doc/models/subscription-phase.md index aed51f15..e0f214c9 100644 --- a/doc/models/subscription-phase.md +++ b/doc/models/subscription-phase.md @@ -27,7 +27,7 @@ Describes a phase in a subscription plan variation. For more information, see [S "periods": 36, "recurring_price_money": { "amount": 66, - "currency": "TMT" + "currency": "ZMW" }, "ordinal": 2, "pricing": { @@ -38,7 +38,7 @@ Describes a phase in a subscription plan variation. For more information, see [S ], "price_money": { "amount": 202, - "currency": "CNY" + "currency": "GTQ" } } } diff --git a/doc/models/subscription-pricing.md b/doc/models/subscription-pricing.md index bf7fa4d0..d3c78640 100644 --- a/doc/models/subscription-pricing.md +++ b/doc/models/subscription-pricing.md @@ -26,7 +26,7 @@ Describes the pricing for the subscription. ], "price_money": { "amount": 202, - "currency": "CNY" + "currency": "GTQ" } } ``` diff --git a/doc/models/swap-plan-response.md b/doc/models/swap-plan-response.md index 31aac870..b644e5be 100644 --- a/doc/models/swap-plan-response.md +++ b/doc/models/swap-plan-response.md @@ -66,19 +66,19 @@ Defines output parameters in a response of the "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/team-member-wage.md b/doc/models/team-member-wage.md index 3af7c007..724e6a43 100644 --- a/doc/models/team-member-wage.md +++ b/doc/models/team-member-wage.md @@ -28,7 +28,7 @@ specified by the `title` property of this object. "title": "title8", "hourly_rate": { "amount": 172, - "currency": "OMR" + "currency": "LAK" }, "job_id": "job_id0" } diff --git a/doc/models/tender-cash-details.md b/doc/models/tender-cash-details.md index 87874d99..4be002c6 100644 --- a/doc/models/tender-cash-details.md +++ b/doc/models/tender-cash-details.md @@ -20,11 +20,11 @@ Represents the details of a tender with `type` `CASH`. { "buyer_tendered_money": { "amount": 238, - "currency": "QAR" + "currency": "XOF" }, "change_back_money": { "amount": 78, - "currency": "DJF" + "currency": "XBD" } } ``` diff --git a/doc/models/terminal-checkout.md b/doc/models/terminal-checkout.md index bc9e3765..07d685f4 100644 --- a/doc/models/terminal-checkout.md +++ b/doc/models/terminal-checkout.md @@ -40,7 +40,7 @@ Represents a checkout processed by the Square Terminal. "id": "id6", "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" }, "reference_id": "reference_id6", "note": "note8", diff --git a/doc/models/terminal-refund.md b/doc/models/terminal-refund.md index c26795e3..8291bc87 100644 --- a/doc/models/terminal-refund.md +++ b/doc/models/terminal-refund.md @@ -36,7 +36,7 @@ Represents a payment refund processed by the Square Terminal. Only supports Inte "order_id": "order_id2", "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" }, "reason": "reason6", "device_id": "device_id4", diff --git a/doc/models/test-webhook-subscription-response.md b/doc/models/test-webhook-subscription-response.md index 28050020..0dae889d 100644 --- a/doc/models/test-webhook-subscription-response.md +++ b/doc/models/test-webhook-subscription-response.md @@ -32,13 +32,13 @@ present. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/transaction.md b/doc/models/transaction.md index 8d202fc8..5472a223 100644 --- a/doc/models/transaction.md +++ b/doc/models/transaction.md @@ -69,12 +69,12 @@ the transaction. "reason": "reason4", "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" }, "status": "PENDING", "processing_fee_money": { "amount": 112, - "currency": "BBD" + "currency": "DJF" }, "additional_recipients": [ { @@ -82,7 +82,7 @@ the transaction. "description": "description6", "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" }, "receivable_id": "receivable_id6" }, @@ -91,7 +91,7 @@ the transaction. "description": "description6", "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" }, "receivable_id": "receivable_id6" } @@ -106,12 +106,12 @@ the transaction. "reason": "reason4", "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" }, "status": "PENDING", "processing_fee_money": { "amount": 112, - "currency": "BBD" + "currency": "DJF" }, "additional_recipients": [ { @@ -119,7 +119,7 @@ the transaction. "description": "description6", "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" }, "receivable_id": "receivable_id6" }, @@ -128,7 +128,7 @@ the transaction. "description": "description6", "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" }, "receivable_id": "receivable_id6" } @@ -143,12 +143,12 @@ the transaction. "reason": "reason4", "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" }, "status": "PENDING", "processing_fee_money": { "amount": 112, - "currency": "BBD" + "currency": "DJF" }, "additional_recipients": [ { @@ -156,7 +156,7 @@ the transaction. "description": "description6", "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" }, "receivable_id": "receivable_id6" }, @@ -165,7 +165,7 @@ the transaction. "description": "description6", "amount_money": { "amount": 186, - "currency": "TZS" + "currency": "AUD" }, "receivable_id": "receivable_id6" } diff --git a/doc/models/unlink-customer-from-gift-card-response.md b/doc/models/unlink-customer-from-gift-card-response.md index d6e64a7e..e569fb0e 100644 --- a/doc/models/unlink-customer-from-gift-card-response.md +++ b/doc/models/unlink-customer-from-gift-card-response.md @@ -34,19 +34,19 @@ the response contains a set of `Error` objects. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/update-break-type-response.md b/doc/models/update-break-type-response.md index 9c47d546..07c10a19 100644 --- a/doc/models/update-break-type-response.md +++ b/doc/models/update-break-type-response.md @@ -33,7 +33,7 @@ the request resulted in errors. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/update-catalog-image-response.md b/doc/models/update-catalog-image-response.md index 323ac204..7aeeb330 100644 --- a/doc/models/update-catalog-image-response.md +++ b/doc/models/update-catalog-image-response.md @@ -61,13 +61,13 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/update-customer-custom-attribute-definition-response.md b/doc/models/update-customer-custom-attribute-definition-response.md index b32a4f70..2e20e805 100644 --- a/doc/models/update-customer-custom-attribute-definition-response.md +++ b/doc/models/update-customer-custom-attribute-definition-response.md @@ -35,19 +35,19 @@ Either `custom_attribute_definition` or `errors` is present in the response. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/update-customer-group-response.md b/doc/models/update-customer-group-response.md index 72acc3a1..5cec467e 100644 --- a/doc/models/update-customer-group-response.md +++ b/doc/models/update-customer-group-response.md @@ -30,19 +30,19 @@ Either `errors` or `group` is present in a given response (never both). "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/update-customer-response.md b/doc/models/update-customer-response.md index 919ffdef..71f17208 100644 --- a/doc/models/update-customer-response.md +++ b/doc/models/update-customer-response.md @@ -57,13 +57,13 @@ Either `errors` or `customer` is present in a given response (never both). "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/update-invoice-response.md b/doc/models/update-invoice-response.md index 149d8c8e..f7aa15bd 100644 --- a/doc/models/update-invoice-response.md +++ b/doc/models/update-invoice-response.md @@ -92,13 +92,13 @@ Describes a `UpdateInvoice` response. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/update-item-modifier-lists-response.md b/doc/models/update-item-modifier-lists-response.md index d459580e..20fcbc3c 100644 --- a/doc/models/update-item-modifier-lists-response.md +++ b/doc/models/update-item-modifier-lists-response.md @@ -20,19 +20,19 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/update-item-taxes-response.md b/doc/models/update-item-taxes-response.md index f1a15794..dee8b924 100644 --- a/doc/models/update-item-taxes-response.md +++ b/doc/models/update-item-taxes-response.md @@ -20,19 +20,19 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/update-location-custom-attribute-definition-response.md b/doc/models/update-location-custom-attribute-definition-response.md index 3207b138..6a812993 100644 --- a/doc/models/update-location-custom-attribute-definition-response.md +++ b/doc/models/update-location-custom-attribute-definition-response.md @@ -35,19 +35,19 @@ Either `custom_attribute_definition` or `errors` is present in the response. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/update-location-response.md b/doc/models/update-location-response.md index 08aaa870..7561a003 100644 --- a/doc/models/update-location-response.md +++ b/doc/models/update-location-response.md @@ -71,13 +71,13 @@ The response object returned by the [UpdateLocation](../../doc/apis/locations.md "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/update-location-settings-request.md b/doc/models/update-location-settings-request.md index f39eb433..135165dc 100644 --- a/doc/models/update-location-settings-request.md +++ b/doc/models/update-location-settings-request.md @@ -50,16 +50,16 @@ "smart_tips": [ { "amount": 152, - "currency": "USN" + "currency": "GEL" }, { "amount": 152, - "currency": "USN" + "currency": "GEL" } ], "default_smart_tip": { "amount": 58, - "currency": "XTS" + "currency": "KWD" } } } diff --git a/doc/models/update-location-settings-response.md b/doc/models/update-location-settings-response.md index 7f9355e3..89d4d6b8 100644 --- a/doc/models/update-location-settings-response.md +++ b/doc/models/update-location-settings-response.md @@ -65,16 +65,16 @@ "smart_tips": [ { "amount": 152, - "currency": "USN" + "currency": "GEL" }, { "amount": 152, - "currency": "USN" + "currency": "GEL" } ], "default_smart_tip": { "amount": 58, - "currency": "XTS" + "currency": "KWD" } }, "updated_at": "2022-06-16T22:25:35Z" @@ -82,19 +82,19 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/update-merchant-custom-attribute-definition-response.md b/doc/models/update-merchant-custom-attribute-definition-response.md index 70c4269e..0300b5c3 100644 --- a/doc/models/update-merchant-custom-attribute-definition-response.md +++ b/doc/models/update-merchant-custom-attribute-definition-response.md @@ -35,7 +35,7 @@ Either `custom_attribute_definition` or `errors` is present in the response. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/update-merchant-settings-request.md b/doc/models/update-merchant-settings-request.md index 1e4815e8..eb887bad 100644 --- a/doc/models/update-merchant-settings-request.md +++ b/doc/models/update-merchant-settings-request.md @@ -30,21 +30,21 @@ "order_eligibility_range": { "min": { "amount": 34, - "currency": "ISK" + "currency": "OMR" }, "max": { "amount": 140, - "currency": "OMR" + "currency": "JPY" } }, "item_eligibility_range": { "min": { "amount": 34, - "currency": "ISK" + "currency": "OMR" }, "max": { "amount": 140, - "currency": "OMR" + "currency": "JPY" } }, "enabled": false diff --git a/doc/models/update-merchant-settings-response.md b/doc/models/update-merchant-settings-response.md index 15ed6c21..a48d6b2b 100644 --- a/doc/models/update-merchant-settings-response.md +++ b/doc/models/update-merchant-settings-response.md @@ -60,13 +60,13 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/update-order-custom-attribute-definition-response.md b/doc/models/update-order-custom-attribute-definition-response.md index b36ddb20..4aa67e6c 100644 --- a/doc/models/update-order-custom-attribute-definition-response.md +++ b/doc/models/update-order-custom-attribute-definition-response.md @@ -34,19 +34,19 @@ Represents a response from updating an order custom attribute definition. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/update-order-response.md b/doc/models/update-order-response.md index 5b9ffff5..f9d9786e 100644 --- a/doc/models/update-order-response.md +++ b/doc/models/update-order-response.md @@ -171,13 +171,13 @@ a request to the [UpdateOrder](../../doc/apis/orders.md#update-order) endpoint. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/update-payment-link-response.md b/doc/models/update-payment-link-response.md index 7fc68cdf..5a0ea5db 100644 --- a/doc/models/update-payment-link-response.md +++ b/doc/models/update-payment-link-response.md @@ -56,19 +56,19 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/update-payment-response.md b/doc/models/update-payment-response.md index 864fcbfd..4aead208 100644 --- a/doc/models/update-payment-response.md +++ b/doc/models/update-payment-response.md @@ -89,19 +89,19 @@ Defines the response returned by "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/update-shift-response.md b/doc/models/update-shift-response.md index ef3458fd..ae1af642 100644 --- a/doc/models/update-shift-response.md +++ b/doc/models/update-shift-response.md @@ -60,19 +60,19 @@ the request resulted in errors. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/update-subscription-response.md b/doc/models/update-subscription-response.md index 1385e63f..1f012a92 100644 --- a/doc/models/update-subscription-response.md +++ b/doc/models/update-subscription-response.md @@ -42,13 +42,13 @@ Defines output parameters in a response from the "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/update-team-member-response.md b/doc/models/update-team-member-response.md index 66702745..2833bedf 100644 --- a/doc/models/update-team-member-response.md +++ b/doc/models/update-team-member-response.md @@ -40,7 +40,7 @@ Represents a response from an update request containing the updated `TeamMember` "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/update-wage-setting-request.md b/doc/models/update-wage-setting-request.md index 56d0af0f..c65d0d87 100644 --- a/doc/models/update-wage-setting-request.md +++ b/doc/models/update-wage-setting-request.md @@ -30,7 +30,7 @@ Represents an update request for the `WageSetting` object describing a `TeamMemb "weekly_hours": 40, "hourly_rate": { "amount": 172, - "currency": "OMR" + "currency": "LAK" } }, { @@ -42,7 +42,7 @@ Represents an update request for the `WageSetting` object describing a `TeamMemb "pay_type": "HOURLY", "annual_rate": { "amount": 232, - "currency": "SBD" + "currency": "NIO" }, "weekly_hours": 98 } diff --git a/doc/models/update-wage-setting-response.md b/doc/models/update-wage-setting-response.md index f61c5a34..1602adec 100644 --- a/doc/models/update-wage-setting-response.md +++ b/doc/models/update-wage-setting-response.md @@ -45,7 +45,7 @@ or error messages. "pay_type": "HOURLY", "annual_rate": { "amount": 232, - "currency": "SBD" + "currency": "NIO" }, "weekly_hours": 98 } @@ -57,13 +57,13 @@ or error messages. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/update-webhook-subscription-response.md b/doc/models/update-webhook-subscription-response.md index 2506667e..c4bdbbb7 100644 --- a/doc/models/update-webhook-subscription-response.md +++ b/doc/models/update-webhook-subscription-response.md @@ -38,7 +38,7 @@ present. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/update-webhook-subscription-signature-key-response.md b/doc/models/update-webhook-subscription-signature-key-response.md index 20822d7a..84cd4591 100644 --- a/doc/models/update-webhook-subscription-signature-key-response.md +++ b/doc/models/update-webhook-subscription-signature-key-response.md @@ -26,19 +26,19 @@ present. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/update-workweek-config-response.md b/doc/models/update-workweek-config-response.md index 63fe446a..6fb97137 100644 --- a/doc/models/update-workweek-config-response.md +++ b/doc/models/update-workweek-config-response.md @@ -31,19 +31,19 @@ the request resulted in errors. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/upsert-booking-custom-attribute-response.md b/doc/models/upsert-booking-custom-attribute-response.md index 4870bdab..32daedce 100644 --- a/doc/models/upsert-booking-custom-attribute-response.md +++ b/doc/models/upsert-booking-custom-attribute-response.md @@ -41,19 +41,19 @@ Either `custom_attribute_definition` or `errors` is present in the response. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/upsert-catalog-object-response.md b/doc/models/upsert-catalog-object-response.md index abb8f824..dce2efec 100644 --- a/doc/models/upsert-catalog-object-response.md +++ b/doc/models/upsert-catalog-object-response.md @@ -123,13 +123,13 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/upsert-customer-custom-attribute-response.md b/doc/models/upsert-customer-custom-attribute-response.md index 0ad5241d..b1d8c024 100644 --- a/doc/models/upsert-customer-custom-attribute-response.md +++ b/doc/models/upsert-customer-custom-attribute-response.md @@ -41,7 +41,7 @@ Either `custom_attribute_definition` or `errors` is present in the response. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/upsert-location-custom-attribute-response.md b/doc/models/upsert-location-custom-attribute-response.md index 3dc7bc73..afada6ed 100644 --- a/doc/models/upsert-location-custom-attribute-response.md +++ b/doc/models/upsert-location-custom-attribute-response.md @@ -41,13 +41,13 @@ Either `custom_attribute_definition` or `errors` is present in the response. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/upsert-merchant-custom-attribute-response.md b/doc/models/upsert-merchant-custom-attribute-response.md index 4be96827..1c8bc27c 100644 --- a/doc/models/upsert-merchant-custom-attribute-response.md +++ b/doc/models/upsert-merchant-custom-attribute-response.md @@ -41,7 +41,7 @@ Either `custom_attribute_definition` or `errors` is present in the response. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/upsert-order-custom-attribute-response.md b/doc/models/upsert-order-custom-attribute-response.md index 6107584f..c352736b 100644 --- a/doc/models/upsert-order-custom-attribute-response.md +++ b/doc/models/upsert-order-custom-attribute-response.md @@ -40,19 +40,19 @@ Represents a response from upserting order custom attribute definitions. "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/upsert-snippet-response.md b/doc/models/upsert-snippet-response.md index 99a41dda..2f91eff5 100644 --- a/doc/models/upsert-snippet-response.md +++ b/doc/models/upsert-snippet-response.md @@ -28,13 +28,13 @@ Represents an `UpsertSnippet` response. The response can include either `snippet "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/v1-list-orders-response.md b/doc/models/v1-list-orders-response.md index 4f308eb7..245a7a1c 100644 --- a/doc/models/v1-list-orders-response.md +++ b/doc/models/v1-list-orders-response.md @@ -20,7 +20,7 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } @@ -34,7 +34,7 @@ "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/v1-money.md b/doc/models/v1-money.md index 650d9b64..ab2426cd 100644 --- a/doc/models/v1-money.md +++ b/doc/models/v1-money.md @@ -17,7 +17,7 @@ ```json { "amount": 24, - "currency_code": "UZS" + "currency_code": "XPT" } ``` diff --git a/doc/models/v1-order.md b/doc/models/v1-order.md index 3a45161a..677f5c31 100644 --- a/doc/models/v1-order.md +++ b/doc/models/v1-order.md @@ -44,13 +44,13 @@ V1Order "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/void-transaction-response.md b/doc/models/void-transaction-response.md index c6db19e5..aa6ac83b 100644 --- a/doc/models/void-transaction-response.md +++ b/doc/models/void-transaction-response.md @@ -21,19 +21,19 @@ a request to the [VoidTransaction](api-endpoint:Transactions-VoidTransaction) en "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" }, { "category": "MERCHANT_SUBSCRIPTION_ERROR", - "code": "MAP_KEY_LENGTH_TOO_LONG", + "code": "INVALID_EXPIRATION", "detail": "detail6", "field": "field4" } diff --git a/doc/models/wage-setting.md b/doc/models/wage-setting.md index 3fdb41c6..59d96d91 100644 --- a/doc/models/wage-setting.md +++ b/doc/models/wage-setting.md @@ -29,11 +29,11 @@ An object representing a team member's wage information. "pay_type": "SALARY", "hourly_rate": { "amount": 172, - "currency": "OMR" + "currency": "LAK" }, "annual_rate": { "amount": 232, - "currency": "SBD" + "currency": "NIO" }, "weekly_hours": 98 }, @@ -42,11 +42,11 @@ An object representing a team member's wage information. "pay_type": "SALARY", "hourly_rate": { "amount": 172, - "currency": "OMR" + "currency": "LAK" }, "annual_rate": { "amount": 232, - "currency": "SBD" + "currency": "NIO" }, "weekly_hours": 98 }, @@ -55,11 +55,11 @@ An object representing a team member's wage information. "pay_type": "SALARY", "hourly_rate": { "amount": 172, - "currency": "OMR" + "currency": "LAK" }, "annual_rate": { "amount": 232, - "currency": "SBD" + "currency": "NIO" }, "weekly_hours": 98 } diff --git a/src/ConfigurationDefaults.php b/src/ConfigurationDefaults.php index 5c976631..7db1d340 100644 --- a/src/ConfigurationDefaults.php +++ b/src/ConfigurationDefaults.php @@ -27,7 +27,7 @@ class ConfigurationDefaults public const HTTP_METHODS_TO_RETRY = ['GET', 'PUT']; - public const SQUARE_VERSION = '2024-10-17'; + public const SQUARE_VERSION = '2024-11-20'; public const ADDITIONAL_HEADERS = []; diff --git a/src/Models/ActivityType.php b/src/Models/ActivityType.php index 32037c75..c774cf9b 100644 --- a/src/Models/ActivityType.php +++ b/src/Models/ActivityType.php @@ -39,10 +39,16 @@ class ActivityType public const CHARGE = 'CHARGE'; /** - * Any fees involved with deposits such as instant deposits. + * A fee assessed because of a deposit, such as an instant deposit. */ public const DEPOSIT_FEE = 'DEPOSIT_FEE'; + /** + * Indicates that Square returned a fee that was previously assessed because of a deposit, such as an + * instant deposit, back to the seller's account. + */ + public const DEPOSIT_FEE_REVERSED = 'DEPOSIT_FEE_REVERSED'; + /** * The balance change due to a dispute event. */ @@ -187,7 +193,7 @@ class ActivityType public const THIRD_PARTY_FEE_REFUND = 'THIRD_PARTY_FEE_REFUND'; /** - * The balance change due to money transfer. + * The balance change due to a money transfer. Note that this type is never returned by the Payouts API. */ public const PAYOUT = 'PAYOUT'; @@ -307,4 +313,15 @@ class ActivityType * gift cards are loaded or reloaded at any location, the money transfers to the franchisor's account. */ public const GIFT_CARD_POOL_TRANSFER_REVERSED = 'GIFT_CARD_POOL_TRANSFER_REVERSED'; + + /** + * A payroll payment that was transferred to a team member’s bank account. + */ + public const SQUARE_PAYROLL_TRANSFER = 'SQUARE_PAYROLL_TRANSFER'; + + /** + * A payroll payment to a team member’s bank account that was deposited back to the seller’s account by + * Square. + */ + public const SQUARE_PAYROLL_TRANSFER_REVERSED = 'SQUARE_PAYROLL_TRANSFER_REVERSED'; } diff --git a/src/Models/Builders/PaymentBalanceActivityDepositFeeReversedDetailBuilder.php b/src/Models/Builders/PaymentBalanceActivityDepositFeeReversedDetailBuilder.php new file mode 100644 index 00000000..f619e487 --- /dev/null +++ b/src/Models/Builders/PaymentBalanceActivityDepositFeeReversedDetailBuilder.php @@ -0,0 +1,60 @@ +instance = $instance; + } + + /** + * Initializes a new payment balance activity deposit fee reversed detail Builder object. + */ + public static function init(): self + { + return new self(new PaymentBalanceActivityDepositFeeReversedDetail()); + } + + /** + * Sets payout id field. + */ + public function payoutId(?string $value): self + { + $this->instance->setPayoutId($value); + return $this; + } + + /** + * Unsets payout id field. + */ + public function unsetPayoutId(): self + { + $this->instance->unsetPayoutId(); + return $this; + } + + /** + * Initializes a new payment balance activity deposit fee reversed detail object. + */ + public function build(): PaymentBalanceActivityDepositFeeReversedDetail + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/PaymentBalanceActivitySquarePayrollTransferDetailBuilder.php b/src/Models/Builders/PaymentBalanceActivitySquarePayrollTransferDetailBuilder.php new file mode 100644 index 00000000..6e7d257f --- /dev/null +++ b/src/Models/Builders/PaymentBalanceActivitySquarePayrollTransferDetailBuilder.php @@ -0,0 +1,60 @@ +instance = $instance; + } + + /** + * Initializes a new payment balance activity square payroll transfer detail Builder object. + */ + public static function init(): self + { + return new self(new PaymentBalanceActivitySquarePayrollTransferDetail()); + } + + /** + * Sets payment id field. + */ + public function paymentId(?string $value): self + { + $this->instance->setPaymentId($value); + return $this; + } + + /** + * Unsets payment id field. + */ + public function unsetPaymentId(): self + { + $this->instance->unsetPaymentId(); + return $this; + } + + /** + * Initializes a new payment balance activity square payroll transfer detail object. + */ + public function build(): PaymentBalanceActivitySquarePayrollTransferDetail + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/PaymentBalanceActivitySquarePayrollTransferReversedDetailBuilder.php b/src/Models/Builders/PaymentBalanceActivitySquarePayrollTransferReversedDetailBuilder.php new file mode 100644 index 00000000..4479100f --- /dev/null +++ b/src/Models/Builders/PaymentBalanceActivitySquarePayrollTransferReversedDetailBuilder.php @@ -0,0 +1,60 @@ +instance = $instance; + } + + /** + * Initializes a new payment balance activity square payroll transfer reversed detail Builder object. + */ + public static function init(): self + { + return new self(new PaymentBalanceActivitySquarePayrollTransferReversedDetail()); + } + + /** + * Sets payment id field. + */ + public function paymentId(?string $value): self + { + $this->instance->setPaymentId($value); + return $this; + } + + /** + * Unsets payment id field. + */ + public function unsetPaymentId(): self + { + $this->instance->unsetPaymentId(); + return $this; + } + + /** + * Initializes a new payment balance activity square payroll transfer reversed detail object. + */ + public function build(): PaymentBalanceActivitySquarePayrollTransferReversedDetail + { + return CoreHelper::clone($this->instance); + } +} diff --git a/src/Models/Builders/PaymentRefundBuilder.php b/src/Models/Builders/PaymentRefundBuilder.php index e4ab1bed..7711366f 100644 --- a/src/Models/Builders/PaymentRefundBuilder.php +++ b/src/Models/Builders/PaymentRefundBuilder.php @@ -214,6 +214,15 @@ public function teamMemberId(?string $value): self return $this; } + /** + * Sets terminal refund id field. + */ + public function terminalRefundId(?string $value): self + { + $this->instance->setTerminalRefundId($value); + return $this; + } + /** * Initializes a new payment refund object. */ diff --git a/src/Models/Builders/PayoutEntryBuilder.php b/src/Models/Builders/PayoutEntryBuilder.php index e3133183..d543c0f4 100644 --- a/src/Models/Builders/PayoutEntryBuilder.php +++ b/src/Models/Builders/PayoutEntryBuilder.php @@ -12,6 +12,7 @@ use Square\Models\PaymentBalanceActivityAutomaticSavingsReversedDetail; use Square\Models\PaymentBalanceActivityChargeDetail; use Square\Models\PaymentBalanceActivityDepositFeeDetail; +use Square\Models\PaymentBalanceActivityDepositFeeReversedDetail; use Square\Models\PaymentBalanceActivityDisputeDetail; use Square\Models\PaymentBalanceActivityFeeDetail; use Square\Models\PaymentBalanceActivityFreeProcessingDetail; @@ -25,6 +26,8 @@ use Square\Models\PaymentBalanceActivityReserveReleaseDetail; use Square\Models\PaymentBalanceActivitySquareCapitalPaymentDetail; use Square\Models\PaymentBalanceActivitySquareCapitalReversedPaymentDetail; +use Square\Models\PaymentBalanceActivitySquarePayrollTransferDetail; +use Square\Models\PaymentBalanceActivitySquarePayrollTransferReversedDetail; use Square\Models\PaymentBalanceActivityTaxOnFeeDetail; use Square\Models\PaymentBalanceActivityThirdPartyFeeDetail; use Square\Models\PaymentBalanceActivityThirdPartyFeeRefundDetail; @@ -164,6 +167,15 @@ public function typeDepositFeeDetails(?PaymentBalanceActivityDepositFeeDetail $v return $this; } + /** + * Sets type deposit fee reversed details field. + */ + public function typeDepositFeeReversedDetails(?PaymentBalanceActivityDepositFeeReversedDetail $value): self + { + $this->instance->setTypeDepositFeeReversedDetails($value); + return $this; + } + /** * Sets type dispute details field. */ @@ -309,6 +321,25 @@ public function typeThirdPartyFeeRefundDetails(?PaymentBalanceActivityThirdParty return $this; } + /** + * Sets type square payroll transfer details field. + */ + public function typeSquarePayrollTransferDetails(?PaymentBalanceActivitySquarePayrollTransferDetail $value): self + { + $this->instance->setTypeSquarePayrollTransferDetails($value); + return $this; + } + + /** + * Sets type square payroll transfer reversed details field. + */ + public function typeSquarePayrollTransferReversedDetails( + ?PaymentBalanceActivitySquarePayrollTransferReversedDetail $value + ): self { + $this->instance->setTypeSquarePayrollTransferReversedDetails($value); + return $this; + } + /** * Initializes a new payout entry object. */ diff --git a/src/Models/Currency.php b/src/Models/Currency.php index f27a995c..f209df85 100644 --- a/src/Models/Currency.php +++ b/src/Models/Currency.php @@ -671,10 +671,15 @@ class Currency public const SHP = 'SHP'; /** - * Sierra Leonean leone + * Sierra Leonean first leone */ public const SLL = 'SLL'; + /** + * Sierra Leonean second leone + */ + public const SLE = 'SLE'; + /** * Somali shilling */ diff --git a/src/Models/ErrorCode.php b/src/Models/ErrorCode.php index 28d92db6..28252fef 100644 --- a/src/Models/ErrorCode.php +++ b/src/Models/ErrorCode.php @@ -576,12 +576,15 @@ class ErrorCode public const REFUND_ALREADY_PENDING = 'REFUND_ALREADY_PENDING'; /** - * The payment is not refundable. For example, the payment has been disputed and is no longer eligible - * for - * refunds. + * The payment is not refundable. For example, the payment is too old to be refunded. */ public const PAYMENT_NOT_REFUNDABLE = 'PAYMENT_NOT_REFUNDABLE'; + /** + * The payment is not refundable because it has been disputed. + */ + public const PAYMENT_NOT_REFUNDABLE_DUE_TO_DISPUTE = 'PAYMENT_NOT_REFUNDABLE_DUE_TO_DISPUTE'; + /** * Request failed - The card issuer declined the refund. */ diff --git a/src/Models/PaymentBalanceActivityDepositFeeReversedDetail.php b/src/Models/PaymentBalanceActivityDepositFeeReversedDetail.php new file mode 100644 index 00000000..5e417a5c --- /dev/null +++ b/src/Models/PaymentBalanceActivityDepositFeeReversedDetail.php @@ -0,0 +1,69 @@ +payoutId) == 0) { + return null; + } + return $this->payoutId['value']; + } + + /** + * Sets Payout Id. + * The ID of the payout that triggered this deposit fee activity. + * + * @maps payout_id + */ + public function setPayoutId(?string $payoutId): void + { + $this->payoutId['value'] = $payoutId; + } + + /** + * Unsets Payout Id. + * The ID of the payout that triggered this deposit fee activity. + */ + public function unsetPayoutId(): void + { + $this->payoutId = []; + } + + /** + * Encode this object to JSON + * + * @param bool $asArrayWhenEmpty Whether to serialize this model as an array whenever no fields + * are set. (default: false) + * + * @return array|stdClass + */ + #[\ReturnTypeWillChange] // @phan-suppress-current-line PhanUndeclaredClassAttribute for (php < 8.1) + public function jsonSerialize(bool $asArrayWhenEmpty = false) + { + $json = []; + if (!empty($this->payoutId)) { + $json['payout_id'] = $this->payoutId['value']; + } + $json = array_filter($json, function ($val) { + return $val !== null; + }); + + return (!$asArrayWhenEmpty && empty($json)) ? new stdClass() : $json; + } +} diff --git a/src/Models/PaymentBalanceActivitySquarePayrollTransferDetail.php b/src/Models/PaymentBalanceActivitySquarePayrollTransferDetail.php new file mode 100644 index 00000000..82f92d0d --- /dev/null +++ b/src/Models/PaymentBalanceActivitySquarePayrollTransferDetail.php @@ -0,0 +1,69 @@ +paymentId) == 0) { + return null; + } + return $this->paymentId['value']; + } + + /** + * Sets Payment Id. + * The ID of the payment associated with this activity. + * + * @maps payment_id + */ + public function setPaymentId(?string $paymentId): void + { + $this->paymentId['value'] = $paymentId; + } + + /** + * Unsets Payment Id. + * The ID of the payment associated with this activity. + */ + public function unsetPaymentId(): void + { + $this->paymentId = []; + } + + /** + * Encode this object to JSON + * + * @param bool $asArrayWhenEmpty Whether to serialize this model as an array whenever no fields + * are set. (default: false) + * + * @return array|stdClass + */ + #[\ReturnTypeWillChange] // @phan-suppress-current-line PhanUndeclaredClassAttribute for (php < 8.1) + public function jsonSerialize(bool $asArrayWhenEmpty = false) + { + $json = []; + if (!empty($this->paymentId)) { + $json['payment_id'] = $this->paymentId['value']; + } + $json = array_filter($json, function ($val) { + return $val !== null; + }); + + return (!$asArrayWhenEmpty && empty($json)) ? new stdClass() : $json; + } +} diff --git a/src/Models/PaymentBalanceActivitySquarePayrollTransferReversedDetail.php b/src/Models/PaymentBalanceActivitySquarePayrollTransferReversedDetail.php new file mode 100644 index 00000000..6feeaafa --- /dev/null +++ b/src/Models/PaymentBalanceActivitySquarePayrollTransferReversedDetail.php @@ -0,0 +1,69 @@ +paymentId) == 0) { + return null; + } + return $this->paymentId['value']; + } + + /** + * Sets Payment Id. + * The ID of the payment associated with this activity. + * + * @maps payment_id + */ + public function setPaymentId(?string $paymentId): void + { + $this->paymentId['value'] = $paymentId; + } + + /** + * Unsets Payment Id. + * The ID of the payment associated with this activity. + */ + public function unsetPaymentId(): void + { + $this->paymentId = []; + } + + /** + * Encode this object to JSON + * + * @param bool $asArrayWhenEmpty Whether to serialize this model as an array whenever no fields + * are set. (default: false) + * + * @return array|stdClass + */ + #[\ReturnTypeWillChange] // @phan-suppress-current-line PhanUndeclaredClassAttribute for (php < 8.1) + public function jsonSerialize(bool $asArrayWhenEmpty = false) + { + $json = []; + if (!empty($this->paymentId)) { + $json['payment_id'] = $this->paymentId['value']; + } + $json = array_filter($json, function ($val) { + return $val !== null; + }); + + return (!$asArrayWhenEmpty && empty($json)) ? new stdClass() : $json; + } +} diff --git a/src/Models/PaymentRefund.php b/src/Models/PaymentRefund.php index 65eecb70..afef2c3a 100644 --- a/src/Models/PaymentRefund.php +++ b/src/Models/PaymentRefund.php @@ -87,6 +87,11 @@ class PaymentRefund implements \JsonSerializable */ private $teamMemberId; + /** + * @var string|null + */ + private $terminalRefundId; + /** * @param string $id * @param Money $amountMoney @@ -532,6 +537,26 @@ public function setTeamMemberId(?string $teamMemberId): void $this->teamMemberId = $teamMemberId; } + /** + * Returns Terminal Refund Id. + * An optional ID for a Terminal refund. + */ + public function getTerminalRefundId(): ?string + { + return $this->terminalRefundId; + } + + /** + * Sets Terminal Refund Id. + * An optional ID for a Terminal refund. + * + * @maps terminal_refund_id + */ + public function setTerminalRefundId(?string $terminalRefundId): void + { + $this->terminalRefundId = $terminalRefundId; + } + /** * Encode this object to JSON * @@ -585,6 +610,9 @@ public function jsonSerialize(bool $asArrayWhenEmpty = false) if (isset($this->teamMemberId)) { $json['team_member_id'] = $this->teamMemberId; } + if (isset($this->terminalRefundId)) { + $json['terminal_refund_id'] = $this->terminalRefundId; + } $json = array_filter($json, function ($val) { return $val !== null; }); diff --git a/src/Models/PayoutEntry.php b/src/Models/PayoutEntry.php index 41ebdac8..a28958c3 100644 --- a/src/Models/PayoutEntry.php +++ b/src/Models/PayoutEntry.php @@ -77,6 +77,11 @@ class PayoutEntry implements \JsonSerializable */ private $typeDepositFeeDetails; + /** + * @var PaymentBalanceActivityDepositFeeReversedDetail|null + */ + private $typeDepositFeeReversedDetails; + /** * @var PaymentBalanceActivityDisputeDetail|null */ @@ -157,6 +162,16 @@ class PayoutEntry implements \JsonSerializable */ private $typeThirdPartyFeeRefundDetails; + /** + * @var PaymentBalanceActivitySquarePayrollTransferDetail|null + */ + private $typeSquarePayrollTransferDetails; + + /** + * @var PaymentBalanceActivitySquarePayrollTransferReversedDetail|null + */ + private $typeSquarePayrollTransferReversedDetails; + /** * @param string $id * @param string $payoutId @@ -467,6 +482,25 @@ public function setTypeDepositFeeDetails(?PaymentBalanceActivityDepositFeeDetail $this->typeDepositFeeDetails = $typeDepositFeeDetails; } + /** + * Returns Type Deposit Fee Reversed Details. + */ + public function getTypeDepositFeeReversedDetails(): ?PaymentBalanceActivityDepositFeeReversedDetail + { + return $this->typeDepositFeeReversedDetails; + } + + /** + * Sets Type Deposit Fee Reversed Details. + * + * @maps type_deposit_fee_reversed_details + */ + public function setTypeDepositFeeReversedDetails( + ?PaymentBalanceActivityDepositFeeReversedDetail $typeDepositFeeReversedDetails + ): void { + $this->typeDepositFeeReversedDetails = $typeDepositFeeReversedDetails; + } + /** * Returns Type Dispute Details. */ @@ -765,6 +799,45 @@ public function setTypeThirdPartyFeeRefundDetails( $this->typeThirdPartyFeeRefundDetails = $typeThirdPartyFeeRefundDetails; } + /** + * Returns Type Square Payroll Transfer Details. + */ + public function getTypeSquarePayrollTransferDetails(): ?PaymentBalanceActivitySquarePayrollTransferDetail + { + return $this->typeSquarePayrollTransferDetails; + } + + /** + * Sets Type Square Payroll Transfer Details. + * + * @maps type_square_payroll_transfer_details + */ + public function setTypeSquarePayrollTransferDetails( + ?PaymentBalanceActivitySquarePayrollTransferDetail $typeSquarePayrollTransferDetails + ): void { + $this->typeSquarePayrollTransferDetails = $typeSquarePayrollTransferDetails; + } + + /** + * Returns Type Square Payroll Transfer Reversed Details. + */ + // phpcs:ignore + public function getTypeSquarePayrollTransferReversedDetails(): ?PaymentBalanceActivitySquarePayrollTransferReversedDetail + { + return $this->typeSquarePayrollTransferReversedDetails; + } + + /** + * Sets Type Square Payroll Transfer Reversed Details. + * + * @maps type_square_payroll_transfer_reversed_details + */ + public function setTypeSquarePayrollTransferReversedDetails( + ?PaymentBalanceActivitySquarePayrollTransferReversedDetail $typeSquarePayrollTransferReversedDetails + ): void { + $this->typeSquarePayrollTransferReversedDetails = $typeSquarePayrollTransferReversedDetails; + } + /** * Encode this object to JSON * @@ -777,88 +850,97 @@ public function setTypeThirdPartyFeeRefundDetails( public function jsonSerialize(bool $asArrayWhenEmpty = false) { $json = []; - $json['id'] = $this->id; - $json['payout_id'] = $this->payoutId; + $json['id'] = $this->id; + $json['payout_id'] = $this->payoutId; if (!empty($this->effectiveAt)) { - $json['effective_at'] = $this->effectiveAt['value']; + $json['effective_at'] = $this->effectiveAt['value']; } if (isset($this->type)) { - $json['type'] = $this->type; + $json['type'] = $this->type; } if (isset($this->grossAmountMoney)) { - $json['gross_amount_money'] = $this->grossAmountMoney; + $json['gross_amount_money'] = $this->grossAmountMoney; } if (isset($this->feeAmountMoney)) { - $json['fee_amount_money'] = $this->feeAmountMoney; + $json['fee_amount_money'] = $this->feeAmountMoney; } if (isset($this->netAmountMoney)) { - $json['net_amount_money'] = $this->netAmountMoney; + $json['net_amount_money'] = $this->netAmountMoney; } if (isset($this->typeAppFeeRevenueDetails)) { - $json['type_app_fee_revenue_details'] = $this->typeAppFeeRevenueDetails; + $json['type_app_fee_revenue_details'] = $this->typeAppFeeRevenueDetails; } if (isset($this->typeAppFeeRefundDetails)) { - $json['type_app_fee_refund_details'] = $this->typeAppFeeRefundDetails; + $json['type_app_fee_refund_details'] = $this->typeAppFeeRefundDetails; } if (isset($this->typeAutomaticSavingsDetails)) { - $json['type_automatic_savings_details'] = $this->typeAutomaticSavingsDetails; + $json['type_automatic_savings_details'] = $this->typeAutomaticSavingsDetails; } if (isset($this->typeAutomaticSavingsReversedDetails)) { - $json['type_automatic_savings_reversed_details'] = $this->typeAutomaticSavingsReversedDetails; + $json['type_automatic_savings_reversed_details'] = $this->typeAutomaticSavingsReversedDetails; } if (isset($this->typeChargeDetails)) { - $json['type_charge_details'] = $this->typeChargeDetails; + $json['type_charge_details'] = $this->typeChargeDetails; } if (isset($this->typeDepositFeeDetails)) { - $json['type_deposit_fee_details'] = $this->typeDepositFeeDetails; + $json['type_deposit_fee_details'] = $this->typeDepositFeeDetails; + } + if (isset($this->typeDepositFeeReversedDetails)) { + $json['type_deposit_fee_reversed_details'] = $this->typeDepositFeeReversedDetails; } if (isset($this->typeDisputeDetails)) { - $json['type_dispute_details'] = $this->typeDisputeDetails; + $json['type_dispute_details'] = $this->typeDisputeDetails; } if (isset($this->typeFeeDetails)) { - $json['type_fee_details'] = $this->typeFeeDetails; + $json['type_fee_details'] = $this->typeFeeDetails; } if (isset($this->typeFreeProcessingDetails)) { - $json['type_free_processing_details'] = $this->typeFreeProcessingDetails; + $json['type_free_processing_details'] = $this->typeFreeProcessingDetails; } if (isset($this->typeHoldAdjustmentDetails)) { - $json['type_hold_adjustment_details'] = $this->typeHoldAdjustmentDetails; + $json['type_hold_adjustment_details'] = $this->typeHoldAdjustmentDetails; } if (isset($this->typeOpenDisputeDetails)) { - $json['type_open_dispute_details'] = $this->typeOpenDisputeDetails; + $json['type_open_dispute_details'] = $this->typeOpenDisputeDetails; } if (isset($this->typeOtherDetails)) { - $json['type_other_details'] = $this->typeOtherDetails; + $json['type_other_details'] = $this->typeOtherDetails; } if (isset($this->typeOtherAdjustmentDetails)) { - $json['type_other_adjustment_details'] = $this->typeOtherAdjustmentDetails; + $json['type_other_adjustment_details'] = $this->typeOtherAdjustmentDetails; } if (isset($this->typeRefundDetails)) { - $json['type_refund_details'] = $this->typeRefundDetails; + $json['type_refund_details'] = $this->typeRefundDetails; } if (isset($this->typeReleaseAdjustmentDetails)) { - $json['type_release_adjustment_details'] = $this->typeReleaseAdjustmentDetails; + $json['type_release_adjustment_details'] = $this->typeReleaseAdjustmentDetails; } if (isset($this->typeReserveHoldDetails)) { - $json['type_reserve_hold_details'] = $this->typeReserveHoldDetails; + $json['type_reserve_hold_details'] = $this->typeReserveHoldDetails; } if (isset($this->typeReserveReleaseDetails)) { - $json['type_reserve_release_details'] = $this->typeReserveReleaseDetails; + $json['type_reserve_release_details'] = $this->typeReserveReleaseDetails; } if (isset($this->typeSquareCapitalPaymentDetails)) { - $json['type_square_capital_payment_details'] = $this->typeSquareCapitalPaymentDetails; + $json['type_square_capital_payment_details'] = $this->typeSquareCapitalPaymentDetails; } if (isset($this->typeSquareCapitalReversedPaymentDetails)) { - $json['type_square_capital_reversed_payment_details'] = $this->typeSquareCapitalReversedPaymentDetails; + $json['type_square_capital_reversed_payment_details'] = $this->typeSquareCapitalReversedPaymentDetails; } if (isset($this->typeTaxOnFeeDetails)) { - $json['type_tax_on_fee_details'] = $this->typeTaxOnFeeDetails; + $json['type_tax_on_fee_details'] = $this->typeTaxOnFeeDetails; } if (isset($this->typeThirdPartyFeeDetails)) { - $json['type_third_party_fee_details'] = $this->typeThirdPartyFeeDetails; + $json['type_third_party_fee_details'] = $this->typeThirdPartyFeeDetails; } if (isset($this->typeThirdPartyFeeRefundDetails)) { - $json['type_third_party_fee_refund_details'] = $this->typeThirdPartyFeeRefundDetails; + $json['type_third_party_fee_refund_details'] = $this->typeThirdPartyFeeRefundDetails; + } + if (isset($this->typeSquarePayrollTransferDetails)) { + $json['type_square_payroll_transfer_details'] = $this->typeSquarePayrollTransferDetails; + } + if (isset($this->typeSquarePayrollTransferReversedDetails)) { + $json['type_square_payroll_transfer_reversed_details'] = $this->typeSquarePayrollTransferReversedDetails; } $json = array_filter($json, function ($val) { return $val !== null; diff --git a/src/Models/RefundPaymentRequest.php b/src/Models/RefundPaymentRequest.php index 45372872..3f3f5958 100644 --- a/src/Models/RefundPaymentRequest.php +++ b/src/Models/RefundPaymentRequest.php @@ -224,10 +224,10 @@ public function unsetPaymentId(): void /** * Returns Destination Id. * The ID indicating where funds will be refunded to. Required for unlinked refunds. For more - * information, see [Create an unlinked refund](https://developer.squareup.com/docs/payments-api/refund- - * payments#create-an-unlinked-refund). + * information, see [Process an Unlinked Refund](https://developer.squareup.com/docs/refunds- + * api/unlinked-refunds). * - * For refunds linked to Square payments, destination_id is usually omitted; in this case, funds + * For refunds linked to Square payments, `destination_id` is usually omitted; in this case, funds * will be returned to the original payment source. The field may be specified in order to request * a cross-method refund to a gift card. For more information, * see [Cross-method refunds to gift cards](https://developer.squareup.com/docs/payments-api/refund- @@ -244,10 +244,10 @@ public function getDestinationId(): ?string /** * Sets Destination Id. * The ID indicating where funds will be refunded to. Required for unlinked refunds. For more - * information, see [Create an unlinked refund](https://developer.squareup.com/docs/payments-api/refund- - * payments#create-an-unlinked-refund). + * information, see [Process an Unlinked Refund](https://developer.squareup.com/docs/refunds- + * api/unlinked-refunds). * - * For refunds linked to Square payments, destination_id is usually omitted; in this case, funds + * For refunds linked to Square payments, `destination_id` is usually omitted; in this case, funds * will be returned to the original payment source. The field may be specified in order to request * a cross-method refund to a gift card. For more information, * see [Cross-method refunds to gift cards](https://developer.squareup.com/docs/payments-api/refund- @@ -263,10 +263,10 @@ public function setDestinationId(?string $destinationId): void /** * Unsets Destination Id. * The ID indicating where funds will be refunded to. Required for unlinked refunds. For more - * information, see [Create an unlinked refund](https://developer.squareup.com/docs/payments-api/refund- - * payments#create-an-unlinked-refund). + * information, see [Process an Unlinked Refund](https://developer.squareup.com/docs/refunds- + * api/unlinked-refunds). * - * For refunds linked to Square payments, destination_id is usually omitted; in this case, funds + * For refunds linked to Square payments, `destination_id` is usually omitted; in this case, funds * will be returned to the original payment source. The field may be specified in order to request * a cross-method refund to a gift card. For more information, * see [Cross-method refunds to gift cards](https://developer.squareup.com/docs/payments-api/refund- diff --git a/src/SquareClient.php b/src/SquareClient.php index 9f13e0ac..f37c1e74 100644 --- a/src/SquareClient.php +++ b/src/SquareClient.php @@ -165,7 +165,7 @@ public function __construct(array $config = []) ->jsonHelper(ApiHelper::getJsonHelper()) ->apiCallback($this->config['httpCallback'] ?? null) ->userAgent( - 'Square-PHP-SDK/38.2.0.20241017 ({api-version}) {engine}/{engine-version} ({os-' . + 'Square-PHP-SDK/39.0.0.20241120 ({api-version}) {engine}/{engine-version} ({os-' . 'info}) {detail}' ) ->userAgentConfig( @@ -320,7 +320,7 @@ public function withConfiguration(array $config): self */ public function getSdkVersion(): string { - return '38.2.0.20241017'; + return '39.0.0.20241120'; } /**