public static CheckoutFormInitializePreAuth Create(CreateCheckoutFormInitializeRequest request, Options options)
 {
     return(RestHttpClient.Create().Post <CheckoutFormInitializePreAuth>(options.BaseUrl + "/payment/iyzipos/checkoutform/initialize/preauth/ecom", request, options));
 }
 public static PeccoInitialize Create(CreatePeccoInitializeRequest request, Options options)
 {
     return(RestHttpClient.Create().Post <PeccoInitialize>(options.BaseUrl + "/payment/pecco/initialize", request, options));
 }
Пример #3
0
 public static BasicPayment Create(CreateBasicPaymentRequest request, Options options)
 {
     return(RestHttpClient.Create().Post <BasicPayment>(options.BaseUrl + "/payment/auth/basic",
                                                        GetHttpHeaders(request, options), request));
 }
 public static CrossBookingFromSubMerchant Create(CreateCrossBookingRequest request, Options options)
 {
     return(RestHttpClient.Create().Post <CrossBookingFromSubMerchant>(options.BaseUrl + "/crossbooking/receive",
                                                                       GetHttpHeaders(request, options), request));
 }
Пример #5
0
 public static PayWithIyzico Retrieve(RetrievePayWithIyzicoRequest request, Options options)
 {
     return(RestHttpClient.Create().Post <PayWithIyzico>(options.BaseUrl + "/payment/iyzipos/checkoutform/auth/ecom/detail", GetHttpHeaders(request, options), request));
 }
Пример #6
0
 // Async
 public static async Task <IyzipayResource> RetrieveAsync(Options options)
 {
     return(await RestHttpClient.Create().GetAsync <IyzipayResource>(options.BaseUrl + "/payment/test"));
 }
Пример #7
0
 public static Cancel Create(CreateCancelRequest request, Options options)
 {
     return(RestHttpClient.Create().Post <Cancel>(options.BaseUrl + "/payment/cancel",
                                                  GetHttpHeaders(request, options), request));
 }
Пример #8
0
 // sync
 public static Apm Create(CreateApmInitializeRequest request, Options options)
 {
     return(RestHttpClient.Create().Post <Apm>(options.BaseUrl + "/payment/apm/initialize", GetHttpHeaders(request, options), request));
 }
 public static PayoutCompletedTransactionList Retrieve(RetrieveTransactionsRequest request, Options options)
 {
     return(RestHttpClient.Create().Post <PayoutCompletedTransactionList>(options.BaseUrl + "/reporting/settlement/payoutcompleted", request, options));
 }
Пример #10
0
 // sync
 public static Apm Retrieve(RetrieveApmRequest request, Options options)
 {
     return(RestHttpClient.Create().Post <Apm>(options.BaseUrl + "/payment/apm/retrieve", GetHttpHeaders(request, options), request));
 }
Пример #11
0
 // Async
 public static async Task <Apm> RetrieveAsync(RetrieveApmRequest request, Options options)
 {
     return(await RestHttpClient.Create().PostAsync <Apm>(options.BaseUrl + "/payment/apm/retrieve", GetHttpHeaders(request, options), request));
 }
Пример #12
0
 // Async
 public static async Task <Apm> CreateAsync(CreateApmInitializeRequest request, Options options)
 {
     return(await RestHttpClient.Create().PostAsync <Apm>(options.BaseUrl + "/payment/apm/initialize", GetHttpHeaders(request, options), request));
 }
Пример #13
0
 public static SubMerchant Retrieve(RetrieveSubMerchantRequest request, Options options)
 {
     return(RestHttpClient.Create().Post <SubMerchant>(options.BaseUrl + "/onboarding/submerchant/detail", GetHttpHeaders(request, options), request));
 }
Пример #14
0
 public static SubMerchant Update(UpdateSubMerchantRequest request, Options options)
 {
     return(RestHttpClient.Create().Put <SubMerchant>(options.BaseUrl + "/onboarding/submerchant", GetHttpHeaders(request, options), request));
 }
 public static PaymentPreAuth Retrieve(RetrievePaymentRequest request, Options options)
 {
     return(RestHttpClient.Create().Post <PaymentPreAuth>(options.BaseUrl + "/payment/detail", request, options));
 }
Пример #16
0
 public static InstallmentInfo Retrieve(RetrieveInstallmentInfoRequest request, Options options)
 {
     return(RestHttpClient.Create().Post <InstallmentInfo>(options.BaseUrl + "/payment/iyzipos/installment", request, options));
 }
 public static PaymentPreAuth Create(CreatePaymentRequest request, Options options)
 {
     return(RestHttpClient.Create().Post <PaymentPreAuth>(options.BaseUrl + "/payment/preauth", request, options));
 }
Пример #18
0
 // Async
 public static async Task <PaymentItem> UpdateAsync(UpdatePaymentItemRequest request, Options options)
 {
     return(await RestHttpClient.Create().PutAsync <PaymentItem>(options.BaseUrl + "/payment/item", GetHttpHeaders(request, options), request));
 }