25 lines
805 B
Go
25 lines
805 B
Go
package domain
|
|
|
|
type GeneratePaymentURLInput struct {
|
|
ID string
|
|
Amount int
|
|
Reason string
|
|
PhoneNumber string
|
|
// SuccessRedirectURL string
|
|
// FailureRedirectURL string
|
|
// CancelRedirectURL string
|
|
// NotifyURL string
|
|
}
|
|
|
|
type InitiatePaymentPayload struct {
|
|
ID string `json:"id"`
|
|
Amount int `json:"amount"`
|
|
Reason string `json:"paymentReason"`
|
|
MerchantID string `json:"merchantId"`
|
|
SignedToken string `json:"signedToken"`
|
|
SuccessRedirectURL string `json:"successRedirectUrl"`
|
|
FailureRedirectURL string `json:"failureRedirectUrl"`
|
|
NotifyURL string `json:"notifyUrl"`
|
|
CancelRedirectURL string `json:"cancelRedirectUrl"`
|
|
PhoneNumber string `json:"phoneNumber"`
|
|
} |