Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
202 changes: 181 additions & 21 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ generation:
generateNewTests: false
skipResponseBodyAssertions: false
java:
version: 2.16.108
version: 2.16.109
additionalDependencies:
- testImplementation:org.junit.jupiter:junit-jupiter:5.10.0
- implementation:com.auth0:java-jwt:4.5.0
Expand Down
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
speakeasyVersion: 1.790.0
speakeasyVersion: 1.790.1
sources:
Gr4vy:
sourceNamespace: openapi
Expand All @@ -9,8 +9,8 @@ sources:
- 1.0.0
openapi:
sourceNamespace: openapi
sourceRevisionDigest: sha256:f48fb83bd084d15a1e9ed005ca34bc0214edef0644987829221854140a7d9d5c
sourceBlobDigest: sha256:e8da1b10f989ac81d4108692091aa05045258eda8882c22f1f53025e43d9a0e5
sourceRevisionDigest: sha256:329f2b0c3a2cda8052762d4e9f4ade27766ae9c9150743efaf78c928939999ef
sourceBlobDigest: sha256:8a63b384b4ed46f9cf924d0a41ad2da905dee0bd965b7a1a571b8566001f24b6
tags:
- latest
- 1.0.0
Expand All @@ -25,10 +25,10 @@ targets:
java:
source: openapi
sourceNamespace: openapi
sourceRevisionDigest: sha256:f48fb83bd084d15a1e9ed005ca34bc0214edef0644987829221854140a7d9d5c
sourceBlobDigest: sha256:e8da1b10f989ac81d4108692091aa05045258eda8882c22f1f53025e43d9a0e5
sourceRevisionDigest: sha256:329f2b0c3a2cda8052762d4e9f4ade27766ae9c9150743efaf78c928939999ef
sourceBlobDigest: sha256:8a63b384b4ed46f9cf924d0a41ad2da905dee0bd965b7a1a571b8566001f24b6
codeSamplesNamespace: openapi-java-code-samples
codeSamplesRevisionDigest: sha256:68e4b23f7936273abf7d9c368655ad2652b386d785648cd9ff01e6c9e0e84f1b
codeSamplesRevisionDigest: sha256:18f087c9393277a418b21f587c69f1ef74380ca8d9282078e97160eb5e3065c7
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,15 @@ The samples below show how a published SDK artifact is used:

Gradle:
```groovy
implementation 'com.gr4vy:sdk:2.16.108'
implementation 'com.gr4vy:sdk:2.16.109'
```

Maven:
```xml
<dependency>
<groupId>com.gr4vy</groupId>
<artifactId>sdk</artifactId>
<version>2.16.108</version>
<version>2.16.109</version>
</dependency>
```

Expand Down Expand Up @@ -540,6 +540,11 @@ Async support is available for:

