Documentation
¶
Index ¶
Constants ¶
View Source
const ( MerchantIDLength = 36 SandboxURL = "https://sandbox.zarinpal.com/pg/rest/WebGate/" ProductionURL = "https://www.zarinpal.com/pg/rest/WebGate/" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PaymentRequestInput ¶
type PaymentRequestOutput ¶
type ZarinPal ¶
func NewZarinPal ¶
func (*ZarinPal) PaymentRequest ¶
func (z *ZarinPal) PaymentRequest(input PaymentRequestInput) (*PaymentRequestOutput, error)
func (*ZarinPal) PaymentVerification ¶
func (z *ZarinPal) PaymentVerification(input PaymentVerificationInput) (*PaymentVerificationOutput, error)
func (*ZarinPal) UnverifiedTransactions ¶
func (z *ZarinPal) UnverifiedTransactions() (*UnverifiedTransactionsOutput, error)
Click to show internal directories.
Click to hide internal directories.