Skip to content

Commit

Permalink
Add link_id for ecom refund request, add paymentTransactionId in resp… (
Browse files Browse the repository at this point in the history
#41)

…onse
  • Loading branch information
ioannis-kody authored Nov 22, 2024
1 parent a0c8520 commit b547600
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main/proto/com/kodypay/grpc/pay/v1/pay.proto
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,10 @@ message PaymentDetailsRequest {
// requires X-API-Key header with 'API Key' value
message RefundRequest {
string store_id = 1; // UUID of store
string order_id = 2;
oneof id {
string order_id = 2;
string payment_id = 4; //Payment id created by wombat
}
string amount = 3; // amount in BigDecimal/2.dp (0.00)
}
message RefundResponse {
Expand All @@ -83,6 +86,7 @@ message RefundResponse {
string total_amount_refunded = 6;
string remaining_amount = 7;
string total_amount_requested = 8;
string paymentTransactionId = 9;
enum RefundStatus {
PENDING = 0;
REQUESTED = 1;
Expand Down

0 comments on commit b547600

Please sign in to comment.