// sync public static Card Delete(DeleteCardRequest request, Options options) { return(RestHttpClient.Create().Delete <Card>(options.BaseUrl + "/cardstorage/card", GetHttpHeaders(request, options), request)); }
public static SubMerchant Retrieve(RetrieveSubMerchantRequest request, Options options) { return(RestHttpClient.Create().Post <SubMerchant>(options.BaseUrl + "/onboarding/submerchant/detail", GetHttpHeaders(request, options), request)); }
public static CheckoutFormInitializePreAuth Create(CreateCheckoutFormInitializeRequest request, Options options) { return(RestHttpClient.Create().Post <CheckoutFormInitializePreAuth>( options.BaseUrl + "/payment/iyzipos/checkoutform/initialize/preauth/ecom", GetHttpHeaders(request, options), request)); }
public static BKMAuth Retrieve(RetrieveBKMAuthRequest request, Options options) { return(RestHttpClient.Create().Post <BKMAuth>(options.BaseUrl + "/payment/iyzipos/bkm/auth/ecom/detail", GetHttpHeaders(request, options), request)); }
// sync public static PaymentPreAuth Create(CreatePaymentRequest request, Options options) { return(RestHttpClient.Create().Post <PaymentPreAuth>(options.BaseUrl + "/payment/preauth", GetHttpHeaders(request, options), request)); }
public static CrossBookingToSubMerchant Create(CreateCrossBookingRequest request, Options options) { return RestHttpClient.Create().Post<CrossBookingToSubMerchant>(options.BaseUrl + "/crossbooking/send", GetHttpHeaders(request, options), request); }
public static Disapproval Create(CreateApprovalRequest request, Options options) { return(RestHttpClient.Create().Post <Disapproval>(options.BaseUrl + "/payment/iyzipos/item/disapprove", request, options)); }
public static ThreedsPayment Create(CreateThreedsPaymentRequest request, Options options) { return(RestHttpClient.Create().Post <ThreedsPayment>(options.BaseUrl + "/payment/3dsecure/auth", GetHttpHeaders(request, options), request)); }
public static IyzipayResource Retrieve(Options options) { return(RestHttpClient.Create().Get <IyzipayResource>(options.BaseUrl + "/payment/test")); }
public static Approval Create(CreateApprovalRequest request, Options options) { return(RestHttpClient.Create().Post <Approval>(options.BaseUrl + "/payment/iyzipos/item/approve", GetHttpHeaders(request, options), request)); }
public static BinNumber Retrieve(RetrieveBinNumberRequest request, Options options) { return(RestHttpClient.Create().Post <BinNumber>(options.BaseUrl + "/payment/bin/check", GetHttpHeaders(request, options), request)); }
public static CardList Retrieve(RetrieveCardListRequest request, Options options) { return(RestHttpClient.Create().Post <CardList>(options.BaseUrl + "/cardstorage/cards", GetHttpHeaders(request, options), request)); }
public static CheckoutForm Retrieve(RetrieveCheckoutFormRequest request, Options options) { return(RestHttpClient.Create().Post <CheckoutForm>(options.BaseUrl + "/payment/iyzipos/checkoutform/auth/ecom/detail", GetHttpHeaders(request, options), request)); }
// Async public static async Task <Card> DeleteAsync(DeleteCardRequest request, Options options) { return(await RestHttpClient.Create().DeleteAsync <Card>(options.BaseUrl + "/cardstorage/card", GetHttpHeaders(request, options), request)); }
public static SubMerchant Create(CreateSubMerchantRequest request, Options options) { return(RestHttpClient.Create().Post <SubMerchant>(options.BaseUrl + "/onboarding/submerchant", request, options)); }
public static PayoutCompletedTransactionList Retrieve(RetrieveTransactionsRequest request, Options options) { return(RestHttpClient.Create().Post <PayoutCompletedTransactionList>(options.BaseUrl + "/reporting/settlement/payoutcompleted", GetHttpHeaders(request, options), request)); }
public static PeccoPayment Create(CreatePeccoPaymentRequest request, Options options) { return(RestHttpClient.Create().Post <PeccoPayment>(options.BaseUrl + "/payment/pecco/auth", request, options)); }
public static PeccoInitialize Create(CreatePeccoInitializeRequest request, Options options) { return(RestHttpClient.Create().Post <PeccoInitialize>(options.BaseUrl + "/payment/pecco/initialize", GetHttpHeaders(request, options), request)); }
public static PaymentPostAuth Create(CreatePaymentPostAuthRequest request, Options options) { return(RestHttpClient.Create().Post <PaymentPostAuth>(options.BaseUrl + "/payment/postauth", request, options)); }
public static Payment Retrieve(RetrievePaymentRequest request, Options options) { return(RestHttpClient.Create().Post <Payment>(options.BaseUrl + "/payment/detail", GetHttpHeaders(request, options), request)); }
public static Cancel Create(CreateCancelRequest request, Options options) { return(RestHttpClient.Create().Post <Cancel>(options.BaseUrl + "/payment/cancel", GetHttpHeaders(request, options), request)); }
public static IyziPayInitializeService Create(CreateCheckoutFormInitializeRequest request, Options options) { return(RestHttpClient.Create().Post <IyziPayInitializeService>(options.BaseUrl + "/payment/iyzipos/checkoutform/initialize/auth/ecom", GetHttpHeaders(request, options), request)); }
// Async public static async Task <PaymentPreAuth> RetrieveAsync(RetrievePaymentRequest request, Options options) { return(await RestHttpClient.Create().PostAsync <PaymentPreAuth>(options.BaseUrl + "/payment/detail", GetHttpHeaders(request, options), request)); }
public static ThreeDSAuth Create(CreateThreeDSAuthRequest request, Options options) { return(RestHttpClient.Create().Post <ThreeDSAuth>(options.BaseUrl + "/payment/iyzipos/auth3ds/ecom", GetHttpHeaders(request, options), request)); }
public static SubMerchant Update(UpdateSubMerchantRequest request, Options options) { return(RestHttpClient.Create().Put <SubMerchant>(options.BaseUrl + "/onboarding/submerchant", GetHttpHeaders(request, options), request)); }
public static Refund Create(CreateRefundRequest request, Options options) { return(RestHttpClient.Create().Post <Refund>(options.BaseUrl + "/payment/refund", GetHttpHeaders(request, options), request)); }
public Task <string> Get() { return(RestHttpClient.Get("https://example.com")); }
// Async public static async Task <BasicBkm> RetrieveAsync(RetrieveBkmRequest request, Options options) { return(await RestHttpClient.Create().PostAsync <BasicBkm>(options.BaseUrl + "/payment/bkm/auth/detail/basic", GetHttpHeaders(request, options), request)); }
// sync public static PaymentItem Update(UpdatePaymentItemRequest request, Options options) { return(RestHttpClient.Create().Put <PaymentItem>(options.BaseUrl + "/payment/item", GetHttpHeaders(request, options), request)); }
public static Card Create(CreateCardRequest request, Options options) { return(RestHttpClient.Create().Post <Card>(options.BaseUrl + "/cardstorage/card", request, options)); }