Skip to content

Commit 5f006dc

Browse files
Alican AkkusAlican Akkus
authored andcommitted
Add blockage resolve date for card payments
1 parent 0462fc0 commit 5f006dc

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/main/java/io/craftgate/response/common/BasePaymentResponse.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ public class BasePaymentResponse {
5252
private Long fraudId;
5353
private FraudAction fraudAction;
5454
private Double fraudScore;
55+
private LocalDateTime blockageResolvedDate;
5556
private MerchantPos pos;
5657
private Loyalty loyalty;
5758
private PaymentError paymentError;

src/test/java/io/craftgate/sample/PaymentSample.java

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

1818
public class PaymentSample {
1919

20-
private final Craftgate craftgate = new Craftgate("api-key", "secret-key", "https://sandbox-api.craftgate.io");
20+
private final Craftgate craftgate = new Craftgate("api-key", "secret-key", "http://localhost:8000");
2121

2222
@Test
2323
void create_payment() {

0 commit comments

Comments
 (0)