Needio.Services

<back to all web services

StartThreeDsRequest

Requires Authentication
Required role:Guest
The following routes are available for this service:
All Verbs/Payment/StartThreeDs/
StartThreeDsRequest Parameters:
NameParameterData TypeRequiredDescription
PaymentCardqueryPaymentCardDTONo
Installmentqueryint?No
isMobilequeryboolNo
PayWith3dsqueryboolNo
RefreshTokenqueryboolNo
IdentityNumberquerystringNo
HashqueryintNo
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
startformDateTimeNo
DeviceUUIDformstringNo
APIKeyformstringNo
StartThreeDsReponse Parameters:
NameParameterData TypeRequiredDescription
PaymentTokenformstringNo
BasketHeaderIdformintNo
TransactionIdformint?No
RedirectToBasketformboolNo
ThreeDsContentformstringNo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
ResultformboolNo
ResMessageformstringNo
ErrorformErrorNo
PageInfoformBasePageInfoNo
Error Parameters:
NameParameterData TypeRequiredDescription
ErrorYnformboolNo
ErrorCodeformstringNo
ErrorDescriptionformstringNo
BasePageInfo Parameters:
NameParameterData TypeRequiredDescription
TotalRecordCountformintNo
TotalPageCountformintNo
CurrentPageformintNo
PaymentCardDTO Parameters:
NameParameterData TypeRequiredDescription
CardHolderNameformstringNo
CardNumberformstringNo
ExpireYearformstringNo
ExpireMonthformstringNo
CvcformstringNo
RegisterCardformboolNo
CardAliasformstringNo
CardTokenformstringNo
CardUserKeyformstringNo
StartThreeDsReponse Parameters:
NameParameterData TypeRequiredDescription
PaymentTokenformstringNo
BasketHeaderIdformintNo
TransactionIdformint?No
RedirectToBasketformboolNo
ThreeDsContentformstringNo

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 /Payment/StartThreeDs/ HTTP/1.1 
Host: baseservices.needion.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"PaymentCard":{"CardHolderName":"String","CardNumber":"String","ExpireYear":"String","ExpireMonth":"String","Cvc":"String","RegisterCard":false,"CardAlias":"String","CardToken":"String","CardUserKey":"String"},"Installment":0,"isMobile":false,"PayWith3ds":false,"RefreshToken":false,"IdentityNumber":"String","Hash":0,"start":"\/Date(1634773003274+0300)\/","DeviceUUID":"String","APIKey":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"PaymentToken":"String","BasketHeaderId":0,"TransactionId":0,"RedirectToBasket":false,"ThreeDsContent":"String","Result":false,"ResMessage":"String","Error":{"ErrorYn":false,"ErrorCode":"String","ErrorDescription":"String"},"PageInfo":{"TotalRecordCount":0,"TotalPageCount":0,"CurrentPage":0}}