Skip to content

Commit cfcf8c9

Browse files
feat: Added a new endpoint to cancel a scheduled Pix payment via Open Finance
1 parent 8a4d346 commit cfcf8c9

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 1.0.2
2+
3+
- Added a new endpoint and example to cancel a scheduled Pix payment via Open Finance
4+
15
# 1.0.1
26

37
- Added a new endpoint and example to query a Pix send by its Id

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>br.com.efipay.efisdk</groupId>
55
<artifactId>sdk-java-apis-efi</artifactId>
6-
<version>1.0.1</version>
6+
<version>1.0.2</version>
77

88
<name>SDK JAVA APIS EFI</name>
99
<description>Java SDK for integrating with Efí API</description>
@@ -45,7 +45,7 @@
4545
<dependency>
4646
<groupId>org.json</groupId>
4747
<artifactId>json</artifactId>
48-
<version>20230618</version>
48+
<version>20231013</version>
4949
</dependency>
5050
<dependency>
5151
<groupId>com.googlecode.json-simple</groupId>

src/main/java/br/com/efi/efisdk/Config.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
*/
1313
public class Config {
14-
private final static String version = "1.0.1";
14+
private final static String version = "1.0.2";
1515
private JSONObject conf = new JSONObject();
1616
private JSONObject endpoints = new JSONObject();
1717
private JSONObject urls = new JSONObject();

src/main/resources/config.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,10 @@
401401
"ofDevolutionPix": {
402402
"route": "/v1/devolucao/pagamento/pix",
403403
"method": "post"
404+
},
405+
"ofCancelSchedulePix": {
406+
"route": "/v1/pagamentos/pix/:identificadorPagamento/cancelar",
407+
"method": "patch"
404408
}
405409
}
406410
},

0 commit comments

Comments
 (0)