Crate zarinpal

Source
Expand description

Zarinpal payment gateway api client that support all api methods as follows

  • Request (To start a payment process)
  • Verify (To verify payments)
  • Unverified (To fetch unverified payments)

Supports Wages, Currency, Card pan and other …

Modules§

error
Contains a universal [Error] type and associated ZarinResult for the create.s
extensions
Extension traits for [Zarinpal].
methods
This module contains requests type.
prelude
Everything you need to get started with the crate.
results
Contains result types of the requests.

Structs§

Zarinpal
High-level Zarinpal payment gateway api client to simply send requests to the api.

Traits§

ZarinpalClient
ZarinpalClient is an interface to all zarinpal payment gateway api clients. This will be useful to implement extension methods on everything that implements this.