Needio.Services

<back to all web services

MakePaymentPreControlRequest

Requires Authentication
Required role:Guest
MakePaymentPreControlRequest Parameters:
NameParameterData TypeRequiredDescription
SessionIdquerystringNo
PaidPricequerydecimalNo
Installmentqueryint?No
PaymentCardqueryPaymentCardDTONo
InvoiceAddressIdqueryintNo
DeliveryTypequeryDeliveryTypesNo
ShippingAddressIdqueryintNo
RefIdqueryintNo
ShippingCodequerystringNo
LocationqueryGeoLocationNo
levelquerybyteNo
BasketIdqueryintNo
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
startformDateTimeNo
DeviceUUIDformstringNo
APIKeyformstringNo
isAdminformboolNo
CmdformstringNo
MakePaymentPreControlResponse Parameters:
NameParameterData TypeRequiredDescription
ErrorsformList<string>No
WarningsformList<string>No
InfosformList<string>No
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
ResultformboolNo
ResMessageformstringNo
ErrorformErrorNo
PageInfoformBasePageInfoNo
Error Parameters:
NameParameterData TypeRequiredDescription
ErrorYnformboolNo
ExYnformboolNo
ErrorCodeformstringNo
ErrorDescriptionformstringNo
BasePageInfo Parameters:
NameParameterData TypeRequiredDescription
TotalRecordCountformintNo
TotalPageCountformintNo
CurrentPageformintNo
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 .csv suffix or ?format=csv

HTTP + CSV

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

POST /csv/reply/MakePaymentPreControlRequest HTTP/1.1 
Host: baseservices.needion.com 
Accept: text/csv
Content-Type: text/csv
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,"BasketId":0,"start":"\/Date(-62135596800000-0000)\/","DeviceUUID":"String","APIKey":"String","isAdmin":false,"Cmd":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Errors":["String"],"Warnings":["String"],"Infos":["String"],"Result":false,"ResMessage":"String","Error":{"ErrorYn":false,"ExYn":false,"ErrorCode":"String","ErrorDescription":"String"},"PageInfo":{"TotalRecordCount":0,"TotalPageCount":0,"CurrentPage":0}}