public Task <WithdrawResponse> CancelWithdrawAsync(long withdrawId) { var path = "/wallet/v1/withdraws/" + withdrawId + "/cancel"; return(AsyncRestClient.Post <WithdrawResponse>(RequestOptions.BaseUrl + path, CreateHeaders(path, RequestOptions))); }
public Task <CheckMasterpassUserResponse> CheckMasterpassUserAsync(CheckMasterpassUserRequest checkMasterpassUserRequest) { var path = "/payment/v1/masterpass-payments/check-user"; return(AsyncRestClient.Post <CheckMasterpassUserResponse>(RequestOptions.BaseUrl + path, CreateHeaders(checkMasterpassUserRequest, path, RequestOptions), checkMasterpassUserRequest)); }
public Task <StoredCardResponse> UpdateCardAsync(UpdateCardRequest updateCardRequest) { var path = "/payment/v1/cards/update"; return(AsyncRestClient.Post <StoredCardResponse>(RequestOptions.BaseUrl + path, CreateHeaders(updateCardRequest, path, RequestOptions), updateCardRequest)); }
public Task <WalletResponse> ResetMerchantMemberWalletBalanceAsync(ResetMerchantMemberWalletBalanceRequest request) { var path = "/wallet/v1/merchants/me/wallet/reset-balance"; return(AsyncRestClient.Post <WalletResponse>(RequestOptions.BaseUrl + path, CreateHeaders(request, path, RequestOptions), request)); }
public Task <PaymentResponse> PostAuthPaymentAsync(long paymentId, PostAuthPaymentRequest postAuthPaymentRequest) { var path = "/payment/v1/card-payments/" + paymentId + "/post-auth"; return(AsyncRestClient.Post <PaymentResponse>(RequestOptions.BaseUrl + path, CreateHeaders(postAuthPaymentRequest, path, RequestOptions), postAuthPaymentRequest)); }
public Task <WithdrawResponse> CreateWithdrawAsync(CreateWithdrawRequest request) { var path = "/wallet/v1/withdraws"; return(AsyncRestClient.Post <WithdrawResponse>(RequestOptions.BaseUrl + path, CreateHeaders(request, path, RequestOptions), request)); }
public Task <StoredCardResponse> StoreCardAsync(StoreCardRequest storeCardRequest) { var path = "/payment/v1/cards"; return(AsyncRestClient.Post <StoredCardResponse>(RequestOptions.BaseUrl + path, CreateHeaders(storeCardRequest, path, RequestOptions), storeCardRequest)); }
public Task <RefundWalletTransactionToCardResponse> RefundWalletTransactionToCardAsync(long walletTransactionId, RefundWalletTransactionToCardRequest request) { var path = "/payment/v1/wallet-transactions/" + walletTransactionId + "/refunds"; return(AsyncRestClient.Post <RefundWalletTransactionToCardResponse>(RequestOptions.BaseUrl + path, CreateHeaders(request, path, RequestOptions), request)); }
public Task <SettlementResponse> CreateInstantWalletSettlementAsync( CreateInstantWalletSettlementRequest request) { var path = "/settlement/v1/instant-wallet-settlements"; return(AsyncRestClient.Post <SettlementResponse>(RequestOptions.BaseUrl + path, CreateHeaders(request, path, RequestOptions), request)); }
public Task <PaymentResponse> Complete3DSPaymentAsync(CompleteThreeDSPaymentRequest completeThreeDsPaymentRequest) { var path = "/payment/v1/card-payments/3ds-complete"; return(AsyncRestClient.Post <PaymentResponse>(RequestOptions.BaseUrl + path, CreateHeaders(completeThreeDsPaymentRequest, path, RequestOptions), completeThreeDsPaymentRequest)); }
public Task <InitThreeDSPaymentResponse> Init3DSPaymentAsync(InitThreeDSPaymentRequest initThreeDSPaymentRequest) { var path = "/payment/v1/card-payments/3ds-init"; return(AsyncRestClient.Post <InitThreeDSPaymentResponse>(RequestOptions.BaseUrl + path, CreateHeaders(initThreeDSPaymentRequest, path, RequestOptions), initThreeDSPaymentRequest)); }
public Task <InitGarantiPayPaymentResponse> InitGarantiPayPaymentAsync(InitGarantiPayPaymentRequest initGarantiPayPaymentRequest) { var path = "/payment/v1/garanti-pay-payments"; return(AsyncRestClient.Post <InitGarantiPayPaymentResponse>(RequestOptions.BaseUrl + path, CreateHeaders(initGarantiPayPaymentRequest, path, RequestOptions), initGarantiPayPaymentRequest)); }
public Task <RemittanceResponse> ReceiveRemittanceAsync(CreateRemittanceRequest createRemittanceRequest) { var path = "/wallet/v1/remittances/receive"; return(AsyncRestClient.Post <RemittanceResponse>(RequestOptions.BaseUrl + path, CreateHeaders(createRemittanceRequest, path, RequestOptions), createRemittanceRequest)); }
public Task <PaymentRefundResponse> RefundPaymentAsync(RefundPaymentRequest refundPaymentRequest) { var path = "/payment/v1/refunds"; return(AsyncRestClient.Post <PaymentRefundResponse>(RequestOptions.BaseUrl + path, CreateHeaders(refundPaymentRequest, path, RequestOptions), refundPaymentRequest)); }
public Task <RetrieveLoyaltiesResponse> RetrieveLoyaltiesAsync(RetrieveLoyaltiesRequest retrieveLoyaltiesRequest) { var path = "/payment/v1/card-loyalties/retrieve"; return(AsyncRestClient.Post <RetrieveLoyaltiesResponse>(RequestOptions.BaseUrl + path, CreateHeaders(retrieveLoyaltiesRequest, path, RequestOptions), retrieveLoyaltiesRequest)); }
public Task <PaymentResponse> CreatePaymentAsync(CreatePaymentRequest createPaymentRequest) { var path = "/payment/v1/card-payments"; return(AsyncRestClient.Post <PaymentResponse>(RequestOptions.BaseUrl + path, CreateHeaders(createPaymentRequest, path, RequestOptions), createPaymentRequest)); }
public Task <InitApmPaymentResponse> InitApmPaymentAsync(InitApmPaymentRequest initApmPaymentRequest) { var path = "/payment/v1/apm-payments/init"; return(AsyncRestClient.Post <InitApmPaymentResponse>(RequestOptions.BaseUrl + path, CreateHeaders(initApmPaymentRequest, path, RequestOptions), initApmPaymentRequest)); }
public Task <InitThreeDSPaymentResponse> Init3DSDepositPaymentAsync(CreateDepositPaymentRequest createDepositPaymentRequest) { var path = "/payment/v1/deposits/3ds-init"; return(AsyncRestClient.Post <InitThreeDSPaymentResponse>(RequestOptions.BaseUrl + path, CreateHeaders(createDepositPaymentRequest, path, RequestOptions), createDepositPaymentRequest)); }
public Task <PaymentTransactionApprovalListResponse> ApprovePaymentTransactionsAsync(ApprovePaymentTransactionsRequest approvePaymentTransactionsRequest) { var path = "/payment/v1/payment-transactions/approve"; return(AsyncRestClient.Post <PaymentTransactionApprovalListResponse>(RequestOptions.BaseUrl + path, CreateHeaders(approvePaymentTransactionsRequest, path, RequestOptions), approvePaymentTransactionsRequest)); }
public void CreateFundTransferDepositPaymentAsync(CreateFundTransferDepositPaymentRequest createFundTransferDepositPaymentRequest) { var path = "/payment/v1/deposits/fund-transfer"; AsyncRestClient.Post <object>(RequestOptions.BaseUrl + path, CreateHeaders(createFundTransferDepositPaymentRequest, path, RequestOptions), createFundTransferDepositPaymentRequest); }
public Task <MemberResponse> CreateMemberAsync(CreateMemberRequest createMemberRequest) { var path = "/onboarding/v1/members"; return(AsyncRestClient.Post <MemberResponse>(RequestOptions.BaseUrl + path, CreateHeaders(createMemberRequest, path, RequestOptions), createMemberRequest)); }
public Task<ProductResponse> CreateProductAsync(CreateProductRequest createProductRequest) { var path = "/craftlink/v1/products"; return AsyncRestClient.Post<ProductResponse>(RequestOptions.BaseUrl + path, CreateHeaders(createProductRequest, path, RequestOptions), createProductRequest); }