Skip to content

Commit

Permalink
payer email
Browse files Browse the repository at this point in the history
  • Loading branch information
danchengash committed Dec 15, 2023
1 parent ad6a8f6 commit 782beac
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions models/cardpayment.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ type CardPaymentRequest struct {
MerchantCode string `json:"MerchantCode"`
Amount string `json:"Amount"`
Reference string `json:"Reference"`
PayerEmail string `json:"PayerEmail"`
Description string `json:"Description"`
Currency string `json:"Currency"`
CallbackURL string `json:"CallbackUrl"`
Expand All @@ -33,8 +34,6 @@ type CardPaymentRequest struct {
AirtelEnabled bool `json:"AirtelEnabled"`
}



func UnmarshalCardPaymentResponse(data []byte) (CardPaymentResponse, error) {
var r CardPaymentResponse
err := json.Unmarshal(data, &r)
Expand Down

0 comments on commit 782beac

Please sign in to comment.