* [list](docs/sdks/events/README.md#list) - List transaction events

#### [Transactions.RefundSettlements](docs/sdks/refundsettlements/README.md)

* [get](docs/sdks/refundsettlements/README.md#get) - Get transaction refund settlement
* [list](docs/sdks/refundsettlements/README.md#list) - List transaction refund settlements

#### [Transactions.Refunds](docs/sdks/transactionsrefunds/README.md)

* [list](docs/sdks/transactionsrefunds/README.md#list) - List transaction refunds
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -1918,4 +1918,14 @@ Based on:
### Generated
- [java v2.16.108] .
### Releases
- [Maven Central v2.16.108] https://central.sonatype.com/artifact/com.gr4vy/sdk/2.16.108 - .
- [Maven Central v2.16.108] https://central.sonatype.com/artifact/com.gr4vy/sdk/2.16.108 - .

## 2026-07-14 13:45:15
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.790.1 (2.918.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v2.16.109] .
### Releases
- [Maven Central v2.16.109] https://central.sonatype.com/artifact/com.gr4vy/sdk/2.16.109 - .
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ dependencies {
implementation 'org.bouncycastle:bcpkix-jdk18on:1.80'
implementation 'org.slf4j:slf4j-simple:2.0.7'
api 'com.fasterxml.jackson.core:jackson-annotations:2.22'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.22.0'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.22.1'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.22.0'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.22.0'
api('org.openapitools:jackson-databind-nullable:0.2.6') {exclude group: 'com.fasterxml.jackson.core', module: 'jackson-databind'}
Expand Down
27 changes: 27 additions & 0 deletions docs/models/components/RefundSettlement.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# RefundSettlement

A settlement record for a refund on a transaction.


## Fields

| Field | Type | Required | Description | Example |
| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- |
| `id` | *String* | :heavy_check_mark: | The unique identifier for the record. | b1e2c3d4-5678-1234-9abc-1234567890ab |
| `merchantAccountId` | *String* | :heavy_check_mark: | The merchant account this record belongs to. | default |
| `createdAt` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The date and time the record was created, in ISO 8601 format. | 2024-06-01T12:00:00.000Z |
| `updatedAt` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The date and time the record was last updated, in ISO 8601 format. | 2024-06-01T12:00:00.000Z |
| `postedAt` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The date and time the record was posted, in ISO 8601 format. | 2024-06-01T12:00:00.000Z |
| `ingestedAt` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | The date and time the record was ingested, in ISO 8601 format. | 2024-06-01T12:00:00.000Z |
| `currency` | *String* | :heavy_check_mark: | ISO 4217 currency code. | **Example 1:** EUR<br/>**Example 2:** GBP<br/>**Example 3:** USD |
| `amount` | *long* | :heavy_check_mark: | The total amount in the smallest currency unit (e.g. cents). | 1100 |
| `exchangeRate` | *JsonNullable\<Double>* | :heavy_minus_sign: | The exchange rate, if applicable. | 1 |
| `commission` | *long* | :heavy_check_mark: | The commission amount deducted in the smallest currency unit. | 100 |
| `interchange` | *JsonNullable\<Long>* | :heavy_minus_sign: | The interchange fee, if applicable, in the smallest currency unit. | 50 |
| `markup` | *JsonNullable\<Long>* | :heavy_minus_sign: | The markup fee, if applicable, in the smallest currency unit. | 10 |
| `schemeFee` | *JsonNullable\<Long>* | :heavy_minus_sign: | The scheme fee, if applicable, in the smallest currency unit. | 5 |
| `paymentServiceReportId` | *String* | :heavy_check_mark: | The report ID from the payment service. | a1b2c3d4-5678-1234-9abc-1234567890ab |
| `paymentServiceReportFileIds` | List\<*String*> | :heavy_check_mark: | List of file IDs for the payment service report. | [<br/>"f1e2d3c4-5678-1234-9abc-1234567890ab"<br/>] |
| `transactionId` | *String* | :heavy_check_mark: | The transaction this record is associated with. | 7099948d-7286-47e4-aad8-b68f7eb44591 |
| `type` | *Optional\<String>* | :heavy_minus_sign: | Always `refund-settlement`. | refund-settlement |
| `refundId` | *String* | :heavy_check_mark: | The refund this settlement is associated with. | b1e2c3d4-5678-1234-9abc-1234567890ab |
10 changes: 10 additions & 0 deletions docs/models/components/RefundSettlements.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# RefundSettlements

A list of settlement records for the refunds on a transaction.


## Fields

| Field | Type | Required | Description |
| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- |
| `items` | List\<[RefundSettlement](../../models/components/RefundSettlement.md)> | :heavy_check_mark: | The list of refund settlement objects. |
10 changes: 10 additions & 0 deletions docs/models/operations/GetTransactionRefundSettlementRequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# GetTransactionRefundSettlementRequest


## Fields

| Field | Type | Required | Description | Example |
| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- |
| `transactionId` | *String* | :heavy_check_mark: | The unique identifier of the transaction. | 7099948d-7286-47e4-aad8-b68f7eb44591 |
| `settlementId` | *String* | :heavy_check_mark: | The unique identifier of the refund settlement. | b1e2c3d4-5678-1234-9abc-1234567890ab |
| `merchantAccountId` | *JsonNullable\<String>* | :heavy_minus_sign: | The ID of the merchant account to use for this request. | |
11 changes: 11 additions & 0 deletions docs/models/operations/GetTransactionRefundSettlementResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# GetTransactionRefundSettlementResponse


## Fields

| Field | Type | Required | Description |
| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation |
| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation |
| `rawResponse` | [HttpResponse\<?>](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
| `refundSettlement` | [Optional\<RefundSettlement>](../../models/components/RefundSettlement.md) | :heavy_minus_sign: | Successful Response |
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# ListTransactionRefundSettlementsRequest


## Fields

| Field | Type | Required | Description | Example |
| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- |
| `transactionId` | *String* | :heavy_check_mark: | The unique identifier of the transaction. | 7099948d-7286-47e4-aad8-b68f7eb44591 |
| `merchantAccountId` | *JsonNullable\<String>* | :heavy_minus_sign: | The ID of the merchant account to use for this request. | |
Loading
Loading