add status api
This commit is contained in:
1 parent
ac94e0dd8a
commit
f2b55f9896
4 files changed
+76
-99
No files matched your search
@@ -55,6 +55,15 @@ type PaymentInitResultDTO struct {
|
||||
SuccessUrl string `json:"successUrl"`
|
||||
}
|
||||
|
||||
// CallbackResultDTO is what the GBÜS callback responds with, once GBÜS
|
||||
// redirects the browser back after payment. Paid reflects the verified
|
||||
// server-to-server outcome (not merely that GBÜS redirected here), and Data
|
||||
// is a Turkmen-language message describing the result for display.
|
||||
type CallbackResultDTO struct {
|
||||
Paid bool `json:"paid"`
|
||||
Data string `json:"data"`
|
||||
}
|
||||
|
||||
// PaymentResultDTO is one payout attempt's final, verified state, recorded
|
||||
// as its own row in visa_master_order_payments (a full audit trail -
|
||||
// failed attempts are kept, not overwritten by a retry) - deliberately not
|
||||
|
||||
Reference in new issue
Block a user