CyberSource/cybersource-rest-samples-csharp

Convert SOAP SimpleOrder api requests to new REST api

beniukdima opened this issue · 0 comments

we are trying to upgrade from SOAP SimpleOrder api requests to new REST api and can not find appropriate api for the following old SOAP request:
"ccAuthService_run", "recurringSubscriptionInfo_subscriptionID", "ccCaptureService_run" request. What new REST api call or calls should we use instead?

Request parameters used in SOAP service reference NVPTransactionProcessorClient.RunTransaction method:

var requestParameters = new Dictionary<string, string>
{
{"ccAuthService_run", "true"},
{"merchantID", MerchantId},
{"merchantReferenceCode", order.Id},
{"purchaseTotals_grandTotalAmount", amount},
{"purchaseTotals_currency", order.Price.Currency.Code},
{"recurringSubscriptionInfo_subscriptionID", subscriptionId},
{"ccCaptureService_run", "true" }
};