Skip to content

Commit

Permalink
Add refunded status and amount fields
Browse files Browse the repository at this point in the history
  • Loading branch information
ioannis-kody committed Nov 13, 2024
1 parent 938cf81 commit 27dbc0b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/proto/com/kodypay/grpc/pay/v1/pay.proto
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,13 @@ message RefundResponse {
optional string receipt_json = 3; // json blob containing the receipt data
string order_id = 4;
google.protobuf.Timestamp date_created = 5;
string total_amount = 6;
string refund_amount = 7;
string remaining_amount = 8;
enum RefundStatus {
PENDING = 0;
REQUESTED = 1;
FAILED = 2;
REFUNDED = 3;
}
}

0 comments on commit 27dbc0b

Please sign in to comment.