2024-02-12 10:46:18 +03:30
|
|
|
|
using NetinaShop.Infrastructure.Models.RestApi.Zarinpal;
|
|
|
|
|
|
|
|
|
|
|
|
namespace NetinaShop.Infrastructure.RestServices;
|
|
|
|
|
|
|
|
|
|
|
|
public interface IZarinpalRestApi
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
[Post("/v4/payment/request.json")]
|
2024-04-10 20:52:32 +03:30
|
|
|
|
Task<string> GetPaymentLinkAsync([Body] ZarinaplPaymentLinkRequest request);
|
2024-02-12 10:46:18 +03:30
|
|
|
|
[Post("/v4/payment/verify.json")]
|
|
|
|
|
|
Task<ZarinaplPaymentVerifyResponse> VerifyPaymentAsync([Body] ZarinaplVerifyPaymentRequest request);
|
|
|
|
|
|
}
|