Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add link_id for ecom refund request, add paymentTransactionId in resp… #41

Merged
merged 2 commits into from
Nov 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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;
kody-joao marked this conversation as resolved.
Show resolved Hide resolved
enum RefundStatus {
PENDING = 0;
REQUESTED = 1;
Expand Down