add PaymentStatusResult

This commit is contained in:
Anatoly Karlov 2024-11-01 20:02:28 +07:00
parent 04cd488db2
commit 38cc0c13df
2 changed files with 7 additions and 4 deletions

View File

@ -11,7 +11,7 @@ service ProviderDisputesService {
DisputeStatusResult CheckDisputeStatus (1: DisputeContext disputeContext)
bool IsPaymentSuccess (1: TransactionContext disputeContext)
PaymentStatusResult CheckPaymentStatus (1: TransactionContext disputeContext)
}
@ -77,3 +77,8 @@ struct Cash {
1: required domain.Amount amount
2: required domain.Currency currency
}
struct PaymentStatusResult {
1: required bool success
2: optional domain.Amount changedAmount
}

View File

@ -13,7 +13,5 @@ service ProviderDisputesCallbackService {
struct DisputeCallbackParams {
1: optional ID invoiceId
2: optional ID paymentId
3: optional ID providerTrxId
4: optional ProviderDisputeID providerDisputeID
5: optional DisputeID disputeID
3: optional DisputeID disputeID
}