Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docs to reflect optional tender_id. #140

Merged
merged 1 commit into from
Jan 6, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/models/refund.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Represents a refund processed for a Square transaction.
| `id` | `String` | Required | The refund's unique ID.<br>**Constraints**: *Maximum Length*: `255` |
| `location_id` | `String` | Required | The ID of the refund's associated location.<br>**Constraints**: *Maximum Length*: `50` |
| `transaction_id` | `String` | Optional | The ID of the transaction that the refunded tender is part of.<br>**Constraints**: *Maximum Length*: `192` |
| `tender_id` | `String` | Required | The ID of the refunded tender.<br>**Constraints**: *Maximum Length*: `192` |
| `tender_id` | `String` | Optional | The ID of the refunded tender.<br>**Constraints**: *Maximum Length*: `192` |
| `created_at` | `String` | Optional | The timestamp for when the refund was created, in RFC 3339 format.<br>**Constraints**: *Maximum Length*: `32` |
| `reason` | `String` | Required | The reason for the refund being issued.<br>**Constraints**: *Maximum Length*: `192` |
| `amount_money` | [`Money Hash`](../../doc/models/money.md) | Required | Represents an amount of money. `Money` fields can be signed or unsigned.<br>Fields that do not explicitly define whether they are signed or unsigned are<br>considered unsigned and can only hold positive amounts. For signed fields, the<br>sign of the value indicates the purpose of the money transfer. See<br>[Working with Monetary Amounts](https://developer.squareup.com/docs/build-basics/working-with-monetary-amounts)<br>for more information. |
Expand Down
Loading