Skip to content
This repository was archived by the owner on Apr 23, 2021. It is now read-only.

Commit 738448b

Browse files
authored
Release 2.20181205.0 (#81)
1 parent 58acaa1 commit 738448b

30 files changed

+392
-79
lines changed

CHANGES.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# Change Log
22

3+
## Version 2.20181205.0 (2018-12-05)
4+
5+
## New feature: Idempotent customer profile creation in Connect v2
6+
7+
Requests to the CreateCustomer endpoint now include a `idempotency_key` field to
8+
ensure idempotent creation of new profiles.
9+
10+
## New feature: Refund Adjustment fields for Refunds in Connect v1
11+
12+
The Connect SDK now supports refund adjustments for the Connect v1
13+
Refunds API with the addition of multiple new fields in the `Refund` data type
14+
315
## Version 2.20180918.1 (2018-10-24)
416

517
### New feature: Support for Partial Payments in Connect v1

docs/Card.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@
33
44
### Description
55

6-
Represents the non-confidential details of a credit card.
6+
Represents the payment details of a card to be used for payments. These details are determined by the `card_nonce` generated by `SqPaymentForm`.
77

88
## Properties
99
Name | Type | Description | Notes
1010
------------ | ------------- | ------------- | -------------
11-
**id** | **str** | The card's unique ID, if any. | [optional]
11+
**id** | **str** | Unique ID for this card. Generated by Square. | [optional]
1212
**card_brand** | **str** | The card's brand (such as `VISA`). See [CardBrand](#type-cardbrand) for all possible values. | [optional]
13-
**last_4** | **str** | The last 4 digits of the card's number. | [optional]
14-
**exp_month** | **int** | The month of the card's expiration date. This value is always between `1` and `12`, inclusive. | [optional]
13+
**last_4** | **str** | The last 4 digits of the card number. | [optional]
14+
**exp_month** | **int** | The expiration month of the associated card as an integer between 1 and 12. | [optional]
1515
**exp_year** | **int** | The four-digit year of the card's expiration date. | [optional]
16-
**cardholder_name** | **str** | The cardholder name. This value is present only if this object represents a customer's card on file. | [optional]
17-
**billing_address** | [**Address**](Address.md) | The card's billing address. This value is present only if this object represents a customer's card on file. | [optional]
18-
**fingerprint** | **str** | The unique string fingerprint for the card. The fingerprint is based on the credit card number and is unique to the merchant. If a card is used at multiple locations for the same merchant, it will have the same fingerprint in each case. Note: Fingerprint may not exist on old transactions. | [optional]
16+
**cardholder_name** | **str** | The name of the cardholder. | [optional]
17+
**billing_address** | [**Address**](Address.md) | The billing address for this card. | [optional]
18+
**fingerprint** | **str** | __Not currently set.__ Intended as a Square-assigned identifier, based on the card number, to identify the card across multiple locations within a single application. | [optional]
1919

2020
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
2121

docs/CardBrand.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
### Description
55

6-
Indicates a credit card's brand, such as `VISA`.
6+
Indicates a credit card's brand, such as `VISA` or `MASTERCARD`.
77

88
## Properties
99
Name | Type

docs/CreateCustomerRequest.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Defines the body parameters that can be provided in a request to the [CreateCust
88
## Properties
99
Name | Type | Description | Notes
1010
------------ | ------------- | ------------- | -------------
11+
**idempotency_key** | **str** | The idempotency key for the request. See the [Idempotency](/basics/api101/idempotency) guide for more information. | [optional]
1112
**given_name** | **str** | The customer's given (i.e., first) name. | [optional]
1213
**family_name** | **str** | The customer's family (i.e., last) name. | [optional]
1314
**company_name** | **str** | The name of the customer's company. | [optional]

docs/Customer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
1111
**id** | **str** | The customer's unique ID. |
1212
**created_at** | **str** | The time when the customer was created, in RFC 3339 format. |
1313
**updated_at** | **str** | The time when the customer was last updated, in RFC 3339 format. |
14-
**cards** | [**list[Card]**](Card.md) | The non-confidential details of the customer's cards on file. | [optional]
14+
**cards** | [**list[Card]**](Card.md) | The payment details of the customer's cards on file. | [optional]
1515
**given_name** | **str** | The customer's given (i.e., first) name. | [optional]
1616
**family_name** | **str** | The customer's family (i.e., last) name. | [optional]
1717
**nickname** | **str** | The customer's nickname. | [optional]

docs/CustomersApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Assign your **Access Token** from developer portal to the authorization paramete
4444
4545
### Description
4646

47-
Adds a card on file to an existing customer. In the United States Square takes care of automatically updating any cards on file that might have expired since you first attached them to a customer. As with charges, calls to `CreateCustomerCard` are idempotent. Multiple calls with the same card nonce return the same card record that was created with the provided nonce during the _first_ call.
47+
Adds a card on file to an existing customer. As with charges, calls to `CreateCustomerCard` are idempotent. Multiple calls with the same card nonce return the same card record that was created with the provided nonce during the _first_ call.
4848

4949
### Parameters
5050

docs/ErrorCode.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ Name | Type
4444
**EXPECTED_STRING** | string
4545
**EXPECTED_OBJECT** | string
4646
**EXPECTED_ARRAY** | string
47+
**EXPECTED_MAP** | string
4748
**EXPECTED_BASE64_ENCODED_BYTE_ARRAY** | string
4849
**INVALID_ARRAY_VALUE** | string
4950
**INVALID_ENUM_VALUE** | string
@@ -58,6 +59,7 @@ Name | Type
5859
**INVALID_EXPIRATION_DATE** | string
5960
**UNSUPPORTED_CARD_BRAND** | string
6061
**UNSUPPORTED_ENTRY_METHOD** | string
62+
**INVALID_ENCRYPTED_CARD** | string
6163
**INVALID_CARD** | string
6264
**DELAYED_TRANSACTION_EXPIRED** | string
6365
**DELAYED_TRANSACTION_CANCELED** | string

docs/InventoryApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Assign your **Access Token** from developer portal to the authorization paramete
6666
6767
### Description
6868

69-
Returns current counts for the provided [CatalogObject](#type-catalogobject)s at the requested [Location](#type-location)s. Results are paginated and sorted in descending order according to their `calculated_at` timestamp (newest first). When `updated_at` is specified, only counts that have changed since that time (based on the server timestamp for the most recent change) are returned. This allows clients to perform a \"sync\" operation, for example in response to receiving a Webhook notification.
69+
Returns current counts for the provided [CatalogObject](#type-catalogobject)s at the requested [Location](#type-location)s. Results are paginated and sorted in descending order according to their `calculated_at` timestamp (newest first). When `updated_after` is specified, only counts that have changed since that time (based on the server timestamp for the most recent change) are returned. This allows clients to perform a \"sync\" operation, for example in response to receiving a Webhook notification.
7070

7171
### Parameters
7272

docs/Product.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ Name | Type
1515
**INVOICES** | string
1616
**ONLINE_STORE** | string
1717
**PAYROLL** | string
18+
**DASHBOARD** | string
19+
**ITEM_LIBRARY_IMPORT** | string
1820
**OTHER** | string
1921

2022
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

docs/V1Payment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
88
------------ | ------------- | ------------- | -------------
99
**id** | **str** | The payment's unique identifier. | [optional]
1010
**merchant_id** | **str** | The unique identifier of the merchant that took the payment. | [optional]
11-
**created_at** | **str** | The time when the payment was created, in ISO 8601 format. | [optional]
11+
**created_at** | **str** | The time when the payment was created, in ISO 8601 format. Reflects the time of the first payment if the object represents an incomplete partial payment, and the time of the last or complete payment otherwise. | [optional]
1212
**creator_id** | **str** | The unique identifier of the Square account that took the payment. | [optional]
1313
**device** | [**Device**](Device.md) | The device that took the payment. | [optional]
1414
**payment_url** | **str** | The URL of the payment's detail page in the merchant dashboard. The merchant must be signed in to the merchant dashboard to view this page. | [optional]

0 commit comments

Comments
 (0)