From 8f81c8a2112cad0094f1781f7dcc8ece94c29633 Mon Sep 17 00:00:00 2001 From: Ioannis Petridis Date: Wed, 18 Dec 2024 16:36:09 +0000 Subject: [PATCH] Add idempotency_key in refund request --- src/main/proto/com/kodypay/grpc/pay/v1/pay.proto | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/proto/com/kodypay/grpc/pay/v1/pay.proto b/src/main/proto/com/kodypay/grpc/pay/v1/pay.proto index 8954ccf..17a01ab 100644 --- a/src/main/proto/com/kodypay/grpc/pay/v1/pay.proto +++ b/src/main/proto/com/kodypay/grpc/pay/v1/pay.proto @@ -105,6 +105,7 @@ message RefundRequest { string store_id = 1; // UUID of store string order_id = 2; string amount = 3; // amount in BigDecimal/2.dp (0.00) + string idempotency_key = 4; // UUID idempotency key. Will be generated by client. } message RefundResponse { RefundStatus status = 1;