Needio.Services

<back to all web services

MakePaymentPreControlRequest

Requires Authentication
MakePaymentPreControlRequest Parameters:
NameParameterData TypeRequiredDescription
SessionIdquerystringNo
PaidPricequerydecimalNo
Installmentqueryint?No
PaymentCardqueryPaymentCardDTONo
InvoiceAddressIdqueryintNo
DeliveryTypequeryDeliveryTypesNo
ShippingAddressIdqueryintNo
RefIdqueryintNo
ShippingCodequerystringNo
LocationqueryGeoLocationNo
levelquerybyteNo
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
startformDateTimeNo
MakePaymentPreControlResponse Parameters:
NameParameterData TypeRequiredDescription
ErrorsformList<string>No
WarningsformList<string>No
InfosformList<string>No
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
ResultformboolNo
ResMessageformstringNo
ErrorformErrorNo
Error Parameters:
NameParameterData TypeRequiredDescription
ErrorYnformboolNo
ErrorCodeformstringNo
ErrorDescriptionformstringNo
PaymentCardDTO Parameters:
NameParameterData TypeRequiredDescription
CardHolderNameformstringNo
CardNumberformstringNo
ExpireYearformstringNo
ExpireMonthformstringNo
CvcformstringNo
RegisterCardformboolNo
CardAliasformstringNo
CardTokenformstringNo
CardUserKeyformstringNo
DeliveryTypes Enum:
NameValue
None0
DeliveryToAddress1
DeliveryInStore2
DeliveryByCargo4
GeoLocation Parameters:
NameParameterData TypeRequiredDescription
LonformstringNo
LatformstringNo
GeoAddressformstringNo
IsDeletedformboolNo
MakePaymentPreControlResponse Parameters:
NameParameterData TypeRequiredDescription
ErrorsformList<string>No
WarningsformList<string>No
InfosformList<string>No

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/MakePaymentPreControlRequest HTTP/1.1 
Host: baseservices2.needion.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"SessionId":"String","PaidPrice":0,"Installment":0,"PaymentCard":{"CardHolderName":"String","CardNumber":"String","ExpireYear":"String","ExpireMonth":"String","Cvc":"String","RegisterCard":false,"CardAlias":"String","CardToken":"String","CardUserKey":"String"},"InvoiceAddressId":0,"DeliveryType":0,"ShippingAddressId":0,"RefId":0,"ShippingCode":"String","Location":{"Lon":"String","Lat":"String","GeoAddress":"String","IsDeleted":false},"level":0,"start":"\/Date(1594658037824+0300)\/"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Errors":["String"],"Warnings":["String"],"Infos":["String"],"Result":false,"ResMessage":"String","Error":{"ErrorYn":false,"ErrorCode":"String","ErrorDescription":"String"}}